Nvidia graphics driver installed but gpu usage always 0%

I installed Fedora 41 on Dell XPS 17 9700. I have secure boot enabled. So, I completed the process of enrolling the MOK.
The NVIDIA driver is showing up in most instances but its usage is always 0%. Moreover, there is no hardware acceleration and H.264 videos lag. Below is output of nvidia-smi

Below is the output of

I appreciate any helpl. I can provide other outputs too.

CPU-X

sudo dnf install cpu-x

Is a program I like to use to monitor CPU/GPU.

Also Nvtop is nice

sudo dnf install nvtop

You may have to enable hardware acceleration

1 Like

Here’s an example running glmark2:

But I do use nvtop and cpu-x as well, in addition to making sure hardware acceleration is fully functional.

Thanks Allen. Hardware acceleration now works with MPV player but still not with VLC or SMPlayer. But it works for me anyways.

1 Like

Thanks MatH. HA works with MPV player now.

but still not with VLC

check your ffmpeg / vlc / vainfo setups. I am using libva-nvidia-driver.

# here i started VLC
# then made sure the input/codec prefs are right
# then picked a video file to playback
$ vlc
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000562b17b79520] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Gtk-Message: 00:22:46.987: Failed to load module "pk-gtk-module"
[0000562b17c13e90] main playlist: playlist is empty
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
[00007f4a10001f80] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[00007f4a0c0592e0] main video output error: video output creation failed
[00007f4a24c0e910] main decoder error: failed to create video output
[00007f4a24c0e910] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  570.124.04  Tue Feb 25 03:37:44 UTC 2025 for hardware decoding

Your very first post with nvidia-smi shows the GPU with 7% usage and several apps using it.

Please, instead of using screenshots, simply copy & paste the text using the preformatted text tags with the </> button on the toolbar of the text input window. Images cannot be searched and are much larger than the equivalent text for storage.

This is my nvidia-smi with glmark2 running

 # nvidia-smi
Sun Mar 16 17:17:12 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     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  NVIDIA GeForce RTX 3050        Off |   00000000:06:00.0  On |                  N/A |
| 30%   60C    P2             81W /  130W |    2861MiB /   8192MiB |    100%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2876      G   /usr/bin/gnome-shell                    276MiB |
|    0   N/A  N/A            2979      G   ...c/gnome-remote-desktop-daemon          1MiB |
|    0   N/A  N/A            3001      G   /usr/bin/Xwayland                         4MiB |
|    0   N/A  N/A            3102    C+G   /usr/bin/ptyxis                          20MiB |
|    0   N/A  N/A          115578      G   ...ersion=20250313-050105.095000        175MiB |
|    0   N/A  N/A          271507      G   ...share/Steam/ubuntu12_32/steam          2MiB |
|    0   N/A  N/A          271881      G   ./steamwebhelper                         34MiB |
|    0   N/A  N/A          271917      G   .../share/Steam/logs/cef_log.txt         64MiB |
|    0   N/A  N/A          619059      C   ...86_64-pc-linux-gnu__GW-cuda-3       2086MiB |
|    0   N/A  N/A          620509      G   glmark2                                  20MiB |
+-----------------------------------------------------------------------------------------+