Nvidia drivers not working with GeForce GTX 1650 Mobile / Max-Q
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-440 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
*** WORKAROUND AVAILABLE ***
See comment 12: https:/
*** Original Description ***
I recently installed Ubuntu 20.04 on a Dell XPS 15, which has a GeForce GTX 1650 Mobile / Max-Q. I installed version 440 because it introduced support for this card: https:/
However, I don't think it's working correctly because if I run nvidia-smi, it cannot communicate with my card.
```
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
```
nvidia-prime is on nvidia, and I rebooted since selecting it. However nvidia-config doesn't display the typical options you find when your nvidia card is active.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nvidia-driver-440 440.64-0ubuntu3
ProcVersionSign
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Apr 6 10:58:21 2020
InstallationDate: Installed on 2020-04-03 (2 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
*** Update and likely underlying issue ***
Given that the workaround to disable Secure Boot made the driver work, I suspect that the issue is actually that when the drivers are installed and signed (with SB active), then the keys are either not imported correctly or mokmanager was not triggered to be loaded upon next reboot. This causes that even if trying to sign the dkms modules, SB finds them to be untrusted and won't allow the nvidia driver to be loaded.
```
capabilities: pm msi pciexpress cap_list
configuration: latency=0 ec000000- ecffffff memory: c0000000- cfffffff memory: d0000000- d1ffffff ioport: 3000(size= 128) memory: ed000000- ed07ffff
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0 eb000000- ebffffff memory: 80000000- 8fffffff ioport: 4000(size= 64) memory:c0000-dffff
$ sudo lshw -C display
*-display UNCLAIMED
description: 3D controller
product: TU117M [GeForce GTX 1650 Mobile / Max-Q]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
resources: memory:
*-display
description: VGA compatible controller
product: UHD Graphics 630 (Mobile)
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
resources: irq:178 memory:
```