[Support] Josh5 - Steam (Headless)


Recommended Posts

i'm trying to set this up.  i can access it via novnc webpage.  i go to steamlink on an client.  i can see the computer.  the network test runs fine.  it shows the computer and my controller etc.  when i click start streaming it goes to a blue screen showing connecting to steamheadless that never seems to complete.  on some clients it seems to go indefinitelt and on some it seems to complete and goes to a black screen with spinning wheel for a bit before it seems to crash and restart the app.  also what needs to be done to give it access to my intel igpu if anything

Edited by duelistjp
Link to comment

My understanding is docker containers are already well optimised on linux. Its not like VM's where you need to dedicate cores & threads.

 

An excellent 2014 IBM research paper “An Updated Performance Comparison of Virtual Machines and Linux Containers” by Felter et al. provides a comparison between bare metal, KVM, and Docker containers. The general result is: Docker is nearly identical to native performance and faster than KVM (Virtual Machines) in every category.

https://dominoweb.draco.res.ibm.com/reports/rc25482.pdf

 

Edited by dopeytree
Link to comment
On 4/4/2023 at 6:05 AM, dopeytree said:

My understanding is docker containers are already well optimised on linux. Its not like VM's where you need to dedicate cores & threads.

 

An excellent 2014 IBM research paper “An Updated Performance Comparison of Virtual Machines and Linux Containers” by Felter et al. provides a comparison between bare metal, KVM, and Docker containers. The general result is: Docker is nearly identical to native performance and faster than KVM (Virtual Machines) in every category.

https://dominoweb.draco.res.ibm.com/reports/rc25482.pdf

 

Thank you for the insight!

 

 

I wonder if anyone here has ever gotten VirtualHere to work on this. ive been trying to use a G29 wheel for racing games

Link to comment

Longtime listener, first time caller...

 

Went out and bought a used GPU (rx580) to use with this Docker, but I think I am in over my head here.

This is my first unRaid server, and also my first time building a PC. So my knowledge is really limited. 

 

I installed the GPU no problem and after boot I see it under System Devices. Went ahead and fired up the steam headless container, but preformance was lacking so I figured it didnt use the GPU at all. 

 

After a bit of google I found out about vt-d. Booted into bios settings and changed to enable. Now the information under System Devices looks a bit different:

 

193734528_Skrmavbild2023-04-11kl_17_14_02.thumb.png.917267e9232d3581400fc5c160989b59.png

 

I checked the two boxes corresponding to my GPU and pressed the "Bind selected to vfio at boot". Dunno if this was right, but after that I now have to green indicators besides my GPU. 

And about here is where my google skills run out. Steam headless container still runs like it did the first time I tried it, so Im assuming it's not using the GPU. 

 

Sorry for the total n00b question, but I am at a loss here and don't know how to proceed.

 

Link to comment

This is a bit tough - I had this docker container working just dandy for a bit, but I needed to do a reinstall and no matter what, I can not get Steam to install/run in the container.  Even after deleting the appdata folder, killing the container, deleting the image and re-installing, Steam just won't launch.  When I try to run steam via the terminal in the container, I get the following error:

 

cat: '/home/default/.steam/debian-installation/ubuntu12_32/steam-runtime.tar.xz.part*': No such file or directory
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
find: ‘/home/default/.steam/debian-installation/ubuntu12_32/steam-runtime’: No such file or directory

 

I've chased this error down quite a bit and eventually a .tar.gz can appear and be installed but then Steam just launches a blank box anyways.

 

Anyone else encountered this?  Happens when I run with or without nvidia drivers.

Link to comment

Hey guys,

 

Setting up went well. It properly detects my 1070ti, and I logged in with steam and downloaded some games.

 

My question is. How to get better performance in a browser. The NoVNC client is running at about 0.2-0.5 Frames a second. Am I missing something?

 

Thanks!

Link to comment
On 4/15/2023 at 3:20 PM, wtfreely said:

This is a bit tough - I had this docker container working just dandy for a bit, but I needed to do a reinstall and no matter what, I can not get Steam to install/run in the container.  Even after deleting the appdata folder, killing the container, deleting the image and re-installing, Steam just won't launch.  When I try to run steam via the terminal in the container, I get the following error:

 

cat: '/home/default/.steam/debian-installation/ubuntu12_32/steam-runtime.tar.xz.part*': No such file or directory
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
find: ‘/home/default/.steam/debian-installation/ubuntu12_32/steam-runtime’: No such file or directory

 

I've chased this error down quite a bit and eventually a .tar.gz can appear and be installed but then Steam just launches a blank box anyways.

 

