View Single Post
Old 08-14-12, 12:51 PM   #3
Raven-D
Registered User
 
Join Date: Jun 2012
Posts: 7
Default Re: Restarted my machine, now suddenly NOTHING works with my GTX670?

Quote:
Originally Posted by johnc View Post
Do you have a backup of the xorg.conf you can use? Sometimes a backup copy is made.

Check the /var/log/Xorg.*.log logs. If a screen doesn't come up, it should explain why in there.

Also check the kernel log in the same directory for any messages containing "NVRM".
Regrettably I didn't have a backup xorg.conf, so I ended up formatting my drive and performing a fresh Linux install. I then installed the nvidia-current drivers. Now, all of my monitors work again. I am still having trouble activating compositing, though. (Read below)

For reference, here is my working xorg.conf file:

Quote:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 295.33 (buildd@allspice) Fri Mar 30 13:37:33 UTC 2012


Section "ServerLayout"

# Removed Option "Xinerama" "1"
# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG Electronics E2250"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LG Electronics E2250"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor2"
VendorName "Unknown"
ModelName "LG Electronics E2250"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Device2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
BusID "PCI:1:0:0"
Screen 2
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP-0: nvidia-auto-select +1920+0, DFP-2: nvidia-auto-select +3840+0, DFP-3: 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 "TwinViewXineramaInfoOrder" "DFP-3"
Option "metamodes" "DFP-3: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Device2"
Monitor "Monitor2"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-2"
Option "metamodes" "DFP-2: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"

# Removed Option "Composite" "Enable"
Option "Composite" "Disable"
EndSection
Having to wipe my drive clean and do a fresh install wasn't exactly how I wanted to end my night, as I now have hours of configuration to look forward to, happily all my monitors do work. However I cannot for the life of me get Compiz to fire up when Xinerama or TwinView are enabled, and this is a problem because I require compositing.

When in TwinView mode, executing the compiz --replace command results in these errors:

Quote:
raven@raven-A780L3G ~ $ compiz --replace
Backend : ini
Integration : true
Profile : default
Adding plugins
Initializing core options...done
compiz (core) - Fatal: No composite extension
compiz (composite) - Error: initScreen failed
compiz (core) - Error: Couldn't activate plugin 'composite'
compiz (core) - Error: Plugin 'composite' not loaded.

compiz (core) - Error: InitPlugin 'opengl' failed
compiz (core) - Error: Couldn't activate plugin 'opengl'
compiz (core) - Fatal: No composite extension
compiz (core) - Fatal: No composite extension
Segmentation fault
I'm not sure whether my previous working settings (prior to yesterday) had me in TwinView or Xinerama mode, but all four monitors would display correctly, windows would maximize to the appropriate screen, and windows could be moved across screens. Additionally, Compiz was running full-time with compositing enabled, as I was running one GLX-Dock (Cairo) per screen.

Can someone help me with this?
Raven-D is offline   Reply With Quote