Framework 13 AMD 7040: some screen flicker still

NixOS 25.05

kernel 6.12.48

kde6+wayland

amd_pstate=active amdgpu.dcdebugmask=0x10 loglevel=4 lsm=landlock,yama,bpf

bios 03.16

there are 2 types of rare visual flickers i experience on a new laptop:

  1. a horizontal line blinks for just one frame at random moments, not very frequent, hard to spot even. This line is seemingly always appears at mouse location, it has the height comparable to the mouse pointer (cannot say if it’s exact), and it seem to have the color of something under or near the mouse pointer

  2. on some sites i have witnessed a full screen flickers of gray screen for a single frame. on some specific sites it seem to be appearing relatively frequently. (the whole screen flashes, not just the firefox window)

looking through forums - tried setting amdgpu.sg_display=0 even though people say it’s not required on newer kernels, but this setting seem to reduce the amount of flicker of type 2, but does not eliminate it completely. as for type 1 flicker - that I have not YET observed with that setting.

continuing to test.

Is this some known bug? have other users noticed this?

I have the same here with my Framework 13, upgraded to Ryzen™ AI 9 HX 370 and new display Kit - 2.8K

Flickers of gray screen on mouse movement: https://youtu.be/qDnVqKKzgBQ

OS is Fedora Linux 42

After I make some tests I see the issue exists only on display frequency with 120 Hz.

Sounds the same as

Although, I’ve not heard the 7040 series being affected.

See the following for a workaround

Does `cat /sys/kernel/debug/dri/1/amdgpu_dm_dtn_log` mention an underflow?

Hey guys,

This is something we’re aware of that affects our AMD platforms. There are certain websites that make it very easy to replicate the issue but we’re still trying to determine a root cause as it seems to manifest a little differently between the Ryzen 7000 series, AI 300 Series, and AI Max 300 series. I’ve even seen the issue happen once on a 9070 XT in a friend’s desktop.

In my own experience it’s most likely to happen when the display is showing a majority bright color with a bar of darker color near the top of the page, with mouse movement in the area where the two colors meet triggering the flashes of grey. Sometimes just changing the scaling of a web page or changing the sizes of open windows is enough to either cause or workaround the issue.

Given this may be an amdgpu driver issue specifically, the AMD GitLab is probably the best place to track progress and share information on this. I’ll also make a note of this internally so we can understand the scope of this issue compared to others being tracked at the moment.

5 Likes

Nice to hear you are aware of the issue.

what you described is the full screen gray flicker,

but have you also been able to reproduce what I described as type 1 flicker?

Is there an existing issue in the AMD GitLab we can follow for the latest development regarding this bug/fixes?

that seems like a different issue.

though it probably has some common roots with the problem from this topic

I have found this: Display Core Debug tools — The Linux Kernel documentation

For me it helps to set the power_dpm_force_performance_level to high:

echo high > /sys/class/drm/card1/device/power_dpm_force_performance_level

The flicker is gone.

On “auto” the flicker comes back:

echo auto > /sys/class/drm/card1/device/power_dpm_force_performance_level

This resolved it for me on my AI 300 series on Arch with Gnome: Flickering when using Firefox under KDE Wayland on Ryzen AI 300 - #51 by Simon_Epskamp

for my case this does not affect the flickering

Mario_Limonciello has created a survey regarding this issue:

is AI 300 very close to 7040 ?

or just noone cares about 7040 bugs any more?

Yes, especially in the gpu department.