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.

  • ElectroLisa@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    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

    • Infernal_pizza@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 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?

  • wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    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.

    • Infernal_pizza@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      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.

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        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.

  • theshatterstone54@feddit.uk
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    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.

  • data1701d (He/Him)@startrek.website
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    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.

    • Infernal_pizza@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

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