ML2安装ati显卡驱动问题
xorg版本6.9驱动官方8.31
就是打不开3d加速,高手看看哪里出的问题
[root@MagicLinux ~]# glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
xorg.conf如下:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/ttf/zh_CN"
EndSection
Section "Module"
Load"dbe"
Load"extmod"
Load"fbdevhw"
Load"glx"
Load"record"
Load"freetype"
Load"type1"
Load"dri"
EndSection
Section "InputDevice"
Identifier"Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XbkModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier"Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "S/M 750p"
Option "DPMS" "true"
HorizSync 30.0 - 96.0
VertRefresh50.0 - 160.0
EndSection
Section "Device"
Identifier"Videocard0"
Driver "fglrx"
VendorName"Videocard vendor"
BoardName "ATI Radeon 9500"
VideoRam 65536
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
附件是xorg.0.log 看置顶的faq。 看了置顶,没有收获,做如下改动,情况依然
Section "Device"
Identifier"Videocard0"
Driver "radeon"
VendorName"Videocard vendor"
BoardName "ATI Radeon 9500"
VideoRam 65536
EndSection
……………………………………
aticonfig --initial
……………………………………
肯定没看官方驱动的安装方法。
官方驱动的 Driver 是 fglrx ,readon 是 X 自带的 ati2xx 系列驱动。 做过了已经
[root@MagicLinux ~]# aticonfig --initial
Found fglrx primary device section
Nothing to do, terminating.
你的 2D 环境速度如何?如果很快,而且刷新率自动到显卡的最高支持,证明 X部分的显卡已经装好了。
还有,你要看看 lsmod 里面有没有 fglrx 这个模块,没有这个模块,也没有 3D 支持
Section "ServerLayout"
Identifier "single head configuration"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
最起码这里不是 aticonfig 生成的,你是不是还有一个 /etc/X11/XFConfig 这个文件?
ati 首先修改 XFConfig ,但 Xorg 首先使用 xorg.conf 。 有个fglrx模块,2d速度还不错
[root@MagicLinux ~]# lsmod
Module SizeUsed by
fglrx 3569088
lp 95440
dm_mirror 149280
container 29440
ohci1394 280840
ieee1394 2660401 ohci1394
ohci_hcd 166440
ehci_hcd 276560
ns558 34600
gameport 87122 ns558
i2c_nforce2 49920
i2c_core 120481 i2c_nforce2
shpchp 394880
snd_mpu401 36560
snd_mpu401_uart 46081 snd_mpu401
snd_rawmidi 162881 snd_mpu401_uart
snd_intel8x0 230681
snd_ac97_codec 703041 snd_intel8x0
snd_ac97_bus 12801 snd_ac97_codec
snd_seq_dummy 20520
snd_seq_oss 252160
snd_seq_midi_event 37121 snd_seq_oss
snd_seq 352165 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 53884 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 427840
snd_mixer_oss 145921 snd_pcm_oss
snd_pcm 599123 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 169002 snd_seq,snd_pcm
snd 3466014 snd_mpu401,snd_mpu401_uart,snd_rawmidi,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 70482 snd_intel8x0,snd_pcm
forcedeth 181800
8139too 206080
mii 35841 8139too
floppy 501160
这是我的xf86.comfig,没有生成log,我想应该没有在使用
# XFree86 4 configuration created by MagicInstaller.
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/ttf/zh_CN"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XbkModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "S/M 750p"
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 160.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9500 Pro"
VideoRam 65536
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display24"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
ldd `which glxinfo`
里面的 libGL.so 应该是 ati 驱动带的。 楼上的,具体点说是什么意思?谢谢
[root@MagicLinux ~]# ldd /usr/X11R6/bin/glxinfo
linux-gate.so.1 =>(0xffffe000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7e9c000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xb7e33000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7e25000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7d3f000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d16000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7cf3000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7bc9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7af8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7aef000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb7aea000)
libdl.so.2 => /lib/libdl.so.2 (0xb7ae6000)
/lib/ld-linux.so.2 (0xb7f16000)
怪事,怪事,啥也没做重新启动X就OK了
[root@MagicLinux ~]# fglrxinfo
display: :0.0screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9500 Generic
OpenGL version string: 2.0.6174 (8.31.5)
彻底被打败了,之前已经重新启动过n次了,现在conf和以前的是一样的
现在基本是被LINUX玩,看来我还有的学呢 还有问题,为啥glxgears这么低?
[root@MagicLinux ~]# glxgears
642 frames in 5.0 seconds = 128.234 FPS
636 frames in 5.0 seconds = 127.193 FPS
636 frames in 5.0 seconds = 127.089 FPS
639 frames in 5.0 seconds = 127.690 FPS
631 frames in 5.0 seconds = 126.093 FPS
630 frames in 5.0 seconds = 125.991 FPS
640 frames in 5.0 seconds = 127.891 FPS
633 frames in 5.0 seconds = 126.490 FPS
637 frames in 5.0 seconds = 127.290 FPS
635 frames in 5.0 seconds = 126.891 FPS
637 frames in 5.0 seconds = 127.392 FPS
633 frames in 5.0 seconds = 126.491 FPS
630 frames in 5.0 seconds = 125.991 FPS
631 frames in 5.0 seconds = 126.192 FPS
[root@MagicLinux ~]# fgl_glxgears
Using GLX_SGIX_pbuffer
1773 frames in 5.0 seconds = 354.600 FPS
2195 frames in 5.0 seconds = 439.000 FPS
2200 frames in 5.0 seconds = 440.000 FPS
2183 frames in 5.0 seconds = 436.600 FPS
2193 frames in 5.0 seconds = 438.600 FPS
2207 frames in 5.0 seconds = 441.400 FPS
glxgears 低正常,新版本的驱动就这个毛病,尤其是测试版的。
flg_glxgears 的数值基本正常。 又有新问题了
在xorg.conf 中一加入
Section "Extensions"
Option "Composite" "Enable"
EndSection
显卡的3d加速就丢失,在xorg.0.log,有如下的警告字段
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
怎么净是些怪问题。。。 ati 官方驱动不支持这个 Ext
页:
[1]
2