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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 28 12:05:01 UTC 2017


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

--- Comment #8 from Emil Velikov <emil.l.velikov at gmail.com> ---
Hi Brian,

The define is coming from the kernel's drmP.h. Perhaps we should have
explicitly made it part of the public API/ABI, but that won't help here.

In upstream the major is set in drm_core_init()'s
register_chrdev(DRM_MAJOR...).

After a couple of "???" moments I clicked that you're likely having a problem
with the standalone repo [1].

In there VMWGFX_STANDALONE is set, thus the upstream code path is not hit. You
guys are using drm_chr_dev [see vmwgfx_chrdev_reg()], and where AFAICT MAJOR is
not initialised.

Would be great if you can fix things on your end, but I won't object against a
workaround in libdrm.

[1] https://cgit.freedesktop.org/mesa/vmwgfx/

-- 
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/20170328/c5a31ebc/attachment.html>


More information about the dri-devel mailing list