Proton games high gpu usage

Hello, when I try to play a game using proton my GPU usage goes to 100%.
On my precedent install my system was working fine so I think that I misconfigured something with the graphic driver

garuda-inxi
System:
Kernel: 5.17.2-zen3-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=51835dbc-a9c2-439f-8cda-120fa3dd3403 rw rootflags=subvol=@
splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
systemd.unified_cgroup_hierarchy=0 mitigations=off
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: ROG MAXIMUS XII FORMULA v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 2403
date: 10/27/2021
Battery:
ID-1: hidpp_battery_0 charge: 96% condition: N/A volts: 4.1 min: N/A
model: Logitech G502 LIGHTSPEED Wireless Gaming Mouse type: N/A
serial: <filter> status: discharging
CPU:
Info: model: Intel Core i9-10900K bits: 64 type: MT MCP arch: Comet Lake
family: 6 model-id: 0xA5 (165) stepping: 5 microcode: 0xEE
Topology: cpus: 1x cores: 10 tpc: 2 threads: 20 smt: enabled cache:
L1: 640 KiB desc: d-10x32 KiB; i-10x32 KiB L2: 2.5 MiB desc: 10x256 KiB
L3: 20 MiB desc: 1x20 MiB
Speed (MHz): avg: 4848 high: 4901 min/max: 800/5300 scaling:
driver: intel_pstate governor: performance cores: 1: 4900 2: 4900 3: 4900
4: 4900 5: 4900 6: 4901 7: 4901 8: 4900 9: 4900 10: 4141 11: 4863
12: 4900 13: 4900 14: 4900 15: 4900 16: 4900 17: 4900 18: 4900 19: 4900
20: 4672 bogomips: 147994
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 status: Vulnerable: __user pointer sanitization and
usercopy barriers only; no swapgs barriers
Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nvidia
v: 510.60.02 alternate: nouveau,nvidia_drm pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1b81 class-ID: 0300
Device-2: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-2.2:7 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 7280x1440 s-dpi: 91 s-size: 2032x402mm (80.00x15.83")
s-diag: 2071mm (81.55")
Monitor-1: DP-0 pos: right res: 1920x1080 dpi: 92
size: 531x298mm (20.91x11.73") diag: 609mm (23.97") modes: N/A
Monitor-2: DP-2 pos: primary,left res: 1920x1080 dpi: 92
size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
Monitor-3: DP-4 pos: primary,center res: 3440x1440 dpi: 109
size: 800x330mm (31.5x12.99") diag: 865mm (34.07") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
v: 4.6.0 NVIDIA 510.60.02 direct render: Yes
Audio:
Device-1: Intel Comet Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:06c8 class-ID: 0403
Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10f0 class-ID: 0403
Device-3: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-2.2:7 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Device-4: RODE Microphones NT-USB type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:2 chip-ID: 19f7:0003
class-ID: 0300
Sound Server-1: ALSA v: k5.17.2-zen3-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Aquantia AQC107 NBase-T/IEEE 802.3bz Ethernet [AQtion]
vendor: ASUSTeK driver: atlantic v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 2 link-max: lanes: 4 port: N/A bus-ID: 04:00.0 chip-ID: 1d6a:07b1
class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-3: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 05:00.0
chip-ID: 8086:15f3 class-ID: 0200
IF: enp5s0 state: down mac: <filter>
IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown
mac: <filter>
IF-ID-2: veth557dd1f state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-3: virbr0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-14:9 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 1.61 TiB used: 151.54 GiB (9.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: N/A
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: RKT343.4
temp: 29.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 151.54 GiB (15.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 151.54 GiB (15.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 151.54 GiB (15.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 151.54 GiB (15.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.16 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 44 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 470 Uptime: 6h 11m wakeups: 27 Memory: 31.16 GiB
used: 8.08 GiB (25.9%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1810 lib: 484 Shell: fish
v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.1-1):
System install date:     2022-03-13
Last full system update: 2022-04-14 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            systemd-oomd.socket
1 Like

Hello @DreamingCodes it appears to me that you’re using the open source driver.
Did you’ve tried the proprietary driver? I guess the packages is called with something like dkms.

EDIT: I’m not sure, since it appears in the inxi as alternate. Are you sure to have the propietary driver installed?

lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 3701
Flags: bus master, fast devsel, latency 0, IRQ 179
Memory at 90000000 (32-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
Memory at 4010000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia

The kernel driver in use is the official one

1 Like

Thx for the lspci.

does this GPU 100% on any game?
FYI: Proton's config are different from game to game.

Did you've tried other Proton version with the given game?

Is you GPU clock changing while starting the game (or reaching 100% GPU usage)?

1 Like

It goes 100% on all games on any version of proton even in the menu.
It takes a few seconds to reach 100%.

1 Like

Don’t forget to restart you system. Looks like the recent update you did requires one. Most likely due to kernel and/or kernel modules; might even have been a Nvidia driver update.

3 Likes

It changes by about 100MHz

That turning arrow xD I didn’t saw it either. @Kayo

Already done it hasn't changed anything. It is since i reinstalled that i have this problem

1 Like

UPDATE:

I'm now trying to reinstall nvidia-dkms package and is stuck on dkms install --no-depmod nvidia/510.60.02 -k 5.17.2-zen3-1-zen

1 Like

Does GPU reach about 1500MHz? (which is a usual clock for a 1070)

And you might do another restart since the is appearing. According to your last post.

1 Like

It reaches 1949 MHz

1 Like

There is a slightly newer version of BIOS available for your motherboard that:

  1. improve system performance and compatibility
  2. improve system stability
  3. improve DRAM compatibility

So it might help with this issue, and if not it will help with other issues that might come up later.

2 Likes

It reaches 1949 MHz

hmm ok then the HW does what it need to do.

I’d like to suggest to you that you shouldn’t install something until your system is on a leveled package state. There was a restart pending. Do it, then try sudo garuda-update
Then you might restart as well. And then you can be sure to have the latest set of packages.
This procedure prevents you from breaking the system - although Garuda will give you a warning if some dependencies are broken. :slight_smile:
Always go for garuda-update instead of pacman -Syu.

This error message: dkms install --no-depmod nvidia/510.60.02 -k 5.17.2-zen3-1-zen
tells me there is an issue with the kernel. Hence I’d advice you to do the updates and restarting as I just wrote. Which also updates the kernel and kernel modules :slight_smile:

I'm already on version 2403

2 Likes

Isn’t this is what’s supposed to happen?

4 Likes

Not on the menu.
The framerate is also bad and prevents me from using any capture software.
Also normally the GPU was at 40% with ALTF4 game.

So you are! I was looking at the date... So weird that the date you have it installed is before the website's one. Wouldn't be the first time a motherboard website did something silly like this :rofl:

3 Likes

this was not an error it was simply the step in which it was trying to install the dkms module

1 Like

ooooh :flushed: , but you've done a reboot after installing it?

I've got such messages which look familiar on my Gentoo and it was always some messed up kernel mod which was in conflict (mostly by ...forgetting to update it properly :rofl: )

I'd still suggest to do the update routine. And rebooting everytime. It is a bit tedious but it is typical for GPU drivers ..*sigh

Furthermore in some games my performance improved by using ProtonExperimental or the 2nd latest version. Furthermore you can get a look in the specific configs for a certain game for proton on the ProtonDB website. The ppl in the comments and ratings have very useful tweaks.
ProtonDB_Game_Library
Having the wrong Proton configs for a game can lead to the weirdest errors. From bad frame rates (like you've reported) up to messed up shaders or (like I had) psychadelic shadows :rofl: