Skip to content

u/kingmk13

In this archive from May 2019 to Feb 2021

0
posts
9
comments
0
media
33
score

Top comments

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

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

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

6 points

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.

5 points

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.

4 points

Subreddits

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.