#361 AMD Performance

Closed
opened 1 year ago by Cha14ka · 3 comments
Cha14ka commented 1 year ago

For a long time I faced with the problem that game performance is very bad on AMD RX 6000 Series, and in my case AMD RX 6500 XT.

Fps jumps from 40 to 60, but even with rare 60 fps game still does not feel smooth. The solution to this I previously wrote here, #314, I don't know what the difference between X11 and Wayland in this situation is, but on Wayland the game was getting much smoother.

But since I don't really like Wayland, I found that using "patch_anti_logincrash.sh" script reduces CPU usage by ~15% and completely removes feeling of not smooth at 60 fps.

In addition to this, previously discussed here #321, that AMD 6000 Series do not work at full performance, and said that you can fix it by manually setting /sys/class/drm/card0/device/power_dpm_force_performance_level to high. But also in order not to do it manually every startup, it can be done through configuration in Gamemode by adding to [gpu] the line amd_performance_level=high.

As a result, using "patch_anti_logincrash.sh" and gamemode, makes the game playable on the amd rx 6000 series. Too bad I didn't find this anywhere in the optimization section before.

I hope it helps someone.

https://www.youtube.com/watch?v=DIpk_ovAsMI IMAGE ALT TEXT HERE

OS: Manjaro Linux x86_64
Kernel: 6.0.6-1-MANJARO
DE: Plasma 5.26.2
CPU: Intel i5-7400 (4) @ 3.500GHz
GPU: AMD ATI Radeon RX 6500 XT
Memory: 15937MiB
For a long time I faced with the problem that game performance is very bad on AMD RX 6000 Series, and in my case AMD RX 6500 XT. Fps jumps from 40 to 60, but even with rare 60 fps game still does not feel smooth. The solution to this I previously wrote here, https://notabug.org/Krock/dawn/issues/314, I don't know what the difference between X11 and Wayland in this situation is, but on Wayland the game was getting much smoother. But since I don't really like Wayland, I found that using "patch_anti_logincrash.sh" script reduces CPU usage by ~15% and completely removes feeling of not smooth at 60 fps. In addition to this, previously discussed here https://notabug.org/Krock/dawn/issues/321, that AMD 6000 Series do not work at full performance, and said that you can fix it by manually setting `/sys/class/drm/card0/device/power_dpm_force_performance_level` to `high`. But also in order not to do it manually every startup, it can be done through configuration in Gamemode by adding to `[gpu]` the line `amd_performance_level=high`. As a result, using "patch_anti_logincrash.sh" and gamemode, makes the game playable on the amd rx 6000 series. Too bad I didn't find this anywhere in the optimization section before. I hope it helps someone. https://www.youtube.com/watch?v=DIpk_ovAsMI [![IMAGE ALT TEXT HERE](https://i.ytimg.com/vi/DIpk_ovAsMI/hqdefault.jpg)](https://www.youtube.com/watch?v=DIpk_ovAsMI) OS: Manjaro Linux x86_64 Kernel: 6.0.6-1-MANJARO DE: Plasma 5.26.2 CPU: Intel i5-7400 (4) @ 3.500GHz GPU: AMD ATI Radeon RX 6500 XT Memory: 15937MiB
Krock commented 1 year ago
Owner

Thank you. I improved the documentation of the secondary patch and the amdgpu performance tweak. Please let me know if there is something to add - also PRs are welcome.

dbfe761

EDIT: I will keep this issue open so that the information/reminder effect is not lost.

Thank you. I improved the documentation of the secondary patch and the amdgpu performance tweak. Please let me know if there is something to add - also PRs are welcome. dbfe761 EDIT: I will keep this issue open so that the information/reminder effect is not lost.
Krock reopened 1 year ago
Ph42oN commented 1 year ago

Instead of setting /sys/class/drm/card0/device/power_dpm_force_performance_level to high, you can try setting it to manual and /sys/class/drm/card0/device/pp_power_profile_mode to 1. This should allow gpu to downclock while fixing the issue.

If this is same issue i had, this isn't game specific issue, it happened to me in many others too. Because it happens when gpu isnt getting maxed out, i think it will happen less in lower end gpus.

Instead of setting /sys/class/drm/card0/device/power_dpm_force_performance_level to high, you can try setting it to manual and /sys/class/drm/card0/device/pp_power_profile_mode to 1. This should allow gpu to downclock while fixing the issue. If this is same issue i had, this isn't game specific issue, it happened to me in many others too. Because it happens when gpu isnt getting maxed out, i think it will happen less in lower end gpus.
Krock commented 1 year ago
Owner

As mentioned in the first post, this is closely related to #321, hence closing for the same reason. Recent Linux kernel versions might already include a fix.

EDIT: If this issue is limited to Genshin, feel free to propose a workaround for TROUBLESHOOTING.md.

As mentioned in the first post, this is closely related to #321, hence closing for the same reason. Recent Linux kernel versions might already include a fix. EDIT: If this issue is limited to Genshin, feel free to propose a workaround for TROUBLESHOOTING.md.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.