LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 864|回复: 9

gentoo下装ati驱动的问题

[复制链接]
发表于 2006-4-4 15:45:32 | 显示全部楼层 |阅读模式
在root下一切正常,在用户下3d没有加速。在用户下运行fgl_glxgears命令:出现以下内容
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
2 frames in 5.0 seconds =  0.400 FPS
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
这是什么意思啊
 楼主| 发表于 2006-4-4 22:23:13 | 显示全部楼层
问题已解决,在fstab里增加:tmpfs          /dev/shm        tmpfs                  defaults         0 0
还是不明白什么意思,希望高手指点,谢谢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-4 22:23:22 | 显示全部楼层
î˜òã³,在fstab̞ :tmpfs          /dev/shm        tmpfs                  defaults         0 0
Ø是不明白À么意思,÷Ø手指¹,谢谢。
回复 支持 反对

使用道具 举报

发表于 2006-4-4 22:57:37 | 显示全部楼层
楼主第二帖里的是什么文字?那美克星语?
回复 支持 反对

使用道具 举报

发表于 2006-4-4 23:38:10 | 显示全部楼层
简单的说,如果应用程序使用了posix shared memory(注意是posix不是SysV),就要加上这一行

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults                0 0
回复 支持 反对

使用道具 举报

发表于 2006-4-5 08:44:35 | 显示全部楼层
有个问题很弱智的,但困扰我很久了,还是问一下吧。
那就是装ATI驱动后的fglrx模块开机时加载,升级ATI驱动时非要把它卸载后才正常,可我从modules.autoload.d/kernel_2.6里去掉了fglrx,它还是加载,大虾给指点一下吧,如何让它在启动时不加载。:thank
回复 支持 反对

使用道具 举报

发表于 2006-4-5 14:13:20 | 显示全部楼层
/etc/hotplug/blacklist
加入这个文件
回复 支持 反对

使用道具 举报

发表于 2006-4-7 10:53:49 | 显示全部楼层
/etc/hotplug/blacklist
加入这个文件
====================
行是行,还是麻烦。我觉得最好的是,在内核里把unload modules选上,然后进xwindow时选控制台安全模式会话,在该模式下运行/etc/init.d/xdm stop,然后rmmod fglrx。
回复 支持 反对

使用道具 举报

发表于 2006-4-7 12:19:57 | 显示全部楼层
您不是认真的吧
加入blacklist需要且之需要一个命令
echo fglrx >> /etc/hotplug/blacklist
哪个麻烦,正常人都看的出来的吧
回复 支持 反对

使用道具 举报

发表于 2006-4-7 12:29:20 | 显示全部楼层
但这招还得配合在在kernel-2.6中注释掉agpgart等其它模块才奏效,而且注释掉后,等会儿还要放出来,是麻烦一点点。呵呵。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表