No supported resolutions after unlocking

Hi,

Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 3 3100 4-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1060 6GB

Often (but not always..) when I wake my blanked screen (Suspend is disabled), I have been reverted back to ~600x400 resolution with what looks like 16-bit color (Can’t remember exactly). After unlock, when I go to System Settings → Display & Monitor it says that I cannot change resolutions.

Restarting corrects the issue.

I’ve tried to work around it by:

  1. Switching from KDE+Wayland to KDE+X11
  2. kquitapp5 plasmashell
  3. kstart5 plasmashell
  4. systemctl restart sddm

I’ve just recently tried to disable “KScreen 2” from “Background Services” however I’m not sure if this has helped yet. While disabling that, I noticed the note at the top “If you’re disabling something here to work around an issue, please submit a bug report about it as well.” and so instead of reporting a bug I came here. I couldn’t find anything by searching that seems relevant.

I’m new to KDE so apologies if I’ve categorized this incorrectly.

P.S: I’m posting instead of waiting to see if disabling “KScreen 2” works around the issue because there was approximately ~14 hours since the last time this happened (Sorry; hoping to skip a lengthy troubleshooting scenario by asking for help).

Thanks! :slight_smile:

Update 2: While KScreen 2 is disabled, manually turning my monitor off and then on again seems to kill/disrupt plasmashell.

However, I still have all my resolution & colour once I manually kill/start plasmashell. Very interesting :thinking:

.. Going to try to turn KScreen 2 back on and see if I still have issues with the plasmashell while turning the monitor on/off again lol.

Update 1: Perhaps I’ve made things worse by disabling “KScreen 2”. For the most recent test I:

  1. Disabled dimming and turning off the screen
  2. (Suspend is always disabled for my testing/uses)
  3. Manually turned my monitor off after lock screen was displayed for ~10 minutes

When I turned on the monitor the locked screen was there (Looking beautiful, by the way..) however after I unlocked, plasmashell either crashed or was not running (It was just a black screen with no desktop icons or panels).

KRunner was still there (Alt+F2) and so I tried to manually start plasmashell from Konsole with kstart5 plasmashell

The command ran but didn’t output or change anything. So then I did:

kquitapp5 plasmashell

kstart5 plasmashell

That got my shell back. Peculiar!

Not sure if it’s related (I’m pretty lost, sorry).

Update 3: Can confirm that disabling/stopping KScreen 2 is what is causing me to lose plasmashell when I turn the monitor off/on.

I suppose that makes sense, too.. lol. Honestly manually restarting plasmashell is MUCH less disruptive to me than losing resolution, colour and refresh rates (Unless somebody knows how to quickly restart something that wont log me out or kill my running processes?)

I’ll keep KScreen 2 off and run the system for a couple days and/or until the main problem occurs again (Or doesn’t) and report back my findings.

Update 4: The disabling of “KScreen 2” workaround is not viable. Although it is less of a blocking issue than the original issue, it is significant still.

After many combinations of screen lock/unlock events & monitor off/on events, when “KScreen 2” is not running I retain my resolutions and most apps retain full colour. However, all of my Chromium-based browsers revert back to ~16-bit color.

Here is a full-window screenshot showing Edge displaying ~16-bit colours (Look at the CoPilot icon in the top-right corner to really see the affect).. Juxtaposed above my full-colour plasma panel icons below it:

Firefox is not affected by this colour issue.

Unfortunately, I’ve run out of leads & ideas to try.

Cheers :tumbler_glass:

What’s your NVIDIA driver type and version installed?

(Sorry! :melting_face:)

I’ve made a total mess of this thread but after many changes I’ve got this problem again :frowning:

Maybe a table will help!

Distro driver KDE Framework KDE Plasma Kernel is affected
Arch nouveau v? latest I think ? latest I think ? 6.17.? yes
Arch nvidia 580 latest I think ? latest I think? 6.17.? yes
Fedora 42 nouveau 6.12 6.3.4 6.16.12 no
Fedora 42 nvidia 580 6.12 6.3.4 6.16.12 no
Fedora 43 nvidia 580 6.18 6.4.5 6.17.1 yes

I unfortunately didn’t record much good info about that arch setup :thinking:

Maybe I’ll return to it, 'cause returning to Fedora 42 seems silly with how close to full release 43 is :sob:

It’s the browsers:

  • Microsoft Edge Version 141.0.3537.92 (Official build) (64-bit)
    • Flatpak (1.16.1)
  • Firefox 143.0.3-1.fc43
    • From official Fedora repository

If I let this system sit idle it can turn the screen off, lock, suspend & wake up, turn screen on and unlock without issue.

If I have one of those browsers running while it does anything to the screen then I lose my resolutions until rebooting.

I will do some more testing today to confirm if Firefox by itself causes it or if it’s only Edge (I often have both open).

Update 5 - I installed the xfce desktop environment in Fedora 43 and the video bug is gone..

I can manually turn my monitor on/off, manually lock the screen (xflock) and/or let the power mangement turn my monitor off & lock. No change in my resolution or anything.

That’s significant discoery I think! :open_mouth: