Screen flickering on Linux kernel 6.12

This is more of a heads-up for those using Framework 16 (Ryzen 7040 Series) on any linux distro (as far as I could tell). I’ve been encountering a very annoying screen flickering issue (rare horizontal stripes on the screen go in crazy colors for a fraction of a second a few times every several minutes). Very annoying, not very consistent and/or easy to reproduce.

For me, the problem occured on Arch, and later on NixOS 24.11. I also tried different compositors (picom, mutter) and desktop environments (hyprland, sway, gnome), both on Wayland and X11 – all the same. BIOS update also didn’t yield any positive results (currently I’m on the 3.05). This occurs also both with and without the discrete AMD 7700s GPU attached.

The problem started occuring roughly in November, after a system kernel update on my then-daily-driver Arch, and persisted after I switched to NixOS, on which I was using pkgs.linuxPackages_latest (which was using 6.12).

The solution was to roll back to an earlier linux kernel (currently I use pkgs.linuxPackages_6_6, but I think the issue might have started from 6.11 onward). Would be great to know if anyone else has encountered this issue, or knows if there is any open issue in the linux kernel dev community?

2 Likes

I’m running OpenSuse Tumbleweed with Kernel 6.12.6-1-default and XFCE4 (X11), without any graphical glitches whatsoever. So to me it doesn’t look like it’s a general problem of the kernel.

2 Likes

Got that same issue here. Assumed it was just the dGPU drivers, considering the dmesg output consistently contains references to amdgpu resumes.

I am on Arch with Linux 6.12.7 right now with Gnome and Wayland. Same BIOS version. I haven’t done as extensive of testing as it sounds like you have, but this does appear to happen, even with amdgpu_top reporting a suspended state on the dGPU.

1 Like

For me it was occurring even with the dGPU completely detached from the motherboard. So I doubt it’s hardware related. Also nothing like that occurs in Windows (as well as Linux 6.6). So I suspect this is some sort of interaction between the AMD drivers and the kernels.

1 Like

nice! Could you give more details pls? is this with or without dGPU? is xfce the only DE installed or do you have something with Wayland too? and what drivers have you been using?

I’ve been seeing this as well on Debian Trixie, with kernel 6.12.6-1, no dGPU, KDE Plasma 6 using Wayland.

1 Like

I think this issue reported in the Manjaro forum might be related. in the video it looks almost exactly like what I’ve been seeing, albeit not as intense. they confirm the issue started with kernel 6.11.

and found this issue on exactly framework 16, but can’t confirm whether the glitches are the same. OP provides a fix, which I haven’t yet tested.

That’s on the 7840 without dGPU. I’ve had problems with screen flickering on Ubuntu 22 half a year ago, running Wayland and Gnome. All monitors (internal and external) would go black for a split second before returning to normal. Switched to Tumbelweed and never looked back.
As far as I know, only X11 is active. I may have KDE and/or Gnome apps installed, including their dependencies, but the desktop environment is XFCE4.18

1 Like

I’ve also had some weird graphical issues, (I’m on the 6.11 kernel on fedora 40), normally it occurs the most when playing a game and the fps drops below a certain threshold, although I’ve had it happen “randomly” as well.

I’ve been following this issue on GitLab for a bit, and several people have proposed some temporary fixes (although I haven’t tried any yet)

1 Like

I’ve seen this on Endeavour as well (Arch based), with kernels 6.11.5 and upward.
Running 6.6 LTS is fine, and now running KDE Neon on 6.8 which is also just fine.

There’s already a similar thread here:

1 Like