Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to use steam. #22

Closed
1 task done
Dethkiller15 opened this issue Jan 25, 2025 · 3 comments
Closed
1 task done

[BUG] Unable to use steam. #22

Dethkiller15 opened this issue Jan 25, 2025 · 3 comments

Comments

@Dethkiller15
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I know that you had closed the issue(#15) already however steam itself is not usable when using an older CPU/GPU from what I can tell.

I myself am using a mini PC with a AMD Ryzen 7 5700U and can not get steam up and running in the container.

Each time I try to open steam this error appears
Image

Expected Behavior

steam works

Steps To Reproduce

  1. Use a computer with a CPU in or below the same generation as the Ryzen 7 5700U.
  2. do everything to launch container.
  3. see error.

Environment

- OS: Ubuntu 24.04.1 LTS
- How docker service was installed: Using CasaOS

CPU architecture

x86-64

Docker creation

name: linuxserver-steamos
services:
  app:
    cpu_shares: 90
    command: []
    container_name: SteamOS
    deploy:
      resources:
        limits:
          memory: 28972M
    devices:
      - /dev/dri:/dev/dri
    environment:
      - CUSTOM_USER=YourUser
      - DRINODE=
      - HOST_IP=
      - PASSWORD=YourPass
      - PGID=1000
      - PUID=1000
      - RESOLUTION=
      - STARTUP=
      - TZ=Etc/UTC
    hostname: SteamOS
    image: linuxserver/steamos:version-2024-12-20
    labels:
      icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/steamos-logo.png
    ports:
      - target: 3000
        published: "3002"
        protocol: tcp
    privileged: true
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/steamos/config
        target: /config
      - type: bind
        source: /dev/input
        target: /dev/input
      - type: bind
        source: /run/udev/data
        target: /run/udev/data
    cap_add: []
    network_mode: bridge
x-casaos:
  architectures:
    - amd64
  author: WisdomSky
  category: LinuxServer.io
  description:
    en_us: SteamOS is an Arch based Linux distribution made by Valve Software. This
      container is a vanilla Arch install with Steam repositories added for
      software support. This container will only work with modern AMD/Intel GPUs
      on a real Linux Host
  developer: LinuxServer.io
  hostname: SteamOS.yoururlhere.idk
  icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/steamos-logo.png
  index: /
  is_uncontrolled: false
  main: app
  port_map: ""
  scheme: https
  store_app_id: linuxserver-steamos
  tagline:
    en_us: An Arch based Linux distribution made by Valve Software. This container
      is a vanilla Arch install with Steam repositories added for software
      support. This container will only work with modern AMD/Intel GPUs on a
      real Linux Host
  thumbnail: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/steamos-logo.png
  title:
    custom: SteamOS
    en_us: Steamos

Container logs

Cut off the sessions before as I am to lazy to remove all the external IPs I connected from when testing.
[2025:01:25:15:22:20]: Info: Terminate handler called
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
**** permissions for /dev/dri/card0 are good ****
**** permissions for /dev/dri/renderD128 are good ****
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Set firefox.desktop as the default for x-scheme-handler/https
Set firefox.desktop as the default for x-scheme-handler/http
[adapter_name] -- [/dev/dri/renderD128]
[2025:01:25:15:22:35]: Info: Sunshine version: 0.23.1
[2025:01:25:15:22:35]: Info: /dev/dri/card0 -> amdgpu
[2025:01:25:15:22:35]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2025:01:25:15:22:35]: Info: Detecting monitors
[2025:01:25:15:22:35]: Warning: Failed to create system tray
[2025:01:25:15:22:35]: Error: Unable to initialize capture method
[2025:01:25:15:22:35]: Error: Platform failed to initialize
[2025:01:25:15:22:35]: Error: Could not create Sunshine Mouse (Relative): Permission denied
[2025:01:25:15:22:35]: Error: Could not create Sunshine Mouse (Absolute): Permission denied
[2025:01:25:15:22:35]: Error: Could not create Sunshine Keyboard: Permission denied
[2025:01:25:15:22:35]: Error: Falling back to XTest for virtual input! Are you a member of the 'input' group?
[2025:01:25:15:22:35]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025:01:25:15:22:35]: Info: Trying encoder [nvenc]
[2025:01:25:15:22:36]: Info: Encoder [nvenc] failed
[2025:01:25:15:22:36]: Info: Trying encoder [vaapi]
19
[2025:01:25:15:22:36]: Info: Encoder [vaapi] failed
[2025:01:25:15:22:36]: Info: Trying encoder [software]
Set firefox.desktop as the default for x-scheme-handler/https
Set firefox.desktop as the default for x-scheme-handler/http
[adapter_name] -- [/dev/dri/renderD128]
[2025:01:25:15:22:36]: Info: Sunshine version: 0.23.1
[2025:01:25:15:22:36]: Info: /dev/dri/card0 -> amdgpu
[2025:01:25:15:22:36]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2025:01:25:15:22:36]: Info: Detecting monitors
[2025:01:25:15:22:36]: Info: Detected monitor 0: VNC-0, connected: true
[2025:01:25:15:22:36]: Error: Could not create Sunshine Mouse (Relative): Permission denied
[2025:01:25:15:22:36]: Error: Could not create Sunshine Mouse (Absolute): Permission denied
[2025:01:25:15:22:36]: Error: Could not create Sunshine Keyboard: Permission denied
[2025:01:25:15:22:36]: Error: Falling back to XTest for virtual input! Are you a member of the 'input' group?
[2025:01:25:15:22:36]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025:01:25:15:22:36]: Info: Trying encoder [nvenc]
[2025:01:25:15:22:36]: Info: Screencasting with X11
[2025:01:25:15:22:36]: Info: SDR color coding [Rec. 601]
[2025:01:25:15:22:36]: Info: Color depth: 8-bit
[2025:01:25:15:22:36]: Info: Color range: [JPEG]
[2025:01:25:15:22:36]: Error: [AVHWDeviceContext @ 0x607b221a1b00] Cannot load libcuda.so.1
[2025:01:25:15:22:36]: Error: [AVHWDeviceContext @ 0x607b221a1b00] Could not dynamically load CUDA
[2025:01:25:15:22:36]: Error: Failed to create a CUDA device: Operation not permitted
[2025:01:25:15:22:36]: Info: SDR color coding [Rec. 601]
[2025:01:25:15:22:36]: Info: Color depth: 8-bit
[2025:01:25:15:22:36]: Info: Color range: [JPEG]
[2025:01:25:15:22:36]: Error: [AVHWDeviceContext @ 0x607b221a2240] Cannot load libcuda.so.1
[2025:01:25:15:22:36]: Error: [AVHWDeviceContext @ 0x607b221a2240] Could not dynamically load CUDA
[2025:01:25:15:22:36]: Error: Failed to create a CUDA device: Operation not permitted
[2025:01:25:15:22:36]: Info: Encoder [nvenc] failed
[2025:01:25:15:22:36]: Info: Trying encoder [vaapi]
[2025:01:25:15:22:36]: Info: Screencasting with X11
[2025:01:25:15:22:36]: Info: SDR color coding [Rec. 601]
[2025:01:25:15:22:36]: Info: Color depth: 8-bit
[2025:01:25:15:22:36]: Info: Color range: [JPEG]
[2025:01:25:15:22:36]: Error: [h264_vaapi @ 0x607b2246aec0] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2025:01:25:15:22:36]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented
[2025:01:25:15:22:37]: Info: System tray created
[2025:01:25:15:22:37]: Info: Encoder [software] failed
[2025:01:25:15:22:37]: Fatal: Unable to find display or encoder during startup.
[2025:01:25:15:22:37]: Fatal: Please ensure your manually chosen GPU and monitor are connected and powered on.
[2025:01:25:15:22:37]: Error: Video failed to find working encoder
[2025:01:25:15:22:37]: Info: Open the Web UI to set your new username and password and getting started
[2025:01:25:15:22:37]: Info: File /config/.config/sunshine/sunshine_state.json doesn't exist
[2025:01:25:15:22:37]: Error: Failed to create client: Daemon not running
[2025:01:25:15:22:37]: Info: Configuration UI available at [https://localhost:47990]
[2025:01:25:15:22:37]: Info: SDR color coding [Rec. 601]
[2025:01:25:15:22:37]: Info: Color depth: 8-bit
[2025:01:25:15:22:37]: Info: Color range: [JPEG]
[2025:01:25:15:22:37]: Error: [hevc_vaapi @ 0x607b221a1680] No usable encoding entrypoint found for profile VAProfileHEVCMain (17).
[2025:01:25:15:22:37]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented
[2025:01:25:15:22:37]: Info: SDR color coding [Rec. 601]
[2025:01:25:15:22:37]: Info: Color depth: 8-bit
[2025:01:25:15:22:37]: Info: Color range: [JPEG]
[2025:01:25:15:22:37]: Error: [av1_vaapi @ 0x7c6dd006fec0] No usable encoding profile found.
[2025:01:25:15:22:37]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Function not implemented
[2025:01:25:15:22:37]: Error: [av1_vaapi @ 0x607b224c6180] No usable encoding profile found.
[2025:01:25:15:22:37]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2025:01:25:15:22:37]: Info: SDR color coding [Rec. 601]
[2025:01:25:15:22:37]: Info: Color depth: 8-bit
[2025:01:25:15:22:37]: Info: Color range: [JPEG]
[2025:01:25:15:22:37]: Error: [av1_vaapi @ 0x607b224c6180] No usable encoding profile found.
[2025:01:25:15:22:37]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Function not implemented
[2025:01:25:15:22:37]: Error: [av1_vaapi @ 0x7c6dd006fec0] No usable encoding profile found.
[2025:01:25:15:22:37]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2025:01:25:15:22:37]: Info: Screencasting with X11
[2025:01:25:15:22:37]: Info: SDR color coding [Rec. 709]
[2025:01:25:15:22:37]: Info: Color depth: 10-bit
[2025:01:25:15:22:37]: Info: Color range: [JPEG]
[2025:01:25:15:22:37]: Error: [hevc_vaapi @ 0x607b224c6180] No usable encoding entrypoint found for profile VAProfileHEVCMain10 (18).
[2025:01:25:15:22:37]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented
[2025:01:25:15:22:37]: Info: 
[2025:01:25:15:22:37]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025:01:25:15:22:37]: Info: 
[2025:01:25:15:22:37]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2025:01:25:15:22:37]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2025:01:25:15:22:37]: Info: Open the Web UI to set your new username and password and getting started
[2025:01:25:15:22:37]: Info: File /config/.config/sunshine/sunshine_state.json doesn't exist
[2025:01:25:15:22:37]: Fatal: Couldn't bind RTSP server to port [48010], Address already in use
[2025:01:25:15:22:37]: Error: Failed to create client: Daemon not running
 2025-01-25 15:22:47,477 [PRIO] Connections: accepted: @192.168.1.230_1737818567.470477::websocket
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thelamer
Copy link
Member

You need apparmor and seccomp unconfined, also do not pass empty env vars, just remove them.

@Dethkiller15
Copy link
Author

You need apparmor and seccomp unconfined, also do not pass empty env vars, just remove them.

My bad sorry this is an issue with CasaOS I will make a new issue regarding it as a not to other users.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants