2009年3月26日星期四

精简后的xorg.conf文件

其实在 Fedora 和 Arch 上 xorg 的配置文件差不多一致,其他发行版也应该类似。现在我的精简 xorg.conf 文件:

=======================================================================

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/fglrx"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection



================================================================================
如果你有一天发现运行不了 ATI Catalyst Control Center 和 Compiz 等桌面特效的话,
请检查你的 xorg.conf 文件中 Section "Files" 中的内容是否被清空了。清空了的话请加上类似上面的两行 ModulePath 就可以了。出现这个问题我估计是升级 catalyst 驱动的时候弄丢的。

没有评论:

发表评论