From: bugzilla-daemon@freedesktop.org Subject: [Bug 72732] Missing NULL check; radeon_drm_winsys.c Date: Wed, 01 Jan 2014 01:26:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1052318071==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9614EFACD1 for ; Tue, 31 Dec 2013 17:26:18 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1052318071== Content-Type: multipart/alternative; boundary="1388539578.fCfc0.16219"; charset="us-ascii" --1388539578.fCfc0.16219 Date: Wed, 1 Jan 2014 01:26:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=72732 --- Comment #1 from Dave Gilbert --- OK, I believe the case that's causing it to go down this route is a perms screw up somewhere; I was running this test in a separate X session (just logging as a normal user on the console and running X :2 ) But with a bit of debug I'm seeing: libGL: OpenDriver: trying /usr/lib64/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so libGL error: failed to open drm device: Permission denied libGL error: failed to load driver: r600 [dg@major ~]$ ls -lZ /dev/dri/card0 crw-rw----+ root video system_u:object_r:dri_device_t:s0 /dev/dri/card0 [dg@major ~]$ id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 So I'm not quite sure what the perm screw up is, but that's separate - this will seg in glxgears or anything if the drm device won't open. Dave -- You are receiving this mail because: You are the assignee for the bug. --1388539578.fCfc0.16219 Date: Wed, 1 Jan 2014 01:26:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 72732 from
OK, I believe the case that's causing it to go down this route is a perms screw
up somewhere; I was running this test in a separate X session (just logging as
a normal user on the console and running X :2 )

But with a bit of debug I'm seeing:

libGL: OpenDriver: trying /usr/lib64/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: r600

[dg@major ~]$ ls -lZ /dev/dri/card0
crw-rw----+ root video system_u:object_r:dri_device_t:s0 /dev/dri/card0
[dg@major ~]$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

So I'm not quite sure what the perm screw up is, but that's separate - this
will seg in glxgears or anything if the drm device won't open.

Dave


You are receiving this mail because:
  • You are the assignee for the bug.
--1388539578.fCfc0.16219-- --===============1052318071== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1052318071==--