I’m looking for some instruction on how to troubleshoot the screen flicker I’m getting on my workstation.
The issue begins in GDM after a boot. Certain mouse movements or menu animations will be accompanied by a flicker across my screen.After logging in the issue persists and a flicker can be seen when I press the super key to open the gnome search window.
If I go into displays and change the screen refresh rate from 60 to 30 and back to 60, this usually fixes my issue, including if I log out and log back in. However, if I reboot my system, the issue comes back and I have to play with the display refresh options again.
I’ve tried disabling all extensions. The issue occurs on X11 and Wayland. I’ve also deleted the monitors.xml file in my ~/.config and /var/lib/gdm/.config directories. This resulted in a lower default resolution which also had a flicker.
Can I get information on where I should look for logs to troubleshoot the issue?
System Information:
Fedora 33
Kernel 5.9.8-200.fc33.x86_64
Gnome 3.38.1 on Wayland/Xorg
AMD Radeon RX 5700XT
5120x1440@60 (or 30 or 70)
Monitors are very finicky with linux. There’s a lot of variables to debug. Tougher to debug if you have multiple monitors. I have found that if I can’t replicate it on windows, the easiest is to start with hardware.
I approach debugging with the mindset of little changes to an existing workflow. For both hardware and software
Hardware debugging
Try to change the ports on your graphics card
Try to change the ports on your monitor
Try a different cable (if you have a hdmi, try displayport and vice versa)
I’m running on HDMI right now. I didn’t think to try DisplayPort . I only have a single HDMI port. I’ll give that a go.
For what it’s worth, I don’t have any issues when I use a mac book pro on this screen so I don’t think it’s an issue with the screen, but I suppose the HDMI could be the issue since I use USB-C/Thunderbolt.
I didn’t have the issue when I was on OpenSUSE, where I tried out KDE, XFCE, and several window managers. I’m not sure which kernel version and what not I was on when I switched to fedora a month or so ago. My TW install was quite out of date.
I think it might be GNOME. I’ve had more issues GNOME then the other DE’s. GNOME refuses to let me change the overlapping point between 2 monitors. I learned after switching to Cinnamon.
Switched to display port an all hell broke loose. I’ve tried two ports on the video card. I’m now showing llvmpipe for my display driver, wayland is an option at login so it’s only x11, it doesn’t recognize my monitor, and I can’t select a refresh rate or the appropriate resolution.
Im running a 5700XT with dual monitors on Fedora 33 without issues. I guess like above. Drop in replacement parts to test are the only method to test the problems.
One display is DP and the other HDMI.
Have you tried booting from a live install and checked for the problem on a usb stick ?
Just did a system update, checked my bios settings, checked my cabling. On reboot, driver is again correct, and my resolution is correct, while using display port.
The flicker was still present.
I’m digging through the dmesg logs and i found this:
WARNING: CPU: 7 PID: 271 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:3241 dcn20_validate_bandwidth_fp+0x8d/0xd0 [amdgpu]
Hi @Komrade_K , i have the same problem with Fedora 33, i upgrade video driver controller, change kernel version and change the OS to Ubuntu and the problem continue, I don’t know the cause of the problem because it should not occur in Ubuntu but it all started when I changed from Fedora 32 to 33. If you solved your problem I would appreciate if you shared the solution.
No solution. I simply change the resolution a few times upon logging in. I’m pretty sure the AMDGPU gitlab has a bug logged for the issue. Not sure if a fix went out with the 5.10 kernel or not.
My laptop has an Nvidia video card so I think the problem has to do with the kernel management of some resources, I hope that in the next release it will be solved because it is a common problem.
the only kernel where the problem is absent — 5.8.14. All Kernels 5.9.xx and 5.10.xx fail — little but annoying flickering across the screen is present.
There is no flickering on Windows 10 LTSC or Ubuntu 20.04 Gnome Wayland.
Any help on kernel patch? or Nouveau? or anything?
drm/nouveau/dispnv50: Restore pushing of all data.
commit fd55b61ebd31449549e14c33574825d64de2b29b upstream.
Commit f844eb485eb056ad3b67e49f95cbc6c685a73db4 introduced a regression for
NV50, which lead to visual artifacts, tearing and eventual crashes.
In the changes of f844eb485eb056ad3b67e49f95cbc6c685a73db4 only the first line
was correctly translated to the new NVIDIA header macros:
- PUSH_NVSQ(push, NV827C, 0x0110, 0,
- 0x0114, 0);
+ PUSH_MTHD(push, NV827C, SET_PROCESSING,
+ NVDEF(NV827C, SET_PROCESSING, USE_GAIN_OFS, DISABLE));
The lower part ("0x0114, 0") was probably omitted by accident.
This patch restores the push of the missing data and fixes the regression.