https://bugs.kde.org/show_bug.cgi?id=483810

            Bug ID: 483810
           Summary: Dynamically start/stop Xwayland
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: platform-x11-nested
          Assignee: kwin-bugs-n...@kde.org
          Reporter: deresi...@protonmail.ch
  Target Milestone: ---

SUMMARY
I want to be able to dynamically start and stop Xwayland. It's helpful for
multi GPU VM passthrough since xwayland seems to holds onto my secondary GPU.
If Xwayland could be dynamically started and stopped, I would be able to:
1. Run wayland with Xwayland for X11 only apps
2. Stop Xwayland when I start up my GPU passthrough VM
3. Start Xwayland again so that it only uses the GPU which hasn't been passed
though to my VM
4. When I stop my VM, I can restart Xwayland again and Xwayland can use both
GPUs now
5. All of the above without having to restart kde plasma/kwin_wayland

It might also help with optimus on laptops here:
https://discuss.kde.org/t/is-there-any-way-to-restart-xwayland-without-closing-session-and-restarting-kwin-wayland/1741

Currently, I have removed the --xwayland option for kwin_wayland_wrapper but
this means I don't have support for any X applications at all.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to