Steam-Headless / docker-steam-headless

A Headless Steam Docker image supporting NVIDIA GPU and accessible via Web UI
GNU General Public License v2.0
908 stars 89 forks source link

[Bug]: Can't get it working using AMD 5600G APU #163

Open chaosclarity84 opened 2 weeks ago

chaosclarity84 commented 2 weeks ago

Describe the Bug

Docker launches fine in Unraid, thereafter in the logs I receive the following in the logs. I have an HDMI dummy plugged in. If I unplug the HDMI dummy plug, I can connect via VNC to it, but there's no GPU acceleration (games are running at 1fps or lower).

2024-09-12 11:41:15,830 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-09-12 11:41:15,830 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-09-12 11:41:15,830 INFO success: sunshine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-09-12 11:41:15,830 INFO reaped unknown pid 2376 (exit status 0) 2024-09-12 11:41:45,206 WARN exited: x11vnc (exit status 11; not expected) 2024-09-12 11:41:45,206 WARN exited: desktop (exit status 11; not expected) 2024-09-12 11:41:45,206 WARN exited: sunshine (exit status 11; not expected) 2024-09-12 11:41:45,210 INFO spawned: 'x11vnc' with pid 2736 2024-09-12 11:41:45,212 INFO spawned: 'desktop' with pid 2737 2024-09-12 11:41:45,215 INFO spawned: 'sunshine' with pid 2738 2024-09-12 11:41:46,223 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-09-12 11:41:46,224 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-09-12 11:41:46,224 INFO success: sunshine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-09-12 11:41:46,224 INFO reaped unknown pid 2749 (exit status 0)

Steps to Reproduce

No response

Expected Behavior

No response

Screenshots

No response

Relevant Settings

No response

Version

latest

Platform

Unraid 6.12.13

Relevant log output

No response

Molukke commented 2 weeks ago

I did run this container running on the integrated GPU of my 5600G for a while. It did run very light games like Stardew Valley with 60FPS.

Do you have the Radeon TOP Plugin installed? If so, what does the GPU Tap on your Unraid Dashboard say? Is it utilized at all?

Are you connected wired or wireless to your Unraid Device? May you try Steam Remote Play, with the Unraid device hosting the game to make sure it's not the VNC connection thats laggy?

ConnorArts137 commented 1 week ago

Also using an AMD 5600GAPU but on Ubuntu Server 22.04.5 LTS (and still very new to docker). Seems to execute the container fine with no errors in the main log but can't connect to the web gui via port 8083 in a browser (not sure if there's an issue with the exposed port or something). Log output below:

