You are not logged in.
Hello,
since the linux kernel upgrade to the 6.4.1.arch1-1. I get a less than 20 fps and extremely bad lags in game genshin impact on my pc with 6900xt and 5600x,
when i switch to 6.3 or earlier, it is stabled 60fps and I have a normal smooth game experience
I have found this issue some time ago when I install and use the linux-mainline or linux-amd-drm-next when the official kernel release is 6.3
and now, the linux 6.4.1.arch1-1 have been release and archlinux has got the upgrade, I get a default 6.4.1.arch1-1 kernel and a terrible gaming experience
I change all the other conditions, and have no effect. The only thing that works is downgrading the kernel to 6.3 or earlier.
I also checked the kernel debug message(journalctl -k) and nothing helpful found
Is here anyone encountered the same issue? any workaround can temporarily avoid this issue in 6.4 kernel?(because I want just use the official linux package)
Last edited by lechain (2023-07-05 03:40:54)
Offline
Is the issue present in the current linux-amd-drm-next ? Have you located the commit that introduced the issue? Have you reported the issue upstream?
Offline
Quick workaround is to switch to official linux-lts package and submit a bug report upstream hoping to be fixed before the bug reaches lts too.
Cannot personally test your issue.
Last edited by kokoko3k (2023-07-04 13:00:24)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
I think I have found the cause of the problem, the gpu memory clock is locked, I watch this value via cpu-x for a while and the value is always 96Mhz
Is the issue present in the current linux-amd-drm-next ?
yes, get same result
Have you located the commit that introduced the issue? Have you reported the issue upstream?
sorry, not yet
may take some time for me to search and read the relative commit in the kernel code
Last edited by lechain (2023-07-04 14:36:24)
Offline
loqs wrote:Have you located the commit that introduced the issue? Have you reported the issue upstream?
may take some time for me to search and read the relative commit in the kernel code
Let me know if you need any help with the bisection.
Offline
Let me know if you need any help with the bisection.
thanks very much, but I searched the solution by google keywords "amdgpu mclk 6.4"
https://gitlab.freedesktop.org/drm/amd/-/issues/2657
according to the discussion from the freedesktop thread above,
the tag amd-drm-next-6.5-2023-06-16 fixed the issue,
Good news: It's fixed with tag amd-drm-next-6.5-2023-06-16 , VRAM correctly clocks up and down with 165Hz. Will close once fix is in mainline / stable.
I will find a way to upgrade it from tag 2023-05-31 now to tag 2023-06-16 in my arch
Offline
Hey, I just upgraded to an AMD gpu only to discover this issue as well!
I did find a sort of workaround though? For me, when I suspend and wakeup my system, the VRAM speed gets set to the max 1000MHz. Unfortunately it seems to stay at that speed, but at least the performance is better.
Offline
@lechain @cubethethird does the kernel linked below have the issue
https://drive.google.com/file/d/1-CTrA5 … sp=sharing linux-6.4.1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/16cmpue … sp=sharing linux-headers-6.4.1-1.1-x86_64.pkg.tar.zst
With the commits mentioned in https://gitlab.freedesktop.org/drm/amd/ … te_1976042 reverted
Offline
@lechain @cubethethird does the kernel linked below have the issue
https://drive.google.com/file/d/1-CTrA5 … sp=sharing linux-6.4.1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/16cmpue … sp=sharing linux-headers-6.4.1-1.1-x86_64.pkg.tar.zst
With the commits mentioned in https://gitlab.freedesktop.org/drm/amd/ … te_1976042 reverted
yes, the gpu mclk is fixed to 1000Mhz in the kernel from the above links, thank you very much...
Offline
So lets add half the reverts back and see if it still works
git revert -n 663b930e24842 #drm/amdgpu: enable tmz by default for GC 11.0.1
git revert -n e490d60a2f76b #drm/amd/pm: resolve reboot exception for si oland
git revert -n bc3e1d60f933f #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v4_0
git revert -n 30b2d778f629d #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v2_6
git revert -n ce784421a3e15 #drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON
git revert -n 020c76d983151 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0
git revert -n 6889f28c736c3 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v2_6
git revert -n ac1d8e2f074d9 #drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON
# git revert -n 8e1b45c578b79 #Revert "drm/amd/display: Do not set drr on pipe commit"
# git revert -n c14fb01c4629b #Revert "drm/amd/display: Block optimize on consecutive FAMS enables"
# git revert -n 55e02c14f9b5f #drm/amd/pm: reverse mclk and fclk clocks levels for renoir
# git revert -n bfc03568d9d81 #drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
# git revert -n f1373a97a41f4 #drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
# git revert -n c1d35412b3e82 #drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
# git revert -n 6a07826f2057b #drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4https://drive.google.com/file/d/1abTaIT … sp=sharing linux-6.4.1-1.2-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1GL_Oez … sp=sharing linux-headers-6.4.1-1.2-x86_64.pkg.tar.zst
Offline
So lets add half the reverts back and see if it still works
git revert -n 663b930e24842 #drm/amdgpu: enable tmz by default for GC 11.0.1 git revert -n e490d60a2f76b #drm/amd/pm: resolve reboot exception for si oland git revert -n bc3e1d60f933f #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v4_0 git revert -n 30b2d778f629d #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v2_6 git revert -n ce784421a3e15 #drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON git revert -n 020c76d983151 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0 git revert -n 6889f28c736c3 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v2_6 git revert -n ac1d8e2f074d9 #drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON # git revert -n 8e1b45c578b79 #Revert "drm/amd/display: Do not set drr on pipe commit" # git revert -n c14fb01c4629b #Revert "drm/amd/display: Block optimize on consecutive FAMS enables" # git revert -n 55e02c14f9b5f #drm/amd/pm: reverse mclk and fclk clocks levels for renoir # git revert -n bfc03568d9d81 #drm/amd/pm: reverse mclk and fclk clocks levels for vangogh # git revert -n f1373a97a41f4 #drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp # git revert -n c1d35412b3e82 #drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5 # git revert -n 6a07826f2057b #drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4
thanks,gpu mclk is fixed at 96Mhz in the 6.4.1-1.2 case
Offline
git revert -n 663b930e24842 #drm/amdgpu: enable tmz by default for GC 11.0.1
git revert -n e490d60a2f76b #drm/amd/pm: resolve reboot exception for si oland
git revert -n bc3e1d60f933f #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v4_0
git revert -n 30b2d778f629d #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v2_6
git revert -n ce784421a3e15 #drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON
git revert -n 020c76d983151 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0
git revert -n 6889f28c736c3 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v2_6
git revert -n ac1d8e2f074d9 #drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON
git revert -n 8e1b45c578b79 #Revert "drm/amd/display: Do not set drr on pipe commit"
git revert -n c14fb01c4629b #Revert "drm/amd/display: Block optimize on consecutive FAMS enables"
# git revert -n 55e02c14f9b5f #drm/amd/pm: reverse mclk and fclk clocks levels for renoir
# git revert -n bfc03568d9d81 #drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
# git revert -n f1373a97a41f4 #drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
# git revert -n c1d35412b3e82 #drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
# git revert -n 6a07826f2057b #drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4https://drive.google.com/file/d/1c_8uwC … sp=sharing linux-6.4.1-1.3-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1FM8oy7 … sp=sharing linux-headers-6.4.1-1.3-x86_64.pkg.tar.zst
git revert -n 663b930e24842 #drm/amdgpu: enable tmz by default for GC 11.0.1
git revert -n e490d60a2f76b #drm/amd/pm: resolve reboot exception for si oland
git revert -n bc3e1d60f933f #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v4_0
git revert -n 30b2d778f629d #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v2_6
git revert -n ce784421a3e15 #drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON
git revert -n 020c76d983151 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0
git revert -n 6889f28c736c3 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v2_6
git revert -n ac1d8e2f074d9 #drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON
git revert -n 8e1b45c578b79 #Revert "drm/amd/display: Do not set drr on pipe commit"
git revert -n c14fb01c4629b #Revert "drm/amd/display: Block optimize on consecutive FAMS enables"
git revert -n 55e02c14f9b5f #drm/amd/pm: reverse mclk and fclk clocks levels for renoir
git revert -n bfc03568d9d81 #drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
git revert -n f1373a97a41f4 #drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
# git revert -n c1d35412b3e82 #drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
# git revert -n 6a07826f2057b #drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4https://drive.google.com/file/d/1S8N8KC … sp=sharing linux-6.4.1-1.4-x86_64.pkg.tar.zst
https://drive.google.com/file/d/17KBrNe … sp=sharing linux-headers-6.4.1-1.4-x86_64.pkg.tar.zst
Offline
both 6.4.1-1.3 and 6.4.1-1.4 are ok
Offline
Is it enough to just revert these two commits
# git revert -n 663b930e24842 #drm/amdgpu: enable tmz by default for GC 11.0.1
# git revert -n e490d60a2f76b #drm/amd/pm: resolve reboot exception for si oland
# git revert -n bc3e1d60f933f #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v4_0
# git revert -n 30b2d778f629d #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v2_6
# git revert -n ce784421a3e15 #drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON
# git revert -n 020c76d983151 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0
# git revert -n 6889f28c736c3 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v2_6
# git revert -n ac1d8e2f074d9 #drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON
git revert -n 8e1b45c578b79 #Revert "drm/amd/display: Do not set drr on pipe commit"
git revert -n c14fb01c4629b #Revert "drm/amd/display: Block optimize on consecutive FAMS enables"
# git revert -n 55e02c14f9b5f #drm/amd/pm: reverse mclk and fclk clocks levels for renoir
# git revert -n bfc03568d9d81 #drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
# git revert -n f1373a97a41f4 #drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
# git revert -n c1d35412b3e82 #drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
# git revert -n 6a07826f2057b #drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4https://drive.google.com/file/d/1O8WOnt … sp=sharing linux-6.4.1-1.5-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1Mq_cLh … sp=sharing linux-headers-6.4.1-1.5-x86_64.pkg.tar.zst
Offline
6.4.1-1.5 is ok
Offline
# git revert -n 663b930e24842 #drm/amdgpu: enable tmz by default for GC 11.0.1
# git revert -n e490d60a2f76b #drm/amd/pm: resolve reboot exception for si oland
# git revert -n bc3e1d60f933f #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v4_0
# git revert -n 30b2d778f629d #drm/amdgpu: add RAS POISON interrupt funcs for jpeg_v2_6
# git revert -n ce784421a3e15 #drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON
# git revert -n 020c76d983151 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0
# git revert -n 6889f28c736c3 #drm/amdgpu: add RAS POISON interrupt funcs for vcn_v2_6
# git revert -n ac1d8e2f074d9 #drm/amdgpu: separate ras irq from vcn instance irq for UVD_POISON
git revert -n 8e1b45c578b79 #Revert "drm/amd/display: Do not set drr on pipe commit"
# git revert -n c14fb01c4629b #Revert "drm/amd/display: Block optimize on consecutive FAMS enables"
# git revert -n 55e02c14f9b5f #drm/amd/pm: reverse mclk and fclk clocks levels for renoir
# git revert -n bfc03568d9d81 #drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
# git revert -n f1373a97a41f4 #drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
# git revert -n c1d35412b3e82 #drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
# git revert -n 6a07826f2057b #drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4If this is good the cause is 8e1b45c578b79 if not it is c14fb01c4629b but that commit can not be reverted on its own as it depends on 8e1b45c578b79.
Please report which ever one it is to https://gitlab.freedesktop.org/drm/amd/-/issues/2657
https://drive.google.com/file/d/1peenwv … sp=sharing linux-6.4.1-1.6-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1pyIDXS … sp=sharing linux-headers-6.4.1-1.6-x86_64.pkg.tar.zst
Offline
6.4.1-1.6 is also ok
Offline
I had this issue on 6.4.2.arch1-1, although I didn't check the GPU Memory Clock, so I can't say for sure. It's fine on 6.3.9-arch1-1.
Do you have this issue on the latest 6.4.3.arch1-1 ?
IRC: pulec
Offline
Having an AMD Ryzen 7 5800X3d with an AMD Radeon RX6600XT I can confirm that since 6.4.x the graphic performance is worse. I am able to solve these issues by one of these:
- disabling FreeSync in the monitor settings
- changing the refresh rate in Gnome Display Settings below 120Hz
- downgrading the kernel to 6.3.9-arch1-1
The latest kernel release (6.4.2.arch1-1) did not solve the issues.
Offline
This is not solved,
On 6.4.4-arch1-1 and corectrl reports the GPU memory clock is stuck at 96 MHz.
I also have 5800x3d as debellator, but radeon 6700xt though, shouldn't be a big difference.
I however refuse to use the refresh rate below 120hz or disable freesync, so I am staying on 6.3.9.
Last edited by Pulec (2023-07-23 03:03:52)
IRC: pulec
Offline
OP (lechain) has stated several times their issues are solved with latest 6.4.x kernel.
Pulec, Debellator : you appear to have different problems then OP, please start your own threads.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline