Bug 466263 - On X11, third monitor goes black and other two monitors show three monitors' worth of content in a sort of scrollable fashion via X11 panning feature
Summary: On X11, third monitor goes black and other two monitors show three monitors' ...
Status: REOPENED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.27.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-22 20:29 UTC by diggeloid
Modified: 2023-10-12 21:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video of issue (3.63 MB, video/webm)
2023-02-22 20:29 UTC, diggeloid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description diggeloid 2023-02-22 20:29:51 UTC
Created attachment 156616 [details]
Video of issue

SUMMARY
Recently I've been encountering an issue where my third monitor turns off/disconnects after a while. Opening display settings shows my other two monitors as usual, but the third monitor is disabled. Trying to enable it does nothing, and its resolution settings only allow me to choose 640x480. Setting it as the primary monitor turns it back on (but stuck at 640x480).

It always happens with the same monitor, which is a 144hz 1080p (BenQ ZOWIE XL2411P).

Also, pushing my mouse into the edge of the screen causes the entire display on all monitors to "shift". I don't know how to explain it, so I recorded and attached a video. In the video, I can move the mouse into that outside area, but can't do anything in there. I can't put a window there, etc. Also, it appears to be showing a lockscreen, so I guess the time shown is precisely when it froze lol.

Shortly after recording the video, I also noticed that plasma was reporting ~66% CPU and ~70% MEM usage in `top`. That may or may not be related.

Logging in/out and rebooting doesn't fix it. The only way to fix it is to delete everything in `~/.local/share/kscreen/`, followed by logging out and back in. I.e. `rm -rf ~/.local/share/kscreen/*`

STEPS TO REPRODUCE
I haven't been able to reproduce it, but it is a persistent problem. I believe it's related to the lock screen. Sometimes (not always) when I wake the displays, I will be presented with this bug.

OBSERVED RESULT
Third monitor disconnects, display behaves strangely

EXPECTED RESULT
Not that

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7977
System Version: 1.0

ADDITIONAL INFORMATION
This is using the Nvidia proprietary driver version 525.89.02
Comment 1 Nate Graham 2023-02-24 19:14:36 UTC

*** This bug has been marked as a duplicate of bug 460341 ***
Comment 2 diggeloid 2023-03-26 17:11:49 UTC
After update to 5.27.3, I'm encountering the exact same behavior. I didn't encounter the bug while I was on 5.27.2, so idk if it's a regression or if I was just lucky during that time.

The issue seems to happen when unlocking the display after idling. I encountered it today after stepping away from my computer for a few hours, and waking it up when I returned. I'm not sure which exact setting is responsible, since I know there are *at least* two different timeouts in the system settings app which might affect this:

* Workspace -> Workspace Behavior -> Screen Locking
    * I have "Lock screen automatically" set to "60 minutes", and both check boxes on ("After" and "After waking from sleep")
    * also "Allow unlocking without password for" is set to "5 seconds"
* Hardware -> Power Management -> Energy Saving
    * "Screen Energy Saving" checked with "Switch off after" set to "60 min"

SOFTWARE/OS VERSIONS: (updated)

Operating System: Fedora Linux 37 (Kinoite)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.7-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7977
System Version: 1.0
Nvidia driver version: 525.89.02
Comment 3 Nate Graham 2023-03-28 17:25:10 UTC
Now that video is the weirdest thing I've seen in a long time. Thanks so much for attaching it; I don't think any amount of words would be able to adequately describe it!
Comment 4 Zamundaaa 2023-10-06 14:09:01 UTC
This is caused by Xorg's panning feature. I don't know how you would trigger that accidentally, so I assume either KScreen or your video driver is doing something weird