Bug 460332

Summary: Monitor is disabled on resume from suspend/sleep
Product: [Plasma] KScreen Reporter: Bryan Stine <bryan>
Component: kdedAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: miranda, nate
Priority: NOR Keywords: regression
Version: 5.26.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bryan Stine 2022-10-12 23:37:03 UTC
SUMMARY

On a machine running the KDE Neon and the NVidia 515.65.01 driver in X11, with a dual-monitor setup (1 HDMI, 1 DP), the monitor connected to the DP is always disabled on resume from suspend. I don't have another system to test whether this behavior is exhibited on non-NVidia hardware. I have wiped ~/.local/share/kscreen with no change in behavior. However, the ubuntu-desktop environment does not exhibit this behavior.

On resume, when the DP monitor is disabled, it can be re-enabled manually in the System Settings Display Configuration page. However, this must be done on every resume from suspend. Prior to doing this, the desktop area will "scroll" the amount of pixels the second monitor would have provided, either horizontally or vertically depending on the displays' orientations and layout (like the old-school X11 virtual desktops that had more usable area than a single monitor supported).


STEPS TO REPRODUCE
1. Use two monitors in any orientation, with an NVidia card.
2. Suspend the machine.
3. Resume the machine.

OBSERVED RESULT

The DisplayPort monitor is disabled upon resume and must be re-enabled in System Settings.

EXPECTED RESULT

The DisplayPort monitor should remain in the same state it was in prior to resume.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.26.0
(available in About System)
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION

This behavior is not experienced within the ubuntu-desktop environment, either in X11 or Wayland. This suggests the issue is not within the NVidia drivers and is not specific to the X11 protocol.
Comment 1 Bug Janitor Service 2022-10-13 00:33:54 UTC
Thank you for the bug report!

Please note that Plasma 5.25.90 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.
Comment 2 Bryan Stine 2022-10-13 17:39:35 UTC
This is a possible duplicate of bug 460341. However I don't experience the behavior of the monitor being disabled on every login; rather upon resume from suspend.
Comment 3 Nate Graham 2022-10-14 19:07:49 UTC
Ultimately it should be the same thing, yeah. Let's see if it's fixed with 5.26.1, as that one is,

*** This bug has been marked as a duplicate of bug 460341 ***