Multi-seat support #10336
Replies: 5 comments 3 replies
-
This was previously discussed in #1731, some guy had some work done on it, though I am not sure if it would still be useful. |
Beta Was this translation helpful? Give feedback.
-
5 likes @vaxerski |
Beta Was this translation helpful? Give feedback.
-
I need some specifics. What part of multi-seat support do you need that's missing? Sure, we expose one seat (by design) - and I am generally against doing otherwise. |
Beta Was this translation helpful? Give feedback.
-
For a long time I thought the only form of multiseat on linux was logind's seat system. Until I learned that sway has something implemented to support it in a single compositor instance and as it turns out even the wayland spec mentions some kind of seats, separate from logind ones. There are still plenty of subsystems that would not support this I imagine, like running multiple user sessions on a single wayland socket. It's just broken by design imo. Unless it's intended to run as a single user. Btw, you mentioned the rising cost of GPUs. You don't actually need a powerful GPU for each seat. You can run applications on secondary seats using "primary GPU" similarly how you would on laptop PCs. Either with DRI_PRIME env if it's a hardware supported by Mesa, or prime-run on Nvidia. I'm not actually certain though for Nvidia. The machines I tested it on had either intel iGPU & AMD dGPU or AMD iGPU & AMD dGPU. I also tried this on super cheap USB to VGA adapter, which despite what it does, can be used by logind as a separate seat. Although it has some problem with aforementioned way of using "primary GPU" which causes it to use software rendering. In any case. In my opinion the real solution to wayland multiseat requires changes in logind multiseat or DRM subsystem. Not certain what or how exactly it needs to change, but from user's end who configures their machine for multiseat I hope this info is useful for anyone who comes across this thread. Perhaps somebody even makes a PoC of my suggested solution. |
Beta Was this translation helpful? Give feedback.
-
I want to join this discussion to more clearly define a use case. I would like to be able to use my computer normally, while there can be another hyprland instance, running off of the same GPU preferably, but with a headless output, a virtual(or not necessarily) cursor and keyboard (I suppose this is where they get bound to a different seat). Ideally, I would be able to do anything I can do in the first session if I am able to remote into it, or assign it a different set of peripherals. Most times I believe one would RDP into it, VNC into it, or sunshine/moonlight into it.
@Lassebq I imagine you can provide better information about potential blocks outside of Hyprland given your experience. If the only blocking points are "nobody has bothered to do this", I would be willing to pay at least in part for the development time of such a feature. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, seat-based hardware access is not strictly enforced; utilities such as
loginctl
merely offer hints, and support depends on implementation at the software level. Introducing robust multi-seat support in the compositor would be extremely valuable. It would enable multiple developers to effectively share a single machine—a practical solution given the rising cost of hardware and stagnant salary growth. Very beneficial for indie game developers. The implementation shouldn't be as hard.Beta Was this translation helpful? Give feedback.
All reactions