GA106M [GeForce RTX 3060 Mobile] misbehaves on Kubuntu with nvidia driver version 470.57.01

I own a Lenovo Legion 5 17ACH6H laptop containing a NVIDIA GeForce RTX 3060 Mobile graphics card (ID 10DE:2560) running on Kubuntu 20.04.3 LTS (kernel 5.11.0-40) in a dual-boot setup with Windows 10. Kubuntu automatically installed the nvidia graphics driver version 470.57.01. The display works, but an external monitor connected to the HDMI port is not recognized and the display (on the built-in screen, with HDMI port not connected) goes dark on suspend and isn’t switched back on after the computer is woken up from suspend mode. The computer is awake, though – I can switch to the command line and execute commands there – it’s just that the monitor stays dark. I can issue a shutdown -r now on the command line, and after reboot, the display works just fine again.

I’d very much appreciate if any of you kind souls could help me resolve these issues.

Kind regards,

Amy Protscher
Potsdam, Germany

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Hi generix,

sorry for having taken so much time – I had a massive amount of work. Here is the output of nvidia-bug-report.sh.

Thanks for your willingness to help,

Amy
nvidia-bug-report.log.gz (57.2 KB)

The driver install somehow failed/was incomplete so the only part that’s working is the kernel driver. The xorg config is missing and the userland complains about a version mismatch. So Xorg is now using fbdev as a fallback, which doesn’t really work.
Please try reinstalling the driver using the Software&Updates application and reboot. If that doesn’t help, please post the output of
dpkg -l |grep nvidia

We’re one step further: the driver loads and my two-monitor setup is recognized (laptop screen + additional monitor). The suspend problem persists, though: when I suspend the computer and wake it up again, the additional monitor comes back on, but not the laptop screen.
I’m attaching a new nvidia-bug-report.log.gz
The output of dpkg -l | grep nvidia is pasted below.
Kind regards and thanks for all the assistance,
nvidia-bug-report.log.gz (321.9 KB)

Amy
ii libnvidia-cfg1-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-470 470.86-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-390:amd64 390.144-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-470:i386 470.86-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
ii libnvidia-decode-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-470:i386 470.86-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-470:i386 470.86-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-470:amd64 470.86-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-470:i386 470.86-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-470:i386 470.86-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-470:amd64 470.86-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-470:i386 470.86-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
rc linux-modules-nvidia-470-5.11.0-27-generic 5.11.0-27.29~20.04.1 amd64 Linux kernel nvidia modules for version 5.11.0-27
rc linux-modules-nvidia-470-5.11.0-40-generic 5.11.0-40.44~20.04.2+1 amd64 Linux kernel nvidia modules for version 5.11.0-40
ii linux-modules-nvidia-470-5.11.0-41-generic 5.11.0-41.45~20.04.1+1 amd64 Linux kernel nvidia modules for version 5.11.0-41
ii linux-modules-nvidia-470-generic-hwe-20.04 5.11.0-41.45~20.04.1+1 amd64 Extra drivers for nvidia-470 for the generic-hwe-20.04 flavour
rc linux-objects-nvidia-470-5.11.0-27-generic 5.11.0-27.29~20.04.1 amd64 Linux kernel nvidia modules for version 5.11.0-27 (objects)
ii linux-objects-nvidia-470-5.11.0-40-generic 5.11.0-40.44~20.04.2+1 amd64 Linux kernel nvidia modules for version 5.11.0-40 (objects)
ii linux-objects-nvidia-470-5.11.0-41-generic 5.11.0-41.45~20.04.1+1 amd64 Linux kernel nvidia modules for version 5.11.0-41 (objects)
ii linux-signatures-nvidia-5.11.0-40-generic 5.11.0-40.44~20.04.2+1 amd64 Linux kernel signatures for nvidia modules for version 5.11.0-40-generic
ii linux-signatures-nvidia-5.11.0-41-generic 5.11.0-41.45~20.04.1+1 amd64 Linux kernel signatures for nvidia modules for version 5.11.0-41-generic
ii nvidia-compute-utils-470 470.86-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
ii nvidia-driver-470 470.86-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-470 470.86-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-470 470.86-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16~0.20.04.1 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 470.57.01-0ubuntu0.20.04.2 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-470 470.86-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-470 470.86-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver

Please check

  • kde monitor manager whether the monitor is enabled
  • changing brighness
  • switching to VT and back

Hi generix,

I do not quite know what you mean by the “kde monitor manager”. It can’t be the display manager, can it? I tried navigating to the display and monitor section in the KDE system settings, and lo and behold, the monitor is recognized and enabled (HP V24).


Changing brightness does NOT work, neither in software nor using function keys (Fn+F5 and Fn+F6, in my case).
Switching to VT and back (Ctrl+Alt+(F1 – F7)) works fine.
Greetings,
Amy

I meant after suspend, to get the internal display back.

Hi generix,
This is very interesting. The display/monitor section in the system settings shows the laptop screen as present and active.


Interestingly, this screenshot of the whole display also shows the lower section that should be covered by the laptop screen (that is not displayed).
I have a funny feeling that the display might well be on, but that it’s just the backlight that’s off.
Switching between VTs and the X window system doesn’t bring back the internal display either.
I’m sorry this is taking so long. But I’m glad you’re walking me through this.
Greetings,
Amy

You could use a desk lamp directed at the display to notice shades of windows on that screen.
Please check this thread about the backlight problems of Legion 5 models with linux:
https://forums.developer.nvidia.com/t/brightness-not-working-ubuntu-20-04-lenovo-legion-5-15imh05/178058
Maybe this helps to get it going.

Hi generix,

Thanks for those tips. Indeed, the desk lamp test showed the display to be active and the backlight to be off.

From all the different pointers in the thread you referenced, the following did the trick:

In /etc/default/grub, change line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1"
and save the file.
Run sudo update-grub and reboot.

Then the screen brightness becomes adjustable, both with Fn keys and in software. Plus, both screens come on after suspend without problem.

Time to mark this issue as “solved”. Thanks for all the helpful information!

Cheers,

Amy

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.