https://bugs.freedesktop.org/show_bug.cgi?id=98629
Brian Paul brianp@vmware.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #7 from Brian Paul brianp@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.