Skip to content

u/4zerochan

In this archive from May 2021 to Sep 2021

0
posts
11
comments
0
media
11
score

os doesn't automatically choose gpu in higher load in my case. I have to specify to choose which gpu should be used with DRI_PRIME=1. And it seems our gpu crashes at full clock speed and not the problem with dpm.

enabled dpm, changed operation mode to battery with echo battery > /sys/class/drm/card0/device/power_dpm_state (program won't crash after this even when dpm enabled)and i have been able to run gpu at sclk=400 and mclk=600 which shows it is operating at level 2 and now it is giving me better performance than integrated in csgo.

Here's the script to check current sclk and mclk:

while true; do

cat /sys/kernel/debug/dri/1/amdgpu_pm_info | grep mclk;

sleep 3;

done

1 points

amdgpu and radeon performance seems same to me.

cat /sys/kernel/debug/dri/1/amdgpu_pm_info

shows sclk and mclk which is core clock and memory clock speed respectively.

Edit: I think disabling dpm, the power level of gpu gets stuck at lowest.

Edit 2: clinfo shows the current max clock frequency. when dpm is enabled it shows the value 1030Mhz which is the same as the card's max but when dpm is disabled it shows the value 300Mhz.

is this the case with you?

1 points

doesn't crash for me when using DRI_PRIME=1 (program) but found an issue. when dpm is disabled max gpu core clock speed remains at 300Mhz that's why it's performing worse than integrated gpu.

1 points

I've the same gpu as you and the workaround is to disable dynamic power management by setting amdgpu.dpm=0 in case of amdgpu or radeon.dpm=0 in case of radeon driver in grub config.

1 points

End of this list.

Back to top

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.