Trouble getting both screens to display off of a nvidia card

Issues related to applications and software problems
Post Reply
seattleleet
Posts: 2
Joined: 2018/08/02 23:44:26

Trouble getting both screens to display off of a nvidia card

Post by seattleleet » 2018/08/03 00:02:07

Issue: I have been trying to get this computer to work with two screens and have been fairly unsuccessful so far after attempting to install cuda 9.2.

History:
nvidia driver installed: 390.77 - this was a working setup with two monitors. I foolishly tried to install cuda 9.2 which installed a newer driver that did not function at all (this card is only supported until 9.1). So I uninstalled the cuda-version of the graphics driver in 9.2. Reinstalled 390.77 and only one screen would work with my desktop showing- on boot the other monitor works, and is detected with xrandr (and nvidia x settings makes it seem like it is working... but it is just a black screen(low power mode eventually... and sleep)). So I uninstalled that driver, and installed the one that was in the cuda installation and I am still seeing the same results. Is therre any chance that the driver in 9.2 is not fully cleared off the system? I used the .run method of installation, so rpm -qa lists nothing... and removed the driver with nvidia-uninstall (part of the installation). Alternately... have I just missed something large with the xconfigs?
I have been crawling the internet for two days so far... and it has not gone all that well yet. Appreciate any help that I can get!

System:
LENOVO_MT_30B9_BU_LENOVO_FM_ThinkStation P910
GeForce GTX 680 (one monitor connected DVI, the other DP)
Intel(R) Xeon(R) CPU E5-2620 v4

OS: CentOS Linux release 7.3.1611 (Core)
Kernel: 3.10.0-514.26.2.el7.x86_64
Current driver: NVIDIA-SMI 387.26

xrandr -q:
Screen 0: minimum 8 x 8, current 2880 x 2560, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1440x2560+1440+0 right (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1200 59.88
1920x1080 60.00
1680x1050 59.95
1600x1200 60.00
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 1440x2560+0+0 right (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
2048x1080 60.00 24.00
1920x1080 60.00 59.94 50.00
1600x1200 60.00
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93


xconfig:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 387.26 (buildmeister@swio-display-x86-rhel47-08) Thu Nov 2 21:37:11 PDT 2017


Section "ServerLayout"

Identifier "Layout0"
Screen 0 "Screen0" 0 0
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 "DELL U2717D"
HorizSync 30.0 - 88.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

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

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-4"
Option "metamodes" "DP-1: nvidia-auto-select +0+0 {rotation=right}, DVI-I-1: nvidia-auto-select +1440+0 {rotation=right}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection

seattleleet
Posts: 2
Joined: 2018/08/02 23:44:26

Re: Trouble getting both screens to display off of a nvidia card

Post by seattleleet » 2018/08/06 17:51:09

It appears that manually setting twinview actually worked.... If anyone has a similar issue- I hope this helps.

edited file:
Section "ServerLayout"

Identifier "Layout0"
Screen 0 "Screen0" 0 0
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 "DELL U2717D"
HorizSync 30.0 - 88.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

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

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DP-1"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-4"
Option "metamodes" "DP-1: nvidia-auto-select +0+0 {rotation=right}, DVI-I-1: nvidia-auto-select +1440+0 {rotation=right}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Post Reply