Input isolation between Sunshine instances running in multiple docker containers #793
Unanswered
XT-Martinez
asked this question in
Sunshine
Replies: 1 comment
-
Hi, I actually just tried to answer a similar question right now! #770 The solution I have right now that may work is to use a modified version of gamescope (waiting for upstream to hopefully look at it) that allows binding and holding evdev devices, and thus being in an entirely isolated display. Not sure if this is what you want, as it is slightly differently implemented, but avoids evdev rules, and should be simple enough to get you running (but may not be the best solution) I don't really use sunshine yet, so I am just doing this because I found someone trying something I just was working on :P |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Feature Request
Body
I understand the Sunshine now uses Inputtino which relies on udev.
Would it be possible to set the
UNIQ
attribute of the virtual input devices created by Sunshine using an environment variable?I'm trying to achive multi-seat game streaming (similar to Wolf) but with Sunshine.
I was able to emulate the process in Wolf where the udev events are faked inside the container to support input device hotplugging.
However, my issue is that the input devices are being shared across all docker containers due to the lack of "tagging".
I was hoping to use the
UNIQ
attribute of the input device as a tag so that the input device only gets mounted to the container that created it.The value of the
UNIQ
tag can be set via an environment variable.I will use the same
UNIQ
tag to create a udev rule so that the input device will be ignored by the host system.Here's the draft of my project so far (mostly written by AI)
https://github.com/XT-Martinez/labwc-headless-docker
Beta Was this translation helpful? Give feedback.
All reactions