I have a ubuntu 18.04, install on legion y7000, with NVIDIA 1060m GPU,of course there is a intel integrated gpu card, but I don’t use it. I have three monitors, include two external monitor(through DP-port and hdmi-port respectively) and one internal monitor of LAPTOP. the one not working is VGA monitor through DP-port. internal monitor is also not working, but i don’t care much.
Recently, I upgrade my gpu driver from 430 to 525 Manually. By below commands.
First, I check my bios setting, where the secure boot is closed. And I banned the nouveau in the blacklists.
- sudo update-initramfs -u
- reboot,
- ctrl+alt+f2 to console, login as root.
- sudo service lightdm stop( I happen to know my display manager was gdm3, not lightdm after the problem was encountered, May be it was caused by that I did enter multi-user.target instead stoping gdm3 service first before I install the driver.)
- sudo apt remove --purge nvidia*
- sudo systemctl isolate multi-user.target
- sudo ./NVIDIA-Linux-x86_64-525.105.17.run
- reboot
before upgrade NVIDIA gpu driver, in ubuntu setting panel, I close the usage of internal monitor of Y7000, only use two external monitors.
after upgrading, my external monitory through DP-port not working, which is weird. I can see it in NVIDIA x server setting and in ubuntu system setting panel, use xrandr can also see this screen. but after I switch signal input from others to VGA in monitor manipulator panel, there is only black and no output. I can set join display or mirror display in ubuntu system setting panel, in any way there is no image output in that monitor.
I am currently use gnome\gdm3\xorg\xserver, the software stack is very complicated, that is all I know. I wonder it may not possible be the problem of the new driver version of NVIDIA gpu. support such two monitors would be common.
below is xrandr output
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+ 59.94 50.00 60.00 50.04
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
below is my ubuntu system setting panel
ubuntu system setting panel
system infomation
uname -a
Linux lenovo 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Nouveau is banned throught this
cat /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
below is xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 525.105.17
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 525.105.17
Section "ServerLayout"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AOC 24P1W1"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "AOC 24P1W1"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1060"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1060"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
# Removed Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "HDMI-0: nvidia-auto-select +1920+0 {AllowGSYNC=Off}, DP-0: nvidia-auto-select +0+0; HDMI-0: nvidia-auto-select +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_60_0 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_50 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_60i +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1920x1080_50i +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1680x1050 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1440x900 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1280x1024 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1280x1024_60 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1280x960 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1280x720 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1280x720_60_0 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1280x720_50 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1024x768 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1024x768_70 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 1024x768_60 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 800x600 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 800x600_72 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 800x600_60 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 800x600_56 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 720x576 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 720x480 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 640x480 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 640x480_72 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 640x480_60 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: 640x480_60_0 +1920+0, DP-0: nvidia-auto-select +0+0; HDMI-0: nvidia-auto-select +1920+0 {viewportin=1366x768, viewportout=1920x1079+0+0}, DP-0: nvidia-auto-select +0+0; HDMI-0: nvidia-auto-select +1920+0 {viewportin=1280x800, viewportout=1728x1080+96+0}, DP-0: 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" "DP-0: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
All three monitors works fine in Windows 10, which means the hardware is fine. I have two OS installed.