Strange x-server behavour with nvidia dual-heading

Running Leap 15.0, X11 and Plasma. I have a Nvidia 710 card with two Acer displays, Screen 0 is landscape and primary, Screen 1 is portrait and to the right of Screen 0. I have configured the screens using the Nvidia 390.87 Driver and their X Server tool. The X11.conf file looks correct. But this is what happens:

When I first boot, the Screen 0 shows a login screen, Screen 1 is dark. After logging in, there are two OpenSUSE logo screens, both on Screen 0 and the portrait screen on top of the landscape screen. Both wallpapers are posted properly and it proceeds to the desktop. Although I can move the cursor to either monitor, I cannot put any application on Screen 1.

Kinfocenter Graphical Information X-server shows Screen 0 with the proper information, but Screen 1 only has a single line.

If I let the system sit long enough and it goes to sleep, there are two login pages, both on the landscape monitor. I can log back into the system using either page! The cursor defaults to the landscape page, but I can move the cursor and log into the portrait page. Once logged in the portrait screen effectively disappears.

If I right-click on a window, I have to option to change the desktop, but not the screen.

The most annoying part: this was working just fine until I used the Suspend function. Coming out of Suspend took about ten times as long as a reboot would and the screens have been messed up since.

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

nvidia-settings: version 390.87 (buildmeister@swio-display-x64-rhel04-14) Tue Aug 21

17:32:26 PDT 2018

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

nvidia-xconfig: version 390.87 (buildmeister@swio-display-x64-rhel04-14) Tue Aug 21

17:33:38 PDT 2018

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

Section “Files”
EndSection

Section “InputDevice”

# generated from data in "/etc/sysconfig/mouse"
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "IMPS/2"
Option         "Device" "/dev/input/mice"
Option         "Emulate3Buttons" "yes"
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 G246HL"                                                         
HorizSync       30.0 - 80.0                                                          
VertRefresh     55.0 - 76.0                                                          
Option         "DPMS"                                                                

EndSection

Section “Monitor”

# HorizSync source: edid, VertRefresh source: edid                                   
Identifier     "Monitor1"                                                            
VendorName     "Unknown"                                                             
ModelName      "Acer G246HL"                                                         
HorizSync       30.0 - 80.0                                                          
VertRefresh     55.0 - 76.0                                                          
Option         "DPMS"                                                                

EndSection

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

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

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “Stereo” “0”
Option “nvidiaXineramaInfoOrder” “DFP-0”
Option “metamodes” “DVI-D-0: nvidia-auto-select +0+0 {AllowGSYNC=Off}”
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 “nvidiaXineramaInfoOrder” “CRT-0”
Option “metamodes” “VGA-0: nvidia-auto-select +0+0 {rotation=left, AllowGSYNC
=Off}”
Option “SLI” “Off”
Option “MultiGPU” “Off”
Option “BaseMosaic” “off”
SubSection “Display”
Depth 24
EndSubSection
EndSection
Section “ServerLayout”
Identifier “Main Layout”
Screen 0 “Screen0”
Screen 1 “Screen1” RightOf “Screen0”
EndSection

The most annoying part: this was working just fine until I used the Suspend function. Coming out of Suspend took about ten times as long as a reboot would and the screens have been messed up since.

Perhaps check config files located in ~/.local/share/kscreen/ and remove any unwanted configuration there. See how that goes.

I do not use nvidia-xconfig for years here, only nvidia settings.

And in nvidia-serrings I do not save anything because it will be saved automatically when I klick on the close/leave Button.

So I would recommend to rename xorg.conf and try it as I said.
And do not use kscreen than anymore.

I’ve always used nvidia-settings.

I removed everything from that directory and re-booted. Didn’t help. But, thanks for the suggestion.

and nvidia-xconfig:

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

nvidia-xconfig: version 390.87 (buildmeister@swio-display-x64-rhel04-14) Tue Aug 21

I have here for years 2 Monitors on Nvidia-graphics without any nvidia-xconfig, /etc/X11/xorg.conf or something.
Working with nvidia-settings.

Maybe some simplification is worth a try? http://fm.no-ip.com/SS/Suse/david42forum7-2970x1680-256.png is Plasma on TW. I get same behavior with KDE3 and IceWM on 15.0 on same PC. With a GeForce 210 I have neither xf86-video-nouveau nor proprietary NVidia driver installed, no affective xorg.con*, no video setup in Plasma settings - nothing for dual display setup other than what the screenshot shows: an xrandr command in a startup script. There is only screen #0 here in KInfocenter. The login greeter shows up only on main screen, while the startup splash shows up on both.

Some more information:

Tail of Xorg.0.log

