|
我原先是安装了ATI的官方驱动。今天想试试开源的radeon驱动,但是怎么修改xorg.conf都无法完整进入X。
下面是fglrx版和我自己修改的radeon版xorg.conf的diff:
- $ diff -u xorg.conf xorgradeon.txt
- --- xorg.conf 2009-07-15 21:38:18.000000000 +0800
- +++ xorgradeon.txt 2009-07-15 21:25:59.000000000 +0800
- @@ -1,6 +1,6 @@
- Section "ServerLayout"
- Identifier "Simple Layout"
- - Screen 0 "aticonfig-Screen[0]" 0 0
- + Screen 0 "Radeon X1300 Screen" 0 0
- InputDevice "Mouse1" "CorePointer"
- InputDevice "Keyboard1" "CoreKeyboard"
- EndSection
- @@ -40,22 +40,21 @@
- Option "ZAxisMapping" "4 5"
- EndSection
- Section "Monitor"
- - Identifier "aticonfig-Monitor[0]"
- - Option "VendorName" "ATI Proprietary Driver"
- - Option "ModelName" "Generic Autodetecting Monitor"
- + Identifier "Radeon X1300 Monitor"
- Option "DPMS" "true"
- EndSection
- Section "Device"
- - Identifier "aticonfig-Device[0]"
- - Driver "fglrx"
- + Identifier "Radeon X1300 Device"
- + Driver "radeon"
- EndSection
- Section "Screen"
- - Identifier "aticonfig-Screen[0]"
- - Device "aticonfig-Device[0]"
- - Monitor "aticonfig-Monitor[0]"
- + Identifier "Radeon X1300 Screen"
- + Device "Radeon X1300 Device"
- + Monitor "Radeon X1300 Monitor"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 24
- + Modes "1280x800"
- EndSubSection
- EndSection
- vvoody@slackware:~
复制代码
这样修改了,然后startx无法进入X,出现如下错误:
- $ startx
- xauth: creating new authority file /home/vvoody/.serverauth.4312
- X.Org X Server 1.4.2
- Release Date: 11 June 2008
- X Protocol Version 11, Revision 0
- Build Operating System: Slackware 12.1 Slackware Linux Project
- Current Operating System: Linux slackware 2.6.27.7-smp #1 SMP Thu Nov 20 22:18:02 CST 2008 i686
- Build Date: 30 June 2008 11:35:29PM
- Before reporting problems, check http://wiki.x.org
- to make sure that you have the latest version.
- Module Loader present
- Markers: (--) probed, (**) from config file, (==) default setting,
- (++) from command line, (Markers: (--) probed, (**) from config file, (==) default setting,) notice, (II) informational,
- (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
- (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 15 21:12:55 2009
- (==) Using config file: "/etc/X11/xorg.conf"
- Backtrace:
- 0: X(xf86SigHandler+0x7e) [0x80d8b5e]
- 1: [0xffffe400]
- 2: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONDRIGetVersion+0x12b) [0xb7bb2d9b]
- 3: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b8283d]
- 4: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONPreInit+0x9d5) [0xb7b84945]
- 5: X(InitOutput+0x9b7) [0x80a2317]
- 6: X(main+0x296) [0x806dbb6]
- 7: /lib/libc.so.6(__libc_start_main+0xe0) [0xb7d8f390]
- 8: X(FontFileCompleteXLFD+0x20d) [0x806d121]
- Fatal server error:
- Caught signal 11. Server aborting
- giving up.
- xinit: Connection reset by peer (errno 104): unable to connect to X server
- xinit: No such process (errno 3): Server error.
复制代码
之后我试过去掉 Load "glx"和增加Option "AccelMethod" "EXA"、Option "AccelDFS" "True",均出现上述错误。
又,我将radeon驱动换成radeonhd,结果KDE3的启动画面出来了,但是到Load Desktop时,还没见到桌面就退回控制台了,除了上面的错误,又出现如下错误:
- Fatal server error:
- Caught signal 11. Server aborting
- kdeinit: Fatal IO error: client killed
- kdeinit: sending SIGHUP to children.
- kdeinit: sending SIGTERM to children.
- kdeinit: Exit.
- klauncher: Exiting on signal 1
- startkde: Shutting down...
- Warning: connect() failed: : No such file or directory
- Error: Can't contact kdeinit!
- startkde: Running shutdown scripts...
- xprop: unable to open display ':0'
- usage: xprop [-options ...] [[format [dformat]] atom] ...
复制代码
硬件信息在我签名档。为啥我用不了radeon驱动呢? |
|