+ -
当前位置:首页 → 问答吧 → Ubuntu能用开源驱动开3D,Debian下死活起不来

Ubuntu能用开源驱动开3D,Debian下死活起不来

时间:2009-08-06

来源:互联网

ATI Radeon Xpress 200M显卡。
Ubuntu9.04默认状态下能够启动3D效果,应该是使用的开源驱动吧?
在Debian Lenny下,就是开不了。
看了下ubuntu的xorg.conf,太简单了,copy到debian下也不能用。

附上xorg.conf
引用:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "SynapticsTouchpad" "SendcoreEvents"
EndSection

Section "Files"
RgbPath "/etc/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
EndSection

Section "Module"
Load "dri"
Load "record"
Load "xtrap"
Load "glx"
Load "extmod"
Load "dbe"
Load "GLcore"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier "SynapticsTouchpad"
Driver "synaptics"
Option "AlwaysCore" "true" # send events to CorePointer
Option "VertEdgeScroll" "true" # enable vertical scroll zone
Option "HorizEdgeScroll" "true" # enable horizontal scroll zone
EndSection


Section "Monitor"
#DisplaySize 300 190 # mm
Identifier "Monitor0"
VendorName "CMO"
ModelName "1409"
EndSection

Section "Device"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RC410 [Radeon Xpress 200M]"
BusID "PCI:1:5:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "dri"
Mode 0666
EndSection

作者: oydl82   发布时间: 2009-08-06

我的也是 ATI的顯卡,用的是debian自帶的驅動,可以運行compiz了,不過自從那東西能運行後就再也沒用過,感覺還是占資源,沒事時炫炫還行,工作時開著它有點過。

作者: xiaopaozi   发布时间: 2009-08-06

我很想知道为什么Debian下行不通,而在Ubuntu下却正常!

作者: oydl82   发布时间: 2009-08-06

老兄,你的显卡和我的一样的,我也有和你同样的问题,在ubuntu下可以直接开3D桌面,但debian下也是一样的不行,你搞定了告知一声呀!

[email protected]

作者: jack0732   发布时间: 2009-08-07

终于搞定了。
原来运行
引用:
dmesg | grep drm
的结果是空。估计是内核原因,于是就重新编译内核,把内核中显卡型号编译进内核,而不是模块。新内核下运行
引用:
dmesg | grep drm
后,结果显示
引用:
[ 2.377354] [drm] Initialized drm 1.1.0 20060810
[ 2.377930] [drm] Initialized radeon 1.29.0 20080528 on minor 0
^_^
高兴之下运行
引用:
glxinfo
,结果
引用:
direct rendering: No
,使用
引用:
LIBGL_DEBUG=verbose
,没有发现任何错误。也不知道是什么原因,网上接着google,发现Xorg.0.log有用,于是查看Xorg.0.log文件,发现
引用:
Direct rendering disabled
,可能是xorg.conf的问题,接着检查xorg.conf,发现
引用:
Option "Dri"
选项没有设置,于是设置
引用:
Option "Dri" true
。重启X,运行
引用:
glxinfo
引用:
direct rendering: Yes
出来了。

作者: oydl82   发布时间: 2009-08-08

引用:
作者: oydl82
我很想知道为什么Debian下行不通,而在Ubuntu下却正常!
软件的版本不一样啊!

作者: wkt   发布时间: 2009-08-08

引用:
作者: wkt
软件的版本不一样啊!
一语惊醒梦中人。
本来硬件加速上来了,可是一开compiz就重启X。折腾了一个晚上,就是没有找到解决办法,刚刚看到老兄的这句,马上换sid的源,把radeon驱动升级了。搞定!
借用范伟的一句话,谢谢噢!。

作者: oydl82   发布时间: 2009-08-08

热门下载

更多