From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98629] OpenGL applications warns "MESA-LOADER: failed to retrieve device information" Date: Tue, 28 Mar 2017 12:05:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0128798488==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DE476E597 for ; Tue, 28 Mar 2017 12:05:01 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0128798488== Content-Type: multipart/alternative; boundary="14907027010.d4691.20153"; charset="UTF-8" --14907027010.d4691.20153 Date: Tue, 28 Mar 2017 12:05:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98629 --- Comment #8 from Emil Velikov --- 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 probl= em 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 MAJO= R is not initialised. Would be great if you can fix things on your end, but I won't object agains= t a workaround in libdrm. [1] https://cgit.freedesktop.org/mesa/vmwgfx/ --=20 You are receiving this mail because: You are the assignee for the bug.= --14907027010.d4691.20153 Date: Tue, 28 Mar 2017 12:05:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 8 on bug 98629<= /a> from Emil Velikov
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 havi=
ng 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 MAJO=
R is
not initialised.

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

[1] https://cgit.free=
desktop.org/mesa/vmwgfx/


You are receiving this mail because:
  • You are the assignee for the bug.
= --14907027010.d4691.20153-- --===============0128798488== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0128798488==--