GPU not being used/engaged after installing NVIDIA Drivers

Hi there, I recently clean installed both the 570.124.06 NVIDIA drivers and CUDA v.12.8.

Everything went smoothly, and I used this repository (Index of /graphics-drivers/ppa/ubuntu) under the Software & Updates to install drivers, whereas for CUDA I went for the network instalation. Below the output of nvidia-smi and nvcc -V:

Drivers

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.06             Driver Version: 570.124.06     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Quadro RTX 5000                Off |   00000000:01:00.0 Off |                  N/A |
| N/A   55C    P8              4W /  110W |       8MiB /  16384MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            6218      G   /usr/bin/gnome-shell                      2MiB |
|    0   N/A  N/A            6908      G   /usr/bin/gjs-console                      2MiB |
+-----------------------------------------------------------------------------------------+

CUDA

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2025 NVIDIA Corporation
Built on Fri_Feb_21_20:23:50_PST_2025
Cuda compilation tools, release 12.8, V12.8.93
Build cuda_12.8.r12.8/compiler.35583870_0

Now, at first I couldn’t see anything wrong, but I had the suspicion that the GPU wasn’t being used… I digged a bit and, in fact, I cannot select the NVIDIA card with sudo prime-select nvidia which returns the folwing:

sudo: prime-select: command not found

I’m aware that the PRIME profile in the nvidia-setting is something Ubuntu has done and should not be present in the Nvidia version for the software; however, even changing it from CLI seems to not be working…
Trying to install the nvidia-prime causes the 570.124.06 to get prompted with a notification of autoremoval since it appears the two are incompatible?

When I do so, in the Software & Update app instead of seeing the screenshot to follow

I get a weird Continue use a manually installed driver which cannot be changed unless I run

sudo ubuntu-drivers (auto)install

for then resetting everything to the 570.124.06… where I keep using the Intel GPU of my laptop WS (Precision 7750), and I’m unable to force the use of the Nvidia card.

The is the version of Ubuntu Im using:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"

I spent a bit of time yesterday attempting to figuring out why is this happening; there were some clues on using Wayland - which I’m currently running - instead of X11, but these are all things I’m not too familiar with and not sure how they would impact on GPU persistent engagement. Also, the following command which seems to be related to the nouveau settings

sudo systemctl disable nvidia-fallback.service

returns this

Failed to disable unit: Unit file nvidia-fallback.service does not exist.

Sorry for the long message, I’ve tried to explain at the best I could all attempts and approaches I followed; let me know if anything else is needed to help resolve this issue. Thanks in advance!

OK, after few complete --purge and clean install this issue seems to have gone away. I made sure there were no old versions of CUDA or Drivers hanging around, which I otherwise removed.

However, I’m now prompted with the following if I run sudo apt list --upgradable:

libnvidia-cfg1-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-common-570/unknown 570.124.06-0ubuntu1 all [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-compute-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-compute-570/unknown 570.124.06-0ubuntu1 i386 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-decode-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-decode-570/unknown 570.124.06-0ubuntu1 i386 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-encode-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-encode-570/unknown 570.124.06-0ubuntu1 i386 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-extra-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-fbc1-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-fbc1-570/unknown 570.124.06-0ubuntu1 i386 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-gl-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libnvidia-gl-570/unknown 570.124.06-0ubuntu1 i386 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
libxnvctrl0/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 510.47.03-0ubuntu4]
nvidia-compute-utils-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
nvidia-dkms-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
nvidia-driver-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
nvidia-kernel-common-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
nvidia-kernel-source-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
nvidia-settings/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 510.47.03-0ubuntu4]
nvidia-utils-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]
openssh-client/noble-updates 1:9.6p1-3ubuntu13.9 amd64 [upgradable from: 1:9.6p1-3ubuntu13.8]
openssh-server/noble-updates 1:9.6p1-3ubuntu13.9 amd64 [upgradable from: 1:9.6p1-3ubuntu13.8]
openssh-sftp-server/noble-updates 1:9.6p1-3ubuntu13.9 amd64 [upgradable from: 1:9.6p1-3ubuntu13.8]
ubuntu-drivers-common/noble-updates 1:0.9.7.6ubuntu3.2 amd64 [upgradable from: 1:0.9.7.6ubuntu3.1]
xserver-xorg-video-nvidia-570/unknown 570.124.06-0ubuntu1 amd64 [upgradable from: 570.124.04-0ubuntu0~gpu24.04.1]

which to me appears to be completely fine but that *.06 latest version update could be the reason why the GPU card was not used (without the possibility to switch) in first place? If I run the upgrade would I face the same problem with the PRIME profile been deactivated?

Let me know, thanks!

I moved on and upgrade the drives, there have been some issues along the way which I fixed with

sudo apt install cuda

sudo apt --fix-broken install

as per this older post.

Thanks anyway, hopefully this can help someone with similar issues.

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