[Support] Josh5 - Steam (Headless)


Recommended Posts

3 hours ago, derek_zoolander said:

 

@Josh.5, I figured out the solution to this.  Are you able to add

 

/dev/snd/*

 

to this line in your 10-setup_user.sh?

 

device_nodes=( /dev/uinput /dev/input/event* /dev/dri/* /dev/snd/*)

 

Adding this line enables me to use my onboard audio card

Awesome. Sure thing 

  • Thanks 1
Link to comment

Hello,

 

I would love to give my feedback
I am running a Dell r720 with

 

2x Xeon E5-2690 @2.9GHz

256G of ram

2060 Super

 

I have the steam headless installed n app data on a btrfs cashe only drive

and steam game folder running off a ntfs unassigned device

 

Currently my testing is on Linux supported games only

Binding of Issacs worked everywhere

but Half-life 2 will only work when installed on a ntfs drive (Read this hole thread to figure that one out)

but I still have other "Modern" games that will load then crash 2 examples ate Borderlands 2 and Halo infinite.

 

Can anyone supply any idea what might be the cause why they will try to load then just crash?

Link to comment

I've noticed latley my nvidia rtx a2000 seems to having more like it's been passsedthrough to a VM when used in dockers.

 

Steamheadless is running and making use of the card. When that happens the card no longer outputs a video signal to the TV casuing this code error to appear in the unraid log:

Dec  3 09:55:32 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:32 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:35 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:35 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:35 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:35 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:36 Moulin-Rouge kernel: traps: light-locker[24133] trap int3 ip:14d76b777ca7 sp:7ffce24d21e0 error:0 in libglib-2.0.so.0.6600.8[14d76b73b000+88000]
Dec  3 09:55:51 Moulin-Rouge  emhttpd: read SMART /dev/sdf
Dec  3 09:55:58 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:55:58 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:56:00 Moulin-Rouge kernel: traps: xdg-desktop-por[25388] trap int3 ip:153139c26ca7 sp:7ffdf0571510 error:0 in libglib-2.0.so.0.6600.8[153139bea000+88000]
Dec  3 09:56:00 Moulin-Rouge kernel: traps: xdg-desktop-por[25349] trap int3 ip:1522ceb10ca7 sp:7fffb2f9a690 error:0 in libglib-2.0.so.0.6600.8[1522cead4000+88000]
Dec  3 09:56:26 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:56:26 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 09:56:36 Moulin-Rouge kernel: fossilize_repla[27672]: segfault at dc0 ip 0000561cb3c07ead sp 000015249261c940 error 4 in fossilize_replay[561cb3bbb000+23e000]
Dec  3 09:56:36 Moulin-Rouge kernel: Code: 00 85 c0 74 13 48 8b 76 08 e9 0f ed ff ff 0f 1f 80 00 00 00 00 45 31 c0 44 89 c0 c3 90 8b 46 10 85 c0 75 61 55 53 48 83 ec 08 <48> 8b 2f 0f b6 85 c1 0e 00 00 84 c0 74 0d 48 83 c4 08 5b 5d c3 66
Dec  3 09:56:36 Moulin-Rouge kernel: fossilize_repla[27670]: segfault at dc0 ip 0000561cb3c07ead sp 00001524ac676940 error 4 in fossilize_replay[561cb3bbb000+23e000]
Dec  3 09:56:36 Moulin-Rouge kernel: Code: 00 85 c0 74 13 48 8b 76 08 e9 0f ed ff ff 0f 1f 80 00 00 00 00 45 31 c0 44 89 c0 c3 90 8b 46 10 85 c0 75 61 55 53 48 83 ec 08 <48> 8b 2f 0f b6 85 c1 0e 00 00 84 c0 74 0d 48 83 c4 08 5b 5d c3 66
Dec  3 09:56:37 Moulin-Rouge kernel: fossilize_repla[27669]: segfault at dc0 ip 0000561cb3c07ead sp 000015249261c940 error 4 in fossilize_replay[561cb3bbb000+23e000]
Dec  3 09:56:37 Moulin-Rouge kernel: Code: 00 85 c0 74 13 48 8b 76 08 e9 0f ed ff ff 0f 1f 80 00 00 00 00 45 31 c0 44 89 c0 c3 90 8b 46 10 85 c0 75 61 55 53 48 83 ec 08 <48> 8b 2f 0f b6 85 c1 0e 00 00 84 c0 74 0d 48 83 c4 08 5b 5d c3 66

 

It didn't happen before so trying to work out if its a bug in Unraid 6.11.5 or steamheadless bug or driver bug?

 

Obviously VNC all works.

 

Card is 2nd GPU.

 

The main intel gpu is on a separate HDMI cable.

The nvida card uses a mini DP -> HDMI port which is always plugged in.

It's not a big deal just odd it stopped working.

Edited by dopeytree
Link to comment
On 2/9/2022 at 4:02 PM, Josh.5 said:
On 2/9/2022 at 3:00 PM, Joly0 said:
Hey, i have a weird issue. After one of the last updates, the container doesnt start anymore, it keeps looping through this cycle:

Build: [02/08/22 01:36:51] [master] [75c2df31157b4b86e9a712e0d9a866152ffab516]

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting run user uid=100(default) gid=99(default)
Adding run user to video, input and audio groups
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/run/user/99'
Adding default home directory template
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH service ****
DONE

[ /etc/cont-init.d/30-configure_dbus.sh: executing... ]
**** Configure container dbus ****
Container configured to run its own dbus
DONE

[ /etc/cont-init.d/30-configure_udev.sh: executing... ]
**** Configure container to run udev management ****
**** Ensure the default user has the correct permissions on input devices ****
Allow /dev/uinput r/w to the group
Adding user 'default' to groups: user-gid-71,root

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Configuring Locales to de_DE.UTF-8 UTF-8 ****
Generating locales (this might take a while)...
de_DE.UTF-8... done
en_US.UTF-8... done
Generation complete.
DONE

[ /etc/cont-init.d/50-configure_pulseaudio.sh: executing... ]
**** Configure pulseaudio ****
Configure pulseaudio to pipe audio to a socket
DONE

[ /etc/cont-init.d/70-configure_vnc_audio.sh: executing... ]
**** Configure VNC audio ****
Disable audio stream
Disable audio websock
DONE

[ /etc/cont-init.d/80-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA T600' ****
Downloading driver v510.39.01



and that over and over again. Any ideas?

Perhaps it is failing to download or install the driver

Is there any way to fix that? I am getting the same issue with my GTX 980 I'm trying to pass through. Just a continuous boot loop trying to match the host driver (see below)

steam-headless failure.png

Edited by randerson8804
Attached log
Link to comment

Latest update is causing my server to lockup after about an hour. This then needs a reboot.

Also noticed it keeps starting the docker when it's not set to auto-start.

 

Error message mentions 'libglib'?

 

Thanks for your help.

 

Dec  3 20:22:48 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:22:48 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:22:50 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:22:50 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:22:51 Moulin-Rouge kernel: traps: light-locker[21484] trap int3 ip:14aa81afaca7 sp:7fff3d7973b0 error:0 in libglib-2.0.so.0.6600.8[14aa81abe000+88000]
Dec  3 20:22:51 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:22:51 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:23:06 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:23:06 Moulin-Rouge kernel: nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-0
Dec  3 20:23:07 Moulin-Rouge kernel: traps: xdg-desktop-por[23501] trap int3 ip:1474a6321ca7 sp:7ffde31a2030 error:0 in libglib-2.0.so.0.6600.8[1474a62e5000+88000]
Dec  3 20:23:07 Moulin-Rouge kernel: traps: xdg-desktop-por[23467] trap int3 ip:154160487ca7 sp:7ffdc0c833e0 error:0 in libglib-2.0.so.0.6600.8[15416044b000+88000]

 

moulin-rouge-diagnostics-20221203-2025.zip

Link to comment

Hi, 

 

Josh5 work on this on its repository (Dockerfile.archlinux). I had test to start the docker but for now he don't work I had an issue on startup Xorg. if I can make it work I will share (there is not much work but I am not an expert so I am moving slowly) 

Edited by Gunnm
Link to comment

If anybody help I had two errors : 

2022-12-15 17:38:27,186 INFO spawnerr: command at '/usr/bin/start-xorg.sh' is not executable
2022-12-15 17:38:27,188 INFO spawned: 'novnc' with pid 187
2022-12-15 17:38:27,189 INFO spawned: 'pulseaudio' with pid 188
2022-12-15 17:38:27,190 INFO spawned: 'vncproxy' with pid 189
2022-12-15 17:38:27,190 INFO spawnerr: command at '/usr/bin/start-x11vnc.sh' is not executable
2022-12-15 17:38:27,191 INFO spawned: 'desktop' with pid 190

 

I don't understand where this script are executable (when I do manually doesn't work too) 

Edited by Gunnm
Link to comment

I'm getting the "sound but no video" bug when connecting remotely via Steam Link. Running on an AMD graphics card with a dummy HDMI plug, and the Radeon-Top plugin is installed. If this can be fixed with a simple settings change, I haven't been able to figure it out yet. Googling the issue seems to suggest that it could be related to the Advanced Host Settings or the GPU driver settings, but nothing I change in Steam's settings seems to have fixed it and I don't know my way around Linux enough to mess with driver settings. So I'm stuck. Any advice is appreciated.

Link to comment
On 12/8/2022 at 12:07 AM, IronBeardKnight said:

Hi guys,

 

I can see others have posted about a similar issue but I cannot seem to find where the solution may have been posted.

 

I cannot seem to get past this error.

@Josh.5 any advise mate is greatly appreciated and for others that may also be getting this as well.

image.png.b1b8acb5623ec653ccd69c86db42ef42.png

Has anyone able to guide through this issue or even get this docker container working on unraid.

Trying to use my primary/only gpu but none of the display options seem to work.

 

Link to comment
23 hours ago, dopeytree said:

Anyone know how to install sunshine? it's a better streaming solution than steam's link software & you then use moonlight as the client to play https://moonlight-stream.org

 

https://github.com/LizardByte/Sunshine/releases/tag/v0.16.0

its already included - just set a docker environment variable ENABLE_SUNSHINE to true

 

it should be available after the container start at: https://[unraid-ip]:47990/ (where you can also enter the pin to link new clients)

  • Like 2
Link to comment

I'm also getting a really annoying stutter. It's about every ten seconds or so, video will hang for about a second before continuing. It's not just while playing games but also in the Big Picture UI, after connecting through Steam Link. I was connected via WiFi at first, and when the stutter would happen I'd see it as the Ping jumping from less than a millisecond up to about 10 milliseconds. So then I hard wired the client to the network, and I still get the stutter but it shows as a reduction in the incoming bitrate rather than an increase in the Ping.

 

This isn't the direct/relay problem, because I can see in the details that I'm getting a direct connection.

 

Is the issue more likely to be related to my network or related to the server itself? I don't know any reason the local network wouldn't be running extremely fast. Or if it's related to the server, is there a way I can see what resource might be getting maxed out? Obviously something has to be bottlenecking the connection.

 

EDIT: Ok I've been looking into this more and it seems to be related to the encoder. In the performance details I see the encoder as "Desktop OpenGL NV12 + VAAPI H264", and the decoder is "tvOS Metal hardware decoding", since I'm using an Apple TV.

 

Whenever the stutter happens, there's some yellow text that pops up and says "slow convert, decode, display".

 

There's a discussion on Steam where people are recommending simply checking the "Use NVBFC capture on NVIDIA GPU" box in the Steam settings, however I'm using an AMD GPU :(

 

So is it possible to change my encoder or do I just need a newer graphics card?

Edited by Robert_Chandra
Adding more details
Link to comment
7 hours ago, dopeytree said:

Some people have reccomended turning hardware decode off on the steamdeck when using remote play. I don't know if that is an option for the apple box. 

 

What does it show when you do a network test in steam link app.

 

Right now it says "Good connection".

 

I tried a couple times with hardware encoding both on and off, and turning it off does appear to fix the stutter issue. When it's on the encoder is using "VAAPI", and when it's off the encoder is using "Game Vulkan NV12 + libx264 main (4 threads)".

 

What exactly does that mean? Does my video card just suck? What's the benefit of hardware encoding? When I turn it off does that mean it's using my CPU instead? If my hardware needs some upgrading I should know which hardware is causing the issues.

 

Also I still have the black screen when connected remotely issue, even with the stutter fixed.

Link to comment

Hey @Josh.5,

 

first off.. awesome project this is perfect for a gaming system for my kid.. he got a chromebook from santa and I was looking for a system to have him still play proper games..

 

But that leads me to the problems I'm having: I know it's not really made for it yet I'm still trying to make it work... minecraft.. specifically modded. I got to a point where I am using flatpak to install PolyMC, with that I can command line start an instance and even connecting to a server which seems to work even in Steam (I can just add an external game and boom it's there) ... 

 

Just it's so extremely slow.. it's got a beefy machine available, 6 cores with 6 HTs (it's an Epyc 7282), all the ram in the world (128Gb), a 1660Ti and it's on a NVME disk... so I can't imagine it's the machine.. could it be that docker's IO just doesn't like the amount of loading Modded Minecraft does? (tho a server runs fine, which I'd imagine has the same IO available to it)

 

Help me Josh-i-one-kenobi.. you're my only hope.

 

Oh and an issue I'm having is: It seems to ignore "NVIDIA_VISIBLE_DEVICES" I have 2 graphics cards in my server but only gave 1 card access to the docker (with the guid and all on capabilities) yet steam / minecraft seems to still recognize there's 2 

Edited by djmulder
Link to comment

I've run into an interesting issue where this container is exposing ALL files on my NAS to anyone who has access to the share it stores its games on.

 

Here is an example of a folder that is exposed:  S:\RTP Games\Steam\steamapps\compatdata\1493710\pfx\dosdevices\ZSXKM0~L\mnt\disk8\Media\Cinema

 

S is a Network drive on my system.  RTP games is where my game files live, and where this container keeps its steam directory.  It's in the folder I mapped, referenced below.  Anyone with access to this share, can access all files on every disk of my Unraid box.

 

I checked the mapping on the container template, and I only gave it access to:  /mnt/user/Software/

 

But somehow it can see every file on my Unraid box.  And windows users can click through the share to see them.  And the program Everything exposes them readily...  This is very concerning.  As a workaround, I'm going to create a new share, and put my Steam files there, and not give anybody access to it...

 

But what could have caused this?  I didn't give it any credentials.  Maybe because its a Privileged application?

 

I'm especially concerned that I'll delete something I don't want to, while I'm trying to clean this up...

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.