[Bug 98629] OpenGL applications warns "MESA-LOADER: failed to retrieve device information"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 27 15:03:43 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=98629

Brian Paul <brianp at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #7 from Brian Paul <brianp at vmware.com> ---
Hi Emil,

I'm still seeing this issue "MESA-LOADER: failed to retrieve device
information" on Fedora 25 when I test our VMware driver.

It's failing for me in drmGetDevice2() at line 3791:

     if (maj != DRM_MAJOR || !S_ISCHR(sbuf.st_mode))
         return -EINVAL;

The value of maj is 245 but the expected DRM_MAJOR is 226.

$ ls -l /dev/dri*
crw-rw----+ 1 root video 245,   0 Mar 23 09:39 /dev/dri/card0
crw-------. 1 root video 245,  64 Mar 23 09:32 /dev/dri/controlD64
crw-rw----+ 1 root video 245, 128 Mar 23 09:32 /dev/dri/renderD128

I don't know where the 245 major device number is coming from.
If I disable the maj != DRM_MAJOR tests, I don't see the error msg and things
run fine.

On Ubuntu, the dri device files have major number is the expected 226
which corresponds to the value of DRM_MAJOR as defined in vmwgfx's
drmP.h file so I don't see the error msg.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170327/6d3ba287/attachment.html>


More information about the dri-devel mailing list