Nvidia Geforce RTX 2070 - Poor performance / low utilization

Hi!

I’m using Ubuntu 24.10 with a Nvidia Geforce RTX 2070 graphics card and I seem to get bad performance due to low GPU utilization. When I’m playing War Thunder I only get 20-30 fps and I’ve tried several different graphic settings in game and in Steam.

I’m using the Nvidia proprietary driver 560.35.03 and the game process seems to be attatched to the GPU according to nvidia-smi. I’ve used the nvtop-app to log GPU a game session and it seems like the GPU-utilization is very low, temp is low, power is low, memory seems OK (screenshot below).

Everything seems to be OK but the GPU is not utilized. Is the GPU capped by some setting I’m not able to find or is something not installed correctly?

I may not be of much use to you, i run with no snaps.

But can you also include this:

prime-select query && uname -r

Currently I’m runing the nvidia-brand kernel

  • 6.11.0-1002-nvidia
    I also have a much better outcome on X11 rather than Wayland
Device 0 [NVIDIA GeForce RTX 3050 Ti Laptop GPU] PCIe GEN 2@ 8x RX: 0.000 KiB/s TX: 0.000 KiB/s
 GPU 682MHz  MEM 810MHz  TEMP  35°C FAN N/A% POW   5 /  60 W
 GPU[||||||||||||||||||||||||||||||         72%] MEM[|||||||                    0.652Gi/4.000Gi]
   ┌──────────────────────────────────────────────────────────────────────────────────────────────┐
100│GPU0 %                                                                                        │
   │GPU0 mem%                                                                                     │
   │                                                                                              │
 75│                                                                                            ┌─│
   │──┐                                                                                         │ │
   │  │                                           ┌─┐         ┌─┐     ┌─┐                       │ │
 50│  │       ┌─┐                         ┌─┐     │ │         │ │     │ │                       │ │
   │  │       │ └─┐                       │ │     │ │         │ │     │ │                       │ │
   │  └─┐   ┌─┘   │                 ┌─┐   │ │   ┌─┘ │         │ │     │ │                       │ │
 25│    │   │     │                 │ │   │ │   │   │   ┌─┐ ┌─┘ │     │ │         ┌─┐           │ │
   │────┴─┬─┼─────┼─────┬─┬───┬─────┴─┼───┼─┼─┬─┴───┼───┼─┼─┼───┼───┬─┴─┴─┬───────┼─┼───┬───┬───┼─│
   │      │ │     └───┐ │ └─┐ │       └───┘ │ │     │ ┌─┘ └─┘   └───┘     │       │ └─┐ │   └─┐ │ │
  0│      └─┘         └─┘   └─┘             └─┘     └─┘                   └───────┘   └─┘     └─┘ │
   └47s───────────────────35s─────────────────────23s────────────────────11s────────────────────0s┘
    PID USER DEV     TYPE  GPU        GPU MEM    CPU  HOST MEM Command                              
   1539 root   0  Graphic   0%    201MiB   5%     2%     67MiB /usr/lib/xorg/Xorg -core :0 -seat sea
  20364   me   0  Graphic  72%    135MiB   3%    14%    318MiB /usr/lib/firefox/firefox
   2152   me   0  Graphic   0%      2MiB   0%     0%     57MiB xfwm4


F2Setup   F6Sort    F9Kill    F10Quit    F12Save Config                                             


Hi!
running prime-select query && -r gives:

on-demand
6.11.0-13-generic

Try this to see if it helps;

sudo prime-select nvidia

And logout or reboot.

I get the response:

No integrated GPU detected

Thanks for your input 1fallen, but I don’t know but googling prime-select it seems to be more for laptops? I’m using a desktop and the monitor is connected to the GPU in question.

Mostly yes, but My tower had two GPU’s.
You never mentioned if it was better in a X11 session yet.

loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type | awk -F= '{print $2}'
x11

Or this

echo $XDG_SESSION_TYPE
x11
1 Like

Had to do some research on how to switch session to X11, but it was easy :smiley:

Running X11 instead of Wayland gives much better performance! I’ll use this as a workaround! Thank you very much!

Dang I could have shown you how…my bad.
Glad to hear it helped though. :smiley: