Ubuntu 20.04 driver 440 installed but not used

Hello, I have a laptop with an RTX2070 and i7-10750H CPU running Ubuntu 20.04, driver version 440.64 installed but it seems I cannot use my GPU. After trying many things from this forum I am in this state :

  • Prime installed and nvidia profile is selected
  • Kernel 5.4.0-31-generic
  • Secure boot seems disabled
  • I removed blacklist files in /etc/modprob.d/ and /lib/modprob.d and there is no xorg.conf file in /etc/X11/
  • /lib/modprobe.d/nvidia-graphics-drivers.conf contains : blacklist nouveau \ blacklist lbm-nouveau \ alias nouveau off \ alias lbm-nouveau off
  • nvidia-settings and nvidia-smi confirms the driver is installed but I have no nvidia driver at all in the “Additional driver” window of the software update. (I added the graphic drivers ppa). There are only the intel cpu driver choices
  • ubuntu-drivers devices outputs nothing or just the intel driver.

nvidia-bug-report.log (2.7 MB)

I have also tried it with ubuntu 18.04, same results, it is still installed in dualboot.

Additional information, I am trying to use the GPU to run the lgsvl car simulator.

sudo lshw -c video outputs this :

*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:162 memory:c4000000-c4ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:4000(size=128) memory:c5000000-c507ffff
*-display
description: VGA compatible controller
product: UHD Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:146 memory:c3000000-c3ffffff memory:a0000000-afffffff ioport:5000(size=64) memory:c0000-dffff

I am using only using the laptop screen.

According to the log, the nvidia gpu is fully functional and active. Please run
glxinfo |grep vendor
to confirm, should return"nvidia corporation".

Ubuntu version 20.4.1

my pc recognizes my graphics card nvidia rtx 2060

in setting/about/ it says

Graphics - GeForce RTX 2060/PCIe/SSE2
BUT

My lspci | grep -i nvidia output:

01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)

nvidia-smi output :

-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100 Driver Version: 440.100 CUDA Version: 10.2 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 2060 Off | 00000000:01:00.0 On | N/A |
| N/A 43C P8 7W / N/A | 223MiB / 5926MiB | 2% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1136 G /usr/lib/xorg/Xorg 35MiB |
| 0 1707 G /usr/lib/xorg/Xorg 74MiB |
| 0 1915 G /usr/bin/gnome-shell 75MiB |
| 0 2262 G …uest-channel-token=10599569737837084043 4MiB |
| 0 2718 G /usr/lib/firefox/firefox 3MiB |
| 0 2805 G /usr/lib/firefox/firefox 3MiB |
| 0 3803 G /usr/lib/firefox/firefox 3MiB |
| 0 4366 G /usr/lib/firefox/firefox 3MiB |
| 0 8374 G gnome-control-center 3MiB |
±----------------------------------------------------------------------------+

glxinfo |grep vendor output:
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation

nvidia-bug-report.log.gz (295.2 KB)