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 :
I did not use the kernel sources provided by Archlinux, but instead I used their ".config" file from my laptop (my laptop run Archlinux, but my desktop run Gentoo).
By switching from my custom gentoo configuration to Archlinux's one, I was able to reproduce that bug... nice 5224 GHz tho ! lol
I lightly touched the Arch .config file as my system use F2FS as file system. And my system has an old R9-390 as graphic card, which support is experimental in amdgpu/kernel... so I didn't reconfigur Arch .config too boot X properly, and did all the tests in TTY.
In total I did 3 tests, my 5.11.1 Gentoo, Arch's 5.11.1, then my Gentoo 5.11.1. For getting the max clock every 0.4s in a log file, I use the command bellow :
watch -n0.4 $'grep MHz /proc/cpuinfo | sort -t: -k2 -n | tail -n1 | tee -a logCPUMax_GentooBack.txt'
I stress the CPU with stress-ng, but during the 5minutes stress test there wasn't any issues... The Frequency bug report appear only when the CPU as no charge on it (at idling so ?). Bellow are some max clocks reached during my 3 test (respectively my gentoo 5.11.1, arch 5.11.1, my gentoo 5.11.1) :
kingmk13 ~ $ sort -t: -k2 -n logCPUMax.txt | tail
cpu MHz : 4115.305
cpu MHz : 4115.568
cpu MHz : 4115.704
cpu MHz : 4115.883
cpu MHz : 4118.271
cpu MHz : 4120.270
cpu MHz : 4125.706
cpu MHz : 4132.370
cpu MHz : 4141.472
cpu MHz : 4151.288
kingmk13 ~ $ sort -t: -k2 -n logCPUMax_ArchCfg.txt | tail
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
cpu MHz : 5224.218
kingmk13 ~ $ sort -t: -k2 -n logCPUMax_GentooBack.txt | tail
cpu MHz : 4116.939
cpu MHz : 4117.745
cpu MHz : 4119.259
cpu MHz : 4121.592
cpu MHz : 4129.541
cpu MHz : 4135.034
cpu MHz : 4150.258
cpu MHz : 4165.731
cpu MHz : 4253.122
cpu MHz : 4341.850
Note : between my .config and Archlinux one, there is like 10k line... so I'm a little lazy to investigate lol :)
It probably have to do with schedutil :
kingmk13 ArchKernelPb $ diff -y .config ArchWithF2FS.config | grep -i schedutil
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set <
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
So switching the CPU scheduler should be a workaroud (easy for desktop, but there will certainly be an impact on consuption for laptop).
Just tested my 3700x on my Gentoo machine (5.11.0). I do not have that problem.
I tested it with a stress-ng load on all the cores. Watch every 0.4s, and log the peak value in a text file. My maximum value was 4151.288. Overall, it looks like the frequencies are a bit less higher than 5.10.0, on my Gentoo system (custom kernel config).
I think that problem is specific for Archlinux kernel, but maybe gentoo devs have applied a patch or something in my configuration is preventing that bugs...
Edit : I will try an Archlinux kernel on my gentoo system later tho.
The reliability (quite bad on gigabyte).
The cooling performances (best on Sapphire) and the pcb+vrm quality (best on xfx).
I would recommend a Sapphire nitro+, you'll get a cool design in addition and switch for 2 bios ("boost performance" and "efficient performance").
I think the nitro + had the best cooling and that's why it get the best performances.
But it all depends on your taste and the price.
As said before, dont gigabyte and avoid MSI (bad cooling).
Edit : vega 56 is close to vega 64 in terms of performance, but vega 64 is hotter and louder. So i though vega 64 isn't worth buying.
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.It's definitely a wrong kernel configuration.
I did not use the kernel sources provided by Archlinux, but instead I used their ".config" file from my laptop (my laptop run Archlinux, but my desktop run Gentoo).
By switching from my custom gentoo configuration to Archlinux's one, I was able to reproduce that bug... nice 5224 GHz tho ! lol
I lightly touched the Arch .config file as my system use F2FS as file system. And my system has an old R9-390 as graphic card, which support is experimental in amdgpu/kernel... so I didn't reconfigur Arch .config too boot X properly, and did all the tests in TTY.
In total I did 3 tests, my 5.11.1 Gentoo, Arch's 5.11.1, then my Gentoo 5.11.1. For getting the max clock every 0.4s in a log file, I use the command bellow :
watch -n0.4 $'grep MHz /proc/cpuinfo | sort -t: -k2 -n | tail -n1 | tee -a logCPUMax_GentooBack.txt'I stress the CPU with stress-ng, but during the 5minutes stress test there wasn't any issues... The Frequency bug report appear only when the CPU as no charge on it (at idling so ?). Bellow are some max clocks reached during my 3 test (respectively my gentoo 5.11.1, arch 5.11.1, my gentoo 5.11.1) :
Note : between my .config and Archlinux one, there is like 10k line... so I'm a little lazy to investigate lol :)
It probably have to do with schedutil :
So switching the CPU scheduler should be a workaroud (easy for desktop, but there will certainly be an impact on consuption for laptop).
Just tested my 3700x on my Gentoo machine (5.11.0). I do not have that problem.
I tested it with a stress-ng load on all the cores. Watch every 0.4s, and log the peak value in a text file. My maximum value was 4151.288. Overall, it looks like the frequencies are a bit less higher than 5.10.0, on my Gentoo system (custom kernel config).
I think that problem is specific for Archlinux kernel, but maybe gentoo devs have applied a patch or something in my configuration is preventing that bugs...
Edit : I will try an Archlinux kernel on my gentoo system later tho.
The reliability (quite bad on gigabyte). The cooling performances (best on Sapphire) and the pcb+vrm quality (best on xfx).
I would recommend a Sapphire nitro+, you'll get a cool design in addition and switch for 2 bios ("boost performance" and "efficient performance"). I think the nitro + had the best cooling and that's why it get the best performances.
But it all depends on your taste and the price. As said before, dont gigabyte and avoid MSI (bad cooling).
Edit : vega 56 is close to vega 64 in terms of performance, but vega 64 is hotter and louder. So i though vega 64 isn't worth buying.
No, I will try and tweak that later. It is cool that it work on both OGL and VK. Thanks for the info !