PDA

View Full Version : GMA950+AIGLX+Xinerama possible?


cdfs
November 17th, 2006, 09:44 PM
I'm using compiz on a notebook with GMA950 graphics. I am able to get xinerama running, but when I start compiz, window-decorations disapear and nothing else happens. I can switch back than to metacity, but I realy would like to use compiz with xinerama on a dual-head-setup.
My xorg.conf is as follows:

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "0 Intel Corporation Mobile Integrated Graphics Controller"
Driver "i810"
Screen 0
BusID "PCI:0:2:0"
# Option "UseFBDev" "true"
Option "VBERestore" "true"
Option "NoAccel" "false"
Option "DRI" "true"
Option "MonitorLayout" "CRT,LFP"
EndSection

Section "Device"
Identifier "1 Intel Corporation Mobile Integrated Graphics Controller"
Driver "i810"
Screen 1
BusID "PCI:0:2:0"
# Option "UseFBDev" "true"
Option "NoAccel" "false"
Option "DRI" "true"
Option "MonitorLayout" "CRT,LFP"
EndSection

Section "Monitor"
Identifier "Laptop Monitor"
Option "DPMS"
# HorizSync 30-67
# VertRefresh 30-60
EndSection
Section "Monitor"
Identifier "Desktop Monitor"
Option "DPMS"
# HorizSync 30-67
# VertRefresh 30-60
EndSection

Section "Screen"
Identifier "Main Screen"
Device "0 Intel Corporation Mobile Integrated Graphics Controller"
Monitor "Laptop Monitor"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "Screen"
Identifier "Second Screen"
Device "1 Intel Corporation Mobile Integrated Graphics Controller"
Monitor "Desktop Monitor"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

#Section "ServerFlags"
# Option "Xinerama" "true"
#EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Main Screen"
Screen 1 "Second Screen" RightOf "Main Screen"
Option "Xinerama" "on"
# Option "Clone" "on"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

I'm on Ubuntu edgy and am using compiz from gandalfn repository (dev-version 0.3.3).

regards
cdfs

fab
November 18th, 2006, 06:22 PM
I'm not sure xinerama supports DRI.
My best guess is that you should try MergedFB instead but i haven't succeeded to make it work right now.

cdfs
November 20th, 2006, 03:30 PM
DRI is activated, so it should go...
I can't use mergedFB, as it does not fit my setup: I have a laptp, wich has a native resolution of 1280x800 and an external TFT with 1280x1024. As I understood, mergedFB can't handle different resolutions.

CDFS