Summary: | [Wayland] kwin uses VR headset as monitor | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | farmboy0 |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chriswhy, nate, xaver.hugl |
Priority: | NOR | ||
Version: | 5.18.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/4462ecf6ef142f6013dda0b0229dcbefafbb13bd | Version Fixed In: | 5.21 |
Description
farmboy0
2020-03-19 22:45:17 UTC
We ignore the "non-desktop" property set on connector objects. I assume that's the reason why HMDs are treated as monitors. It's on my list - I'll look into this once the multi GPU stuff is complete. It will probably take a lot of effort to make VR work properly, even with a lot of the work in that direction being already done (see https://drewdevault.com/2019/08/09/DRM-leasing-and-VR-for-Wayland.html) but ignoring non-desktop displays should be rather straightforward. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/378 Git commit 4462ecf6ef142f6013dda0b0229dcbefafbb13bd by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 25/10/2020 at 19:18. Pushed by vladz into branch 'master'. Detect some DrmConnector properties and ignore non-desktop displays M +4 -0 plugins/platforms/drm/drm_gpu.cpp M +3 -2 plugins/platforms/drm/drm_object.cpp M +4 -0 plugins/platforms/drm/drm_object.h M +1 -0 plugins/platforms/drm/drm_object_connector.cpp M +5 -2 plugins/platforms/drm/drm_object_connector.h https://invent.kde.org/plasma/kwin/commit/4462ecf6ef142f6013dda0b0229dcbefafbb13bd *** Bug 428985 has been marked as a duplicate of this bug. *** Is this in 5.21, or would it end up in 5.22 instead? It's in 5.21 |