Re: eglInitialize
Chia-I Wu <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Dec 14, 2010 at 5:24 PM, Alberich de megres <[email protected]> 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-users > -- [email protected] _______________________________________________ mesa-users mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-users