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] Steam now requires user namespaces to be enabled #15

Open
1 task done
JCionx opened this issue Jul 25, 2024 · 14 comments
Open
1 task done

[BUG] Steam now requires user namespaces to be enabled #15

JCionx opened this issue Jul 25, 2024 · 14 comments
Assignees
Labels
bug Something isn't working no-issue-activity work-in-progress Stale exempt

Comments

@JCionx
Copy link

JCionx commented Jul 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After installing the docker container and opening it up, I'm greeted with this Steam error:

Screenshot 2024-07-25 at 11 53 47

Expected Behavior

I expected Steam to launch normally.

Steps To Reproduce

  1. Install SteamOS docker image from LinuxServer inside a CasaOS instance
  2. Open the KasmVNC WebUI
  3. Open Steam

Environment

- OS: Ubuntu Server 24.04
- How docker service was installed:
Docker was installed with CasaOS automatic install script.

CPU architecture

x86-64

Docker creation

Can't upload images here.
https://imgur.com/a/jx0XkLP
https://imgur.com/a/qcsIddl

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

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

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

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────
.+...+...+.......+++++++++++++++++++++++++++++++++++++++*.....+....+++++++++++++++++++++++++++++++++++++++*......+.+......+.....+...+.......+....................+...+.......+..+.+.........+..+.+....................+..........+........+.+...+......+..++++++
......+............+...+....+...+..+......+....+......+...+..+++++++++++++++++++++++++++++++++++++++*..+..+...+...+..........+.........+..+...+++++++++++++++++++++++++++++++++++++++*.+........+..........+.....+.+......+...+.....+............+...+......+.+...+..+.+.....+....+.....................+..+.+......+...+...........+.........+......+....+..+...+.+.....+......+.+.....+..........+...............+........+..........+..+....+...+..+......+..........+..+...+...+.+......+..+.+......+......+.........+...+..+.........+.+.....+.+..............+...+.+.........+..+....+..+..........+..............+.+..+...............+.+..+..........+..++++++
-----
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Jul 19 2024 20:55:39
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

