- 论坛徽章:
- 0
|
IMB x31安装 ubuntu 9.10,默认xorg.conf没有配置好,画面很卡。
需要重新配置xorg.conf
ubuntu 9.10默认没有/etc/X11/xorg.conf文件,需要从新生成.
How to create xorg.conf in Ubuntu 9.10
Monday, 23 November 2009 02:52
One of the changes on the new Ubuntu 9.10 is that xorg.conf is
missing. The reason for this is that the configuration to be done on
user level. The file xorg.conf will be in use only if it exists. Only
the time will show if this new concept is good but I personally thing
it is.
Sometimes you do need to have the xorg.conf though. Mainly
when you need to use some hidden options of your graphic device or
touchpad for example.
Firstly we need to create the file
xorg.conf. Fortunately there is automatic way of doing this with
generating xorg.conf with the detected devices from the X.
In order to generate xorg.conf you need to switch to one virtual console using the key combination CTRL + ALT + F1.
Now execute the following commands:
user@ubuntu ~# sudo service gdm stop
This command will stop the X.
Now we need to generate the xorg.conf file:
user@ubuntu ~# sudo Xorg -configure
This has generated the file in ~/xorg.conf.new.
We need to make the X using it so we have to put this file inside /etc/X11/
user@ubuntu ~# sudo mv ~/xorg.conf.new /etc/X11/xorg.conf
After moving this file to the proper location you can start the X again and see what happens:
user@ubuntu ~# sudo service gdm start
Good Luck!
按照此法生成/etc/X11/xorg.conf,修改它:
Section "Device"
Identifier "Radeon7500"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
实际上,sudo service gdm stop没有起到作用,我是使用启动进入修复模式,然后
sudo Xorg -configure
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf
sudo gedit /etc/X11/xorg.conf
才成功的。
另有一说:修改/X11/xorg.conf
在 Section "Device" 中加入
Option "RenderAccel" "on"
Option "AGPMode" "4"
Option "FBTexPercent" "0"
Option "AccelMethod" "XAA"
Option "enablepageflip" "on"
试验过,貌似没有起作用。还是将Driver "radeon"修改成Driver "vesa"。简单,而且好使。
附上我系统中的/etc/X11/xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/
cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "record"
Load "dri2"
Load "dbe"
Load "dri"
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 "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # []
#Option "SWcursor" # []
#Option "Dac6Bit" # []
#Option "Dac8Bit" # []
#Option "BusType" # []
#Option "CPPIOMode" # []
#Option "CPusecTimeout" #
#Option "AGPMode" #
#Option "AGPFastWrite" # []
#Option "AGPSize" #
#Option "GARTSize" #
#Option "RingSize" #
#Option "BufferSize" #
#Option "EnableDepthMoves" # []
#Option "EnablePageFlip" # []
#Option "NoBackBuffer" # []
#Option "DMAForXv" # []
#Option "FBTexPercent" #
#Option "DepthBits" #
#Option "PCIAPERSize" #
#Option "AccelDFS" # []
#Option "IgnoreEDID" # []
#Option "DisplayPriority" # []
#Option "PanelSize" # []
#Option "ForceMinDotClock" #
#Option "ColorTiling" # []
#Option "VideoKey" #
#Option "RageTheatreCrystal" #
#Option "RageTheatreTunerPort" #
#Option "RageTheatreCompositePort" #
#Option "RageTheatreSVideoPort" #
#Option "TunerType" #
#Option "RageTheatreMicrocPath" #
#Option "RageTheatreMicrocType" #
#Option "ScalerWidth" #
#Option "RenderAccel" # []
#Option "SubPixelOrder" # []
#Option "ShowCache" # []
#Option "ClockGating" # []
#Option "VGAAccess" # []
#Option "ReverseDDC" # []
#Option "LVDSProbePLL" # []
#Option "AccelMethod" #
#Option "DRI" # []
#Option "ConnectorTable" #
#Option "DefaultConnectorTable" # []
#Option "DefaultTMDSPLL" # []
#Option "TVDACLoadDetect" # []
#Option "ForceTVOut" # []
#Option "TVStandard" #
#Option "IgnoreLidStatus" # []
#Option "DefaultTVDACAdj" # []
#Option "Int10" # []
#Option "EXAVSync" # []
#Option "ATOMTVOut" # []
#Option "R4xxATOM" # []
#Option "ForceLowPowerMode" # []
#Option "DynamicPM" # []
Identifier "Card0"
#Driver "radeon"
Driver "vesa"
VendorName "ATI Technologies Inc"
BoardName "Radeon Mobility M6 LY"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15173/showart_2166427.html |
|