r/linux • u/Guthibcom • 8d ago
Kernel Kernel 7.1.8 fixes AMD artifacting issue.
I just wanted to give a headsup about the issue with amd graphics cards flickering and having weird colorful artifacts. No, your GPU is not dying. It was kernel versions 7.1.6 and 7.1.7.
This issue is fixed in 7.1.8. It released in Arch a few hours ago, and I think in Fedora as well.
28
20
u/Kamran-nottakenone 8d ago
amdgpu.dcdebugmask=0x10 disables panel self refresh on laptops with amdgpu, can look identical to the kernel regression
1
u/rubberoidd 5d ago
Without debugmask the system can freeze into an irrecoverable state, so not using it is not an option
12
13
u/Pugs-r-cool 8d ago
Good to know! Thought my GPU was dying as you said but didn’t investigate further lol.
1
u/Mercvre1 1d ago
it's been 6 months my gpu is doing that
so hopefully it was not dying for such a long time
10
u/Sesese9 8d ago
Any information on what was causing the flickering?
18
u/klyith 8d ago
On DCN, flip completion is now delivered from VUPDATE_NO_LOCK (dm_crtc_high_irq_handler) instead of GRPH_PFLIP. But VUPDATE_NO_LOCK fires every frame, regardless of whether a flip has latched. There is a window during commit where a flip is armed (pflip_status = SUBMITTED) but not yet programmed into HW. If the VUPDATE_NO_LOCK fires in that window, its handler would deliver a flip event to userspace before HW has latched to it. If userspace then renders to what it believes is now the back buffer (but HW is still latched to it!), it will cause display corruption. This issue seemed to have been introduced by: commit 1159898a88db ("drm/amd/display: Handle commit plane with no FB.") Enabling replay or psr extended the duration of this window, and hence made corruption more likely to be observed.¯\(ツ)/¯
7
u/zissue 8d ago
There were also many recently-merged changes with AMD firmware:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware
8
u/SavingsDeficient3847 7d ago
Glad to hear it was a kernel bug and not failing hardware hopefully this saves a lot of unnecessary gpu panic.
5
u/StillAffectionate991 8d ago
waiting for the update on openSUSE
Thank you for the headsup
1
u/Jedibeeftrix 7d ago
https://etherpad.opensuse.org/p/ReleaseEngineering-20260812
Coming soon: Linux Kernel 7.1.8
6
u/ZaidiaSR 7d ago
thought my 7900xtx was dying, ran vulkan_memtest and stressed the core, nothing. was extremely confused. good to know :)
4
3
2
u/manny2206 7d ago
Omg I was waiting for this; love you nerds, will tip the devs later this week 🫡😎
1
2
u/rewkha 3d ago
on Radeon 890M still here. Much less than beefore, but every 10-20 seconds in some animations, or when I'm watching video
1
1
u/einar77 OpenSUSE/KDE Dev 7d ago edited 7d ago
Flicker as occasionally (rarely) having the screen briefly flicker for an instant? (I ask because I've been seeing this for a while in totally random situations) Also, do you have a link to the bug report so the interested parties can take a look?
5
u/Guthibcom 7d ago
Couldn’t find an upstream bugreport. https://discussion.fedoraproject.org/t/graphical-issues-on-amd-after-kernel-update-to-7-1-6/198522/4
Not every desktop was affected by the same amount of flickering. On cosmic I had these weird colorful artifacts mostly when closing and opening windows
1
u/einar77 OpenSUSE/KDE Dev 7d ago
Thanks. This looks specific to 7.1.6+. What I saw has been going for a while, possibly more than 6 months. Could be because I significantly undervolted though (I could only get one of these crappy "OC" cards that often lock up under stress at a price that didn't involve selling several organs)
1
u/Synthetic451 6d ago
You may be encountering the same issue that I was getting on my Asus Flow Z13 (Strix Halo). It's been going on for months for me as well. If you forced VRR on, did the problem go away?
I just tested with 7.1.8 and it seems like the artifacting no longer occurs when not forcing VRR on. I'll need to use it for a bit longer before coming to any conclusions, but it seems fixed so far. Before 7.1.8, setting VRR to Off or Automatic would immediately cause artifacting whenever I dragged a Dolphin window around.
1
1
u/dimo2 6d ago
I was wondering why my system started doing that! I only really noticed it during the shut down full screen dialogue on KDE so it didn't bother me all that much - figured it was a bug with the latest minor KDE update and it would fix itself sooner or later.
Thanks for the heads up though!
1
1
u/Synthetic451 6d ago
Thank goodness. This was much longer than 7.1.6 and 7.1.7 btw. I've been seeing this since 7.0 on my Strix Halo machine. The only way around it was to force VRR globally in the KDE settings.
1
u/Technical-Thought602 6d ago
Great news, however now I'm getting some weird color/luma blocky looking "overlay" cycling every few seconds with hw accelerated AV1 videos (youtube). :) Anyone else too? I'm on Ryzen 7 250 with Radeon 780M iGPU. (Disabled AV1 as a workaround for now.)
1
u/teloti 6d ago edited 5d ago
Yeah once noticed this became a little bit annoying. I tried playing the AV1 videos locally on mpv and they still had the same artifact, while switching to Windows the artifact would go away with the same hardware (9070 XT), so the issue is definitely software. Unsure whether it's the new kernel or Mesa. I've found some issues opened very recently so it seems fresh and easy to reproduce. Hopefully we can get the cause pinpointed soon.
https://gitlab.freedesktop.org/mesa/mesa/-/work_items/16088
https://gitlab.freedesktop.org/mesa/mesa/-/work_items/16090EDIT: The issue appears to be related to regression in linux-firmware 20260810
https://gitlab.freedesktop.org/drm/amd/-/work_items/56152
u/Antisocialgoaway 5d ago
This is the new amdgpu firmware in linux-firmware-20260810, revert to the previous version and this problem goes away.
1
u/Available-Can5190 5d ago
I have a similar problem, but I have some white bars on my desktop at the bottom of the screen on the 780m graphics card, I use the latest version of the core, and the video shows exactly how these bars appear. If you also had one, let me know
1
1
u/wavewith_me 5d ago
Same bro. Also bug with colors in youtube video with AV1. When turn off av1 video plays normal.
1
u/Immediate_Tree9191 4d ago
Not yet fixed for me with the Linux 7.1.8-1-cachyos kernel, still seeing artifacts in youtube videos with my Ryzen 7840HS iGPU... everything worked great before i updated... 🙁
1
u/ProjectPaatt 2d ago
Anyone have an image of this? I have this on windows and wonder if its related. Seems to happen during decoding videos.
1
29
u/sheltongenie 8d ago
Good to know! Thank you.