I bought a new laptop a few days ago (Asus TUF with RTX 2060), performed a clean install of Kubuntu 18.04 and after having connected a second screen via HDMI, nothing happened.
I have a dual boot with grub (with Win10) and everything works fine on Windows.
I performed multiple steps trying to make this work, e.g. Secondary monitor via HDMI.
When running without any nvidia drivers installed, second screen was recognized but there were only some colorful pixels rendered there and I couldn’t use it anyway.
I tried installing the newest nvidia driver 440.64, tried installing some previous releases as well (440.44, 440.46).
When I installed the newest driver (440.64) having connected my HDMI cable, my second screen finally worked, but then I couldn’t use my laptop’s base screen (was not discovered, xrandr displayed no other interface than HDMI). Then I couldn’t revert my config to make my basic screen work (even tried purging all nvidia packages). After rebooting with disconnected HDMI cable, I just couldn’t render graphical interface and only text was available.
Reinstalled OS to make my basic screen work again.
I tried using lightdm, tried switching to gddm3.
After a few OS reinstalls (multiple versions - 18.04, 19.10, 20.04 multiple times) and some different Xorg config solutions, I gave up after 3 days and decided to ask for help over here.
Currently, I have Kubuntu 20.04 installed with recommended drivers (440.59).
Snippets below present some common data / configs and here’s the link to nvidia-bug-report.log.gz.
Here are also my /usr/share/X11/xorg.conf.d/ configs - xorg.conf.d.tar.gz.
I’m a pretty new Linux user and there are many things, I can’t figure out myself yet.
tom@tom-asus:~$ uname -a
Linux tom-asus 5.4.0-14-generic #17-Ubuntu SMP Thu Feb 6 22:47:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
tom@tom-asus:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal
tom@tom-asus:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd00001F11sv00001043sd0000140Fbc03sc00i00
vendor : NVIDIA Corporation
model : TU106M [GeForce RTX 2060 Mobile]
driver : nvidia-driver-435 - distro non-free
driver : nvidia-driver-440 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
tom@tom-asus:~$ apt list --installed | grep -i nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libnvidia-cfg1-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-common-440/focal,focal,now 440.59-0ubuntu2 all [installed,automatic]
libnvidia-compute-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-compute-440/focal,now 440.59-0ubuntu2 i386 [installed,automatic]
libnvidia-decode-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-decode-440/focal,now 440.59-0ubuntu2 i386 [installed,automatic]
libnvidia-encode-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-encode-440/focal,now 440.59-0ubuntu2 i386 [installed,automatic]
libnvidia-fbc1-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-fbc1-440/focal,now 440.59-0ubuntu2 i386 [installed,automatic]
libnvidia-gl-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-gl-440/focal,now 440.59-0ubuntu2 i386 [installed,automatic]
libnvidia-ifr1-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
libnvidia-ifr1-440/focal,now 440.59-0ubuntu2 i386 [installed,automatic]
nvidia-compute-utils-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
nvidia-dkms-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
nvidia-driver-440/focal,now 440.59-0ubuntu2 amd64 [installed]
nvidia-kernel-common-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
nvidia-kernel-source-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
nvidia-prime/focal,focal,now 0.8.14 all [installed,automatic]
nvidia-settings/focal,now 440.44-0ubuntu1 amd64 [installed,automatic]
nvidia-utils-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
xserver-xorg-video-nvidia-440/focal,now 440.59-0ubuntu2 amd64 [installed,automatic]
tom@tom-asus:~$ prime-select query
nvidia
tom@tom-asus:~$ dmesg | grep -i nvidia
[ 1.475679] nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
[ 1.680323] nvidia: loading out-of-tree module taints kernel.
[ 1.680329] nvidia: module license 'NVIDIA' taints kernel.
[ 1.699725] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 1.707871] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[ 1.708621] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 1.708793] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 1.756725] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 440.59 Thu Jan 30 01:00:41 UTC 2020
[ 1.798625] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 440.59 Thu Jan 30 00:59:18 UTC 2020
[ 2.088411] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 2.088413] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 2.817532] nvidia-uvm: Loaded the UVM driver, major device number 511.
[ 4.171021] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input14
tom@tom-asus:~$ lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c1)
tom@tom-asus:~$ xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (0x55) normal (normal left inverted right x axis y axis) 344mm x 194mm
Identifier: 0x53
Timestamp: 45903
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff003870360000000000
011c0104a5221378036850985c588e28
1b505400000001010101010101010101
0101010101010b8380047138ca403020
350058c21000001a0b83800471384d48
3020350058c21000001a000000fd0030
789a9a22010a202020202020000000fe
004c4d3135364c462d474c30330a00c9
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
vrr_capable: 1
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 8
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 64
supported: 64
non-desktop: 0
range: (0, 1)
1920x1080 (0x55) 335.470MHz +HSync -VSync *current +preferred
h: width 1920 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 1080 start 1083 end 1088 total 1282 clock 120.04Hz
1920x1080 (0x56) 335.470MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 1080 start 1083 end 1088 total 3205 clock 48.01Hz
1680x1050 (0x57) 335.470MHz +HSync -VSync
h: width 1680 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 1050 start 1083 end 1088 total 1282 clock 120.04Hz
1280x1024 (0x58) 335.470MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 1024 start 1083 end 1088 total 1282 clock 120.04Hz
1440x900 (0x59) 335.470MHz +HSync -VSync
h: width 1440 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 900 start 1083 end 1088 total 1282 clock 120.04Hz
1280x800 (0x5a) 335.470MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 800 start 1083 end 1088 total 1282 clock 120.04Hz
1280x720 (0x5b) 335.470MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 720 start 1083 end 1088 total 1282 clock 120.04Hz
1024x768 (0x5c) 335.470MHz +HSync -VSync
h: width 1024 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 768 start 1083 end 1088 total 1282 clock 120.04Hz
800x600 (0x5d) 335.470MHz +HSync -VSync
h: width 800 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 600 start 1083 end 1088 total 1282 clock 120.04Hz
640x480 (0x5e) 335.470MHz +HSync -VSync
h: width 640 start 1968 end 2000 total 2180 skew 0 clock 153.89KHz
v: height 480 start 1083 end 1088 total 1282 clock 120.04Hz