[Support] Josh5 - Steam (Headless)


Recommended Posts

On 10/18/2022 at 3:16 PM, Josh.5 said:

I can't tell from a partial log. Could you please send the full log as that will tell me how your container is configured.

Can you also let me know you OS and which browsers you are using. I know there are issues with Apple

I am using Windows 11 Edge/Firefox.

 

I've run

docker container logs steam-headless

to retrieve more logs

 

Build: [2022-10-15 03:23:45] [master] [0d2da789ef4115c9266083577a3cef54ad651f53]

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting default user uid=99(default) gid=100(default)
Adding default user to video, audio, input and pulse groups
Adding default user to any additional required device groups
Adding user 'default' to group: 'user-gid-71' for device: /dev/input/event0
Adding user 'default' to group: 'user-gid-18' for device: /dev/dri/card0
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
Adding default home directory template
Setting ownership of all log files in '/home/default/.cache/log'
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH server ****
Disable SSH server
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 permission to r/w on input devices ****
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Locales already set correctly to en_US.UTF-8 UTF-8 ****
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/60-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA GeForce RTX 2080 Ti' ****
Installing NVIDIA driver v520.56.06 to match what is running on the host
**** No Intel device found ****
**** No AMD device found ****
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
Configure Xwrapper.config
Configure container as primary the X server
Leaving evdev inputs disabled
cat: '/sys/class/drm/card*/status': No such file or directory
No monitors connected. Installing dummy xorg.conf
'/templates/xorg/xorg.dummy.conf' -> '/etc/X11/xorg.conf'
Configuring X11 with GPU ID: 'GPU-69625c71-52b8-541b-7628-73dc821f6ff5'
Configuring X11 with PCI bus ID: 'PCI:10:0:0'
Writing X11 config with Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync

WARNING: No Layout specified, constructing implicit layout section using screen "Default Screen".



WARNING: Unable to find CorePointer in X configuration; attempting to add new CorePointer section.


WARNING: The CorePointer device was not specified explicitly in the layout; using the first mouse device.



WARNING: Unable to find CoreKeyboard in X configuration; attempting to add new CoreKeyboard section.


WARNING: The CoreKeyboard device was not specified explicitly in the layout; using the first keyboard device.



Using X configuration file: "/etc/X11/xorg.conf".
Option "ProbeAllGpus" "False" added to Screen "Default Screen".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Default Screen".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

DONE

[ /etc/cont-init.d/80-configure-dind.sh: executing... ]
**** Configure Dockerd ****
Enable Dockerd daemon
Add user 'default' to docker group for sudoless execution
DONE

