遭遇ATI显卡无法使用Xv的问题
授权方式:署名,非商业用途,保持一致,转载时请务必以超链接(http://www.fwolf.com/blog/post/224)的形式标明文章原始出处和作者信息及本声明。机器:P D 3.2的cpu
OS:Ubuntu dapper 6.06 2.6.15-26,i686内核
显卡:ati X600 256M显存,双头
软件环境:totem-xine, mplayer, w32codecs都安装了
问题:能够正常进入X,能够玩opengl游戏,但是一播放电影就不行了,X崩溃重启,回到图形登录页面。glxinfo和fglrxinfo(注意fps有一个突变,不知为何):
16914 frames in 5.0 seconds = 3382.795 FPS
16917 frames in 5.0 seconds = 3383.297 FPS
16774 frames in 5.0 seconds = 3354.716 FPS
48706 frames in 5.0 seconds = 9741.081 FPS
52345 frames in 5.0 seconds = 10466.271 FPS
51773 frames in 5.0 seconds = 10350.462 FPS
52214 frames in 5.0 seconds = 10442.764 FPS
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X600 Generic
OpenGL version string: 2.0.5814 (8.25.18)
崩溃后的信息为:
Caught Signal 11, Server aborting
查询网络后,有两个解决方法,都要手动修改xorg.conf,第一种是禁用extmod,第二种是禁用Xv,改用opengl。
禁用extmod则注释掉Load “extmod”这一句就可以了。
禁用Xv需要把Xv设为off,opengl设为on,修改Section “Device”:
Option “OpenGLOverlay” “on”
个人觉得第二种方法稍微好一些,不过也是戳子里面拔将军,沒有解决实际问题,并且用mplayer播放电影的时候,启动和结束程序还会黑一下屏。
使用opengl以后fps从12000降到了8000多,所以Xv还是要更快一些的,不过我也不怎么玩游戏,无所谓了,没准等以后fglrx驱动或者xorg升级了就能解决这个问题。
![[Bloglines]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/bloglines.png)
![[co.mments]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/comments.png)
![[del.icio.us]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/diigo.png)
![[Facebook]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/google.png)
![[MySpace]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/reddit.png)
![[Rojo]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/rojo.png)
![[Slashdot]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/technorati.png)
![[Windows Live]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/email.png)