LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-06-2006, 07:08 PM   #1
sorenchr
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Rep: Reputation: 0
fgl_glxgears : fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!


Hi,
I have trouble with the ATI driver permissions. flg_glxgears give me:

FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
FGLTexMgr: open of shared memory object failed (Permission denied)
...

As root there are no problems.
i followed ATIs instructions on:
http://www2.ati.com/drivers/linux/li...20.html#176878

And I have the tempfs properly mounted (it actually took care of the problem initially, but after a kmod upgrade the problem is re-occuring).


Follow up:
It seems the problem is from permissions on the tempfs:
[smgan@PC2-BIL ~]$ ls /dev/shm/ -al
total 16
drwxrwxrwt 2 root users 60 Sep 7 14:52 .
drwxr-xr-x 13 root root 3840 Sep 7 14:52 ..
-rw------- 1 minc minc 1048576 Sep 7 14:52 ATISHM00

Only the user that first mounts the tempfs can use the driver
i tried to fix this in fstab:
tmpfs /dev/shm tmpfs auto,users,gid=users 0 0

But to no avail.

Could someone advice me on what to put in the fstab to make the permissions right? (I tried umask=0007 but it did not work)


Thanks
Soren

Last edited by sorenchr; 09-06-2006 at 11:59 PM.
 
Old 09-09-2006, 02:40 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I don't think that multiple users should, in fact, be able to use the same shared memory. I believe that Radeon uses the shared memory to communicate between processes running in the kernel and in user space, and, if multiple users were permitted to use the same shared memory, the user-space processes could get very confused.

What needs to be done is for Radeon to create an entry in /dev/shm for each user. But, of course, Radeon doesn't see much need to support multiple, simultaneous, system users. And their driver code is not open source, so you can't make any changes.

Consider switching drivers. nVidia, for example, doesn't use shared memory, and Intel's driver code is open-sourced.
 
Old 09-12-2006, 10:20 PM   #3
sorenchr
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks for the explanantion, sounds like a likely cause.
I'll get an NVidia card next time!

Thanks
Soren
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Drivers fgl_glxgears hangs computer Fluggo Linux - Hardware 4 05-09-2006 07:36 AM
what is fgl_glxgears supposed to look like? veritas Linux - Software 6 01-08-2006 01:58 PM
9600xt--- fgl_glxgears error--- UT2004 problem cunokyle Linux - Hardware 12 12-06-2004 12:33 PM
weird problem with ATI card and glxgears/fgl_glxgears daemonTED Linux - Hardware 4 07-01-2004 11:28 AM
fgl_glxgears not working, but 3d accel fine? sirra462 Linux - Hardware 1 01-14-2004 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration