Bug 497465 - When an external monitor is connected, the laptop screen will be still enabled but randomly stay black
Summary: When an external monitor is connected, the laptop screen will be still enable...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 6.2.4
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks: 506893
  Show dependency treegraph
 
Reported: 2024-12-14 16:08 UTC by aronkvh
Modified: 2025-08-09 03:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aronkvh 2024-12-14 16:08:16 UTC
When a monitor is plugged in (HMD wired to NVIDIA GPU, 1920x1080), and plasma auto-locks, the internal laptop screen will sometimes become disabled. Restarting KWin doesn't help. In the KCM the laptop screen still shows, but it's completely  black the mouse cursor can't move to it. I tried reproducing but seems random. The only thing common is that it happens after plasma is unlocked from a screen lock.

System info:
Operating System: openSUSE Tumbleweed 20241211
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.11.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i7-13620H
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: HERO-RPL-RTX

Additional info:
Seems related to [{{bug|461428}}
Comment 1 aronkvh 2025-02-01 13:29:31 UTC
This also happens on Fedora 41 with Plasma 6.2.5, now logging out doesn't solve it either, but a reboot does
Comment 2 aronkvh 2025-03-30 21:30:14 UTC
This log entry might be relevant?

kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Comment 3 TraceyC 2025-07-10 21:37:25 UTC
Thanks for the bug report. I'm sorry we weren't able to get to this yet.

If this is still happening in 6.4.2 or later, can you please paste the output of

kscreen-doctor -o

into a comment in this report?

Also, when this happens, are all the windows that were opened move to the external monitor? Are you able to move windows to the internal screen?

Thanks.
Comment 4 Bug Janitor Service 2025-07-25 03:46:43 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2025-08-09 03:46:49 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.