configer
2006-12-27, 02:01 PM CST
Hi,
I just tried out the big desktop spanning over 2 monitors and have AIGLX enabled. Here is some to share.
My hardware:
Vaio V505ex notebook (1.5G PM, 512M, 32M ati Mobility-9200)
Platform: FC6, Xorg7.1.1, Xorg Radeon driver, compiz 0.3.4-2 (using the FC7 bulid)
Summary: using mergeFB, AIGLX and compiz works with big desktop setting. DRI is working but speed is bit slower than single desktop. There is small pitfalls with redrawing of 2nd monitor but it does not affect usability.
Detail : 1) Edit Xorg.conf sth. like this. Key is to use MergeFB option.
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "bigdesk configuration"
Screen "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "MousePad" "AlwaysCore"
EndSection
Section "Module"
#load "dbe"
#load "vbe"
#load "fbdevhw"
Load "synaptics"
Load "extmod"
Load "glx"
Load "type1"
Load "freetype"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
EndSection
Section "InputDevice"
Identifier "Mousepad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.015"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
BusID "pci:1:0:0"
Option "MergedFB" "true"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
Option "XAANoOffscreenPixmaps" "true"
Option "CRT2Position" "LeftOf"
Option "RenderAccel" "true"
#Option "AGPFastWrite" "on"
Option "AGPMode" "4"
Option "CRT2HSync" "30-80"
Option "CRT2VRefresh" "59-75"
Option "MetaModes" "1024x768-1024x768, 1024x768"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
I tested options in Videocard part and this yields the highest performance on my system. Actually the two options
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
are disabled by X server.
In loading modules part, the first 3 , when commented out, gives better performance on my machine, if added, system gets slower (but still working).
The main desktop will be on the left monitor. I don't know how to reverse it (set an option?)
You also need a file /etc/drirc containing
<driconf>
<device screen="0" driver="r200">
<application name="all">
<option name="allow_large_textures" value="2" />
</application>
</device>
</driconf>
Otherwise the desktop of the right monitor does not redraw. ( but I find with this, system gets slower) Name in Driver Section should be replaced by the output from /usr/bin/xdriinfo of your system.
You can download extra plugins from
http://www.go-compiz.org/index.php?title=Download#Compiz_Extra_Packages
and try out new cool effects. After Compile and make install , go to /usr/local/etc/gconf/schemas and run gconf-tool2 --install-schema-file=<schemafilename>
to install them
and run
gconf-editor
and find configuration of plugins under key /apps/compiz (in general options of compiz, enable plugins you like and in plugins configure behaviors and binding keys)
Have fun and two related questions please help
1. how to enable the super key (windows key) and Fn key on the keyboard? It's very easy to run out of shortcut keys with lots of plugins.
2. how to set main desktop to right and keep the 2nd one on left? (move mouse left goes to the 2nd monitor)
If you could reply with your successful experience, this post can grow to a better guide for more people who want to use big desktops spanning over multiple monitors.
I just tried out the big desktop spanning over 2 monitors and have AIGLX enabled. Here is some to share.
My hardware:
Vaio V505ex notebook (1.5G PM, 512M, 32M ati Mobility-9200)
Platform: FC6, Xorg7.1.1, Xorg Radeon driver, compiz 0.3.4-2 (using the FC7 bulid)
Summary: using mergeFB, AIGLX and compiz works with big desktop setting. DRI is working but speed is bit slower than single desktop. There is small pitfalls with redrawing of 2nd monitor but it does not affect usability.
Detail : 1) Edit Xorg.conf sth. like this. Key is to use MergeFB option.
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "bigdesk configuration"
Screen "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "MousePad" "AlwaysCore"
EndSection
Section "Module"
#load "dbe"
#load "vbe"
#load "fbdevhw"
Load "synaptics"
Load "extmod"
Load "glx"
Load "type1"
Load "freetype"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
EndSection
Section "InputDevice"
Identifier "Mousepad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.015"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
BusID "pci:1:0:0"
Option "MergedFB" "true"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
Option "XAANoOffscreenPixmaps" "true"
Option "CRT2Position" "LeftOf"
Option "RenderAccel" "true"
#Option "AGPFastWrite" "on"
Option "AGPMode" "4"
Option "CRT2HSync" "30-80"
Option "CRT2VRefresh" "59-75"
Option "MetaModes" "1024x768-1024x768, 1024x768"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
I tested options in Videocard part and this yields the highest performance on my system. Actually the two options
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
are disabled by X server.
In loading modules part, the first 3 , when commented out, gives better performance on my machine, if added, system gets slower (but still working).
The main desktop will be on the left monitor. I don't know how to reverse it (set an option?)
You also need a file /etc/drirc containing
<driconf>
<device screen="0" driver="r200">
<application name="all">
<option name="allow_large_textures" value="2" />
</application>
</device>
</driconf>
Otherwise the desktop of the right monitor does not redraw. ( but I find with this, system gets slower) Name in Driver Section should be replaced by the output from /usr/bin/xdriinfo of your system.
You can download extra plugins from
http://www.go-compiz.org/index.php?title=Download#Compiz_Extra_Packages
and try out new cool effects. After Compile and make install , go to /usr/local/etc/gconf/schemas and run gconf-tool2 --install-schema-file=<schemafilename>
to install them
and run
gconf-editor
and find configuration of plugins under key /apps/compiz (in general options of compiz, enable plugins you like and in plugins configure behaviors and binding keys)
Have fun and two related questions please help
1. how to enable the super key (windows key) and Fn key on the keyboard? It's very easy to run out of shortcut keys with lots of plugins.
2. how to set main desktop to right and keep the 2nd one on left? (move mouse left goes to the 2nd monitor)
If you could reply with your successful experience, this post can grow to a better guide for more people who want to use big desktops spanning over multiple monitors.