How to manage/control AMD CPU/GPU
Dear AMD ArchLinux users,
How do you go about managing (OC/UV etc) your CPU and GPU on Linux? I plan to build new rig soon and was wondering what are the go to tools for such use cases? CLI preffered, thou if there's a fancy GUI that's ok as well. Thanks for all the tips!
About this post
- Posted
- Archived
- Score
- 50 · 94% up
- Kind
- Text
- ID
- gojgem
14 comments
UEFI interface and lm-sensors.
That's for CPU I assume, but how would you OC/UV a GPU? Ordered Sapphire Nitro + SE so it may run a bit hot.. Is something like ryzen master or whater supported under linux?
No. You should understand that Windows != Linux. amdgpu supports all kinds of customisation (including uv, oc, fan control) through common sysfs interfaces. There is no need for an additional tool unless for a more fancy UI. Things like per game 3d settings (anti aliasing, texture filtering, tessellation, ...) are to be set though Mesa drirc. Display settings are done in the desktop environment's settings.
It’s very uncommon to throw all kinds of unrelated settings into one graphical program to configure different things under a Linux desktop.
To OC/UV the GPU, there is upp in CLI and the GUI version powerupp. I used the GUI to set voltage and to make it persistent after reboot. (These two aren't present in the AUR though).
Otherwise, more globally, there is CoreCtrl which is almost the same as Ryzen Master.
+1 for PowerUPP. That tool made it very easy to undervolt my 5700xt
It’s a shame that it’s not in the AUR
Thanks! This looks like what I was looking for. Gonna check it out as soon as my order is delivered.
For the CPU, there are zenstates or ryzenadj (exclusively AMD). They should allow you to tweak frequency and power/Amps... I'm on laptop (for arch) so many things don't work for me, see what is the best for you ! ;)
Or there is also cpupower (add "-gui" for the gui version) that work on both AMD and intel, but the settings are limited to frequency though (and on laptop I can't change that personally).
For GPU monitoring & tweaking, there are radeon-profile or corectrl.
For monitoring exclusively, there is lm-sensors (in terminal), or you can use environement variable (in game), here are mine :
Of course, you can always use the
watchwithgrepcommand to monitor output of some system files like.Have you tried mangohud as an alternative overlay?
No, I will try and tweak that later. It is cool that it work on both OGL and VK. Thanks for the info !
I built my rig a few months ago: RX580 Saphire Nitro+ with Ryzen 7 3700x. The issue I struggled with was GPU fan speed: mine kept at 30% regardless of load, I had a few overheat shutdowns because of that.
I installed amdgpu-fan to configure my GPU "fan curve". No issue since then.
I had no issue with my CPU.
BTW I game on Arch using proton and it works really well ;)
The arch wiki has a page on Ryzen tweaks, that might be a good place to start:
https://wiki.archlinux.org/index.php/Ryzen
Pure udev rules and a simple Ruby daemon I wrote to control the fans. 2 flawless gaming years on a Sapphire rx580 😂🎉