Comments (3)
Thanks for the info @theamazingnorad ! Would you mind to open a PR and update the needed changes? Otherwise I could try to build on my Arch system as well and then open a PR. :)
from docker-steam-headless.
Description
As a dual AMD GPU user on Arch under KDE 6.0, I struggled to get this working. Three things I would recommend adding to the instructions.
- The default port information is misleading. The example .env uses 58083 yet the install guide references 8083.
- I had to go into 70-configure_xorg.sh to figure out why my x server was not running -- I was getting errors about Xauthority, but traced it down to not having a valid display device. I'm not sure what the DISPLAY variable of 55 is trying to do, but I ended up adding FORCE_X11_DUMMY_CONFIG=TRUE to my environmental variables to get Xorg in the container to create a dummy display and start.
- You have a commented out line in docker-compose to pass /dev/dri. I'd suggest adding a blurb that, for multiple AMD GPU users, you need to pass the specific GPU you want. So for me, /dev/dri/card1 and /dev/dri/renderD128. At that point, only my AMD 6500 passes and not my 6950XT. Confirmed working with vkvube from the container. I was having issues with it trying to run things on the wrong GPU which was already bound to Wayland in my host.
Anyways, these edits allowed me to get this working. My wife can now game off my 6500 in the container from her Mac while I play off my 6950XT. Hurray 5950X and 64 GB ram :)
With the setup you have achieved, are the 2 of you able to play at the same time?
from docker-steam-headless.
As a dual AMD GPU user on Arch under KDE 6.0, I struggled to get this working. Three things I would recommend adding to the instructions.
- The default port information is misleading. The example .env uses 58083 yet the install guide references 8083.
- I had to go into 70-configure_xorg.sh to figure out why my x server was not running -- I was getting errors about Xauthority, but traced it down to not having a valid display device. I'm not sure what the DISPLAY variable of 55 is trying to do, but I ended up adding FORCE_X11_DUMMY_CONFIG=TRUE to my environmental variables to get Xorg in the container to create a dummy display and start.
- You have a commented out line in docker-compose to pass /dev/dri. I'd suggest adding a blurb that, for multiple AMD GPU users, you need to pass the specific GPU you want. So for me, /dev/dri/card1 and /dev/dri/renderD128. At that point, only my AMD 6500 passes and not my 6950XT. Confirmed working with vkvube from the container. I was having issues with it trying to run things on the wrong GPU which was already bound to Wayland in my host.
Anyways, these edits allowed me to get this working. My wife can now game off my 6500 in the container from her Mac while I play off my 6950XT. Hurray 5950X and 64 GB ram :)
With the setup you have achieved, are the 2 of you able to play at the same time?
Correct. We wanted to play BG3, the Steam Deck struggles with this, and she was able to to Remote Play on her Macintosh from this docker container. Note that, in order to get it working, I bound the docker container to its own network adapter so it had a unique IP address on the network. Steam struggles to do Remote Play otherwise. I've since moved on to a Windows VM with GPU passthough since she wanted to play some games that require Anti Cheat sigh
I will try to spin this back up this weekend, however, while my wife is at work and make the PR on the instructions. The real issue here is that the docker documentation is....not good for AMD GPUs. I blame this primarily on the influence of CUDA and the primarily NVIDIA focus by enterprise users. I'll reference folks to Linus' opinion on NVIDIA for further commentary :p
from docker-steam-headless.
Related Issues (20)
- [Bug]: Error response from daemon: unknown or invalid runtime name: nvidia HOT 5
- [Bug]: In-game voice chat has output looped back to input
- Running the container while running an xserver HOT 3
- [Bug]: Steam crached on truenas scale HOT 4
- ProtonUp-Qt probably should be in the default install. HOT 1
- Wayland display server support for Sway or KDE Plasma HOT 1
- [Bug]: unrecognized option: "--no-multigpu" HOT 6
- [Bug]: Wrong language after restart
- [Bug]: xorg unable to start HOT 7
- [Bug]: Steam stuck at "Loading user data" HOT 5
- [Bug]: ProtonUp-Qt Won't Save - TF2 won't launch HOT 1
- [Bug]: ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
- Quality of Life improvement for user in Mainland China.
- [Bug]: container not using gpu HOT 3
- Migrate docker compose from v1 to v2
- Video Request HOT 1
- Add local audio support for HDMI output. HOT 1
- Unclear if supports AMD Radeon GPU HOT 11
- [Bug]: Uncaught TypeError: this.audio.fastSeek is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-steam-headless.