New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test on Windows with WSL2 #13
Comments
Hello! I stumbled across this repo today and it looks very interesting. I am curious, would HW acceleration work with WSL? |
That's a very good question to which I don't have an answer. I'm not even sure that WSL will expose the underlying GPU like you do on Linux via We are currently focusing our efforts on Linux, to be fair, the more I think about running GOW on Windows, the more I'm convinced it's not worth the effort compared to just running the .exe |
It might be worth to investigate on https://github.com/microsoft/wslg |
There is a published nvidia guide for WSL2 and docker : https://docs.nvidia.com/cuda/wsl-user-guide/index.html |
Did anyone retried to implement GOW with WSL2 since the addition of systemd and the 2022 new kernel features? |
AFAIK no, and to be fair, I'm not sure I see the point; as things are right now Sunshine works perfectly well natively on Windows, and why would you run games in a Docker container via proton or the likes when you can just run them natively on the host? I'm open to suggestions and POW, but right now, I'm focusing all my efforts in Linux. |
Just tried on my WSL 2 Ubuntu 20.04 install + WSLg + CUDA 11.4 which I use for ML. HeadlessFails to start X11. The suggested hack with EDID did not work. I still get HostI installed and ensured GEdit works. Launching Steam container actually shows Steam login window in Windows, but Sunshine fails to start:
Windows
Two goals really: containerization and running headless (+ as a bonus in arbitrary resolutions and multiple games at once from the same host?) |
After updating wsl with The relevant bits appear to be:
Moonlight complains about access to UDP 47999, which I take it means Sunshine failed to start the control stream. |
Thanks for reporting this, by a quick look at the logs I think you are hitting multiple issues: Issues
Goals
Sunshine supports multiple users sharing a single screen (ex: co-op games). We are building a completely different solution in order to support headless virtual HW accelerated displays for multiple users which is called Wolf. I can only say, keep an eye on this space because we are getting close to something that looks like a solution. 😅 |
|
WSL2 is missing the
uinput
kernel module. There's a way to get it which involves recompile the kernel, try following the instructions at https://gist.github.com/cerebrate/d40c89d3fa89594e1b1538b2ce9d2720The text was updated successfully, but these errors were encountered: