LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: hurricanek

杀向2.6.33,外加KMS r600 3D

[复制链接]
发表于 2010-2-28 21:54:05 | 显示全部楼层
Post by jarryson;2072261
我终于决定从2.6.31升级到2.6.33了,可是杯具了。。

使用源里的libdrm,mesa,ati的ddx驱动,可是还是不能正常使用X


刚才切到集显(780G),安装了testing里边的kernel libdrm等,卸载了nouveau的drm,重启,正常切入radeon的KMS,启动xorg正常,glxgears有600左右。glxinfo显示DRI2已经启用,不过貌似radeon的2D显示明显不如nouveau,字体明显比独显模糊些,有些字体有些破碎,感觉NV的闭源驱动都没nouveau出色
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-2-28 23:03:03 | 显示全部楼层
这个……集成显卡不能这么拿来比吧……囧

你可以参考一下wiki上面的设置,xorg.conf加点内容应该还能提升性能
回复 支持 反对

使用道具 举报

发表于 2010-3-1 09:44:47 | 显示全部楼层
郁闷了。开了KMS之后X是几乎不可用的,比如打开终端,系统是直接重启

关闭KMS后还可以用用,2。6。31的时候KMS和3D加速都正常的,2。6。32的时候基本正常,只是总是不明原因的停顿,2。6。33的之后还好直接不能用了。。。

