Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166378 - /dev/shm access rights problem with ati-drivers-8.33.6-r2
Summary: /dev/shm access rights problem with ati-drivers-8.33.6-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Marien Zwart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-11 18:01 UTC by Thomas Meyer
Modified: 2007-02-11 19:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Meyer 2007-02-11 18:01:03 UTC
ls -ld shm
drwxr-xr-x 2 root root 40 11. Feb 18:26 shm

the /dev/shm/ directory is only writeable by root user. the ati-drivers needs write access to this directory, without right access the 3d driver is unreasonable slow.

is there a group to which i can add a standard user, so i can do 3d?
who's responsable to set the access rights for /dev/shm/?

googleearth without shm write access rights:
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!

googleearth with shm write access:
no error message at all and a great speed up.
it look's like that the ati-drivers uses this tmpfs for texture maps.

udev is udev-104-r9.

hopefully this isn't just an setup error on my side, but i couldn't figure out who set's the access rights to /dev/shm/




Reproducible: Always

Steps to Reproduce:
1. logon to X as user
2. start googleearth
3.

Actual Results:  
application is really slow.

Expected Results:  
application should render 3d really fast
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-11 18:19:01 UTC
Not udev bug. You can override this in /etc/fstab via mode= option, see `man mount` /tmpfs) 

If ATI drivers need to write there, it's pretty much borked and you should complain upstream.
Comment 2 Matthias Schwarzott gentoo-dev 2007-02-11 18:26:43 UTC
for me permission of /dev/shm is like this:

# ls -ld /dev/shm
drwxrwxrwt 2 root root 40 11. Feb 17:12 /dev/shm/

with this in /etc/fstab:
none                    /dev/shm        tmpfs           defaults                0 0
Comment 3 Thomas Meyer 2007-02-11 19:34:35 UTC
ok. thank you guys! this was a misconfiguration on my side, i totaly missed the /etc/fstab setup for /dev/shm...

Now it work's as it should.