+ -
当前位置:首页 → 问答吧 → 杀向2.6.33,外加KMS r600 3D

杀向2.6.33,外加KMS r600 3D

时间:2010-02-27

来源:互联网

一切良好,请祖国放心
相关版本,仅供参考
local/kernel26 2.6.33-1 (base)
The Linux Kernel and modules
local/kernel26-firmware 2.6.33-1 (base)
The included firmware files of the Linux Kernel
local/kernel26-headers 2.6.33-1
Header files and scripts for building modules for kernel26
local/ati-dri 7.7.git20100226-1
Mesa DRI drivers for AMD/ATI Radeon
local/libgl 7.7.git20100226-1
Mesa 3-D graphics library and DRI software rasterizer
local/mesa 7.7.git20100226-1
Mesa 3-D graphics libraries and include files
local/xf86-video-ati-git 20100227-1
X.org ati video driver
local/libdrm 2.4.18-2 (非官方版本,开启了experimental-radeon-api)
Userspace interface to kernel DRM services

附上对应的PKGBUILD

(换了个pkgbuild,主要后来发现6.12.4有个force选项,只要不是源内的包一律会被替换……杯具阿)
上传的附件
kernel26-2.6.33-1.src.tar.gz (56.1 KB, 4 次查看)
mesa-git-20100226-1.src.tar.gz (3.4 KB, 4 次查看)
libdrm-2.4.17-2.src.tar.gz (2.2 KB, 1 次查看)
xf86-video-ati-git-20100227-1.src.tar.gz (2.7 KB, 1 次查看)

作者: hurricanek   发布时间: 2010-02-27

2.6.33已经进入repo了?

作者: dcatcher   发布时间: 2010-02-27

没…连testing都没,但是svn上有2.6.33的

作者: hurricanek   发布时间: 2010-02-27

2.6.33里开启KMS,Xv加速能用吗?电源管理不能用,及3D性能下降的问题解决没?

作者: zwgun   发布时间: 2010-02-27

xv加速从xvinfo来看是可以用的

电源管理不清楚…… 待机能用,休眠不能但是似乎从很久以前就不能了……

3D性能glxgear 1000左右,没啥重量级应用测试,kwin

作者: hurricanek   发布时间: 2010-02-27

囧囧、
暂时不想折腾了

作者: xsam   发布时间: 2010-02-27

刚开始接触Linux的时候,坚决喜欢折腾内核,现在是反过来,坚持不折腾内核。

作者: alpha.gu   发布时间: 2010-02-27

我倒是喜欢折腾一下,不过还是保留了稳定时候的版本,总之留个退路是好的……

作者: hurricanek   发布时间: 2010-02-27

kernel26 2.6.33进入testing,mesa及ati驱动相应更新,不过要开3D还需要安装radeon_ucode,可在aur找到,注意装完后再安装一遍kernel,以生成img,否则会无法启用dri。
不知道mesa-git是不是就不需要装这个radeon_ucode了。

作者: zhuqin_83   发布时间: 2010-02-28

我终于决定从2.6.31升级到2.6.33了,可是杯具了。。

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

作者: jarryson   发布时间: 2010-02-28

引用:
作者: jarryson
我终于决定从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出色

作者: yafeng   发布时间: 2010-03-01

这个……集成显卡不能这么拿来比吧……囧

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

作者: hurricanek   发布时间: 2010-03-01

郁闷了。开了KMS之后X是几乎不可用的,比如打开终端,系统是直接重启

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

grep -e EE -e WW /var/log/Xorg.0.log
代码:
Current Operating System: Linux Zzz 2.6.33-ARCH #1 SMP PREEMPT Sat Feb 27 13:05:06 UTC 2010 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module vesa
(EE) Failed to load module "vesa" (module does not exist, 0)
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) RADEON(0): mask: 3
(WW) RADEON(0): LVDS Info:
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0xb7ffb000 is: 0xb7ffb000
(WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
(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)
(EE) AIGLX: reverting to software rendering
(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)
(EE) GLX: could not load software renderer

作者: jarryson   发布时间: 2010-03-01

intel 945gm一切正常,木有感到什么变化。

作者: 难免有错   发布时间: 2010-03-01

引用:
作者: jarryson
郁闷了。开了KMS之后X是几乎不可用的,比如打开终端,系统是直接重启

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

grep -e EE -e WW /var/log/Xorg.0.log
代码:
Current Operating System: Linux Zzz 2.6.33-ARCH #1 SMP PREEMPT Sat Feb 27 13:05:06 UTC 2010 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module vesa
(EE) Failed to load module "vesa" (module does not exist, 0)
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) RADEON(0): mask: 3
(WW) RADEON(0): LVDS Info:
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0xb7ffb000 is: 0xb7ffb000
(WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
(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)
(EE) AIGLX: reverting to software rendering
(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)
(EE) GLX: could not load software renderer
原来老大是R300,我R600随便测试了下,暂时没发现啥问题

作者: yafeng   发布时间: 2010-03-01

引用:
作者: jarryson
郁闷了。开了KMS之后X是几乎不可用的,比如打开终端,系统是直接重启

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

grep -e EE -e WW /var/log/Xorg.0.log
代码:
Current Operating System: Linux Zzz 2.6.33-ARCH #1 SMP PREEMPT Sat Feb 27 13:05:06 UTC 2010 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module vesa
(EE) Failed to load module "vesa" (module does not exist, 0)
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) RADEON(0): mask: 3
(WW) RADEON(0): LVDS Info:
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0xb7ffb000 is: 0xb7ffb000
(WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
(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)
(EE) AIGLX: reverting to software rendering
(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)
(EE) GLX: could not load software renderer
貌似明显的编译问题吧……

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

作者: hurricanek   发布时间: 2010-03-01

是吗?我重新编译了libdrm-git, mesa-git(libgl-git, ati-dri-git), xorg-server, xf86-video-ati-git,还是有这个问题。

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

弄的这两天都没用linux

作者: jarryson   发布时间: 2010-03-01

这个我遇见过一次,查了查是这个说是这个patch的问题……而且确实解决了

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

作者: hurricanek   发布时间: 2010-03-02

确实解决了。。现在没有严重错误,但是开启KMS后仍然不能运行很多程序,一运行系统直接重启。比如terminal。

完全不知道为何。在就是2。6。33里面必须关机才能成功启动系统,重启启动arch不使用KMS也出现
代码:
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
如果启用KMS会直接在加载radeon模块的时候重启。如此循环。必须关机或者断电后就可以。

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

大概是
代码:
Spurious APIC error on CPU0, should never happen.
太杯具了这内核更新的

作者: jarryson   发布时间: 2010-03-02

仍然回到2.6.31。。。一切都很正常了。。。都不用重新编译libdrm什么的

作者: jarryson   发布时间: 2010-03-02