Skip to content

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!

50 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
50 · 94% up
Kind
Text
ID
gojgem

Author

3
posts
7
comments
0
media
View profile

14 comments

UEFI interface and lm-sensors.

19 points

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?

8 points

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.

11 points

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.

17 points

Thanks! This looks like what I was looking for. Gonna check it out as soon as my order is delivered.

3 points

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 :

  • For OpenGL :

​

# See "GALLIUM_HUD=help glxgears" for available options
# --- Simplest HUD Monitor (OpenGL)
# export GALLIUM_HUD="simple,fps,cpu,GPU-load,VRAM-usage,shader-clock=GPU clock,memory-clock=VRAM clock,sensors_temp_cu-k10temp-pci-00c3.Tdie=Temperature"
# --- Simple HUD Monitor (OpenGL)
# export GALLIUM_HUD="simple,fps,frametime,cpu,sensors_temp_cu-k10temp-pci-00c3.Tdie=Temperature;GPU-load,VRAM-usage,shader-clock=GPU clock,memory-clock=VRAM clock;diskstat-rd-nvme0n1=NVMe reads,diskstat-wr-nvme0n1=NVMe writes,diskstat-rd-sda=SATA reads,diskstat-wr-sda=SATA writes"
# --- Complete HUD Monitor (OpenGL)
# export GALLIUM_HUD=".dfps,.dsensors_temp_cu-k10temp-pci-00c3.Tdie:60=Temperature,.h128.c100cpu0+cpu1+cpu2+cpu3+cpu4+cpu5+cpu6+cpu7;.c100cpu=CPU load+GPU-load;.c1200000000shader-clock:1200000000=GPU clock+memory-clock:1200000000=VRAM clock;.dVRAM-usage;.ddiskstat-rd-nvme0n1=NVMe reads+.ddiskstat-wr-nvme0n1=NVMe writes;.ddiskstat-rd-sda=SATA reads+.ddiskstat-wr-sda=SATA writes"
  • For Vulkan :

​

# Monitoring Vulkan window :
# export VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay 
# export VK_LAYER_MESA_OVERLAY_CONFIG=position=top-left

Of course, you can always use the watch with grep command to monitor output of some system files like.

12 points

Have you tried mangohud as an alternative overlay?

5 points

No, I will try and tweak that later. It is cool that it work on both OGL and VK. Thanks for the info !

3 points

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 ;)

2 points

Pure udev rules and a simple Ruby daemon I wrote to control the fans. 2 flawless gaming years on a Sapphire rx580 😂🎉

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.