From: bugzilla-daemon@freedesktop.org Subject: [Bug 98629] OpenGL applications warns "MESA-LOADER: failed to retrieve device information" Date: Mon, 27 Mar 2017 15:03:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0618325648==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id EEBC86E2C4 for ; Mon, 27 Mar 2017 15:03:42 +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 --===============0618325648== Content-Type: multipart/alternative; boundary="14906270220.7Bf31D0aE.25475"; charset="UTF-8" --14906270220.7Bf31D0aE.25475 Date: Mon, 27 Mar 2017 15:03:42 +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 Brian Paul changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #7 from Brian Paul --- 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 !=3D 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 !=3D DRM_MAJOR tests, I don't see the error msg and th= ings 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --14906270220.7Bf31D0aE.25475 Date: Mon, 27 Mar 2017 15:03:42 +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 Brian Paul changed bug 98629<= /a>
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---

Comment= # 7 on bug 98629<= /a> from = Brian Paul
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 !=3D 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 !=3D DRM_MAJOR tests, I don't see the error msg and th=
ings
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.
= --14906270220.7Bf31D0aE.25475-- --===============0618325648== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0618325648==--