我一定是瘋了。連小黑 X31都要安裝ubuntu + Beryl
搞定。
先記一下
這是我的 xorg.conf 比較重要的幾個段落
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri" #這個要檢查看看有沒有
Load "extmod"
Load "freetype"
Load "glx" #這個要檢查看看有沒有
Load "int10"
Load "vbe"
EndSection
Trackpoint的部份:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true" #加這兩行可以把 trackpoint的中鍵抓回來
Option "EmulateWheelButton" "2"
EndSection
重頭戲:顯示卡的部份
Section "Device"
Identifier "ATI Technologies Inc Radeon Mobility M6 LY"
Driver "ati"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "AGPSize" "128"
Option "AGPMode" "4"
Option "AccelMethod" "XAA" #only "XAA" is supported for Radeon Mobility M6 LY
Option "ColorTiling" "true"
Option "EnablePageFlip" "true" #only works with accelmethod "XAA"
Option "TripleBuffer" "true" #This *might* help if you use something like Beryl and have slow video playback.
Option "DynamicClocks" "true" #This is for laptop users, it saves energy when in battery mode.
Option "DMAForXv" "true" #This can speed up movie playback but can in rare cases case instability
Option "GARTSize" "64" #This is the size of the "GART" that xorg will use.
EndSection
ServerLayout 也要小改:
Section "ServerLayout"
Option "AIGLX" "true" #加這行讓X可以使用Radeon 的3D加速
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
最後還要加上這兩個section
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
安裝完beryl,使用3D桌面之後,爽沒兩天發現一個問題:beryl下影片播放有問題。不管是內建的影片播放器 totem還是 VLC都一樣。
解決方式:
VLC的視訊輸出改成用X11
totem要到終端機中,輸入
gstreamer-properties ,然後視訊輸出選 「X視窗系統(非XV)」。
沒有留言:
張貼留言