Bug 457695 - Issues with external display
Summary: Issues with external display
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.25.4
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 20:54 UTC by Robin Tetour
Modified: 2022-08-10 17:52 UTC (History)
1 user (show)

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


Attachments
Glitchy right click menu. (631.50 KB, image/png)
2022-08-09 20:55 UTC, Robin Tetour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Tetour 2022-08-09 20:54:27 UTC
SUMMARY
I am using eGPU but all of these issues are still present when the eGPU is unplugged. There are several issues with external display.

One is that the KWin freezes when there is a display set as primary disconnected. The Kwin should recognize this and adjust remaining displays accordingly.

The external display altogether feels janky at best. When playing a game on that display the framerate is bad even though the game is reporting 60fps. When I run the same game at the same settings on the internal laptop display everything works as expected.

Also last issue with that particular display is the glitchy menu. On the internal laptop screen it works fine. On the external display it's glitched (but works). Screenshot attached.

STEPS TO REPRODUCE
1. Connect external monitor
2. Change the external monitor to primary
3. Disconnect the monitor

OBSERVED RESULT
Freeze upon disconnecting the primary monitor. This is pretty much the most critical issue.
Kwin also has trouble running games on the external monitor smoothly - mangohud reports 62fps but the gameplay feels more like 30. This issue dissapears when running the game on the internal laptop screen.
The right click menu is glitchy on the external monitor but on the internal laptop display the menu works and looks as intended. (screenshot below)

EXPECTED RESULT
KWin should logically change different available monitor to primary and adjust according to that to avoid crash/freeze.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 36
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

Laptop: Lenovo Yoga Slim 7 ProX 14IAH7
Comment 1 Robin Tetour 2022-08-09 20:55:49 UTC
Created attachment 151204 [details]
Glitchy right click menu.
Comment 2 Nate Graham 2022-08-10 17:52:36 UTC
> There are several issues with external display.
I'm afraid we need separate bug reports for separate issues, as mega-bugs that report several things are not actionable. See https://community.kde.org/Get_Involved/Issue_Reporting#Multiple_issues_in_a_single_Bugzilla_ticket.

I can tell you ahead of time that your glitchy right-click menu issue is Bug 432264. But the other issues you describe are not familiar to me, so we'll need individual new bug reports for them. Can you open new bug reports, one per issue? Thanks!