Bug 655309

Summary: Wrong permissions on /dev/dri
Product: [Fedora] Fedora Reporter: Peter Hjalmarsson <kanelxake>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ajax, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-22 10:18:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Hjalmarsson 2010-11-20 12:13:09 UTC
Description of problem:
Since I upgraded to rawhide from Fedora14 I have had the following problem:

[xake@ferra ~]$ ls -ld /dev/dri
drwxr-x---. 2 root root 80 20 nov  2010 /dev/dri

This prevents me from using anything DDRI on my ATI Radeon x1600 system, since nothing run as non-root can access this.

Version-Release number of selected component (if applicable):
$ yum list installed | grep mesa
mesa-dri-drivers.i686                    7.10-0.11.fc15                 @rawhide
mesa-dri-drivers.x86_64                  7.10-0.11.fc15                 @rawhide
I guess this is the components that are interesting since they hold the drivers

How reproducible:
Have tried two upgrades on two computers (Intel i945, ATI x1600), and both had this problem.

Steps to Reproduce:
1. Install Fedora 14
2. Enable Rawhide repos
3. "yum upgrade" (or let package kit handle)
4. reboot
  
Actual results:
$ glxinfo | grep renderer
OpenGL renderer string: Gallium 0.4 on llvmpipe


Expected results:
$ glxinfo | grep renderer
OpenGL renderer string: Gallium 0.4 on ATI RV530


Additional info:
If I "chmod a+rX /dev/dri" everything starts to work until next reboot.

Comment 1 Yanko Kaneti 2010-11-20 18:25:38 UTC
See bug 626559.
Please make sure your initramfs was generated by dracut-008-0.10.gitb2415f4.fc15 or later.

Comment 2 Peter Hjalmarsson 2010-11-22 09:58:57 UTC
Yep, helped. Thanks.

Comment 3 Yanko Kaneti 2010-11-22 10:18:27 UTC

*** This bug has been marked as a duplicate of bug 626559 ***