[Mesa-users] eglInitialize
Chia-I Wu
olvaffe at gmail.com
Mon Dec 20 04:55:15 PST 2010
On Tue, Dec 14, 2010 at 5:24 PM, Alberich de megres
<alberich2k5 at gmail.com> wrote:
> Hi !!
>
> I got a problem while initializing egl, using the source on git repo:
> git clone git://anongit.freedesktop.org/mesa/mesa
>
> So what i do is first
>
> display = (EGLDisplay) eglGetDRMDisplayMESA(fd);
> if (display == NULL) return -1;
>
> if (!eglInitialize(display, &major, &minor)) {
> ... error check
> }
>
> When I do that i receive a message:
> libEGL warning: failed to create DRM screen
>
> And sometimes i get this other on the same point:
> libEGL warning: failed to create DRM screen
> libEGL warning: EGL-DRI2: malformed or no PCI ID
>
> I tried with both nourveau modeset=1, and radeon modeset=1
>
> I compiled libdrm with the following options:
> ./configure --enable-nouveau-experimental-api --enable-vmwgfx-experimental-api
>
> And mesa with the following:
> ./configure --with-dri-drivers=nouveau --enable-glx-tls
> --with-driver=dri --enable-xcb --disable-glut --enable-egl
> --enable-gles2 --with-egl-platforms=drm --disable-gallium
>
> Also i tried those recomended on wayland site:
> ./configure --enable-egl --enable-gles2
>
> Can any one point me some light?
The configure options look fine. It is not clear what might have gone
wrong. Can you try again with EGL_LOG_LEVEL=debug set?
> thanks!
> Albert
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>
--
olv at LunarG.com
More information about the mesa-users
mailing list