Anyone else encountered this?  Happens when I run with or without nvidia drivers.

I've got this same issue as well. Seems to have just popped up in the past few days, maybe as a result of a steam client update? Reinstalling the image doesn't fix it, which I'm assuming means that there's a problem with the template itself.

Link to comment

Figured it out. You need to delete the .steam folder in your appdata. This seems to happen when you start the container the first time before you've created the games share/directory. As a result, steam will run until a client update is required but since it can't update the right folder, it fails to run.

Link to comment

This has less bloat (windows) which means you get better performance. Containers have better direct access to hardware than a gaming VM will. Proton is a windows to linux translation layer created and mainted by valve who make steam. It is also used in their steamdeck.

 

It worth trying both out. 

 

For me I found I was getting much better raytracing performance in cyberpunk2077 on with this than on my gaming VM. 

 

However these days I have a steamdeck so mainly use that (it still uses proton)

 

You could also try a linux VM vs windows VM.

Link to comment

I love this thank you so much. I would like to make a request or two. I just started playing with this but didn't see this anywhere.

 

Can we get a setting to add steamtinkerlauncher?

 

https://github.com/sonic2kk/steamtinkerlaunch

 

I also have a game that has 3rd party app that installs through flatpak and I have gotten it to install just fine but you know docker and with updates I have to re install it. I have tried moving the install in such a way that it's outside the docker container but I keep missing something that still resets it every update. I know I'm pushing the container a little more than what it was designed for but a setting for flatpak or some help with what I need to move outside the container would be of much help.

 

Again thank you!

 

I Just found the ProtonUP setting NVM

Edited by zephiriz
found setting
Link to comment

lutris install is broken

 

[ USER:/home/default/init.d/install_lutris.sh: executing... ]
deb http://download.opensuse.org/repositories/home:/strycore/Debian_10/ ./
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://nvidia.github.io/libnvidia-container/stable/debian10/amd64  InRelease
Hit:5 https://nvidia.github.io/nvidia-container-runtime/stable/debian10/amd64  InRelease
Hit:6 https://nvidia.github.io/nvidia-docker/debian10/amd64  InRelease
Get:7 http://download.opensuse.org/repositories/home:/strycore/Debian_10 ./ InRelease [1,497 B]
Fetched 1,497 B in 0s (3,438 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lutris : Depends: gir1.2-webkit2-4.1 but it is not installable
          Recommends: python3-evdev but it is not going to be installed
          Recommends: gvfs-backends
          Recommends: libwine-development but it is not installable
          Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sed: can't read /usr/share/applications/net.lutris.Lutris.desktop: No such file or directory

 

Link to comment

Hi All -

 

I've searched for an answer, but I am at a loss. I cannot seem to get audio to work at all during streaming.  I assume there is some basic thing I'm missing, but I cannot figure out what.  Sound works if I stream from my regular windows instance to another machine, but with the steam headless, it won't produce any sound

 

To add, this isn't all games, but games like Uncharted 4, Witcher, etc. 

Edited by Mglomniac
Link to comment
7 hours ago, sage2050 said:

Is this still being maintained and updated? The container got an update a few days ago but there are no new commits or releases on the git repo

Yup. I'm still maintaining the current status. A few minor things are broken like the app install scripts, but so long as the container can run steam games, I'm happy. Users can follow instructions online to install lutris if they want it...

 

Just to reiterate, I don't provide support in this forum any longer, all support and discussion happens on the discord server and is agnostic if unraid. If anyone wants to talk to me directly, you can come join us at https://unmanic.app/discord

 

The container has a pipeline to automatically fetch the latest updates once a week. That's why you are seeing docker image updates weekly without commits.

 

Since I manage a bunch of open source projects, my time gets split across them, this one has not received any love for a few months as I moved and never setup my server at the new place until last week. I've been busy writing new applications and updating other projects. Eventually steam headless will get more dev time from me for new features.

Edited by Josh.5
  • Like 1
Link to comment

I'm not sure what, if anything, changed, but Steam won't load anymore.

https://paste.tildeverse.org/?4da33b40d48b5fc0#H6daqGwmPFVxQeL5K3hoka6pP2vyBWJZNfpB5Ww3nBgo is the output running steam from the terminal. I keep getting a bus error and nothing seems to get me past it.

 

Tried: removing the .steam directory and starting steam both normally and with steam --reset; tried -tcp, -no-cef-sandbox, all of them and in combination; uninstalled the container & removed the appdata then reinstalled; waiting and trying steam again at different times over the last 48 or so hours; updated packages via apt and reinstalled steam from there.

 

So far, nothing has worked. I've joined and posted on the discord too.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.