225.033] (–) NVIDIA(GPU-0): Acer G246HL (CRT-0): connected
225.033] (–) NVIDIA(GPU-0): Acer G246HL (CRT-0): 400.0 MHz maximum pixel clock
225.033] (–) NVIDIA(GPU-0):
225.049] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): connected
225.049] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): Internal TMDS
225.049] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): 330.0 MHz maximum pixel clock
225.049] (–) NVIDIA(GPU-0):
225.049] (–) NVIDIA(GPU-0): DFP-1: disconnected
225.049] (–) NVIDIA(GPU-0): DFP-1: Internal TMDS
225.049] (–) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
225.049] (–) NVIDIA(GPU-0):
226.779] (–) NVIDIA(GPU-0): Acer G246HL (CRT-0): connected
226.779] (–) NVIDIA(GPU-0): Acer G246HL (CRT-0): 400.0 MHz maximum pixel clock
226.780] (–) NVIDIA(GPU-0):
226.795] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): connected
226.795] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): Internal TMDS
226.795] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): 330.0 MHz maximum pixel clock
226.795] (–) NVIDIA(GPU-0):
226.795] (–) NVIDIA(GPU-0): DFP-1: disconnected
226.795] (–) NVIDIA(GPU-0): DFP-1: Internal TMDS
226.795] (–) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
226.795] (–) NVIDIA(GPU-0):
226.827] (–) NVIDIA(GPU-0): Acer G246HL (CRT-0): connected
226.827] (–) NVIDIA(GPU-0): Acer G246HL (CRT-0): 400.0 MHz maximum pixel clock
226.827] (–) NVIDIA(GPU-0):
226.842] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): connected
226.842] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): Internal TMDS
226.842] (–) NVIDIA(GPU-0): Acer G246HL (DFP-0): 330.0 MHz maximum pixel clock
226.842] (–) NVIDIA(GPU-0):
226.842] (–) NVIDIA(GPU-0): DFP-1: disconnected
226.842] (–) NVIDIA(GPU-0): DFP-1: Internal TMDS
226.842] (–) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
226.842] (–) NVIDIA(GPU-0):

Output from xrandr:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)

Which is rather odd as the wallpapers are set on both monitors and I can move the cursor from one to the other. But I can’t put an application window on the HDMI-0.

A brief xorg.conf instead of an xrandr script works just as well with the same installation and user as comment 7:

Section "Device"
	Identifier	"NV"
	Option	"monitor-DVI-I-1" "lowerCon"	# NV DVI
	Option	"monitor-VGA-1"	"upperCon"	# NV VGA
EndSection

Section "Monitor"
	Identifier	"lowerCon"
	Option		"Primary"	"true"
	Option		"LeftOf"	"upperCon"
	Option		"PreferredMode"	"1920x1200"
EndSection

Section "Monitor"
	Identifier	"upperCon"
	Option		"DPMS"	"off"
	Option		"Rotate"	"left"
	Option		"PreferredMode"	"1680x1050"
	DisplaySize	628 355 # 120 DPI @ 2970x1680
EndSection

Section "Screen"
	Identifier	"ScreenLeft"
	Device		"NV"
	Monitor		"lowerCon"
EndSection

Section "Screen"
	Identifier	"ScreenRight"
	Device		"NV"
	Monitor		"upperCon"
EndSection

http://fm.no-ip.com/SS/Suse/david42forum9-2970x1680-256.jpg

I note in your first post that each monitor is assigned to a different screen (screen 0 and screen 1).

I have two monitors working fine. I set then up using nvidia X server settings utility. They are both assigned to screen 0. Have you tried that option?

The relevant lines from xorg.conf seem to be:


 Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, DVI-D-1: nvidia-auto-select +1920+176; DVI-D-0: nvidia-auto-select +0+0; DVI-D
-0: 1920x1080 +0+0; DVI-D-0: 1680x1050 +0+0; DVI-D-0: 1600x1200 +0+0; DVI-D-0: 1440x900 +0+0; DVI-D-0: 1280x1024 +0+0; DVI-D-0: 1280x960 +0+0; DVI-D-0: 1024x768 +0+0; DVI-D-0
: 800x600 +0+0; DVI-D-0: 640x480 +0+0; DVI-D-0: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=1920x1079+0+60}; DVI-D-0: nvidia-auto-select +0+0 {viewportin=1280x8
00}; DVI-D-0: nvidia-auto-select +0+0 {viewportin=1280x720, viewportout=1920x1080+0+60}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection


Note that the second monitor is offset +1920+176 to place to the right and down a bit from the first monitor (the first monitor is 1920 wide).

Yes, I have tried a single screen. Since one monitor is landscape and one is portrait, I end up with very low resolution and large areas I cannot access.

Ditched Nvidia drivers, end of problems.

Congratulations!

You should mark the thread solved. :slight_smile: