#very low cpu usage when gaming[help me please]

1 messages · Page 1 of 1 (latest)

edgy thorn
#

When gaming on wayland with kde6(and other desktops) I just can't seem to use my cpu when I'm gaming?
I'm using prime-run as the only special argument when launching the game, this example(see screenshot) is from 1 game, but I have this same problem in every game i've ever played on linux, this results also on way lower fps then on windows, where cpu usage is way higher when gaming. Does anyone know why my cpu usage would be so damn low? I know my gpu is maxed out, so perhaps I'm being gpu limited on linux(4060 laptop?) I genuinely have no clue and would love to cooperate to relieve this weird problem, thanks already

I have installed(tried to) install the nvidia drivers on my own, they work when doing things like machine learning for example(I think), I've also myself tried to do the intel drivers, and they work(imo)

I have no issues on the desktop itself, but just when gaming, because the cpu can(and will) hit high cpu usage when compiling code for example

topaz condor
#

81°C is pretty hot. Maybe your CPU driver is throttling performance to combat overheating?

#

Machine Learning relies on the GPU a lot more than the CPU, if I remember correctly, so CPU won't affect it as much as gaming.

#

What's a 4060 laptop, exactly?

#

It's weird for it to be Linux-specific though...

edgy thorn
edgy thorn
edgy thorn
topaz condor
#

The Linux driver probably throttles performance at a lower temperature than the Windows driver by default.

#

95 is 5 degrees short of boiling temperature.

#

But I guess the heat tolerance would still depend on the card.

edgy thorn
#

yea no I understand that, but linux shouldn't be throthling it at 81°, because I've had it use all cores 4GHZ when compiling, and it was like 87° then

topaz condor
#

Nvidia GeForce RTX 4060?

edgy thorn
#

yep, laptop edition

#

since they always put weaker verions in the laptop with the same name

#
➜ nvidia-smi
Tue Oct  8 07:19:52 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| 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 4060 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   50C    P0             18W /  135W |      86MiB /   8188MiB |     12%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      2385      G   /usr/lib/Xorg                                   4MiB |
|    0   N/A  N/A      4911      G   /usr/bin/kwin_wayland                           2MiB |
|    0   N/A  N/A     30974    C+G   /usr/bin/ghostty                                4MiB |
+-----------------------------------------------------------------------------------------+
#

I genenuinely don't know if when gaming i'm gpu or cpu limited, perhaps gpu limited? and I didn somethign wrong with the install or something else

topaz condor
#

I doubt the GPU is the issue, but at this point I'm not entirely sure what it could be.

#

What CPU do you use, and what driver packages do you have installed for it?

edgy thorn
#
➜ pacman -Q | grep intel
intel-gmmlib 22.5.2-1
intel-media-driver 24.3.3-1
intel-ucode 20240910-1
lib32-vulkan-intel 1:24.2.4-1
vulkan-intel 1:24.2.4-1
#

this also happened on my previous 2 installs, so either it's something I'm installing that borks it, or something else

topaz condor
#

Hmmm... Nothing screams "missing" or "experimental unsupported driver" to me on that list.

#

So it probably isn't a driver issue...

edgy thorn
#
➜ pacman -Q | grep nvidia
lib32-nvidia-utils 560.35.03-1
lib32-opencl-nvidia 560.35.03-1
nvidia-open-dkms 560.35.03-12
nvidia-prime 1.0-5
nvidia-settings 560.35.03-1
nvidia-utils 560.35.03-5
opencl-nvidia 560.35.03-5

Perhaps an nvidia driver issue?(I'm just trying stuff)

topaz condor
#

Normally I'd guess the CPU fan needed to be cleaned, but I'm guessing this is a relatively new computer?

#

You said you've used multiple desktops, right?
Have you tried using Xorg instead of Wayland?
(At this point I'm baffled)

edgy thorn
edgy thorn
topaz condor
#

Probably?

#

I can't remember off the top of my head, but I don't see why you couldn't.

edgy thorn
#

It's not x11 or waylands fault, both result in the same problems

#

Aghhhh

topaz condor
#

Hmmm...
Use the journalctl command and look for any brightly colored messages?

edgy thorn
#

nothing gpu, cpu or rendering related

topaz condor
#

I'm out of good ideas. Sorry I couldn't be more help.

edgy thorn
#

no problem, I also have no clue, I'm glad you wanted to help, thanks :)))