2024/07/25 10:49:40 [warn] 201#201: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
[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
cp: cannot create regular file '/config/Desktop/steam-deck.desktop': No such file or directory
chmod: cannot access '/config/Desktop/steam-deck.desktop': No such file or directory
[adapter_name] -- [/dev/dri/renderD128]
[2024:07:25:10:49:40]: Info: Sunshine version: 0.23.1
[2024:07:25:10:49:40]: Warning: Couldn't find /dev/dri, kmsgrab won't be enabled
[2024:07:25:10:49:40]: Info: Detecting monitors
[2024:07:25:10:49:40]: Info: Detected monitor 0: VNC-0, connected: true
[2024:07:25:10:49:40]: Error: Could not create Sunshine Mouse (Relative): No such file or directory
[2024:07:25:10:49:40]: Error: Could not create Sunshine Mouse (Absolute): No such file or directory
[2024:07:25:10:49:40]: Error: Could not create Sunshine Keyboard: No such file or directory
[2024:07:25:10:49:40]: Error: Falling back to XTest for virtual input! Are you a member of the 'input' group?
[2024:07:25:10:49:40]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:07:25:10:49:40]: Info: Trying encoder [nvenc]
[2024:07:25:10:49:40]: Info: Screencasting with X11
[2024:07:25:10:49:40]: Info: SDR color coding [Rec. 601]
[2024:07:25:10:49:40]: Info: Color depth: 8-bit
[2024:07:25:10:49:40]: Info: Color range: [JPEG]
[2024:07:25:10:49:40]: Error: [AVHWDeviceContext @ 0x64cd595aa100] Cannot load libcuda.so.1
[2024:07:25:10:49:40]: Error: [AVHWDeviceContext @ 0x64cd595aa100] Could not dynamically load CUDA
[2024:07:25:10:49:40]: Error: Failed to create a CUDA device: Operation not permitted
[2024:07:25:10:49:40]: Info: SDR color coding [Rec. 601]
[2024:07:25:10:49:40]: Info: Color depth: 8-bit
[2024:07:25:10:49:40]: Info: Color range: [JPEG]
[2024:07:25:10:49:40]: Error: [AVHWDeviceContext @ 0x64cd595aec40] Cannot load libcuda.so.1
[2024:07:25:10:49:40]: Error: [AVHWDeviceContext @ 0x64cd595aec40] Could not dynamically load CUDA
[2024:07:25:10:49:40]: Error: Failed to create a CUDA device: Operation not permitted
[2024:07:25:10:49:40]: Info: Encoder [nvenc] failed
[2024:07:25:10:49:40]: Info: Trying encoder [vaapi]
[2024:07:25:10:49:40]: Info: Screencasting with X11
[2024:07:25:10:49:40]: Error: Couldn't open /dev/dri/renderD128: No such file or directory
[2024:07:25:10:49:40]: Error: Couldn't open /dev/dri/renderD128: No such file or directory
[2024:07:25:10:49:40]: Error: Couldn't open /dev/dri/renderD128: No such file or directory
[2024:07:25:10:49:40]: Error: Couldn't open /dev/dri/renderD128: No such file or directory
[2024:07:25:10:49:40]: Info: Encoder [vaapi] failed
[2024:07:25:10:49:40]: Info: Trying encoder [software]
[2024:07:25:10:49:40]: Info: Screencasting with X11
[2024:07:25:10:49:40]: Info: SDR color coding [Rec. 601]
[2024:07:25:10:49:40]: Info: Color depth: 8-bit
[2024:07:25:10:49:40]: Info: Color range: [JPEG]
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] profile High, level 4.2, 4:2:0, 8-bit
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] frame I:1     Avg QP:31.00  size:  1203
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] mb I  I16..4: 99.9%  0.0%  0.0%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] 8x8 transform intra:0.0%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] i16 v,h,dc,p: 97%  0%  3%  0%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 75% 12%  0%  0%  0%  0% 12%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] i8c dc,h,v,p: 100%  0%  0%  0%
[2024:07:25:10:49:40]: Info: [libx264 @ 0x64cd595ae500] kb/s:577.44
[2024:07:25:10:49:40]: Info: Screencasting with X11
[2024:07:25:10:49:40]: Info:
[2024:07:25:10:49:40]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:07:25:10:49:40]: Info:
[2024:07:25:10:49:40]: Info: Found H.264 encoder: libx264 [software]
[2024:07:25:10:49:40]: Info: Open the Web UI to set your new username and password and getting started
[2024:07:25:10:49:40]: Info: File /config/.config/sunshine/sunshine_state.json doesn't exist
[2024:07:25:10:49:40]: Error: Failed to create client: Daemon not running
[2024:07:25:10:49:40]: Info: Configuration UI available at [https://localhost:47990]
[2024:07:25:10:49:40]: Info: System tray created

(sunshine:260): libayatana-appindicator-WARNING **: 10:49:40.604: Unable to get the session bus: Error spawning command line ?dbus-launch --autolaunch=6ff17df05cbb448682f4ec7101e2708d --binary-syntax --close-stderr?: Child process exited with code 1

(sunshine:260): LIBDBUSMENU-GLIB-WARNING **: 10:49:40.604: Unable to get session bus: Error spawning command line ?dbus-launch --autolaunch=6ff17df05cbb448682f4ec7101e2708d --binary-syntax --close-stderr?: Child process exited with code 1
19
 2024-07-25 10:50:00,307 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-07-25 10:50:00,316 [PRIO] Connections: accepted: @192.168.1.67_1721904600.307582::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.

@TrudeEH
Copy link

TrudeEH commented Jul 25, 2024

+1 to this.

@thelamer
Copy link
Member

Yeah it looks busted, the namespace stuff can be worked around with seccomp and apparmor unconfined.(bubblewrap support) But now it looks like the Steam web helper crashing is blocking.
It just core dumps for me, and unfortunately I do not have a lot of options here with steam being closed source.

@thelamer thelamer self-assigned this Jul 25, 2024
@thelamer thelamer added the bug Something isn't working label Jul 25, 2024
@thelamer
Copy link
Member

I suspect valves pinned repos might be out of sync with head arch to the point that it is breaking steam installed from that same repo.
When I get time I will try to make a base image pinned to steamOS repos only and see if that fixes anything up.

@thelamer
Copy link
Member

So I built a couple variants out from Valve's 3.5, 3.6, and staging repos.
Unfortunately their repos lack a bunch of Intel and AMD drivers as it is scoped to the deck and modern RDNA3 stuff, so that drops the broader GPU compatibility.
I was hoping it would be a silver bullet, but it looks like this repo will most likely be sunset as I don't have a way to package a general compatible SteamOS image which was the whole point of it in the first place.

@TrudeEH
Copy link

TrudeEH commented Jul 29, 2024

I'm sorry to hear that. Hopefully there will be a fix for this issue in the future. Every image that I have tried seems to be broken as well...

@TrudeEH
Copy link

TrudeEH commented Jul 29, 2024

I don't know if it relates, but I've been having issues with Steam, even on my regular (i5-14600K) desktop. Sometimes Steam crashes, games such as Terraria "randomly" freeze and crash the window manager, and Steam's UI becomes unresponsive and laggy all the time. It's been quite unstable, and I can't blame the CPU since everything else works well. Perhaps it could be helpful to reach Steam directly to get the whole driver/compatibility situation resolved? I feel like the issues with the client and the docker image might be related somehow. I can't really debug it since, like you said, it's proprietary software.

@thelamer
Copy link
Member

Games use bubblewrap (proton and linux runtime isolated in a container like docker) and do not have host deps unless they are mounting in video card drivers.
This is actually breaking the steam client, specifically the steam web helper.
I can get something semi working using the staging repos if you have an RDNA3 card, but I can't have an image where 90% of users will get an error on their hardware. Too much support, I'll ponder for a couple weeks before officially shutting it down.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@Dethkiller15
Copy link

I have the same issue on a 5800H MiniPC with Ubuntu 24.04.1 LTS (Noble Numbat) also using CasaOS.

Any way to correct it?

@JCionx
Copy link
Author

JCionx commented Sep 21, 2024

I have the same issue on a 5800H MiniPC with Ubuntu 24.04.1 LTS (Noble Numbat) also using CasaOS.

Any way to correct it?

I still have the same problem. It seems to be a problem with Steam.

@Dethkiller15
Copy link

I wonder if there is a way to force a specific version of steam to install and run...

@Dethkiller15
Copy link

@saya6k
Copy link

saya6k commented Oct 13, 2024

I'm also getting this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity work-in-progress Stale exempt
Projects
Status: Issues
Development

No branches or pull requests

7 participants
@thelamer @LinuxServer-CI @TrudeEH @Dethkiller15 @saya6k @JCionx and others