linuxserver / docker-steamos

Vanilla Arch modified into SteamOS with web based Desktop access, useful for remote play and lower end games
GNU General Public License v3.0
103 stars 6 forks source link

[BUG] latest doesn't work: Fatal server error: Unrecognized option: -force-xrandr-emulation #8

Closed AnomalRoil closed 11 months ago

AnomalRoil commented 11 months ago

Is there an existing issue for this?

Current Behavior

Coming from the September version, it seems the latest image doesn't work.

Expected Behavior

Updating to the latest should work.

Steps To Reproduce

Using image: lscr.io/linuxserver/steamos:latest, docker compose pull && docker compose up -d seems buggy: it's impossible to access to virtual desktop in the browser.

Using instead image: lscr.io/linuxserver/steamos:version-2023-09-15, everything works fine.

Environment

- OS:Ubuntu 22.04
- How docker service was installed: using docker's own apt source and package

CPU architecture

x86-64

Docker creation

`docker compose up -d`

Container logs

steamos  | [migrations] started
steamos  | [migrations] no migrations found
steamos  | ───────────────────────────────────────
steamos  |
steamos  |       ██╗     ███████╗██╗ ██████╗
steamos  |       ██║     ██╔════╝██║██╔═══██╗
steamos  |       ██║     ███████╗██║██║   ██║
steamos  |       ██║     ╚════██║██║██║   ██║
steamos  |       ███████╗███████║██║╚██████╔╝
steamos  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
steamos  |
steamos  |    Brought to you by linuxserver.io
steamos  | ───────────────────────────────────────
steamos  |
steamos  | To support LSIO projects visit:
steamos  | https://www.linuxserver.io/donate/
steamos  |
steamos  | ───────────────────────────────────────
steamos  | GID/UID
steamos  | ───────────────────────────────────────
steamos  |
steamos  | User UID:    1000
steamos  | User GID:    1000
steamos  | ───────────────────────────────────────
steamos  |
steamos  | **** creating video group videoaexe with id 110 ****
steamos  | **** adding /dev/dri/renderD128 to video group videoaexe with id 110 ****
steamos  | **** creating video group videonwer with id 44 ****
steamos  | **** adding /dev/dri/card0 to video group videonwer with id 44 ****
steamos  | [custom-init] No custom files found, skipping...
steamos  | _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
steamos  |
steamos  | Xvnc KasmVNC 1.2.0 - built Oct 13 2023 16:17:52
steamos  | Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
steamos  | See http://kasmweb.com for information on KasmVNC.
steamos  | Underlying X server release 12014000, The X.Org Foundation
steamos  |
steamos  | [ls.io-init] done.
steamos  | 2023/10/15 15:24:59 [warn] 219#219: 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
steamos  | Set firefox.desktop as the default for x-scheme-handler/https
steamos  | Set firefox.desktop as the default for x-scheme-handler/http
steamos  | [adapter_name] -- [/dev/dri/renderD128]
steamos  | [2023:10:15:15:24:59]: Info: Sunshine version: 0.20.0.dirty
steamos  | [2023:10:15:15:24:59]: Error: Failed to gain CAP_SYS_ADMIN
steamos  | [2023:10:15:15:24:59]: Error: Failed to gain CAP_SYS_ADMIN
steamos  | [2023:10:15:15:24:59]: Error: Couldn't get handle for DRM Framebuffer [126]: Possibly not permitted: do [sudo setcap cap_sys_admin+p sunshine]
steamos  | [2023:10:15:15:24:59]: Error: Environment variable WAYLAND_DISPLAY has not been defined
steamos  | [2023:10:15:15:24:59]: Info: Detecting monitors
steamos  | [2023:10:15:15:24:59]: Info: Detected monitor 0: VNC-0, connected: true
steamos  | [2023:10:15:15:24:59]: Error: Could not create Sunshine Mouse: No such file or directory
steamos  | [2023:10:15:15:24:59]: Error: Could not create Sunshine Touchscreen: No such file or directory
steamos  | [2023:10:15:15:24:59]: Error: Could not create Sunshine Keyboard: No such file or directory
steamos  | [2023:10:15:15:24:59]: Error: Unable to create some input devices! Are you a member of the 'input' group?
steamos  | No CAP_SYS_NICE, falling back to regular-priority compute and threads.
steamos  | Performance will be affected.
steamos  | [2023:10:15:15:24:59]: Info: Falling back to XTest
steamos  | wlserver: [backend/headless/backend.c:68] Creating headless backend
steamos  | [2023:10:15:15:24:59]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
steamos  | [2023:10:15:15:24:59]: Info: Trying encoder [nvenc]
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 601]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | [2023:10:15:15:24:59]: Error: Failed to create a CUDA device: Operation not permitted
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 601]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | [2023:10:15:15:24:59]: Error: Failed to create a CUDA device: Operation not permitted
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 601]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | [2023:10:15:15:24:59]: Error: Failed to create a CUDA device: Operation not permitted
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 601]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | [2023:10:15:15:24:59]: Error: Failed to create a CUDA device: Operation not permitted
steamos  | [2023:10:15:15:24:59]: Info: Encoder [nvenc] failed
steamos  | [2023:10:15:15:24:59]: Info: Trying encoder [vaapi]
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 601]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | vulkan: selecting physical device 'AMD Radeon RX 5700 XT (RADV NAVI10)': queue family 1 (general queue family 0)
steamos  | vulkan: physical device supports DRM format modifiers
steamos  | [2023:10:15:15:24:59]: Info: System tray created
steamos  |
steamos  | (sunshine:292): libappindicator-WARNING **: 15:24:59.540: Unable to get the session bus: Error spawning command line ?dbus-launch --autolaunch=5361581540f04e069d5b202550e961be --binary-syntax --close-stderr?: Child process exited with code 1
steamos  |
steamos  | (sunshine:292): LIBDBUSMENU-GLIB-WARNING **: 15:24:59.541: Unable to get session bus: Error spawning command line ?dbus-launch --autolaunch=5361581540f04e069d5b202550e961be --binary-syntax --close-stderr?: Child process exited with code 1
steamos  | vulkan: supported DRM formats for sampling usage:
steamos  | vulkan:   AR24 (0x34325241)
steamos  | vulkan:   XR24 (0x34325258)
steamos  | vulkan:   AB24 (0x34324241)
steamos  | vulkan:   XB24 (0x34324258)
steamos  | vulkan:   RG16 (0x36314752)
steamos  | vulkan:   NV12 (0x3231564E)
steamos  | vulkan:   AB4H (0x48344241)
steamos  | vulkan:   XB4H (0x48344258)
steamos  | vulkan:   AB48 (0x38344241)
steamos  | vulkan:   XB48 (0x38344258)
steamos  | vulkan:   AB30 (0x30334241)
steamos  | vulkan:   XB30 (0x30334258)
steamos  | vulkan:   AR30 (0x30335241)
steamos  | vulkan:   XR30 (0x30335258)
steamos  | xvnc_get_formats
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | wlserver: Running compositor on wayland display 'gamescope-0'
steamos  | wlserver: [backend/headless/backend.c:16] Starting headless backend
steamos  | wlserver: [xwayland/server.c:108] Starting Xwayland on :0
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 601]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | Unrecognized option: -force-xrandr-emulation
steamos  | use: X [:<display>] [option]
steamos  | -a #                   default pointer acceleration (factor)
steamos  | -ac                    disable access control restrictions
steamos  | -audit int             set audit trail level
steamos  | -auth file             select authorization file
steamos  | -br                    create root window with black background
steamos  | +bs                    enable any backing store support
steamos  | -bs                    disable any backing store support
steamos  | -c                     turns off key-click
steamos  | c #                    key-click volume (0-100)
steamos  | -cc int                default color visual class
steamos  | -nocursor              disable the cursor
steamos  | -core                  generate core dump on fatal error
steamos  | -displayfd fd          file descriptor to write display number to when ready to connect
steamos  | -dpi int               screen resolution in dots per inch
steamos  | -dpms                  disables VESA DPMS monitor control
steamos  | -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
steamos  | -f #                   bell base (0-100)
steamos  | -fakescreenfps #       fake screen default fps (1-600)
steamos  | -fp string             default font path
steamos  | -help                  prints message with these options
steamos  | +iglx                  Allow creating indirect GLX contexts
steamos  | -iglx                  Prohibit creating indirect GLX contexts (default)
steamos  | -I                     ignore all remaining arguments
steamos  | -ld int                limit data space to N Kb
steamos  | -lf int                limit number of open files to N
steamos  | -ls int                limit stack space to N Kb
steamos  | -nolock                disable the locking mechanism
steamos  | -maxclients n          set maximum number of clients (power of two)
steamos  | -nolisten string       don't listen on protocol
steamos  | -listen string         listen on protocol
steamos  | -noreset               don't reset after last client exists
steamos  | -background [none]     create root window with no background
steamos  | -reset                 reset after last client exists
steamos  | -p #                   screen-saver pattern duration (minutes)
steamos  | -pn                    accept failure to listen on all ports
steamos  | -nopn                  reject failure to listen on all ports
steamos  | -r                     turns off auto-repeat
steamos  | r                      turns on auto-repeat
steamos  | -render [default|mono|gray|color] set render color alloc policy
steamos  | -retro                 start with classic stipple and cursor
steamos  | -s #                   screen-saver timeout (minutes)
steamos  | -seat string           seat to run on
steamos  | -t #                   default pointer threshold (pixels/t)
steamos  | -terminate [delay]     terminate at server reset (optional delay in sec)
steamos  | -tst                   disable testing extensions
steamos  | ttyxx                  server started from init on /dev/ttyxx
steamos  | v                      video blanking for screen-saver
steamos  | -v                     screen-saver without video blanking
steamos  | -wr                    create root window with white background
steamos  | -maxbigreqsize         set maximal bigrequest size
steamos  | +xinerama              Enable XINERAMA extension
steamos  | -xinerama              Disable XINERAMA extension
steamos  | -dumbSched             Disable smart scheduling and threaded input, enable old behavior
steamos  | -schedInterval int     Set scheduler interval in msec
steamos  | -sigstop               Enable SIGSTOP based startup
steamos  | +extension name        Enable extension
steamos  | -extension name        Disable extension
steamos  |  Only the following extensions can be run-time enabled/disabled:
steamos  |  Generic Event Extension
steamos  |  MIT-SHM
steamos  |  XTEST
steamos  |  SECURITY
steamos  |  XINERAMA
steamos  |  XFIXES
steamos  |  RENDER
steamos  |  RANDR
steamos  |  COMPOSITE
steamos  |  DAMAGE
steamos  |  MIT-SCREEN-SAVER
steamos  |  DOUBLE-BUFFER
steamos  |  RECORD
steamos  |  DPMS
steamos  |  X-Resource
steamos  |  XVideo
steamos  |  XVideo-MotionCompensation
steamos  |  GLX
steamos  | -query host-name       contact named host for XDMCP
steamos  | -broadcast             broadcast for XDMCP
steamos  | -multicast [addr [hops]] IPv6 multicast for XDMCP
steamos  | -indirect host-name    contact named host for indirect XDMCP
steamos  | -port port-num         UDP port number to send messages to
steamos  | -from local-address    specify the local address to connect from
steamos  | -once                  Terminate server after one session
steamos  | -class display-class   specify display class to send in manage
steamos  | -cookie xdm-auth-bits  specify the magic cookie for XDMCP
steamos  | -displayID display-id  manufacturer display ID for request
steamos  | [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
steamos  |                        enable/disable accessx key sequences
steamos  | -ardelay               set XKB autorepeat delay
steamos  | -arinterval            set XKB autorepeat interval
steamos  | -rootless              run rootless, requires wm support
steamos  | -wm fd                 create X client for wm on given fd
steamos  | -initfd fd             add given fd as a listen socket for initialization clients
steamos  | -listenfd fd           add given fd as a listen socket
steamos  | -listen fd             deprecated, use "-listenfd" instead
steamos  | -eglstream             use eglstream backend for nvidia GPUs
steamos  | -shm                   use shared memory for passing buffers
steamos  | -verbose [n]           verbose startup messages
steamos  | -version               show the server version and exit
steamos  | -noTouchPointerEmulation  disable touch pointer emulation
steamos  | (EE)
steamos  | Fatal server error:
steamos  | (EE) Unrecognized option: -force-xrandr-emulation
steamos  | (EE)
steamos  | [2023:10:15:15:24:59]: Info: Screencasting with X11
steamos  | [2023:10:15:15:24:59]: Info: SDR color coding [Rec. 709]
steamos  | [2023:10:15:15:24:59]: Info: Color range: [JPEG]
steamos  | [2023:10:15:15:24:59]: Warning: vaapi: hevc missing sps->vui parameters
steamos  | [2023:10:15:15:24:59]: Info:
steamos  | [2023:10:15:15:24:59]: Info: // Ignore any errors mentioned above, they are not relevant. //
steamos  | [2023:10:15:15:24:59]: Info:
steamos  | [2023:10:15:15:24:59]: Info: Found encoder vaapi: [h264_vaapi, hevc_vaapi]
steamos  | [2023:10:15:15:24:59]: Info: Open the Web UI to set your new username and password and getting started
steamos  | [2023:10:15:15:24:59]: Info: File /config/.config/sunshine/sunshine_state.json doesn't exist
steamos  | [2023:10:15:15:24:59]: Error: Failed to create client: Daemon not running
steamos  | [2023:10:15:15:24:59]: Info: Configuration UI available at [https://localhost:47990]
steamos  | wlserver: [xwayland/server.c:270] Xwayland startup failed, not setting up xwm
steamos  |  2023-10-15 15:28:58,914 [INFO] websocket 0: got client connection from 127.0.0.1
github-actions[bot] commented 11 months ago

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

thelamer commented 11 months ago

Problem with the xwayland offered in the jupiter repos, swapped to the arch version and that CLI arg is recognized.

Fix is building now.