Problem with xorg and Compiz 3D

I have dual monitors and running openSUSE 11.2 with a Nvidia 260 with 897ram on the card with 16GB system Ram and AMD dual core CPU. I can get the monitors to work just fine with the Nvidia drivers i just cant get the Compiz to load.Here is my xorg.conf.
I have had it running before but just cant rember what i did.

nvidia-settings: X configuration file generated by nvidia-settings

nvidia-settings: version 1.0 (buildmeister@builder58) Fri Mar 12 02:13:46 PST 2010

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Mar 12 02:12:40 PST 2010

Section “ServerLayout”

Removed Option “Xinerama” “0”

Identifier     "Layout0"
Screen      0  "Screen0" 0 0
Screen      1  "Screen1" RightOf "Screen0"
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
Option         "Xinerama" "1"

EndSection

Section “Files”
EndSection

Section “InputDevice”

# generated from default
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"

EndSection

Section “InputDevice”

# generated from default
Identifier     "Keyboard0"
Driver         "kbd"

EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Samsung SyncMaster”
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option “DPMS”
EndSection

Section “Monitor”
Identifier “Monitor1”
VendorName “Unknown”
ModelName “Samsung SyncMaster”
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce GTX 260”
BusID “PCI:2:0:0”
Screen 0
EndSection

Section “Device”
Identifier “Device1”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce GTX 260”
BusID “PCI:2:0:0”
Screen 1
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “TwinView” “0”
Option “metamodes” “DFP-1: nvidia-auto-select +0+0”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Section “Screen”
Identifier “Screen1”
Device “Device1”
Monitor “Monitor1”
DefaultDepth 24
Option “TwinView” “0”
Option “metamodes” “DFP-0: nvidia-auto-select +0+0”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Read what gminnerup has to say about compiz, dual monitors, and the proprietary nvidia driver:

Multiple monitors with different sizes and orientations: how? - openSUSE Forums

Your choice is:
a. Twinview, with full compositing and a single desktop, but no way to rotate one monitor only (you can rotate but only all monitors together);
b. Two separate Xscreens with Xinerama, but Xinerama disables compositing (so no Compiz or Kwin).
c. Two separate Xscreens without Xinerama, in which case you get compositing but no way to move windows between the screens (though the mouse pointer will cross the boundary).

Edit: Just noticed you are using twinview setup. But I also note the ‘Xinerama’ option in your xorg.conf

Removed Option “Xinerama” “0”

Identifier “Layout0”
Screen 0 “Screen0” 0 0
Screen 1 “Screen1” RightOf “Screen0”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
Option “Xinerama” “1”
EndSection

Thanks deno_ferrari you helped me find the answer. You gave me the clue. :slight_smile:

I know this is not all correct but it works.

See screen shots below.

Section “Screen”

Removed Option “TwinView” “0”

Removed Option “metamodes” “DFP-1: nvidia-auto-select +0+0”

Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    24
Option         "TwinView" "1"
Option         "TwinViewXineramaInfoOrder" "DFP-1"
Option         "metamodes" "DFP-0: 1680x1050 +1680+0, DFP-1: 1680x1050 +0+0"
SubSection     "Display"
    Depth       24
EndSubSection

EndSection

Section “Screen”
Identifier “Screen1”
Device “Device1”
Monitor “Monitor1”
DefaultDepth 24
Option “TwinView” “0”
Option “metamodes” “DFP-0: nvidia-auto-select +0+0”
SubSection “Display”
Depth 24
EndSubSection

http://i751.photobucket.com/albums/xx160/Brad_walls/Screenshot-1.jpg

http://i751.photobucket.com/albums/xx160/Brad_walls/Screenshot-2.jpg

http://i751.photobucket.com/albums/xx160/Brad_walls/Screenshot-3.jpg