eglInitialize

Alberich de megres <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
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?
thanks!
Albert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.