Open daniel86 opened 8 months ago
This would not work as you are describing. Xorg needs a dedicated gpu. It also manages the keyboard and mouse inputs. Even if you had configured this correctly to make it work with your desktop (which you already can), you would not be able to use your desktop while a game is being played. The game in the container would react to all inputs from your host desktop, and your host desktop would react to all inputs from your container.
While i am exploring options for multi seat support, this simply is not yet possible with a single nvidia gpu at the moment.
ok that's a pity. I am not aware of how input is handled with the remote play in steam. To me it seems desirable to isolate host input, after all I only intend to use an input device which is attached to the client (a TV). but well seems for the moment I should rather start thinking about a multi gpu setup.
Thanks for the quick response!
What about when using a laptop with a hybrid GPU? In my laptop I set up the Intel GPU to be my main, and offload heavy apps, like games to my NVIDIA GPU.
Would I be able to configure it?
Is your feature request related to a problem?
It might be that an issue I am facing is caused by running the container on a desktop where the graphics card is in use for a desktop environment with monitors attached (some other reports in the web indicated that to me),
The problem is that the x server keeps crashing in the container (even though running the privileged docker-compose file):
What is your feature request?
I would like to run the steam-headless container on a desktop where the graphics card of the host is used for both the rendering of games in the container and the desktop environment with two physical monitors. Basically having a steam daemon on my desktop computer.
The reason I think this makes sense is that I sometimes would like to allow people to play games on my desktop while I do something else with the computer. Also I could let people play on my TV, leave the house without leaving my computer unlocked.
Another advantage is that the container can auto-start on bootup. so e.g. wake-on-lan would play nicely with such a setup without the need to unlock the desktop.
Are there any workarounds?
Kind of. I can run steam GUI on my host, then connect to it from my TV. But it blocks the desktop.
Additional Context
No response