Attaching to steam-headless-1
steam-headless-1  | Build: [2024-09-21 02:56:19] [master] [0241c9f84583fb7b245fb45dbfae400153e8426c] [debian]
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/10-setup_user.sh: executing... ]
steam-headless-1  | **** Configure default user ****
steam-headless-1  |   - Setting default user uid=1000(default) gid=1000(default)
steam-headless-1  | usermod: no changes
steam-headless-1  |   - Adding default user to any additional required device groups
steam-headless-1  |   - Adding user 'default' to group: 'video'
steam-headless-1  |   - Adding user 'default' to group: 'audio'
steam-headless-1  |   - Adding user 'default' to group: 'input'
steam-headless-1  |   - Adding user 'default' to group: 'pulse'
steam-headless-1  |   - Adding user 'default' to group: 'pulse' for device: /dev/dri/card0
steam-headless-1  |   - Setting umask to 000
steam-headless-1  |   - Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
steam-headless-1  |   - Setting ownership of all log files in '/home/default/.cache/log'
steam-headless-1  |   - Setting root password
steam-headless-1  |   - Setting user password
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/11-setup_sysctl_values.sh: executing... ]
steam-headless-1  | **** Configure some system kernel parameters ****
steam-headless-1  |   - The vm.max_map_count is already greater than '524288'
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/30-configure_dbus.sh: executing... ]
steam-headless-1  | **** Configure container dbus ****
steam-headless-1  |   - Container configured to run its own dbus
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/30-configure_udev.sh: executing... ]
steam-headless-1  | **** Configure udevd ****
steam-headless-1  |   - Disable udevd - /sys is mounted RO
steam-headless-1  |   - Enable dumb-udev service
steam-headless-1  |   - Ensure the default user has permission to r/w on input devices
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/40-setup_locale.sh: executing... ]
steam-headless-1  | **** Configure local ****
steam-headless-1  |   - Locales already set correctly to en_US.UTF-8 UTF-8
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/50-configure_pulseaudio.sh: executing... ]
steam-headless-1  | **** Configure pulseaudio ****
steam-headless-1  |   - Enable pulseaudio service.
steam-headless-1  |   - Configure pulseaudio to pipe audio to a socket
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/60-configure_gpu_driver.sh: executing... ]
steam-headless-1  | **** No Intel device found ****
steam-headless-1  | **** Found AMD device '0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c9)' ****
steam-headless-1  |   - Enable i386 arch
steam-headless-1  |   - Install mesa vulkan drivers
steam-headless-1  | **** No NVIDIA device found ****
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/70-configure_desktop.sh: executing... ]
steam-headless-1  | **** Configure Desktop ****
steam-headless-1  |   - Enable Desktop service.
steam-headless-1  |   - Ensure home directory template is owned by the default user.
steam-headless-1  |   - Installing default home directory template
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
steam-headless-1  | **** Generate default xorg.conf ****
steam-headless-1  |   - Configure Xwrapper.config
steam-headless-1  |   - Configure container as primary the X server
steam-headless-1  |   - Enabling evdev input class on pointers, keyboards, touchpads, touch screens, etc.
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/80-configure_flatpak.sh: executing... ]
steam-headless-1  | **** Configure Flatpak ****
steam-headless-1  |   - Flatpak configured for running inside a Docker container
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/90-configure_neko.sh: executing... ]
steam-headless-1  | **** Configure Neko ****
steam-headless-1  |   - Disable Neko server
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/90-configure_steam.sh: executing... ]
steam-headless-1  | **** Configure Steam ****
steam-headless-1  |   - Enable Steam auto-start script
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/90-configure_sunshine.sh: executing... ]
steam-headless-1  | **** Configure Sunshine ****
steam-headless-1  |   - Disable Sunshine server
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/90-configure_vnc.sh: executing... ]
steam-headless-1  | **** Configure VNC ****
steam-headless-1  |   - Configure VNC service port '32036'
steam-headless-1  |   - Configure pulseaudio encoded stream port '32037'
steam-headless-1  |   - Enable VNC server
steam-headless-1  | DONE
steam-headless-1  | 
steam-headless-1  | [ /etc/cont-init.d/95-setup_wol.sh: executing... ]
steam-headless-1  | **** Configure WoL Manager ****
steam-headless-1  |   - Disable WoL Manager service.
steam-headless-1  | 
steam-headless-1  | **** Starting supervisord ****
steam-headless-1  |   - Logging all root services to '/var/log/supervisor/'
steam-headless-1  |   - Logging all user services to '/home/default/.cache/log/'
steam-headless-1  | 
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/dbus.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/desktop.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/neko.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/pulseaudio.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/steam.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/sunshine.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/udev.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/vnc-audio.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,132 INFO Included extra file "/etc/supervisor.d/vnc.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,133 INFO Included extra file "/etc/supervisor.d/wol-power-manager.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,133 INFO Included extra file "/etc/supervisor.d/xorg.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,133 INFO Included extra file "/etc/supervisor.d/xvfb.ini" during parsing
steam-headless-1  | 2024-09-25 20:30:08,133 INFO Set uid to user 0 succeeded
steam-headless-1  | 2024-09-25 20:30:08,136 INFO RPC interface 'supervisor' initialized
steam-headless-1  | 2024-09-25 20:30:08,136 CRIT Server 'unix_http_server' running without any HTTP authentication checking
steam-headless-1  | 2024-09-25 20:30:08,136 INFO supervisord started with pid 1
steam-headless-1  | 2024-09-25 20:30:09,139 INFO spawned: 'dbus' with pid 447
steam-headless-1  | 2024-09-25 20:30:09,142 INFO spawned: 'udev' with pid 448
steam-headless-1  | 2024-09-25 20:30:09,143 INFO spawned: 'xorg' with pid 449
steam-headless-1  | 2024-09-25 20:30:09,144 INFO spawned: 'audiostream' with pid 450
steam-headless-1  | 2024-09-25 20:30:09,145 INFO spawned: 'frontend' with pid 451
steam-headless-1  | 2024-09-25 20:30:09,146 INFO spawned: 'pulseaudio' with pid 452
steam-headless-1  | 2024-09-25 20:30:09,147 INFO spawned: 'x11vnc' with pid 454
steam-headless-1  | 2024-09-25 20:30:09,148 INFO spawned: 'desktop' with pid 457
steam-headless-1  | PULSEAUDIO: Starting pulseaudio service
steam-headless-1  | 2024-09-25 20:30:09,164 INFO reaped unknown pid 475 (exit status 0)
steam-headless-1  | 2024-09-25 20:30:10,160 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,160 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,160 INFO success: xorg entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,160 INFO success: audiostream entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,160 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,160 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,161 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,161 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
steam-headless-1  | 2024-09-25 20:30:10,463 INFO reaped unknown pid 531 (exit status 1)