Bug 466618 - Powering on receiver disables secondary monitor
Summary: Powering on receiver disables secondary monitor
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.27.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-28 19:25 UTC by wevah29019
Modified: 2023-03-01 15:22 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wevah29019 2023-02-28 19:25:04 UTC
SUMMARY

At boot my system has 2 1440p/165hz monitors running at 150% scale. I also have a 1080p/60hz receiver connected to an HDMI port. The receiver I have the receiver powered off and disabled (in Display Configuration) by default because I don't want the monitors to be limited to 60hz most of the time. However sometimes I turn on the receiver to display to a projector or play audio thru it. 

When the receiver powers on my 2nd (non-primary) monitor becomes disabled. Even if I set it to enabled  in the Display Configuration UI it gets no image. I end up having to either reboot, or run xrandr commands to correct the displays.

STEPS TO REPRODUCE
1. Begin with 2 monitors enabled & on.
2. Power on a 3rd display (HDMI receiver in my case) which had been disabled in the Display Config


OBSERVED RESULT

The 2nd (right-non-primary) monitor becomes disabled. Plasmashell memory usage increases non-stop.


EXPECTED RESULT

Existing displays should continue working as before. Memory usage should not increase indefinitely.


SOFTWARE/OS VERSIONS
Arch Linux
Plasma 5.27.2
Comment 1 Nate Graham 2023-02-28 23:05:20 UTC
We have other reports of high memory usage when a new screen is plugged in or otherwise connected from a source that isn't KScreen; those are tracked with Bug 466362 and Bug 465994. For this one, let's focus on the issue with the external display being inappropriately disabled when you turn on the receiver.

Can you paste the output of `kscreen-doctor -o` both before you power on the receiver (when everything is fine) and again afterwards (when the external screen is inappropriately disabled? Thanks!
Comment 2 wevah29019 2023-02-28 23:57:40 UTC
Below is the requested output. However I did not run into the problem this time. I had been running 5.27.1 and updated to 5.27.2 today but had not rebooted until just before this last test. So it's possible 2.27.2 corrected the problem.

BEFORE:
----------------------- 
Output: 444 HDMI-0 disabled connected priority 0 HDMI Modes: 445:1920x1080@60! 446:1920x1080@50 447:1280x720@60 448:1280x720@60 449:1280x720@50 450:720x576@50 451:720x480@60 452:640x480@60 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 453 DP-0 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 454 DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 455 DP-2 enabled connected priority 1 DisplayPort Modes: 445:1920x1080@60 446:1920x1080@50 448:1280x720@60 449:1280x720@50 450:720x576@50 451:720x480@60 452:640x480@60 456:2560x1440@60! 457:2560x1440@165* 458:2560x1440@144 459:2560x1440@120 460:1920x1200@60 461:1920x1080@165 462:1920x1080@144 463:1920x1080@120 464:1920x1080@60 465:1680x1050@60 466:1600x1200@60 467:1600x900@60 468:1280x1024@75 469:1280x1024@60 470:1152x864@75 471:1024x768@75 472:1024x768@60 473:800x600@75 474:800x600@60 475:640x480@75 476:640x480@60 Geometry: 0,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 477 DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 478 DP-4 enabled connected priority 2 DisplayPort Modes: 445:1920x1080@60 446:1920x1080@50 447:1280x720@60 448:1280x720@60 449:1280x720@50 450:720x576@50 451:720x480@60 459:2560x1440@120 463:1920x1080@120 464:1920x1080@60 465:1680x1050@60 468:1280x1024@75 469:1280x1024@60 470:1152x864@75 471:1024x768@75 472:1024x768@60 473:800x600@75 474:800x600@60 475:640x480@75 476:640x480@60 479:2560x1440@60! 480:2560x1440@165* 481:2560x1440@144 482:1920x1080@165 483:1440x900@60 484:1440x576@50 485:1440x480@60 486:1280x960@60 487:1280x720@120 488:1280x720@100 489:1024x768@70 490:800x600@72 491:800x600@56 492:640x480@73 Geometry: 2560,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 493 DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown


AFTER:
-----------------------
Output: 444 HDMI-0 disabled connected priority 0 HDMI Modes: 445:1920x1080@60 446:1920x1080@50 448:1280x720@60 449:1280x720@50 450:720x576@50 451:720x480@60 452:640x480@60 464:1920x1080@60! 476:640x480@60 484:1440x576@50 485:1440x480@60 543:1920x1080@24 Geometry: 0,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 453 DP-0 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 454 DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 455 DP-2 enabled connected priority 1 DisplayPort Modes: 445:1920x1080@60 446:1920x1080@50 448:1280x720@60 449:1280x720@50 450:720x576@50 451:720x480@60 452:640x480@60 456:2560x1440@60! 457:2560x1440@165* 458:2560x1440@144 459:2560x1440@120 460:1920x1200@60 461:1920x1080@165 462:1920x1080@144 463:1920x1080@120 464:1920x1080@60 465:1680x1050@60 466:1600x1200@60 467:1600x900@60 468:1280x1024@75 469:1280x1024@60 470:1152x864@75 471:1024x768@75 472:1024x768@60 473:800x600@75 474:800x600@60 475:640x480@75 476:640x480@60 Geometry: 0,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 477 DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 478 DP-4 enabled connected priority 2 DisplayPort Modes: 445:1920x1080@60 446:1920x1080@50 447:1280x720@60 448:1280x720@60 449:1280x720@50 450:720x576@50 451:720x480@60 459:2560x1440@120 463:1920x1080@120 464:1920x1080@60 465:1680x1050@60 468:1280x1024@75 469:1280x1024@60 470:1152x864@75 471:1024x768@75 472:1024x768@60 473:800x600@75 474:800x600@60 475:640x480@75 476:640x480@60 479:2560x1440@60! 480:2560x1440@165* 481:2560x1440@144 482:1920x1080@165 483:1440x900@60 484:1440x576@50 485:1440x480@60 486:1280x960@60 487:1280x720@120 488:1280x720@100 489:1024x768@70 490:800x600@72 491:800x600@56 492:640x480@73 Geometry: 2560,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 493 DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Comment 3 Nate Graham 2023-03-01 15:22:44 UTC
Oh that's good to hear! We did implement more fixes for 5.27.2, so it's plausible that this is fixed now. Let's close the bug report, but if you see the issue again, feel free to re-open it. Thanks!