Try forcing the memory clock on your GPU to max. I have a multi-monitor setup and my gpu memory clock is forced to maximum when both are on and I never experience artifacts. When I turn one off, the remaining monitor starts getting artifacts because the GPU memory clock starts jumping around to save power, this might be the same issue.
Holy shit, I think that was it. After changing the profile from "auto" to "high", which just locks the memory clock to 1GHz, it doesn't happen anymore. That also explains why turning off the compositor made it stop too - doing so seems to lock it to a slightly higher rate. The problem seems to have something to do with the lowest clock speed which is listed as 96MHz.
Thank you so much, I never would have thought to do anything like that! Hopefully it goes away forever when I get back my second monitor lol
That's actually pretty interesting, I had a dual-monitor setup at my old place but haven't yet moved up my second one so I'm just using one right now. I'll see if I can do that with radeon-profile and lyk what happens.
Does anyone know what might be causing this, or where a better place to post for help would be?
Currently on kernel 5.19.9.arch1-1, plasma-desktop 5.25.5-1. This is a new problem, it started a few days ago and I was unable to find anything online with this specific issue.
It also seems to prevent my screen from sleeping, it stops blinking and does sleep if I turn off the compositor but then the Lock Screen itself won’t go to sleep.
I am having a simillar problem on wayland on Arch but its random for me. Currently on the latest zen kernel but was happening in older kernels too, GPU is integrated Intel in a laptop with a nvidia 940mx using nvidia-dkms drivers.
Thanks, that's kinda reassuring to hear and gives me a bit of confidence that it's not a major hardware issue that I fucked up. I have a dedicated graphics card though, and I'm fairly certain at this point that it's a user-specific issue since on the login screen when I'm logged out it doesn't blink and falls asleep just fine. I'll probably play around with some version downgrading and lyk if maybe an earlier version of KDE makes it work.
M using Xorg and occasionally have this blinking too. It's not as constant as OP. Very intermittent and only when not in a full screen app. I don't know at what point it started (never used to do this) because I occasionally accidentally hit one of the hot corners (or whatever they're called) and that would cause a momentary blink and I somehow gaslit myself into thinking that I was doing that without realising.
UPDATE: looks like I fixed it! Shoutout to u/Nefsen402, the problem turned out to be the memory clock speed on my GPU (RX 6800 XT, Red Devil).
When I moved to a different area I didn't bring up my second monitor, which I've never turned off in the ~2 months I've had this PC. radeon-profile was set to the "auto" preset which changed the clock speed as necessary, and with only one monitor I guess it was running on a lower speed (96MHz) which appears to have something to do with the blinking. This also explains why turning off the compositor seemed to make it go away: when I do so the clock jumps up to the next speed level (496MHz). I never would have guessed any of this in a million fucking years.
Changing from "auto" to "high" locks the clock at 1000MHz and the problem stops - maybe I can play around with the tool to see if I can still have a variable clock speed with a higher floor. Thanks to everyone who suggested solutions.
I had a very similar looking issue happening for awhile, the flashes looked exactly like that, very intermittently. It was very disorienting and irritating.
I believe it was because the HDMI cord from my monitor to GPU would come loose a tiny amount, most likely from a nearby house fan or my speakers, which slowly would vibrate it loose an imperceptible amount. I haven't seen it for awhile, after doing some better cord management.
Saying 'check the cord' to me feels like saying 'try turning it off and on' but still, it's never a bad idea to ensure the monitor is on a sturdy surface, cords aren't hanging loose and if you have a spare, maybe try another cord.
Lol definitely always valid advice, I did check everything pretty thoroughly and plugged it out and back in again a few times. It actually looks like solved it though, thanks for the suggestion!
I’ve seen something similar while designing a zen 2 motherboard.
A lot of AMD hardware (GPUs and APUs) will only support the display modes with round numbers (like 60Hz) which can be a problem because some of the standards actually use 59.94 Hz (it’s an historical issue). When that happens monitor and gpu clocks slip a tiny bit over a period until a critical point where the monitor re-syncs and shows either a black or white screen.
I’d play with xrandr to try to identify if this is the actual issue.
Hey since you seem to have similar hardware to me (6800xt, dual monitor) and using plasma, does your system or did it freeze when waking up the monitor from sleep? I have to stay on an old kernel (5.19.4) since anything newer has that issue.
Are you running on an Intel Haswell or Broadwell iGPU (Intel HD 4/5xxx) by any chance? There's still a lot of problems with their incomplete Vulkan implementation in upstream mesa.
33 comments
Try forcing the memory clock on your GPU to max. I have a multi-monitor setup and my gpu memory clock is forced to maximum when both are on and I never experience artifacts. When I turn one off, the remaining monitor starts getting artifacts because the GPU memory clock starts jumping around to save power, this might be the same issue.
Holy shit, I think that was it. After changing the profile from "auto" to "high", which just locks the memory clock to 1GHz, it doesn't happen anymore. That also explains why turning off the compositor made it stop too - doing so seems to lock it to a slightly higher rate. The problem seems to have something to do with the lowest clock speed which is listed as 96MHz.
Thank you so much, I never would have thought to do anything like that! Hopefully it goes away forever when I get back my second monitor lol
That's actually pretty interesting, I had a dual-monitor setup at my old place but haven't yet moved up my second one so I'm just using one right now. I'll see if I can do that with radeon-profile and lyk what happens.
Does anyone know what might be causing this, or where a better place to post for help would be?
Currently on kernel 5.19.9.arch1-1, plasma-desktop 5.25.5-1. This is a new problem, it started a few days ago and I was unable to find anything online with this specific issue.
It also seems to prevent my screen from sleeping, it stops blinking and does sleep if I turn off the compositor but then the Lock Screen itself won’t go to sleep.
I am having a simillar problem on wayland on Arch but its random for me. Currently on the latest zen kernel but was happening in older kernels too, GPU is integrated Intel in a laptop with a nvidia 940mx using nvidia-dkms drivers.
Thanks, that's kinda reassuring to hear and gives me a bit of confidence that it's not a major hardware issue that I fucked up. I have a dedicated graphics card though, and I'm fairly certain at this point that it's a user-specific issue since on the login screen when I'm logged out it doesn't blink and falls asleep just fine. I'll probably play around with some version downgrading and lyk if maybe an earlier version of KDE makes it work.
M using Xorg and occasionally have this blinking too. It's not as constant as OP. Very intermittent and only when not in a full screen app. I don't know at what point it started (never used to do this) because I occasionally accidentally hit one of the hot corners (or whatever they're called) and that would cause a momentary blink and I somehow gaslit myself into thinking that I was doing that without realising.
Anyway, Arch, KDE, Xorg, AMD GPU
What the Distro?
Plain Arch
You're asking that in an Arch sub
UPDATE: looks like I fixed it! Shoutout to u/Nefsen402, the problem turned out to be the memory clock speed on my GPU (RX 6800 XT, Red Devil).
When I moved to a different area I didn't bring up my second monitor, which I've never turned off in the ~2 months I've had this PC.
radeon-profilewas set to the "auto" preset which changed the clock speed as necessary, and with only one monitor I guess it was running on a lower speed (96MHz) which appears to have something to do with the blinking. This also explains why turning off the compositor seemed to make it go away: when I do so the clock jumps up to the next speed level (496MHz). I never would have guessed any of this in a million fucking years.Changing from "auto" to "high" locks the clock at 1000MHz and the problem stops - maybe I can play around with the tool to see if I can still have a variable clock speed with a higher floor. Thanks to everyone who suggested solutions.
I had a very similar looking issue happening for awhile, the flashes looked exactly like that, very intermittently. It was very disorienting and irritating.
I believe it was because the HDMI cord from my monitor to GPU would come loose a tiny amount, most likely from a nearby house fan or my speakers, which slowly would vibrate it loose an imperceptible amount. I haven't seen it for awhile, after doing some better cord management.
Saying 'check the cord' to me feels like saying 'try turning it off and on' but still, it's never a bad idea to ensure the monitor is on a sturdy surface, cords aren't hanging loose and if you have a spare, maybe try another cord.
Lol definitely always valid advice, I did check everything pretty thoroughly and plugged it out and back in again a few times. It actually looks like solved it though, thanks for the suggestion!
I’ve seen something similar while designing a zen 2 motherboard.
A lot of AMD hardware (GPUs and APUs) will only support the display modes with round numbers (like 60Hz) which can be a problem because some of the standards actually use 59.94 Hz (it’s an historical issue). When that happens monitor and gpu clocks slip a tiny bit over a period until a critical point where the monitor re-syncs and shows either a black or white screen.
I’d play with xrandr to try to identify if this is the actual issue.
Try add amdgpu.sg_display=0 to kernel cmdline.
What refresh rate do you have? I had this issue on 180hz
My monitor is 144hz, I haven’t seen what happens if I lower it
Use this guide https://www.davejansen.com/add-custom-resolution-and-refresh-rate-when-using-wayland-gnome/ to make this 143 or exactly 144hz and set new custom value in your desktop settings (it should vary a little). I will help you more when I come home.
Unrelated to your problem, but I love your wallpaper! What is it?
Thanks! It’s one of the default KDE wallpapers, I think the one on the home screen is called Altai and the lock screen is Safe Landing
Hey since you seem to have similar hardware to me (6800xt, dual monitor) and using plasma, does your system or did it freeze when waking up the monitor from sleep? I have to stay on an old kernel (5.19.4) since anything newer has that issue.
Can’t say that I’ve had that issue, though usually I don’t put it to sleep and just let it lock after long enough
Are you running on an Intel Haswell or Broadwell iGPU (Intel HD 4/5xxx) by any chance? There's still a lot of problems with their incomplete Vulkan implementation in upstream mesa.
i'm also experiencing isses with my kde on sleep , when i try to login it freezes