Hello - I have a system running OpenSuSE 15.5 KDE X11 Plasma desktop, with 2 monitors connect to it. It also has 2 nVidia Quadro K420 video cards, each connected to one of my two monitors. (This computer was given to me, I did not configure the hardware) I have wracked my brains trying to get both System Settings and nvidia-settings to set up the two terminals as clones and I have finally found a solution that works, but I do NOT grok as to why it works. I want to understand so that in the future I can figure out how video configuration works. The following is the non-working version of xorg.conf that was generated by nvidia-settings (with most of the comments removed) -
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 470.256.02
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 470.256.02 # Section "Extensions" # Option "Composite" "Disable" # Option "RANDR" "Disable" # EndSection # Section "Screen" # Identifier "Screen1" # Device "Device1" # Monitor "Monitor1" # DefaultDepth 24 # Option "Stereo" "0" # Option "metamodes" "1920x1080 +0+0 {AllowGSYNC=Off}" # Option "SLI" "On" # Option "MultiGPU" "Off" # Option "BaseMosaic" "Off" # SubSection "Display" # Depth 24 # EndSubSection # EndSection
Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" Relative "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" Option "Xinerama" "0" EndSection
Section "Files" EndSection
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "yes" Option "ZAxisMapping" "4 5" EndSection
Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection
Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Westinghouse Digital Electronics LVM-42w2" DisplaySize 930 520 HorizSync 30.0 - 80.0 VertRefresh 60.0 - 75.0 Gamma 2.2 Option "DPMS" "true" EndSection
Section "Monitor" Identifier "Monitor1" VendorName "SAM" ModelName "SAMSUNG" DisplaySize 700 390 HorizSync 15.0 - 68.0 VertRefresh 24.0 - 75.0 Gamma 2.2 Option "DPMS" "true" EndSection
Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "Quadro K420" BusID "PCI:3:0:0" EndSection
Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "Quadro K420" BusID "PCI:4:0:0" EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "UseEdid" "True" Option "AllowEmptyInitialConfiguration" "True" Option "nvidiaXineramaInfo" "FALSE" Option "Stereo" "0" Option "nvidiaXineramaInfoOrder" "DFP-0" Option "metamodes" "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" "1920x1080 +0+0 {AllowGSYNC=Off}" Option "SLI" "Off" Option "MultiGPU" "Off" Option "BaseMosaic" "off" SubSection "Display" Depth 24 EndSubSection EndSection
This produces a strange desktop display, Monitor 0 shows me just the open applications, Konsole windows and the mouse cursor. The mouse cursor is confined to just this one monitor and cannot be moved into what is shown on Monitor 1. That means this is not simply an extended desktop of some kind. Monitor 1 shows me the kicker bar, the background image, and the desktop icons. So it is as if half of the desktop items are being shown on one monitor and half on the other. And the mouse cursor cannot reach any of the components shown on one of the monitors, for example the start menu applications launcher. So after a lot of trials, I finally hit upon a solution. And that is to comment out one line in the ServerLayout section so it becomes this -
Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 # Screen 1 "Screen1" Relative "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" Option "Xinerama" "0" EndSection
and that works! The two monitors are now clones, showing everything on the desktop as expected. But I am totally baffled as to why! Commenting out the Screen 1 definition seems to remove half of what was configured by nvidia-settings. And there is nothing in xorg.conf that says the two monitors should be in a clone mode, I did set the two monitors in clone mode in system-settings. I don't grok how that fits in with xorg configuration since system-settings doesn't seem to make any changes to xorg.conf. Is there 2 setup approaches to configuring monitors that are in conflict with each other? My brain hurts, thanks for any enlightenment offered, Marc.