Hello, I experience a bug that prevents me from setting the MCLK of my
Vega 64 LC above 1107MHz. I am using Unigine Superposition 1.1 in "Game"-mode to check the performance by watching the FPS. Behaviour with a single monitor: First I set the MCLK to a known stable value below 1108MHz: $ echo "m 3 1100 950" >
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/pp_od_clk_voltage
In Unigine Superposition the FPS increase as expected. pp_dpm_mclk also confirms the change. $ watch cat
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/pp_dpm_mclk
After that I set the MCLK to a stable value above 1107MHz: $ echo "m 3 1200 950" >
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/pp_od_clk_voltage
In Unigine Superposition the FPS drop drastically. pp_dpm_mclk indicates that the MCLK is stuck in state 0 (167MHz):
Behaviour with multiple monitors that have different refresh
rates: My monitors have different refresh rates. This causes the MCLK to stay in state 3 (945MHz stock) which is the expected behaviour as I understand it.
Now I try to set the MCLK to a value above 1107MHz: $ echo "m 3 1200 950" > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/pp_od_clk_voltage The FPS in Unigine Superposition remain the same as they were
with 945MHz. pp_dpm_mclk shows however that the value was set:
Then I set the MCLK to a value of 1107MHz or lower: $ echo "m 3 1100 950" > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/pp_od_clk_voltage The FPS in Unigine Superposition increase. pp_dpm_mclk again confirms the set value:
$ echo "m 3 1300 950" > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/pp_od_clk_voltage The FPS in Unigine Superposition remain the same. I therefore
believe the value was not actually applied. However pp_dpm_mclk shows that it was:
amdgpu_pm_info also claims that the value was set: $ sudo watch cat /sys/kernel/debug/dri/1/amdgpu_pm_info
Again, I think the displayed MCLK is false and the memory still runs at 1100MHz because the performance in Unigine Superposition indicates this and 1300MHz would cause a crash immediately. A stable value (e.g. 1200MHz) causes the same behaviour. I just
chose 1300MHz to be sure.
Tested on these Kernels:
(Same behaviour on every kernel.)
Tested on this hardware:
Unigine Superposition "Game"-Mode settings:
I hope this helps. Yanik Yiannakis |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx