<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - OpenGL applications warns "MESA-LOADER: failed to retrieve device information""
href="https://bugs.freedesktop.org/show_bug.cgi?id=98629#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - OpenGL applications warns "MESA-LOADER: failed to retrieve device information""
href="https://bugs.freedesktop.org/show_bug.cgi?id=98629">bug 98629</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>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] <a href="https://cgit.freedesktop.org/mesa/vmwgfx/">https://cgit.freedesktop.org/mesa/vmwgfx/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>