Screen flickering when display a certain thing and mouse hovering on a certain place, r7 6800H, radeon 680m
Brief summary of the problem:
The flickering bug usually happens randomly when I am using the laptop, but later, I figured out it is not random, it need some conditions to appear. Only in linux, I tried with windows and nothing happens
Hardware description:
- CPU: r7 6800H
- GPU: radeon 680m
- System Memory: 16gb
- Display(s): 2880x1800, 90hz, 14 inches
- Type of Display Connection: this is the built-in of my laptop
System information:
- Distro name and Version: fedora 37
- Kernel version: >6.0.7
- Custom kernel: No custom kernel
- AMD official driver version: I don't know how to get the driver version, but I always keep my system updated
How to reproduce the issue:
The flickering bug usually happens randomly when I am using the laptop, but later, I figured out it is not random, it need some conditions to appear, I don't know what is the condition, but I can reproduce the bug in this website when hovering mouse on some element, like the two video below: https://drive.google.com/file/d/1B9bVRh4vYySjuhJp_9ROQl9LSlNwn0L9/view?usp=share_link https://drive.google.com/file/d/1BHT5E6lOIZ8vqp_DZXXpuLw5LpBRexAY/view?usp=share_link
At first I thought the edge browser has some glitch, then I tried screenshot the whole screen of that website to test, and the problem still occur with the image, but the image need to be in full screen, which mean the element that I hover my mouse on need to be on exactly that position of the screen to trigger the flicker.
Note 1: The flickering only happen with the resolution 2880x1800, if I set the resolution to lower, it won't occur
Note 2: I tried on the usb live boot of Fedora KDE spin, Nobara, Ubuntu, linux Mint XFCE, Manjaro XFCE, Manjaro Gnome. Of all those distros, I tested with the screenshot of the site, the conditions for the bug to be triggered are exactly the same in the Fedoras (except Fedora 30) and Manjaro Gnome, the bug is much harder to trigger in Ubuntu, linux mint xfce, and I didn't see it happen on Manjaro XFCE and Fedora 30
Note 3: The problem can't be recorded with screen recording, and idk if this mean anything but I did some gpu stress test in windows 11 while opening the image to see if there is some problem with my gpu and linux are just more prone to it, but nope, the bug not occur even when my gpu usage is 100% while testing with the image
Note 4: Even though the bug can't be recorded with screen recording (the default one in gnome), but when I choose the show cursor button when recording the bug did not occur
Note 5: This is quite long and you need to watch the video to actually understand what I meant.
In this video: https://drive.google.com/file/d/1BKPBjT2ZtqXBtdADfgzsbVuSd5omQDKo/view?usp=share_link
-
First I open the image which is the screenshot of the website I said above as you can see whenever my mouse hovering on the element "Hỗ trợ" the screen flickers
-
Then I plugged in the HDMI cable to connect with an external screen (join mode), the problem did not occur anymore
-
Then I unplugged, the problem happened again, then I plugged in the HDMI cable, opened settings -> Displays -> Built-in display, I tried to change the resolution of the screen, and the gnome-shell crashed
-
After that I logged in to the desktop again and unplugged the HDMI cable, the problem is now gone no matter with the HDMI cable unplugged or plugged. But after a restart everything is back to "normal" again, the problem still there.
Log files (for system lockups / game freezes / crashes)
I currently don't have Fedora on my laptop anymore, the dmesg log above is from a live usb, the problem still occur in the live USB though. The problem is so weird that I start to think this has something to do with hardware, I friend of mine guesss that there could be a bad sector on my ram (my gpu is integrated one, so it use the system ram), so when the GPU touch the bad sector the screen flickering, I don't know if this is true because the flickering always happen when I hovering on that element of the web (or the screenshot), always, not random. Could someone confirm me this?
Update: the bug still occur in hyprland, I open the imae using gwenview