Bug 497167 - Unable to Switch Display Output to External Monitor in Display Configuration
Summary: Unable to Switch Display Output to External Monitor in Display Configuration
Status: REPORTED
Alias: None
Product: KScreen
Classification: Plasma
Component: OSD and Plasma applet (show other bugs)
Version: 6.2.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-12-07 15:28 UTC by Oleksii Zolotarevskyi
Modified: 2025-01-25 11:05 UTC (History)
2 users (show)

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


Attachments
Output of drm_info when the monitor doesn't turn on (160.56 KB, text/plain)
2025-01-10 15:24 UTC, Oleksii Zolotarevskyi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Zolotarevskyi 2024-12-07 15:28:30 UTC
SUMMARY
Unable to switch from the laptop screen to an external monitor connected via DisplayPort, despite the external monitor being correctly displayed in the System Settings' Display Configuration.

Switching from the external monitor back to the laptop screen works without issues.

A workaround involves running the following xrandr command:
$ xrandr --output DP-2 --mode 2560x1440 --rate 164.83 --primary --output eDP-1-1 --off
Occasionally, this command must be run twice — once to wake the external monitor from sleep and again to fully activate it.

STEPS TO REPRODUCE
1. Connect an external monitor to a laptop via DisplayPort.
2. Activate only the laptop screen and deactivate the external monitor.
3. Select the "Switch to external screen" option in the System Tray's Display Configuration. 

OBSERVED RESULT
The laptop screen turns off.
The external monitor remains in sleep mode and does not turn on.
It seems that Kscreen considers the switch successful, but the external monitor stays inactive. To recover, the external monitor must be turned off and on again, which restores the desktop to the laptop screen.

EXPECTED RESULT
The external monitor should wake from sleep and display the desktop as expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE Stable
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Graphics Platform: X11
Graphics Adapter: Nvidia TU106M + Intel UHD Graphics 630, Nvidia set as primary GPU
Graphics Driver Version: 550.135
Comment 1 Oleksii Zolotarevskyi 2024-12-07 15:30:19 UTC
This issue resembles a previously reported bug (https://bugs.kde.org/show_bug.cgi?id=487811), but since that one is marked as resolved, I am reporting this as a new issue because the problem persists.
Comment 2 Nate Graham 2024-12-12 18:27:00 UTC
Does it also fail on Wayland, or only X11?
Comment 3 Oleksii Zolotarevskyi 2024-12-23 13:19:18 UTC
Seems like it also happens on Wayland. When switching to the external monitor, it doesn't turn on.
Comment 4 Zamundaaa 2025-01-10 14:14:03 UTC
Please attach the output of drm_info when the monitor doesn't turn on (you can get it with "sleep 10; drm_info", or over ssh)
Comment 5 Oleksii Zolotarevskyi 2025-01-10 15:24:12 UTC
Created attachment 177258 [details]
Output of drm_info when the monitor doesn't turn on
Comment 6 Bug Janitor Service 2025-01-25 03:47:11 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 7 Oleksii Zolotarevskyi 2025-01-25 11:05:24 UTC
The output of the drm_info is attached.