ilya-zlobintsev / LACT

Linux GPU Configuration Tool
MIT License
1.46k stars 35 forks source link

Power control does not remain set when pressing "esc" in Helldivers 2 on 7000 series (RDNA3) #330

Closed 32bitx64bit closed 6 months ago

32bitx64bit commented 6 months ago

Checklist

Bug description

This bug report on CoreCtrl does this solid https://gitlab.com/corectrl/corectrl/-/issues/441

Issue is power limit does not remain, and gets reset back to the default when pressing esc in Helldivers 2. This issue also has different triggers in other games, was able to reproduce in Cities 2, and HD2.

I don't know if its just how both CoreCtrl and LACT how they set the power limit, or if its a underlying driver issue within Mesa.

System info

- LACT version:5.4
- GPU model: 7800XT
- Kernel version: 6.9
- Distribution: Garuda Linx
Umio-Yasuno commented 6 months ago

The behaviour is probably due to the workaround of the RADV driver.
Please try setting radv_force_pstate_peak_gfx11_dgpu=false as environmental variable.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/11046#note_2381270

32bitx64bit commented 6 months ago

The behaviour is probably due to the workaround of the RADV driver. Please try setting radv_force_pstate_peak_gfx11_dgpu=false as environmental variable.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/11046#note_2381270

Hey I've never done environmental variables before, where would I paste this exactly? I'm probably just stupid, just want to make sure.

Edit : /etc/environment is where this is supposed to go As I just quickly searched it up Hopefully this works.

Edit 2 : Holy shit! Thanks so much. This fixed the issue! I'll close the issue as done.