Page 1 of 1
xfree-drm
Posted: Wed Jul 28, 2004 5:56 pm
by kevwalker
一直聽說kernel2.6有包含radeon7500的drm支援
可是我要怎麼知道他被啟動了呢
以前用mandrake kernel2.4時
在lsmod裡會看到xdm-drm radeon之類的東西
可是現在用gentoo kernel2.6
執行lsmod就沒看到了
實在不知道自己的顯示卡是不是白白被放在電腦裡
我該怎麼做
Posted: Wed Jul 28, 2004 10:42 pm
by kevwalker
果然我一直都沒啟動>"<
在module.autoload裡加入radeon後
XF86config打開dri gls 重開後
lsmod終於有了(只能怪自己文件沒看清楚)
可是...
kevwalker@gentoo kevwalker $ glxinfo | grep rendering
direct rendering: No
啊3D加速沒啟動啊
這該怎麼辦呢??
Posted: Thu Jul 29, 2004 6:49 am
by ww
motherboard 晶片的驅動程式也要載入
下面是我自己 compile 2.6 kernel source 裡的選項
=========================
<M> /dev/agpgart (AGP Support)
< > ALI chipset support
< > ATI chipset support
< > AMD Irongate, 761, and 762 chipset support
< > AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > NVIDIA nForce/nForce2 chipset support
< > SiS chipset support
< > Serverworks LE/HE chipset support
<M> VIA chipset support
=========================
我的晶片是 VIA
在 /etc/modules.autoload.d/kernel-2.6加入
agpgart
還要加
via_agp
Posted: Thu Jul 29, 2004 9:51 am
by oai79
XF86Config 有 Load "dri" 和 Load "glx" 嗎?
Posted: Thu Jul 29, 2004 6:09 pm
by kevwalker
ww wrote:
我的晶片是 VIA
在 /etc/modules.autoload.d/kernel-2.6加入
agpgart
還要加
via_agp
嗯,如您所說
研究了一整天
終於會動了
方法如下:
在/etc/modules.autoload.d/kernel-2.6加入
via-agp
agpgart
radeon
在XF86config裡加入
Load "glx"
Load "dri"
Section "Device"
Identifier "** ATI Radeon (generic) [radeon]"
Driver "radeon"
Option "AGPMode" "4"
Option "EnablePageFlip" "True"
VideoRam 65536
Section "DRI"
Mode 0666
EndSection
3D加速就被支援了
kevwalker@gentoo kevwalker $ glxgears
4290 frames in 5.0 seconds = 858.000 FPS
5100 frames in 5.0 seconds = 1020.000 FPS
5101 frames in 5.0 seconds = 1020.200 FPS
5070 frames in 5.0 seconds = 1014.000 FPS
5101 frames in 5.0 seconds = 1020.200 FPS
5100 frames in 5.0 seconds = 1020.000 FPS
5100 frames in 5.0 seconds = 1020.000 FPS
5101 frames in 5.0 seconds = 1020.200 FPS
5101 frames in 5.0 seconds = 1020.200 FPS