https://bugs.kde.org/show_bug.cgi?id=454433
Bug ID: 454433
Summary: External display is not detected when laptop is
running on battery
Product: kwin
Version: 5.24.90
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: platform-drm
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
My laptop has a dGPU which is the AMD RX 6600M to which external monitors
connect to. When I plug in the HDMI cable on Wayland session after login and
the laptop is running on battery then the external monitor is not detected by
Plasma but the monitor shows that it is connected to a source but it just shows
a black screen. When I plug in the charger and then plug in the HDMI cable then
the monitor is detected by Plasma.
A regression in 5.24.90 –
In Plasma 5.24.90, after plugging in the charger, the display shows up in
Display Configuration, but it still doesn't display the output to the monitor
and only outputs on the laptop screen and it incorrectly identifies the
displays.
But on 5.24.5, the display correctly outputs to the monitor after following the
previous steps.
On X11 (both 5.24.5 and 5.24.90) and if I connect the monitor before logging in
through SDDM, it works without having to connect the laptop to the charger.
STEPS TO REPRODUCE
1. Login to Plasma Wayland
2. Connect HDMI cable to laptop
3. Check Display Configuration
OBSERVED RESULT
The external display is not detected until laptop is plugged in to charger and
then reconnecting HDMI cable.
EXPECTED RESULT
The external monitor should work even on battery.
SOFTWARE/OS VERSIONS
Distro: Arch Linux
KDE Plasma Version: 5.24.5 and 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
ADDITIONAL INFORMATION
Output of "kscreen-doctor --outputs" when external monitor is not detected –
Output: 1 AU Optronics eDP-1-unknown enabled connected primary Panel Modes:
0:1920x1080@144*! 1:1920x1080@60 2:1680x1050@144 3:1280x1024@144 4:1440x900@144
5:1280x800@144 6:1280x720@144 7:1024x768@144 8:800x600@144 9:640x480@144
10:1600x900@2058702 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0
Vrr: Automatic RgbRange: unknown primary
Output of "kscreen-doctor --outputs" when external monitor is detected –
Output: 1 AU Optronics eDP-1-unknown enabled connected primary Panel Modes:
0:1920x1080@144*! 1:1920x1080@60 2:1680x1050@144 3:1280x1024@144 4:1440x900@144
5:1280x800@144 6:1280x720@144 7:1024x768@144 8:800x600@144 9:640x480@144
10:1600x900@2058702 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0
Vrr: Automatic RgbRange: unknown primary
Output: 2 Dell Inc. DELL P2217H/M84D98373U8B disabled connected HDMI Modes:
0:1920x1080@60*! 1:1920x1080@60 2:1920x1080@60 3:1920x1080@50 4:1680x1050@60
5:1600x900@60 6:1280x1024@75 7:1280x1024@60 8:1440x900@60 9:1280x800@60
10:1152x864@75 11:1280x720@60 12:1280x720@60 13:1280x720@60 14:1280x720@50
15:1024x768@75 16:1024x768@60 17:800x600@75 18:800x600@60 19:720x576@50
20:720x480@60 21:720x480@60 22:720x480@60 23:720x480@60 24:720x480@60
25:640x480@75 26:640x480@60 27:640x480@60 28:640x480@60 29:720x400@70
30:1368x768@-1501773 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0
Vrr: incapable RgbRange: unknown
On 5.24.90, the external monitor always says disabled and changing the display
output in Plasma doesn't do anything.
On 5.24.90, wayland-session.log is empty for me, but on 5.24.5, it shows the
following error when I plug in the monitor on battery –
kwin_wayland_drm: failed to open drm device at "/dev/dri/card0"
--
You are receiving this mail because:
You are watching all bug changes.