this post was submitted on 22 Sep 2024
27 points (96.6% liked)

Linux

48343 readers
513 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I’m having an issue with my desktop flickering after my monitors wake up on KDE. When I first turn on my PC it’s fine, but if I walk away and let the monitors turn off when I then come back the desktop starts flickering. It’s only the desktop that flickers, if I have an app open full screen it’s fine but as soon as I minimise it the flickering comes back. It doesn’t seem to be an issue if I leave it long enough for my actual PC to go to sleep, only the monitor. This happens on both Wayland and X11.

Does anyone have any ideas on how to fix this, and if not is it worth submitting a bug report on kde? Or is it probably just something dodgy in my setup? This is with an Nvidia GPU which I suspect has something to do with it (I’ve tried with both the nvidia and nvidia-open drivers). I’ve already had to change the settings so that the screen locks before the monitors sleep otherwise it was causing kwin to crash and I’d get stuck at the login screen for a minute after resuming.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 months ago (1 children)

It's possible your screens electrically disconnect themselves when going to sleep, which makes Plasma refresh its desktop layout, causing flickering.

My Asus screen does this when powered off but not in standby. That used to crash Plasma Wayland back in 5.24 lol

[–] [email protected] 2 points 2 months ago

How would I tell if that’s the case? And I guess there’s nothing I can do about it if that is the cause?

[–] [email protected] 3 points 2 months ago (1 children)

Flickering how?

Does the contents of the image change? Does it move? Do the monitors lose signal? Is there a rhythm / pattern to it? Does it flicker when you do something (e.g. move the mouse)?

Mine sometimes flicker when Chrome is loaded. When it happens part of the screen gets corrupted, and updates to the screen (e.g. moving windows) tend to make it happen. The monitors stay locked the whole time, but it will only effect one of my two screens.

[–] [email protected] 1 points 2 months ago (1 children)

Yes that’s pretty much it, there’s a strip around 3/4 of the way down both displays that has white line flicker across it whenever there’s any movement on either screen.

[–] [email protected] 1 points 2 months ago (1 children)

Yeah. My theory is that the AMD GPU driver has swapped out too much to main memory from VRAM because anything with high VRAM usage seems to cause it.

I'm on an RX7600.

[–] [email protected] 1 points 2 months ago

It’s definitely not that for me as I’m on Nvidia!

[–] [email protected] 3 points 2 months ago

Is it a kernel 6.10 bug?

[–] [email protected] 3 points 2 months ago (1 children)

Isn't that what Explicit Sync was trying to solve? Check your Nvidia driver version, as well as your KDE Plasma version and see if they both support Explicit Sync.

[–] [email protected] 1 points 2 months ago

Yeah I’m definitely above the relevant versions for kde and Nvidia

[–] [email protected] 2 points 2 months ago (1 children)

I'd recommend flashing your distro on a USB drive (it could be the live installer or honestly just the whole darn thing if you want it to be persistent), boot up off the driver, and start playing around to see if you can reproduce the problem.

[–] [email protected] 1 points 2 months ago

That’s a good idea, I’ll try the endeavour OS live environment as that should be close enough to my setup

[–] [email protected] 2 points 2 months ago

Just joining the discussion, because this happens to me too, and it's very frustrating.