[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
Disable Neko server
DONE

[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
Disable Sunshine server
DONE

[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
Configure VNC service port '32036'
Configure noVNC service port '32037'
Configure audio websocket port '32038'
Configure pulseaudio encoded stream port '32039'
Enable VNC server
Disable audio stream
Disable audio websock
DONE

[ /etc/cont-init.d/95-configure_secondary.sh: executing... ]
DONE

**** Starting supervisord ****
Logging all root services to '/var/log/supervisor/'
Logging all user services to '/home/default/.cache/log/'

2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/dind.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/sshd.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2022-10-16 17:38:48,933 INFO Set uid to user 0 succeeded
2022-10-16 17:38:48,955 INFO RPC interface 'supervisor' initialized
2022-10-16 17:38:48,955 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-10-16 17:38:48,955 INFO supervisord started with pid 1
2022-10-16 17:38:49,958 INFO spawned: 'dbus' with pid 348
2022-10-16 17:38:49,960 INFO spawned: 'udev' with pid 349
2022-10-16 17:38:49,963 INFO spawned: 'dind' with pid 350
2022-10-16 17:38:49,966 INFO spawned: 'xorg' with pid 351
2022-10-16 17:38:49,968 INFO spawned: 'novnc' with pid 352
2022-10-16 17:38:49,970 INFO spawned: 'pulseaudio' with pid 353
2022-10-16 17:38:49,971 INFO spawned: 'vncproxy' with pid 354
2022-10-16 17:38:49,974 INFO spawned: 'x11vnc' with pid 355
2022-10-16 17:38:49,976 INFO spawned: 'desktop' with pid 356
PULSEAUDIO: Starting pulseaudio service
2022-10-16 17:38:50,001 INFO success: vncproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-10-16 17:38:50,093 INFO reaped unknown pid 368 (exit status 0)
2022-10-16 17:38:51,254 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: dind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:55,746 INFO reaped unknown pid 553 (exit status 1)
2022-10-16 17:40:56,317 INFO reaped unknown pid 1396 (exit status 0)
2022-10-16 17:43:59,281 INFO reaped unknown pid 601 (exit status 0)
Build: [2022-10-15 03:23:45] [master] [0d2da789ef4115c9266083577a3cef54ad651f53]

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting default user uid=99(default) gid=100(default)
usermod: no changes
Adding default user to video, audio, input and pulse groups
Adding default user to any additional required device groups
Adding user 'default' to group: 'user-gid-71' for device: /dev/input/event0
Adding user 'default' to group: 'user-gid-18' for device: /dev/dri/card0
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
Adding default home directory template
Setting ownership of all log files in '/home/default/.cache/log'
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH server ****
Disable SSH server
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 permission to r/w on input devices ****
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Locales already set correctly to en_US.UTF-8 UTF-8 ****
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/60-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA GeForce RTX 2080 Ti' ****
**** No Intel device found ****
**** No AMD device found ****
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
Configure container as primary the X server
Leaving evdev inputs disabled
cat: '/sys/class/drm/card*/status': No such file or directory
No monitors connected. Installing dummy xorg.conf
'/templates/xorg/xorg.dummy.conf' -> '/etc/X11/xorg.conf'
Configuring X11 with GPU ID: 'GPU-69625c71-52b8-541b-7628-73dc821f6ff5'
Configuring X11 with PCI bus ID: 'PCI:10:0:0'
Writing X11 config with Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync

WARNING: No Layout specified, constructing implicit layout section using screen "Default Screen".



WARNING: Unable to find CorePointer in X configuration; attempting to add new CorePointer section.


WARNING: The CorePointer device was not specified explicitly in the layout; using the first mouse device.



WARNING: Unable to find CoreKeyboard in X configuration; attempting to add new CoreKeyboard section.


WARNING: The CoreKeyboard device was not specified explicitly in the layout; using the first keyboard device.



Using X configuration file: "/etc/X11/xorg.conf".
Option "ProbeAllGpus" "False" added to Screen "Default Screen".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Default Screen".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

DONE

[ /etc/cont-init.d/80-configure-dind.sh: executing... ]
**** Configure Dockerd ****
Docker socket has been passed in from host. Using that instead
DONE

[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
Disable Neko server
DONE

[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
Disable Sunshine server
DONE

[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
Configure VNC service port '32036'
Configure noVNC service port '32037'
Configure audio websocket port '32038'
Configure pulseaudio encoded stream port '32039'
Enable VNC server
Disable audio stream
Disable audio websock
DONE

[ /etc/cont-init.d/95-configure_secondary.sh: executing... ]
DONE

**** Starting supervisord ****
Logging all root services to '/var/log/supervisor/'
Logging all user services to '/home/default/.cache/log/'

2022-10-18 15:57:44,076 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/dind.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/sshd.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2022-10-18 15:57:44,130 INFO Set uid to user 0 succeeded
Unlinking stale socket /run/supervisor.sock
2022-10-18 15:57:44,613 INFO RPC interface 'supervisor' initialized
2022-10-18 15:57:44,614 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-10-18 15:57:44,614 INFO supervisord started with pid 1
2022-10-18 15:57:45,658 INFO spawned: 'dbus' with pid 244
2022-10-18 15:57:45,660 INFO spawned: 'udev' with pid 245
2022-10-18 15:57:45,662 INFO spawned: 'dind' with pid 246
2022-10-18 15:57:45,664 INFO spawned: 'xorg' with pid 247
2022-10-18 15:57:45,736 INFO spawned: 'novnc' with pid 252
2022-10-18 15:57:45,738 INFO spawned: 'pulseaudio' with pid 253
2022-10-18 15:57:45,740 INFO spawned: 'vncproxy' with pid 254
2022-10-18 15:57:45,743 INFO spawned: 'x11vnc' with pid 255
2022-10-18 15:57:45,745 INFO spawned: 'desktop' with pid 257
PULSEAUDIO: Starting pulseaudio service
2022-10-18 15:57:45,745 INFO success: vncproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: dind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO reaped unknown pid 279 (exit status 0)
2022-10-18 15:58:07,912 INFO reaped unknown pid 585 (exit status 1)
2022-10-18 16:03:15,450 INFO reaped unknown pid 605 (exit status 0)

 

I don't see the issue here... I've looked inside /var/logs of the container but don't see anything to do with audio either. 

 

Let me know if there is a specific log you are looking for that may help :)

Link to comment
3 hours ago, bl4kh4k said:

I am using Windows 11 Edge/Firefox.

 

I've run

docker container logs steam-headless

to retrieve more logs

 

Build: [2022-10-15 03:23:45] [master] [0d2da789ef4115c9266083577a3cef54ad651f53]

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting default user uid=99(default) gid=100(default)
Adding default user to video, audio, input and pulse groups
Adding default user to any additional required device groups
Adding user 'default' to group: 'user-gid-71' for device: /dev/input/event0
Adding user 'default' to group: 'user-gid-18' for device: /dev/dri/card0
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
Adding default home directory template
Setting ownership of all log files in '/home/default/.cache/log'
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH server ****
Disable SSH server
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 permission to r/w on input devices ****
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Locales already set correctly to en_US.UTF-8 UTF-8 ****
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/60-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA GeForce RTX 2080 Ti' ****
Installing NVIDIA driver v520.56.06 to match what is running on the host
**** No Intel device found ****
**** No AMD device found ****
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
Configure Xwrapper.config
Configure container as primary the X server
Leaving evdev inputs disabled
cat: '/sys/class/drm/card*/status': No such file or directory
No monitors connected. Installing dummy xorg.conf
'/templates/xorg/xorg.dummy.conf' -> '/etc/X11/xorg.conf'
Configuring X11 with GPU ID: 'GPU-69625c71-52b8-541b-7628-73dc821f6ff5'
Configuring X11 with PCI bus ID: 'PCI:10:0:0'
Writing X11 config with Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync

WARNING: No Layout specified, constructing implicit layout section using screen "Default Screen".



WARNING: Unable to find CorePointer in X configuration; attempting to add new CorePointer section.


WARNING: The CorePointer device was not specified explicitly in the layout; using the first mouse device.



WARNING: Unable to find CoreKeyboard in X configuration; attempting to add new CoreKeyboard section.


WARNING: The CoreKeyboard device was not specified explicitly in the layout; using the first keyboard device.



Using X configuration file: "/etc/X11/xorg.conf".
Option "ProbeAllGpus" "False" added to Screen "Default Screen".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Default Screen".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

DONE

[ /etc/cont-init.d/80-configure-dind.sh: executing... ]
**** Configure Dockerd ****
Enable Dockerd daemon
Add user 'default' to docker group for sudoless execution
DONE

[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
Disable Neko server
DONE

[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
Disable Sunshine server
DONE

[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
Configure VNC service port '32036'
Configure noVNC service port '32037'
Configure audio websocket port '32038'
Configure pulseaudio encoded stream port '32039'
Enable VNC server
Disable audio stream
Disable audio websock
DONE

[ /etc/cont-init.d/95-configure_secondary.sh: executing... ]
DONE

**** Starting supervisord ****
Logging all root services to '/var/log/supervisor/'
Logging all user services to '/home/default/.cache/log/'

2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/dind.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/sshd.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2022-10-16 17:38:48,933 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2022-10-16 17:38:48,933 INFO Set uid to user 0 succeeded
2022-10-16 17:38:48,955 INFO RPC interface 'supervisor' initialized
2022-10-16 17:38:48,955 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-10-16 17:38:48,955 INFO supervisord started with pid 1
2022-10-16 17:38:49,958 INFO spawned: 'dbus' with pid 348
2022-10-16 17:38:49,960 INFO spawned: 'udev' with pid 349
2022-10-16 17:38:49,963 INFO spawned: 'dind' with pid 350
2022-10-16 17:38:49,966 INFO spawned: 'xorg' with pid 351
2022-10-16 17:38:49,968 INFO spawned: 'novnc' with pid 352
2022-10-16 17:38:49,970 INFO spawned: 'pulseaudio' with pid 353
2022-10-16 17:38:49,971 INFO spawned: 'vncproxy' with pid 354
2022-10-16 17:38:49,974 INFO spawned: 'x11vnc' with pid 355
2022-10-16 17:38:49,976 INFO spawned: 'desktop' with pid 356
PULSEAUDIO: Starting pulseaudio service
2022-10-16 17:38:50,001 INFO success: vncproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-10-16 17:38:50,093 INFO reaped unknown pid 368 (exit status 0)
2022-10-16 17:38:51,254 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: dind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:51,254 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-16 17:38:55,746 INFO reaped unknown pid 553 (exit status 1)
2022-10-16 17:40:56,317 INFO reaped unknown pid 1396 (exit status 0)
2022-10-16 17:43:59,281 INFO reaped unknown pid 601 (exit status 0)
Build: [2022-10-15 03:23:45] [master] [0d2da789ef4115c9266083577a3cef54ad651f53]

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting default user uid=99(default) gid=100(default)
usermod: no changes
Adding default user to video, audio, input and pulse groups
Adding default user to any additional required device groups
Adding user 'default' to group: 'user-gid-71' for device: /dev/input/event0
Adding user 'default' to group: 'user-gid-18' for device: /dev/dri/card0
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
Adding default home directory template
Setting ownership of all log files in '/home/default/.cache/log'
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH server ****
Disable SSH server
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 permission to r/w on input devices ****
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Locales already set correctly to en_US.UTF-8 UTF-8 ****
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/60-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA GeForce RTX 2080 Ti' ****
**** No Intel device found ****
**** No AMD device found ****
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
Configure container as primary the X server
Leaving evdev inputs disabled
cat: '/sys/class/drm/card*/status': No such file or directory
No monitors connected. Installing dummy xorg.conf
'/templates/xorg/xorg.dummy.conf' -> '/etc/X11/xorg.conf'
Configuring X11 with GPU ID: 'GPU-69625c71-52b8-541b-7628-73dc821f6ff5'
Configuring X11 with PCI bus ID: 'PCI:10:0:0'
Writing X11 config with Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync

WARNING: No Layout specified, constructing implicit layout section using screen "Default Screen".



WARNING: Unable to find CorePointer in X configuration; attempting to add new CorePointer section.


WARNING: The CorePointer device was not specified explicitly in the layout; using the first mouse device.



WARNING: Unable to find CoreKeyboard in X configuration; attempting to add new CoreKeyboard section.


WARNING: The CoreKeyboard device was not specified explicitly in the layout; using the first keyboard device.



Using X configuration file: "/etc/X11/xorg.conf".
Option "ProbeAllGpus" "False" added to Screen "Default Screen".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Default Screen".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

DONE

[ /etc/cont-init.d/80-configure-dind.sh: executing... ]
**** Configure Dockerd ****
Docker socket has been passed in from host. Using that instead
DONE

[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
Disable Neko server
DONE

[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
Disable Sunshine server
DONE

[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
Configure VNC service port '32036'
Configure noVNC service port '32037'
Configure audio websocket port '32038'
Configure pulseaudio encoded stream port '32039'
Enable VNC server
Disable audio stream
Disable audio websock
DONE

[ /etc/cont-init.d/95-configure_secondary.sh: executing... ]
DONE

**** Starting supervisord ****
Logging all root services to '/var/log/supervisor/'
Logging all user services to '/home/default/.cache/log/'

2022-10-18 15:57:44,076 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/dind.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2022-10-18 15:57:44,129 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/sshd.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2022-10-18 15:57:44,130 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2022-10-18 15:57:44,130 INFO Set uid to user 0 succeeded
Unlinking stale socket /run/supervisor.sock
2022-10-18 15:57:44,613 INFO RPC interface 'supervisor' initialized
2022-10-18 15:57:44,614 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-10-18 15:57:44,614 INFO supervisord started with pid 1
2022-10-18 15:57:45,658 INFO spawned: 'dbus' with pid 244
2022-10-18 15:57:45,660 INFO spawned: 'udev' with pid 245
2022-10-18 15:57:45,662 INFO spawned: 'dind' with pid 246
2022-10-18 15:57:45,664 INFO spawned: 'xorg' with pid 247
2022-10-18 15:57:45,736 INFO spawned: 'novnc' with pid 252
2022-10-18 15:57:45,738 INFO spawned: 'pulseaudio' with pid 253
2022-10-18 15:57:45,740 INFO spawned: 'vncproxy' with pid 254
2022-10-18 15:57:45,743 INFO spawned: 'x11vnc' with pid 255
2022-10-18 15:57:45,745 INFO spawned: 'desktop' with pid 257
PULSEAUDIO: Starting pulseaudio service
2022-10-18 15:57:45,745 INFO success: vncproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: dind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-18 15:57:47,044 INFO reaped unknown pid 279 (exit status 0)
2022-10-18 15:58:07,912 INFO reaped unknown pid 585 (exit status 1)
2022-10-18 16:03:15,450 INFO reaped unknown pid 605 (exit status 0)

 

I don't see the issue here... I've looked inside /var/logs of the container but don't see anything to do with audio either. 

 

Let me know if there is a specific log you are looking for that may help :)

Looks like the container is not configured to enable vnc audio

Link to comment

Hi everyone,

 

I love this docker container and it is very playable for simple graphics games like risk of rain 1 or star bound. What i noticed that if i try to play a game that has a decent amount of 3d graphics its takes at least 2 -5 minutes for the game to load. But the actual gameplay is pretty good like 30 - 120 fps with hardly any stuttering. Also when i run a vm guest (Windows 10) to play the game, the time is around 15 seconds to 2 minutes which is much better

 

Risk of rain 2 - 5 Minutes (Docker container)

Risk of rain 2 - 30 seconds (VM guest)

 

Specs:

AMD EPYC 7402 24-Core @ 2800 MHz
32 GB 3200 mhz ecc

4tb ssd x 4 for software raid

2 tb m.2 drive 

1080ti 

 

1. What could be the cause of the game to take 3-5 minutes to load up the game in the docker container?

Link to comment
26 minutes ago, Jeff Balagot said:

Hi everyone,

 

I love this docker container and it is very playable for simple graphics games like risk of rain 1 or star bound. What i noticed that if i try to play a game that has a decent amount of 3d graphics its takes at least 2 -5 minutes for the game to load. But the actual gameplay is pretty good like 30 - 120 fps with hardly any stuttering. Also when i run a vm guest (Windows 10) to play the game, the time is around 15 seconds to 2 minutes which is much better

 

Risk of rain 2 - 5 Minutes (Docker container)

Risk of rain 2 - 30 seconds (VM guest)

 

Specs:

AMD EPYC 7402 24-Core @ 2800 MHz
32 GB 3200 mhz ecc

4tb ssd x 4 for software raid

2 tb m.2 drive 

1080ti 

 

1. What could be the cause of the game to take 3-5 minutes to load up the game in the docker container?

Are your games stored on the array when you load them in the VM?

Link to comment
On 10/21/2022 at 9:07 PM, Jeff Balagot said:

@Josh.5 - Initially yes, but then was thinking that i should put it into a cache in which the settings is is Use Cache Pool only, which is my m.2 drive which is a StoragecacheSamsung_SSD_970_PRO_512GB_S5HRNC0N300098E - 512 GB (nvme1n1)image.thumb.png.09e78b93c0fb526e6630b6ad8f6cb091.png

 

image.thumb.png.b583509bd6efbff02c91aaeb72236d8d.png

It looks like i've been comparing load times to a windows 10 install to proton and not the actual docker container. 
i'll see about improving performance on proton and i'll post what i find. 

  • Thanks 1
Link to comment

HI!

Thank You for this great container.   I have one problem with it though.   Whenever I run a game,  or  a steam download.   It seems to be using only 1 core.   And it pins it at 100%.   If it doesn't have any cores assigned to it.  It does the samething.  If I assign it some cores.   It does the same thing again on one of those assigned cores gets pinned to 100%.

Thanks for the help.

Link to comment
3 hours ago, gabiroli said:

HI!

Thank You for this great container.   I have one problem with it though.   Whenever I run a game,  or  a steam download.   It seems to be using only 1 core.   And it pins it at 100%.   If it doesn't have any cores assigned to it.  It does the samething.  If I assign it some cores.   It does the same thing again on one of those assigned cores gets pinned to 100%.

Thanks for the help.

This is not something I have seen. Could be something specific to your CPU or the game you are running.

(I'm using 4th, 6th and 11th gen Intel for testing)

 

Have you seend what a download or file copy looks like on your CPU? Does it use only one core also?

Link to comment
1 hour ago, Josh.5 said:

This is not something I have seen. Could be something specific to your CPU or the game you are running.

(I'm using 4th, 6th and 11th gen Intel for testing)

 

Have you seend what a download or file copy looks like on your CPU? Does it use only one core also?

It's the same thing when i download a steam game.  Only one core get pegged with all the load.  Every other core and thread is almost at 0.  I have a 3900x.

Link to comment
17 hours ago, gabiroli said:

It's the same thing when i download a steam game.  Only one core get pegged with all the load.  Every other core and thread is almost at 0.  I have a 3900x.

Now the problem has been solved lol.   I pinned 6 cores restarted the whole unraid server.   I had the same problem removed the core assignments restarted and now its working properly lol...

Thank You for the container again

 

Link to comment

Hi Josh,

 

Thanks for your hard work on this container. I have been reading through these posts and something caught my eye, am I supposed to be able to connect my GPU to my TV and be able to get an Image that mirros what I see in the browser? At the moment this is not working for me, but it would solve my workaround of having to shut this container and emby down to be able to run a VM that can use the GPU.

Here is my setup:

I have a Supermicro motherboard with built in graphics and I also have an Nvidia Titan X GPU. I run Unraid without the gui, so no displays are connected except a TV to the Nvidia GPU. Emby encoding/decoding is working fine, I am also able to play games at pretty high resolutions in the browser through VNC. Audio works through the browser too. But I am not getting any output on my TV connected via HDMI to the GPU. With the card passed through to a Linux or Windows VM, the card is working as expected. Please see my settings below:
 

Extra Parameters:
--runtime=nvidia --dns='10.10.1.2' --hostname='SteamHeadless' --add-host='SteamHeadless:127.0.0.1' --restart=unless-stopped --shm-size=8G --ipc="host" -v '/tmp/.X11-unix':'/tmp/.X11-unix':'rw' -v '/dev/input':'/dev/input':'ro' --log-opt max-size=50m --log-opt max-file=1

image.thumb.png.a5af0a1db5eaf1d8e4214558f5dd4780.png

image.thumb.png.b1c8654a25fc6218ad13bd593539cc66.png

 

 

Here are the logs of the container:

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting default user uid=99(default) gid=100(default)
usermod: no changes
Adding default user to video, audio, input and pulse groups
Adding default user to any additional required device groups
Adding user 'default' to group: 'user-gid-71' for device: /dev/input/event0
Adding user 'default' to group: 'user-gid-18' for device: /dev/dri/card0
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
Adding default home directory template
Setting ownership of all log files in '/home/default/.cache/log'
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH server ****
Disable SSH server
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 permission to r/w on input devices ****
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Locales already set correctly to en_US.UTF-8 UTF-8 ****
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/60-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA TITAN X (Pascal)' ****
**** Found Intel device 'Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz' ****
Install Intel vulkan driver
**** No AMD device found ****
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
Configure container as primary the X server
Leaving evdev inputs disabled
Configuring X11 with GPU ID: 'GPU-ee2de819-579b-23a9-4a68-23d9ea167887'
Configuring X11 with PCI bus ID: 'PCI:4:0:0'
Writing X11 config with Modeline "1920x1200R"  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync

WARNING: Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Option "ProbeAllGpus" "False" added to Screen "Screen0".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Screen0".
New X configuration file written to '/etc/X11/xorg.conf'

DONE

[ /etc/cont-init.d/80-configure-dind.sh: executing... ]
**** Configure Dockerd ****
Enable Dockerd daemon
DONE

[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
Disable Neko server
DONE

[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
Disable Sunshine server
DONE

[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
Configure VNC service port '32036'
Configure noVNC service port '32037'
Configure audio websocket port '32038'
Configure pulseaudio encoded stream port '32039'
Enable VNC server
DONE

[ /etc/cont-init.d/95-configure_secondary.sh: executing... ]
DONE

[ USER:/home/default/init.d/install_heroic.sh: executing... ]
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Get:3 http://download.opensuse.org/repositories/home:/strycore/Debian_10 ./ InRelease [1,497 B]
Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:5 https://nvidia.github.io/libnvidia-container/stable/debian10/amd64  InRelease
Hit:6 https://nvidia.github.io/nvidia-container-runtime/stable/debian10/amd64  InRelease
Hit:7 https://nvidia.github.io/nvidia-docker/debian10/amd64  InRelease
Fetched 45.6 kB in 2s (19.8 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
heroic is already the newest version (2.5.0-beta.1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
zenity is already the newest version (3.32.0-6).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Archive:  /home/default/Downloads/HeroicBashLauncher-v3.0.1.zip
   creating: HeroicBashLauncher-3.0.1/
   creating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/how-to-guide.txt  
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/settings.config  
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/HeroicBashLauncher  
   creating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/readme.txt  
   creating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/logs/
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/readme.txt' -> '/home/default/HeroicBashLauncher/GameFiles/readme.txt'
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/HeroicBashLauncher' -> '/home/default/HeroicBashLauncher/HeroicBashLauncher'
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/how-to-guide.txt' -> '/home/default/HeroicBashLauncher/how-to-guide.txt'
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/settings.config' -> '/home/default/HeroicBashLauncher/settings.config'

[ USER:/home/default/init.d/install_lutris.sh: executing... ]

[ USER:/home/default/init.d/install_protonup.sh: executing... ]

**** Starting supervisord ****
Logging all root services to '/var/log/supervisor/'
Logging all user services to '/home/default/.cache/log/'

2022-10-31 16:32:21,214 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2022-10-31 16:32:21,214 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/dind.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/sshd.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2022-10-31 16:32:21,216 INFO Set uid to user 0 succeeded
2022-10-31 16:32:21,233 INFO RPC interface 'supervisor' initialized
2022-10-31 16:32:21,233 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-10-31 16:32:21,234 INFO supervisord started with pid 1
2022-10-31 16:32:22,238 INFO spawned: 'dbus' with pid 915
2022-10-31 16:32:22,244 INFO spawned: 'udev' with pid 916
2022-10-31 16:32:22,253 INFO spawned: 'dind' with pid 917
2022-10-31 16:32:22,263 INFO spawned: 'xorg' with pid 918
2022-10-31 16:32:22,275 INFO spawned: 'audiostream' with pid 921
2022-10-31 16:32:22,287 INFO spawned: 'novnc' with pid 924
2022-10-31 16:32:22,297 INFO spawned: 'pulseaudio' with pid 925
2022-10-31 16:32:22,311 INFO spawned: 'vncproxy' with pid 926
2022-10-31 16:32:22,329 INFO spawned: 'x11vnc' with pid 928
2022-10-31 16:32:22,337 INFO spawned: 'audiowebsock' with pid 932
2022-10-31 16:32:22,353 INFO spawned: 'desktop' with pid 933
PULSEAUDIO: Starting pulseaudio service
2022-10-31 16:32:22,357 INFO success: vncproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-10-31 16:32:22,687 INFO reaped unknown pid 968 (exit status 0)
2022-10-31 16:32:23,243 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,245 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,246 INFO success: dind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,328 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,329 INFO success: audiostream entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,330 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,330 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,331 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,331 INFO success: audiowebsock entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,369 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:27,720 INFO reaped unknown pid 1183 (exit status 1)
2022-10-31 16:37:30,855 INFO reaped unknown pid 1209 (exit status 0)
2022-10-31 16:40:55,727 INFO reaped unknown pid 1622 (exit status 0)
2022-10-31 16:40:55,728 INFO reaped unknown pid 1757 (exit status 1)
2022-10-31 16:40:55,728 INFO reaped unknown pid 1690 (exit status 0)
2022-10-31 16:40:55,728 INFO reaped unknown pid 1691 (exit status 0)

 

Am I missing some configuration? or is it not possible to use the GPU to output to the TV?

Link to comment
3 hours ago, huntastikus said:

Hi Josh,

 

Thanks for your hard work on this container. I have been reading through these posts and something caught my eye, am I supposed to be able to connect my GPU to my TV and be able to get an Image that mirros what I see in the browser? At the moment this is not working for me, but it would solve my workaround of having to shut this container and emby down to be able to run a VM that can use the GPU.

Here is my setup:

I have a Supermicro motherboard with built in graphics and I also have an Nvidia Titan X GPU. I run Unraid without the gui, so no displays are connected except a TV to the Nvidia GPU. Emby encoding/decoding is working fine, I am also able to play games at pretty high resolutions in the browser through VNC. Audio works through the browser too. But I am not getting any output on my TV connected via HDMI to the GPU. With the card passed through to a Linux or Windows VM, the card is working as expected. Please see my settings below:
 

Extra Parameters:
--runtime=nvidia --dns='10.10.1.2' --hostname='SteamHeadless' --add-host='SteamHeadless:127.0.0.1' --restart=unless-stopped --shm-size=8G --ipc="host" -v '/tmp/.X11-unix':'/tmp/.X11-unix':'rw' -v '/dev/input':'/dev/input':'ro' --log-opt max-size=50m --log-opt max-file=1

image.thumb.png.a5af0a1db5eaf1d8e4214558f5dd4780.png

image.thumb.png.b1c8654a25fc6218ad13bd593539cc66.png

 

 

Here are the logs of the container:

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
Setting default user uid=99(default) gid=100(default)
usermod: no changes
Adding default user to video, audio, input and pulse groups
Adding default user to any additional required device groups
Adding user 'default' to group: 'user-gid-71' for device: /dev/input/event0
Adding user 'default' to group: 'user-gid-18' for device: /dev/dri/card0
Setting umask to 000
Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
Adding default home directory template
Setting ownership of all log files in '/home/default/.cache/log'
Setting root password
Setting user password
DONE

[ /etc/cont-init.d/20-configre_sshd.sh: executing... ]
**** Configure SSH server ****
Disable SSH server
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 permission to r/w on input devices ****
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Locales already set correctly to en_US.UTF-8 UTF-8 ****
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/60-configure_gpu_driver.sh: executing... ]
**** Found NVIDIA device 'NVIDIA TITAN X (Pascal)' ****
**** Found Intel device 'Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz' ****
Install Intel vulkan driver
**** No AMD device found ****
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate NVIDIA xorg.conf ****
Configure container as primary the X server
Leaving evdev inputs disabled
Configuring X11 with GPU ID: 'GPU-ee2de819-579b-23a9-4a68-23d9ea167887'
Configuring X11 with PCI bus ID: 'PCI:4:0:0'
Writing X11 config with Modeline "1920x1200R"  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync

WARNING: Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Option "ProbeAllGpus" "False" added to Screen "Screen0".
Option "AllowEmptyInitialConfiguration" "True" added to Screen "Screen0".
New X configuration file written to '/etc/X11/xorg.conf'

DONE

[ /etc/cont-init.d/80-configure-dind.sh: executing... ]
**** Configure Dockerd ****
Enable Dockerd daemon
DONE

[ /etc/cont-init.d/90-configure_neko.sh: executing... ]
**** Configure Neko ****
Disable Neko server
DONE

[ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
**** Configure Sunshine ****
Disable Sunshine server
DONE

[ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
**** Configure VNC ****
Configure VNC service port '32036'
Configure noVNC service port '32037'
Configure audio websocket port '32038'
Configure pulseaudio encoded stream port '32039'
Enable VNC server
DONE

[ /etc/cont-init.d/95-configure_secondary.sh: executing... ]
DONE

[ USER:/home/default/init.d/install_heroic.sh: executing... ]
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Get:3 http://download.opensuse.org/repositories/home:/strycore/Debian_10 ./ InRelease [1,497 B]
Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:5 https://nvidia.github.io/libnvidia-container/stable/debian10/amd64  InRelease
Hit:6 https://nvidia.github.io/nvidia-container-runtime/stable/debian10/amd64  InRelease
Hit:7 https://nvidia.github.io/nvidia-docker/debian10/amd64  InRelease
Fetched 45.6 kB in 2s (19.8 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
heroic is already the newest version (2.5.0-beta.1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
zenity is already the newest version (3.32.0-6).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Archive:  /home/default/Downloads/HeroicBashLauncher-v3.0.1.zip
   creating: HeroicBashLauncher-3.0.1/
   creating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/how-to-guide.txt  
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/settings.config  
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/HeroicBashLauncher  
   creating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/
  inflating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/readme.txt  
   creating: HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/logs/
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/GameFiles/readme.txt' -> '/home/default/HeroicBashLauncher/GameFiles/readme.txt'
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/HeroicBashLauncher' -> '/home/default/HeroicBashLauncher/HeroicBashLauncher'
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/how-to-guide.txt' -> '/home/default/HeroicBashLauncher/how-to-guide.txt'
'/tmp/hbl/HeroicBashLauncher-3.0.1/HeroicBashLauncher/settings.config' -> '/home/default/HeroicBashLauncher/settings.config'

[ USER:/home/default/init.d/install_lutris.sh: executing... ]

[ USER:/home/default/init.d/install_protonup.sh: executing... ]

**** Starting supervisord ****
Logging all root services to '/var/log/supervisor/'
Logging all user services to '/home/default/.cache/log/'

2022-10-31 16:32:21,214 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
2022-10-31 16:32:21,214 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/dind.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/sshd.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
2022-10-31 16:32:21,215 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
2022-10-31 16:32:21,216 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
2022-10-31 16:32:21,216 INFO Set uid to user 0 succeeded
2022-10-31 16:32:21,233 INFO RPC interface 'supervisor' initialized
2022-10-31 16:32:21,233 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2022-10-31 16:32:21,234 INFO supervisord started with pid 1
2022-10-31 16:32:22,238 INFO spawned: 'dbus' with pid 915
2022-10-31 16:32:22,244 INFO spawned: 'udev' with pid 916
2022-10-31 16:32:22,253 INFO spawned: 'dind' with pid 917
2022-10-31 16:32:22,263 INFO spawned: 'xorg' with pid 918
2022-10-31 16:32:22,275 INFO spawned: 'audiostream' with pid 921
2022-10-31 16:32:22,287 INFO spawned: 'novnc' with pid 924
2022-10-31 16:32:22,297 INFO spawned: 'pulseaudio' with pid 925
2022-10-31 16:32:22,311 INFO spawned: 'vncproxy' with pid 926
2022-10-31 16:32:22,329 INFO spawned: 'x11vnc' with pid 928
2022-10-31 16:32:22,337 INFO spawned: 'audiowebsock' with pid 932
2022-10-31 16:32:22,353 INFO spawned: 'desktop' with pid 933
PULSEAUDIO: Starting pulseaudio service
2022-10-31 16:32:22,357 INFO success: vncproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-10-31 16:32:22,687 INFO reaped unknown pid 968 (exit status 0)
2022-10-31 16:32:23,243 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,245 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,246 INFO success: dind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,328 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,329 INFO success: audiostream entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,330 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,330 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,331 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,331 INFO success: audiowebsock entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:23,369 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-10-31 16:32:27,720 INFO reaped unknown pid 1183 (exit status 1)
2022-10-31 16:37:30,855 INFO reaped unknown pid 1209 (exit status 0)
2022-10-31 16:40:55,727 INFO reaped unknown pid 1622 (exit status 0)
2022-10-31 16:40:55,728 INFO reaped unknown pid 1757 (exit status 1)
2022-10-31 16:40:55,728 INFO reaped unknown pid 1690 (exit status 0)
2022-10-31 16:40:55,728 INFO reaped unknown pid 1691 (exit status 0)

 

Am I missing some configuration? or is it not possible to use the GPU to output to the TV?

It is possible. I do it with my little SFF (non unraid) box. That only has an Intel igpu tho. Do you have your Titan configured as the default output in the bios? I believe it only ever detects monitors on the default output at this time. I have not paid much attention to setting it up any other way.

Link to comment
On 1/16/2022 at 8:42 PM, Josh.5 said:

@[RIVINS]  @Mobious
Try google the error "Unable to load filesystem_steam.so". Looks like there are some issues with steam and XFS file systems for some games. I have not looked into this, but let me know if you find a fix that can be applied to the container or Unraid configuration.

Any update on this issue? Im still having this issue with an xfs share...

Link to comment

This container is great. I'm looking to do some retro gaming and I'm wondering how others have gone about setting up emulator managers. From what I've seen, the Steam version of Retroarch is lacking a lot of features and on Windows it's easy to just replace the files with the github version but this doesn't seem to be the case with the Linux version which is a flatpack. Has anyone gotten something like Emudeck to work in this environment which makes things easier?

Link to comment
6 hours ago, derek_zoolander said:

Tried searching here but came up empty is a NVIDIA or AMD GPU required for this container?  

 

Am I able to use my alderlake iGPU here?  I have configured /dev/dri to be passed to the container, but do not see the iGPU listed in the Display settings of the container.  

 

 

Screen Shot 2022-11-04 at 9.16.16 AM.png

Any GPU will work (Intel, AMD, Nvidia. And any integrated or dedicated GPU). I noticed myself that Intel GPUs did not work very well with no monitor plugged in. It works fine with a dummy HDMI plug tho.

I will eventually get around to looking into why the monitorless setup limited monitor resolution to be so low.

Link to comment
3 hours ago, llamabama said:

This container is great. I'm looking to do some retro gaming and I'm wondering how others have gone about setting up emulator managers. From what I've seen, the Steam version of Retroarch is lacking a lot of features and on Windows it's easy to just replace the files with the github version but this doesn't seem to be the case with the Linux version which is a flatpack. Has anyone gotten something like Emudeck to work in this environment which makes things easier?

I am not a big retroarch user, but I found the steam version to have everything that the non-steam version had. You can still add custom cores to your steam version and it works fine.

 

If you don't want to install retroarch via steam, do it with 'apt install retroarch'

  • Like 1
Link to comment
50 minutes ago, Josh.5 said:

Any GPU will work (Intel, AMD, Nvidia. And any integrated or dedicated GPU). I noticed myself that Intel GPUs did not work very well with no monitor plugged in. It works fine with a dummy HDMI plug tho.

I will eventually get around to looking into why the monitorless setup limited monitor resolution to be so low.

 

Thanks!  That works now.  

Link to comment
On 10/5/2022 at 11:31 PM, Josh.5 said:

Oh.. And sunshine and the keyboard/mouse support has been merged. There are a few little bugs with the setup tho. The initial configs need to be setup and I will need to fix a bug in NVIDIA xorg config creation (you currently need to restart the container to get inputs working). I'll be doing that in the next couple of days.
I'll update the CA template again with the sunshine stuff soon also.

This may be a dumb question, but this is only for nvidia gpus right? Im assuming moonlight/nvidia game streaming wont work with other gpus 

Link to comment
Just now, Jclendineng said:

This may be a dumb question, but this is only for nvidia gpus right? Im assuming moonlight/nvidia game streaming wont work with other gpus 

Your assumption is incorrect. As I just mentioned in my post a few hours ago:

 

5 hours ago, Josh.5 said:

Any GPU will work (Intel, AMD, Nvidia. And any integrated or dedicated GPU).

For moonlight streaming, you can use sunshine with Intel and AMD GPUs.

 

I don't have an AMD GPU at this time so I cannot provide direct support, but as Intel and AMD GPU drivers are supported in the Linux kernel, these work without any additional steps like an Nvidia GPU would require. There are numerous people in this thread and on Discord who are using this container fine with their AMD APUs and GPUs.

 

I use a 4th, 6th and 11th gen i5 as well as a GTX 1050 ti for development and testing of this container and my other containers.

Link to comment
10 minutes ago, Josh.5 said:

Your assumption is incorrect. As I just mentioned in my post a few hours ago:

 

For moonlight streaming, you can use sunshine with Intel and AMD GPUs.

 

I don't have an AMD GPU at this time so I cannot provide direct support, but as Intel and AMD GPU drivers are supported in the Linux kernel, these work without any additional steps like an Nvidia GPU would require. There are numerous people in this thread and on Discord who are using this container fine with their AMD APUs and GPUs.

 

I use a 4th, 6th and 11th gen i5 as well as a GTX 1050 ti for development and testing of this container and my other containers.

Thanks! I got it, just needed to add the env var at startup enabling it. 

Link to comment
1 hour ago, Jclendineng said:

Thanks! I got it, just needed to add the env var at startup enabling it. 

Please note that I may be removing that flag in a future update. This will be in favour of running sunshine inside its own docker container to improve compatibility and also to remove my responsibility to maintain the service.

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.