I have two monitors connected to my PC configured to run as separate X sessions according to the Nvidia settings program. It has been working fine in CentOS 6 for 5 years. In fact, I moved from Ubuntu to CentOS as the display configuration quit working when I attempted to move from Ubuntu 9.10 to 10.4. I am now considering moving up to something newer, in this case CentOS 7.
I connected a test SDD in place of the production drive and did an install of CentOS 7 - Gnome desktop. I updated everything, enabled the CR repo, updated to 7.2 and installed kmod-nvidia from elrepo - as called for by nvidia-detect. (several reboots along the way) So far, so good.
I ran nvidia-settings as root and set my small monitor to the left of my large monitor, set it as the primary monitor (I think that was the wording) and then saved the settings in /etc/X11/xorg.conf. I rebooted and found that my small monitor was in fact on the left, had the Panel, menu etc. and that the right monitor acted as an extension of the left monitor (e.g. I could open a program and drag it from the left monitor to the right monitor). Getting closer.
I again ran nvidia-settings and changed the right (larger) monitor to "new X screen", saved the xorg.conf again and rebooted. This time the right monitor came up with a white screen with a picture of a computer screen with a frowning face
(really!) and a message to the effect "A problem has occurred and the system cannot recover." It then stated to logout and try again and presented a logout button. However, the screen did not respond to mouse nor keyboard. I forced a reboot with the power button and came up to the same screen.
That is where I am stuck at. I am glad that CentOS 6 is supported for another 5 years. For what it is worth, here is the xorg.conf as created by nvidia-settings
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 352.63 (buildmeister@swio-display-x64-rhel04-11) Sat Nov 7 21:59:07 PST 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
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 "Acer V193"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Acer X223W"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K420"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K420"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "DP-1: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Can anyone suggest a path forward?
TIA,
Ken
p.s. This is my new Quadro K420 card which I installed to replace the original GeForce GT220 which came with the machine, is obsolete and has been a source of trouble over the years.