Skip to content
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

This docker is pure magic #36

Open
chaos0frenzy opened this issue Apr 16, 2023 · 15 comments
Open

This docker is pure magic #36

chaos0frenzy opened this issue Apr 16, 2023 · 15 comments
Labels
status:awaiting-triage type:enhancement New feature or request for feature enhancement

Comments

@chaos0frenzy
Copy link

Is your feature request related to a problem?

No response

What is your feature request?

This might not be the place for this but I wanted to thank you for all your work this is the coolest docker I have ever seen. I need you to know it’s greatly appreciated.

Are there any workarounds?

No response

Additional Context

No response

@chaos0frenzy chaos0frenzy added status:awaiting-triage type:enhancement New feature or request for feature enhancement labels Apr 16, 2023
@VoxTrek
Copy link

VoxTrek commented Apr 16, 2023

Thank you so much for this docker container!
I want to mention how good the quality is of this docker container.
My homelab is Dell T150, nVidia T400 ;-) , 300 Watt PSU, 72 GB ECC RAM. 25TB ZFS. Proxmox and docker. Plex & Jellyfin with HW encoding.

Here is my docker-compose.yml file:
Only had to add runtime: nvidia to force the docker container to install nvidia gpu drivers.
The sound worked directly via the web NOVNC access or via Steam client.

version: '3'

services:
steam-headless:
container_name: steam
image: josh5/steam-headless:latest
restart: unless-stopped
runtime: nvidia
## NOTE: Requires privileged access to host to be able to access the required devices
privileged: true
shm_size: 2GB
ipc: host # Could also be set to 'shareable'
ulimits:
nofile:
soft: 1024
hard: 524288

# NETWORK:
## NOTE:  Steam headless always requires the use of the host network.
##        If we do not use the host network, then device input is not possible
##        and your controllers will not work in steam games.
network_mode: host
hostname: steam
extra_hosts:
  - "dell:192.168.0.187"

# ENVIRONMENT:
## Read all config variables from the .env file
#env_file: .env

# VOLUMES:
volumes:
  # The location of your home directory.
  - /shared/docker/steam/home/:/home/default/:rw
  # The location where all games should be installed.
  - /shared/docker/steam/games/:/mnt/games/:rw
  # Input devices used for mouse and joypad support inside the container.
  - /dev/input/:/dev/input/:ro
  # The Xorg socket. This will be shared with other containers so they can access the X server.
  #- /opt/container-data/steam-headless/.X11-unix/:/tmp/.X11-unix/:rw
  # Pulse audio socket. This will be shared with other containers so they can access the audio sink.
  #- /opt/container-data/steam-headless/pulse/:/tmp/pulse/:rw

Now we can play for example Half-life 2 with more than 60 fps running on the server streaming to a Steam client.
Always nice to have an extra game system in the house.

@Crydsch
Copy link

Crydsch commented May 14, 2023

I too, want to thank you for this project!

Having tried a lot of other things to get remote gaming to work .. and failing with all of them.
This was the last one I found and to my surprise - it just works:tm: :D

I am using this with a nvidia GPU and even the hardware acceleration just worked out of box.
Now I can game on a very old low powered laptop by using the already existing GPU server.

Thank you so much! <3

@stuCONNERS1983
Copy link

This is an amazing docker container. Works fantastic on Open Media Vault with full GPU access. Thank-you for your hard work.

@Josh5
Copy link
Collaborator

Josh5 commented Jun 28, 2023

It is so cool to hear feedback like this. This absolutely makes my day!

@tnielsen2
Copy link
Contributor

Yes, thank you very much for your work on this project. I sent a coffee your way as a way to say thanks!

@ponlayookm
Copy link

ponlayookm commented Sep 21, 2023

I'm using Azure's GRID driver, and I think the script's downloaded normal 535 makes X11 crash every time.
In order for Tesla T4 cards to operate in 3D graphic mode, it needs GRID driver.
https://www.youtube.com/watch?v=5nLhKhnQRjo

@Maxoobidou
Copy link

Maxoobidou commented Oct 3, 2023

I can't install it yet (waiting for it to be available on Truenas), but I wanted to thank you too for taking on the challenge.
This looks awesome and I can't wait to try it !

@Josh5
Copy link
Collaborator

Josh5 commented Oct 5, 2023

I can't install it yet (waiting for it to be available on Truenas), but I wanted to thank you too for taking on the challenge.
This looks awesome and I can't wait to try it !

Truenas scale?

@Maxoobidou
Copy link

Yes !
They've been really growing the official community apps repo lately, would be cool if Steam-headless could get on there :)
If not, Truecharts is a third-party repo that is easy to use too.

@Josh5
Copy link
Collaborator

Josh5 commented Oct 6, 2023

Yes !
They've been really growing the official community apps repo lately, would be cool if Steam-headless could get on there :)
If not, Truecharts is a third-party repo that is easy to use too.

Would you consider sponsoring a TrueNAS Scale development box?

@Cheerpipe
Copy link

Cheerpipe commented Nov 8, 2023

Also want to say "Thanks".

Steam Headless is working incredible well in my Ubuntu Home Server, even with an nvidia card. It is just magic!.

Steam Headless is also incredible flexible, extensible and customizable. I learned a lot of new thing (Linux noob here) creating my init.d scripts. Things like libstrangle and gamemode works well. Gamescope don't work because a nvidia bug but it will get fixed in the next driver release acording to nvidia reps (hope so).

PD: Also using the WOL feature and it works well, i just changed the timeout from 60 to 15 minutes to save more energy (Would be nice control WOL timeout using a env variable at docker level). It was a clever idea use a "simulated" sleep state and use wol packet to just start services again.

@Maxoobidou
Copy link

Yes !
They've been really growing the official community apps repo lately, would be cool if Steam-headless could get on there :)
If not, Truecharts is a third-party repo that is easy to use too.

Would you consider sponsoring a TrueNAS Scale development box?

Yes ! Sorry for the late reply, didn't catch the message.
What would that entails ? Truenas scale can be installed on pretty much anything. I can also do tests on my side if needed, I have an old AMD card lying around somewhere.

@andremmfaria
Copy link

As many others mentioned already. I would like to say THANKS (caps) to you for doing this. I have a TrueNas with an NVIDIA card and recently found this project on truecharts.
image

I would just like to reiterate the creation of documentation for anyone who would like to use this project with TrueNas. I would be interested in being part of that documentation if needed.

Thanks a lot for your hard work.

@Josh5
Copy link
Collaborator

Josh5 commented Mar 24, 2024

As many others mentioned already. I would like to say THANKS (caps) to you for doing this. I have a TrueNas with an NVIDIA card and recently found this project on truecharts. image

I would just like to reiterate the creation of documentation for anyone who would like to use this project with TrueNas. I would be interested in being part of that documentation if needed.

Thanks a lot for your hard work.

Awesome.
I am thinking about creating a docs site for this project soon. Help with this TrueNAS documentation would be very welcome.

@Fuckingnameless
Copy link

I'm using Azure's GRID driver, and I think the script's downloaded normal 535 makes X11 crash every time. In order for Tesla T4 cards to operate in 3D graphic mode, it needs GRID driver. https://www.youtube.com/watch?v=5nLhKhnQRjo

do you know if tesla pascal needs grid drivers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:awaiting-triage type:enhancement New feature or request for feature enhancement
Projects
None yet
Development

No branches or pull requests