This computer is a Dell XPS 15 7590 with an OLED screen running Ubuntu-Mate 21.10; it has an Intel UHD 630 as its on-chip graphics card, with a GeForce GTX 1650 Mobile / Max-Q in addition.
At present all drivers are those auto-installed, and the active driver is 470
uname -a
Linux psyche 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
In between GRUB menu and my login screen, the following errors occur:
[drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
Oddly, booting proceeds normally from there, though a little reading through the bug report indicates a repeated
NVRM: GPU 0000:01:00.0: RmInitAdapter failed!
All functionality not dependent on the NVIDIA GPU is still present, and I have decent functionality for everything but gaming and, of course, scientific applications of the GPU.
Output of lshw -c video
:
*-display
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
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:ec000000-ecffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128) memory:ed000000-ed07ffff
*-display
description: VGA compatible controller
product: CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: driver=i915 latency=0
output of lspci | grep NVIDIA
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
I note that I am able to run nvidia-settings both from the command line and through GUI; but all I am able to do is choose the profile, with no other options. (Intel, NVIDIA performance mode, NVIDIA on-demand). Notably, the profile is set to NVIDIA performance mode!
nvidia-smi
returns No devices were found
, unsurprisingly.
It escapes me, somewhat, as to what’s going on here; the computer is aware of the GPU on a physical level, it would seem, and is running the appropriate driver… but still can’t actually find the device.
Note: this doesn’t seem like a hardware issue, since on windows (dual boot), everything runs without a hitch.
Simple fixes, like manually installing the latest driver or disabling nouveau, do nothing.
nvidia-bug-report.log.gz (185.6 KB)