grep -e EE -e WW /var/log/Xorg.0.log

  1. Current Operating System: Linux Zzz 2.6.33-ARCH #1 SMP PREEMPT Sat Feb 27 13:05:06 UTC 2010 i686
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. (WW) The directory "/usr/share/fonts/misc" does not exist.
  4. (WW) The directory "/usr/share/fonts/100dpi" does not exist.
  5. (WW) The directory "/usr/share/fonts/75dpi" does not exist.
  6. (WW) The directory "/usr/share/fonts/Type1" does not exist.
  7. (II) Loading extension MIT-SCREEN-SAVER
  8. (WW) Warning, couldn't open module vesa
  9. (EE) Failed to load module "vesa" (module does not exist, 0)
  10. (WW) Warning, couldn't open module fbdev
  11. (EE) Failed to load module "fbdev" (module does not exist, 0)
  12. (EE) RADEON(0): mask: 3
  13. (WW) RADEON(0): LVDS Info:
  14. (WW) RADEON(0): DRI init changed memory map, adjusting ...
  15. (WW) RADEON(0):   MC_FB_LOCATION  was: 0xb7ffb000 is: 0xb7ffb000
  16. (WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
  17. (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: _mesa_framebuffer_renderbuffer)
  18. (EE) AIGLX: reverting to software rendering
  19. (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: _mesa_framebuffer_renderbuffer)
  20. (EE) GLX: could not load software renderer
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-3-1 10:47:24 | 显示全部楼层
intel 945gm一切正常,木有感到什么变化。
回复 支持 反对

使用道具 举报

发表于 2010-3-1 13:36:20 | 显示全部楼层
Post by jarryson;2072403
郁闷了。开了KMS之后X是几乎不可用的,比如打开终端,系统是直接重启

关闭KMS后还可以用用,2。6。31的时候KMS和3D加速都正常的,2。6。32的时候基本正常,只是总是不明原因的停顿,2。6。33的之后还好直接不能用了。。。

grep -e EE -e WW /var/log/Xorg.0.log

  1. Current Operating System: Linux Zzz 2.6.33-ARCH #1 SMP PREEMPT Sat Feb 27 13:05:06 UTC 2010 i686
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. (WW) The directory "/usr/share/fonts/misc" does not exist.
  4. (WW) The directory "/usr/share/fonts/100dpi" does not exist.
  5. (WW) The directory "/usr/share/fonts/75dpi" does not exist.
  6. (WW) The directory "/usr/share/fonts/Type1" does not exist.
  7. (II) Loading extension MIT-SCREEN-SAVER
  8. (WW) Warning, couldn't open module vesa
  9. (EE) Failed to load module "vesa" (module does not exist, 0)
  10. (WW) Warning, couldn't open module fbdev
  11. (EE) Failed to load module "fbdev" (module does not exist, 0)
  12. (EE) RADEON(0): mask: 3
  13. (WW) RADEON(0): LVDS Info:
  14. (WW) RADEON(0): DRI init changed memory map, adjusting ...
  15. (WW) RADEON(0):   MC_FB_LOCATION  was: 0xb7ffb000 is: 0xb7ffb000
  16. (WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
  17. (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: _mesa_framebuffer_renderbuffer)
  18. (EE) AIGLX: reverting to software rendering
  19. (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: _mesa_framebuffer_renderbuffer)
  20. (EE) GLX: could not load software renderer
复制代码


原来老大是R300,我R600随便测试了下,暂时没发现啥问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-1 14:00:48 | 显示全部楼层
Post by jarryson;2072403
郁闷了。开了KMS之后X是几乎不可用的,比如打开终端,系统是直接重启

关闭KMS后还可以用用,2。6。31的时候KMS和3D加速都正常的,2。6。32的时候基本正常,只是总是不明原因的停顿,2。6。33的之后还好直接不能用了。。。

grep -e EE -e WW /var/log/Xorg.0.log

  1. Current Operating System: Linux Zzz 2.6.33-ARCH #1 SMP PREEMPT Sat Feb 27 13:05:06 UTC 2010 i686
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. (WW) The directory "/usr/share/fonts/misc" does not exist.
  4. (WW) The directory "/usr/share/fonts/100dpi" does not exist.
  5. (WW) The directory "/usr/share/fonts/75dpi" does not exist.
  6. (WW) The directory "/usr/share/fonts/Type1" does not exist.
  7. (II) Loading extension MIT-SCREEN-SAVER
  8. (WW) Warning, couldn't open module vesa
  9. (EE) Failed to load module "vesa" (module does not exist, 0)
  10. (WW) Warning, couldn't open module fbdev
  11. (EE) Failed to load module "fbdev" (module does not exist, 0)
  12. (EE) RADEON(0): mask: 3
  13. (WW) RADEON(0): LVDS Info:
  14. (WW) RADEON(0): DRI init changed memory map, adjusting ...
  15. (WW) RADEON(0):   MC_FB_LOCATION  was: 0xb7ffb000 is: 0xb7ffb000
  16. (WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
  17. (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: _mesa_framebuffer_renderbuffer)
  18. (EE) AIGLX: reverting to software rendering
  19. (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: _mesa_framebuffer_renderbuffer)
  20. (EE) GLX: could not load software renderer
复制代码


貌似明显的编译问题吧……

这个可以考虑试试用aur上的mesa full,总之是去掉mesa-7.1-link-shared.patch这个补丁就行,这个问题很诡异的……我也是突然出现后来查了查……archlinux专有……
回复 支持 反对

使用道具 举报

发表于 2010-3-1 15:17:53 | 显示全部楼层
是吗?我重新编译了libdrm-git, mesa-git(libgl-git, ati-dri-git), xorg-server, xf86-video-ati-git,还是有这个问题。

不过mesa确实是打了mesa-7.1-link-shared.patch这个补丁,还特地修改的可以打上。

弄的这两天都没用linux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-1 20:02:43 | 显示全部楼层
这个我遇见过一次,查了查是这个说是这个patch的问题……而且确实解决了

这个貌似是不管重新编译多少次都没用的……就是一定要去掉……
回复 支持 反对

使用道具 举报

发表于 2010-3-1 20:38:42 | 显示全部楼层
确实解决了。。现在没有严重错误,但是开启KMS后仍然不能运行很多程序,一运行系统直接重启。比如terminal。

完全不知道为何。在就是2。6。33里面必须关机才能成功启动系统,重启启动arch不使用KMS也出现
  1. (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
复制代码


如果启用KMS会直接在加载radeon模块的时候重启。如此循环。必须关机或者断电后就可以。

有一次看到不断显示ACPI还是APIC error,should never happen. 因为很多时候是直接重启没有日志的

大概是
  1. Spurious APIC error on CPU0, should never happen.
复制代码


太杯具了这内核更新的
回复 支持 反对

使用道具 举报

发表于 2010-3-2 14:26:56 | 显示全部楼层
仍然回到2.6.31。。。一切都很正常了。。。都不用重新编译libdrm什么的
回复 支持 反对

使用道具 举报

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

本版积分规则

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