[Bug 72732] Missing NULL check; radeon_drm_winsys.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 31 17:26:19 PST 2013


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

--- Comment #1 from Dave Gilbert <freedesktop at treblig.org> ---
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 at major ~]$ ls -lZ /dev/dri/card0
crw-rw----+ root video system_u:object_r:dri_device_t:s0 /dev/dri/card0
[dg at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140101/e5b4e23b/attachment.html>


More information about the dri-devel mailing list