2025-12-28T16:05:21.634714529Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2025-12-28T16:05:21.634787797Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2025-12-28T16:05:21.671985820Z /run/s6/basedir/scripts/rc.init: info: hook /docker-mods exited 0
2025-12-28T16:05:21.695443537Z s6-rc: info: service s6rc-oneshot-runner: starting
2025-12-28T16:05:21.698348574Z s6-rc: info: service s6rc-oneshot-runner successfully started
2025-12-28T16:05:21.698481001Z s6-rc: info: service fix-attrs: starting
2025-12-28T16:05:21.698635542Z s6-rc: info: service init-migrations: starting
2025-12-28T16:05:21.698869422Z s6-rc: info: service init-envfile: starting
2025-12-28T16:05:21.704336276Z [migrations] started
2025-12-28T16:05:21.706384158Z [migrations] no migrations found
2025-12-28T16:05:21.706573670Z s6-rc: info: service fix-attrs successfully started
2025-12-28T16:05:21.706722780Z s6-rc: info: service legacy-cont-init: starting
2025-12-28T16:05:21.706836128Z s6-rc: info: service init-migrations successfully started
2025-12-28T16:05:21.706947071Z s6-rc: info: service init-adduser: starting
2025-12-28T16:05:21.707053045Z s6-rc: info: service init-envfile successfully started
2025-12-28T16:05:21.711987607Z s6-rc: info: service legacy-cont-init successfully started
2025-12-28T16:05:21.725905321Z usermod: no changes
2025-12-28T16:05:21.733910073Z ───────────────────────────────────────
2025-12-28T16:05:21.733922509Z
2025-12-28T16:05:21.733926978Z ██╗ ███████╗██╗ ██████╗
2025-12-28T16:05:21.733931226Z ██║ ██╔════╝██║██╔═══██╗
2025-12-28T16:05:21.733935204Z ██║ ███████╗██║██║ ██║
2025-12-28T16:05:21.733939302Z ██║ ╚════██║██║██║ ██║
2025-12-28T16:05:21.733943531Z ███████╗███████║██║╚██████╔╝
2025-12-28T16:05:21.733947569Z ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-12-28T16:05:21.733951627Z
2025-12-28T16:05:21.733955254Z Brought to you by linuxserver.io
2025-12-28T16:05:21.733959072Z ───────────────────────────────────────
2025-12-28T16:05:21.734333085Z
2025-12-28T16:05:21.734339808Z To support LSIO projects visit:
2025-12-28T16:05:21.734344027Z https://www.linuxserver.io/donate/
2025-12-28T16:05:21.734347995Z
2025-12-28T16:05:21.734352173Z ───────────────────────────────────────
2025-12-28T16:05:21.734367624Z GID/UID
2025-12-28T16:05:21.734371482Z ───────────────────────────────────────
2025-12-28T16:05:21.739173909Z
2025-12-28T16:05:21.739179951Z User UID: 911
2025-12-28T16:05:21.739183739Z User GID: 911
2025-12-28T16:05:21.739187496Z ───────────────────────────────────────
2025-12-28T16:05:21.755494780Z s6-rc: info: service init-adduser successfully started
2025-12-28T16:05:21.755649371Z s6-rc: info: service init-device-perms: starting
2025-12-28T16:05:21.761075182Z s6-rc: info: service init-device-perms successfully started
2025-12-28T16:05:21.761205565Z s6-rc: info: service init-os-end: starting
2025-12-28T16:05:21.762625423Z s6-rc: info: service init-os-end successfully started
2025-12-28T16:05:21.762754442Z s6-rc: info: service init-selkies: starting
2025-12-28T16:05:21.764109390Z s6-rc: info: service init-selkies successfully started
2025-12-28T16:05:21.764215483Z s6-rc: info: service init-nginx: starting
2025-12-28T16:05:21.824590678Z .......+.........+....+..+....+...+..+.........+.+...+...+..+......+.+...+..+.+..+................+.....+.......+..+......+....+...+..............+.+++++++++++++++++++++++++++++++++++++++*.+........+...+...+......+.+.....+...+++++++++++++++++++++++++++++++++++++++*..+....................+...+.........+...+.......+........+.+..+....+.....+....+......+..............+.+........................+..+.......+...+....................+.............+.....+....+...+.........+..............+.......+........+......+.+.....+.........+...+............+.........+.+...+.....+.+......+...+..+....+..............+...+....+...+...+..+..........+..+......+...+...................+..+....++++++
2025-12-28T16:05:21.835642664Z .....................+...+..+...+....+........+...............+..........+............+..+.........+.......+.....+..........+.........+...+....................+...+.......+.....+.+.....+.+...........+....+........+.+......+........+......+....+++++++++++++++++++++++++++++++++++++++*.....+.+..............+.+.....+.+............+..+.+...+++++++++++++++++++++++++++++++++++++++*..+.+...+......+........+.+..+...+.......+.........++++++
2025-12-28T16:05:21.839362882Z -----
2025-12-28T16:05:22.002751076Z s6-rc: info: service init-nginx successfully started
2025-12-28T16:05:22.002993945Z s6-rc: info: service init-selkies-config: starting
2025-12-28T16:05:22.068816755Z [ls.io-init] Creating initial backup of menu.xml
2025-12-28T16:05:22.110853989Z [ls.io-init] Creating initial backup of system rc.xml
2025-12-28T16:05:22.184988149Z s6-rc: info: service init-selkies-config successfully started
2025-12-28T16:05:22.185159183Z s6-rc: info: service init-video: starting
2025-12-28T16:05:22.193719824Z s6-rc: info: service init-video successfully started
2025-12-28T16:05:22.194020650Z s6-rc: info: service init-selkies-end: starting
2025-12-28T16:05:22.195426189Z s6-rc: info: service init-selkies-end successfully started
2025-12-28T16:05:22.195557353Z s6-rc: info: service init-config: starting
2025-12-28T16:05:22.197143906Z s6-rc: info: service init-config successfully started
2025-12-28T16:05:22.197298738Z s6-rc: info: service init-crontab-config: starting
2025-12-28T16:05:22.210976830Z s6-rc: info: service init-crontab-config successfully started
2025-12-28T16:05:22.211129236Z s6-rc: info: service init-config-end: starting
2025-12-28T16:05:22.212572972Z s6-rc: info: service init-config-end successfully started
2025-12-28T16:05:22.212766993Z s6-rc: info: service init-mods: starting
2025-12-28T16:05:22.214198074Z s6-rc: info: service init-mods successfully started
2025-12-28T16:05:22.214373417Z s6-rc: info: service init-mods-package-install: starting
2025-12-28T16:05:22.222290773Z s6-rc: info: service init-mods-package-install successfully started
2025-12-28T16:05:22.222481998Z s6-rc: info: service init-mods-end: starting
2025-12-28T16:05:22.223816123Z s6-rc: info: service init-mods-end successfully started
2025-12-28T16:05:22.224160807Z s6-rc: info: service init-custom-files: starting
2025-12-28T16:05:22.230216245Z [custom-init] No custom files found, skipping...
2025-12-28T16:05:22.230872837Z s6-rc: info: service init-custom-files successfully started
2025-12-28T16:05:22.231085786Z s6-rc: info: service init-services: starting
2025-12-28T16:05:22.232650495Z s6-rc: info: service init-services successfully started
2025-12-28T16:05:22.232857903Z s6-rc: info: service svc-xorg: starting
2025-12-28T16:05:22.233052284Z s6-rc: info: service svc-watchdog: starting
2025-12-28T16:05:22.233299201Z s6-rc: info: service svc-pulseaudio: starting
2025-12-28T16:05:22.233465506Z s6-rc: info: service svc-nginx: starting
2025-12-28T16:05:22.233626680Z s6-rc: info: service svc-docker: starting
2025-12-28T16:05:22.234010994Z s6-rc: info: service svc-cron: starting
2025-12-28T16:05:22.235385761Z s6-rc: info: service svc-pulseaudio successfully started
2025-12-28T16:05:22.235651405Z s6-rc: info: service svc-nginx successfully started
2025-12-28T16:05:22.235886138Z s6-rc: info: service svc-xorg successfully started
2025-12-28T16:05:22.236099848Z s6-rc: info: service svc-xsettingsd: starting
2025-12-28T16:05:22.236453370Z s6-rc: info: service svc-selkies: starting
2025-12-28T16:05:22.236602590Z s6-rc: info: service svc-de: starting
2025-12-28T16:05:22.236767532Z s6-rc: info: service svc-watchdog successfully started
2025-12-28T16:05:22.236932474Z s6-rc: info: service svc-docker successfully started
2025-12-28T16:05:22.237065001Z s6-rc: info: service svc-cron successfully started
2025-12-28T16:05:22.238518336Z s6-rc: info: service svc-xsettingsd successfully started
2025-12-28T16:05:22.238712287Z s6-rc: info: service svc-selkies successfully started
2025-12-28T16:05:22.238980717Z s6-rc: info: service svc-de successfully started
2025-12-28T16:05:22.239203796Z s6-rc: info: service legacy-services: starting
2025-12-28T16:05:22.248153470Z s6-rc: info: service legacy-services successfully started
2025-12-28T16:05:22.248281558Z s6-rc: info: service ci-service-check: starting
2025-12-28T16:05:22.249661696Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-12-28T16:05:22.249920146Z xsettingsd: Unable to open connection to X server
2025-12-28T16:05:22.250713593Z [ls.io-init] done.
2025-12-28T16:05:22.251148960Z s6-rc: info: service ci-service-check successfully started
2025-12-28T16:05:22.288574110Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-12-28T16:05:22.289214850Z screen 0 shmid 0
2025-12-28T16:05:22.714203582Z The XKEYBOARD keymap compiler (xkbcomp) reports:
2025-12-28T16:05:22.714235035Z > Warning: Could not resolve keysym XF86OK
2025-12-28T16:05:22.714245466Z > Warning: Could not resolve keysym XF86GoTo
2025-12-28T16:05:22.714254154Z > Warning: Could not resolve keysym XF86VendorLogo
2025-12-28T16:05:22.714262691Z > Warning: Could not resolve keysym XF86MediaSelectProgramGuide
2025-12-28T16:05:22.714271318Z > Warning: Could not resolve keysym XF86MediaSelectProgramGuide
2025-12-28T16:05:22.714279725Z > Warning: Could not resolve keysym XF86MediaSelectHome
2025-12-28T16:05:22.714288392Z > Warning: Could not resolve keysym XF86MediaLanguageMenu
2025-12-28T16:05:22.714296910Z > Warning: Could not resolve keysym XF86MediaTitleMenu
2025-12-28T16:05:22.714305417Z > Warning: Could not resolve keysym XF86AudioChannelMode
2025-12-28T16:05:22.714313894Z > Warning: Could not resolve keysym XF86MediaSelectPC
2025-12-28T16:05:22.714322321Z > Warning: Could not resolve keysym XF86MediaSelectTV
2025-12-28T16:05:22.714330778Z > Warning: Could not resolve keysym XF86MediaSelectCable
2025-12-28T16:05:22.714342862Z > Warning: Could not resolve keysym XF86MediaSelectVCR
2025-12-28T16:05:22.714351459Z > Warning: Could not resolve keysym XF86MediaSelectVCRPlus
2025-12-28T16:05:22.714359936Z > Warning: Could not resolve keysym XF86MediaSelectSatellite
2025-12-28T16:05:22.714368333Z > Warning: Could not resolve keysym XF86MediaSelectCD
2025-12-28T16:05:22.714376550Z > Warning: Could not resolve keysym XF86MediaSelectTape
2025-12-28T16:05:22.714384776Z > Warning: Could not resolve keysym XF86MediaSelectRadio
2025-12-28T16:05:22.714393053Z > Warning: Could not resolve keysym XF86MediaSelectTuner
2025-12-28T16:05:22.714401330Z > Warning: Could not resolve keysym XF86MediaPlayer
2025-12-28T16:05:22.714432302Z > Warning: Could not resolve keysym XF86MediaSelectTeletext
2025-12-28T16:05:22.714440699Z > Warning: Could not resolve keysym XF86MediaSelectAuxiliary
2025-12-28T16:05:22.714449156Z > Warning: Could not resolve keysym XF86MediaPlaySlow
2025-12-28T16:05:22.714457453Z > Warning: Could not resolve keysym XF86NumberEntryMode
2025-12-28T16:05:22.714501852Z > Warning: Could not resolve keysym XF86RefreshRateToggle
2025-12-28T16:05:22.714554398Z > Warning: Could not resolve keysym XF86Accessibility
2025-12-28T16:05:22.714564248Z > Warning: Could not resolve keysym XF86DoNotDisturb
2025-12-28T16:05:22.717040402Z Errors from xkbcomp are not fatal to the X server
2025-12-28T16:05:22.755156373Z 19
2025-12-28T16:05:22.766160723Z 20
2025-12-28T16:05:23.033514502Z INFO:selkies.__main__:Starting mode 'websockets'...
2025-12-28T16:05:23.033545755Z INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
2025-12-28T16:05:23.087648184Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-12-28T16:05:23.114014815Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-12-28T16:05:23.175754337Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-12-28T16:05:23.242010239Z INFO:main:Upload directory ensured: /config/Desktop
2025-12-28T16:05:23.242093937Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2025-12-28T16:05:23.242454072Z INFO:main:Starting Selkies (WebSocket Mode) with settings: {'_setting_definitions': [{'name': 'audio_enabled', 'type': 'bool', 'default': True, 'help': 'Enable server-to-client audio streaming.'}, {'name': 'microphone_enabled', 'type': 'bool', 'default': True, 'help': 'Enable client-to-server microphone forwarding.'}, {'name': 'gamepad_enabled', 'type': 'bool', 'default': True, 'help': 'Enable gamepad support.'}, {'name': 'clipboard_enabled', 'type': 'bool', 'default': True, 'help': 'Enable clipboard synchronization.'}, {'name': 'command_enabled', 'type': 'bool', 'default': True, 'help': 'Enable parsing of command websocket messages.'}, {'name': 'file_transfers', 'type': 'list', 'default': 'upload,download', 'meta': {'allowed': ['upload', 'download']}, 'help': 'Allowed file transfer directions (comma-separated: "upload,download"). Set to "" or "none" to disable.'}, {'name': 'framerate', 'type': 'range', 'default': '8-120', 'meta': {'default_value': 60}, 'help': 'Allowed framerate range (e.g., "8-165") or a fixed value (e.g., "60").'}, {'name': 'audio_bitrate', 'type': 'enum', 'default': '320000', 'meta': {'allowed': ['64000', '128000', '265000', '320000']}, 'help': 'The default audio bitrate.'}, {'name': 'is_manual_resolution_mode', 'type': 'bool', 'default': False, 'help': 'Lock the resolution to the manual width/height values.'}, {'name': 'manual_width', 'type': 'int', 'default': 0, 'help': 'Lock width to a fixed value. Setting this forces manual resolution mode.'}, {'name': 'manual_height', 'type': 'int', 'default': 0, 'help': 'Lock height to a fixed value. Setting this forces manual resolution mode.'}, {'name': 'scaling_dpi', 'type': 'enum', 'default': '96', 'meta': {'allowed': ['96', '120', '144', '168', '192', '216', '240', '264', '288']}, 'help': 'The default DPI for UI scaling.'}, {'name': 'enable_binary_clipboard', 'type': 'bool', 'default': False, 'help': 'Allow binary data (e.g., images) on the clipboard.'}, {'name': 'use_browser_cursors', 'type': 'bool', 'default': False, 'help': 'Use browser CSS cursors instead of rendering to canvas.'}, {'name': 'use_css_scaling', 'type': 'bool', 'default': False, 'help': 'HiDPI when false, if true a lower resolution is sent from the client and the canvas is stretched.'}, {'name': 'ui_title', 'type': 'str', 'default': 'Selkies', 'help': 'Title in top left corner of sidebar.'}, {'name': 'ui_show_logo', 'type': 'bool', 'default': True, 'help': 'Show the Selkies logo in the sidebar.'}, {'name': 'ui_show_core_buttons', 'type': 'bool', 'default': True, 'help': 'Show the core components buttons display, audio, microphone, and gamepad.'}, {'name': 'ui_show_sidebar', 'type': 'bool', 'default': True, 'help': 'Show the main sidebar UI.'}, {'name': 'ui_sidebar_show_video_settings', 'type': 'bool', 'default': True, 'help': 'Show the video settings section in the sidebar.'}, {'name': 'ui_sidebar_show_screen_settings', 'type': 'bool', 'default': True, 'help': 'Show the screen settings section in the sidebar.'}, {'name': 'ui_sidebar_show_audio_settings', 'type': 'bool', 'default': True, 'help': 'Show the audio settings section in the sidebar.'}, {'name': 'ui_sidebar_show_stats', 'type': 'bool', 'default': True, 'help': 'Show the stats section in the sidebar.'}, {'name': 'ui_sidebar_show_clipboard', 'type': 'bool', 'default': True, 'help': 'Show the clipboard section in the sidebar.'}, {'name': 'ui_sidebar_show_files', 'type': 'bool', 'default': True, 'help': 'Show the file transfer section in the sidebar.'}, {'name': 'ui_sidebar_show_apps', 'type': 'bool', 'default': True, 'help': 'Show the applications section in the sidebar.'}, {'name': 'ui_sidebar_show_sharing', 'type': 'bool', 'default': True, 'help': 'Show the sharing section in the sidebar.'}, {'name': 'ui_sidebar_show_gamepads', 'type': 'bool', 'default': True, 'help': 'Show the gamepads section in the sidebar.'}, {'name': 'ui_sidebar_show_fullscreen', 'type': 'bool', 'default': True, 'help': 'Show the fullscreen button in the sidebar.'}, {'name': 'ui_sidebar_show_gaming_mode', 'type': 'bool', 'default': True, 'help': 'Show the gaming mode button in the sidebar.'}, {'name': 'ui_sidebar_show_trackpad', 'type': 'bool', 'default': True, 'help': 'Show the virtual trackpad button in the sidebar.'}, {'name': 'ui_sidebar_show_keyboard_button', 'type': 'bool', 'default': True, 'help': 'Show the on-screen keyboard button in the display area.'}, {'name': 'ui_sidebar_show_soft_buttons', 'type': 'bool', 'default': True, 'help': 'Show the soft buttons section in the sidebar.'}, {'name': 'enable_sharing', 'type': 'bool', 'default': True, 'help': 'Master toggle for all sharing features.'}, {'name': 'enable_collab', 'type': 'bool', 'default': True, 'help': 'Enable collaborative (read-write) sharing link.'}, {'name': 'enable_shared', 'type': 'bool', 'default': True, 'help': 'Enable view-only sharing links.'}, {'name': 'enable_player2', 'type': 'bool', 'default': True, 'help': 'Enable sharing link for gamepad player 2.'}, {'name': 'enable_player3', 'type': 'bool', 'default': True, 'help': 'Enable sharing link for gamepad player 3.'}, {'name': 'enable_player4', 'type': 'bool', 'default': True, 'help': 'Enable sharing link for gamepad player 4.'}, {'name': 'debug', 'type': 'bool', 'default': False, 'help': 'Enable debug logging.'}, {'name': 'mode', 'type': 'str', 'default': 'websockets', 'help': "Specify the mode: 'webrtc' or 'websockets'; defaults to websockets"}, {'name': 'enable_dual_mode', 'type': 'bool', 'default': False, 'help': 'Enable switching Streaming modes from UI'}, {'name': 'encoder', 'type': 'enum', 'default': 'x264enc', 'meta': {'allowed': ['x264enc', 'x264enc-striped', 'jpeg']}, 'help': 'The default video encoder.'}, {'name': 'h264_crf', 'type': 'range', 'default': '5-50', 'meta': {'default_value': 25}, 'help': 'Allowed H.264 CRF range (e.g., "5-50") or a fixed value.'}, {'name': 'jpeg_quality', 'type': 'range', 'default': '1-100', 'meta': {'default_value': 40}, 'help': 'Allowed JPEG quality range (e.g., "1-100") or a fixed value.'}, {'name': 'h264_fullcolor', 'type': 'bool', 'default': False, 'help': 'Enable H.264 full color range for pixelflux encoders.'}, {'name': 'h264_streaming_mode', 'type': 'bool', 'default': False, 'help': 'Enable H.264 streaming mode for pixelflux encoders.'}, {'name': 'use_cpu', 'type': 'bool', 'default': False, 'help': 'Force CPU-based encoding for pixelflux.'}, {'name': 'use_paint_over_quality', 'type': 'bool', 'default': True, 'help': 'Enable high-quality paint-over for static scenes.'}, {'name': 'paint_over_jpeg_quality', 'type': 'range', 'default': '1-100', 'meta': {'default_value': 90}, 'help': 'Allowed JPEG paint-over quality range or a fixed value.'}, {'name': 'h264_paintover_crf', 'type': 'range', 'default': '5-50', 'meta': {'default_value': 18}, 'help': 'Allowed H.264 paint-over CRF range or a fixed value.'}, {'name': 'h264_paintover_burst_frames', 'type': 'range', 'default': '1-30', 'meta': {'default_value': 5}, 'help': 'Allowed H.264 paint-over burst frames range or a fixed value.'}, {'name': 'second_screen', 'type': 'bool', 'default': True, 'help': 'Enable support for a second monitor/display.'}, {'name': 'port', 'type': 'int', 'default': 8081, 'env_var': 'CUSTOM_WS_PORT', 'help': 'Port for the data websocket server.'}, {'name': 'control_port', 'type': 'int', 'default': 8083, 'help': 'Port for the internal control plane API.'}, {'name': 'master_token', 'type': 'str', 'default': '', 'help': 'Master token to enable secure mode and protect the control plane API.'}, {'name': 'dri_node', 'type': 'str', 'default': '', 'env_var': 'DRI_NODE', 'help': 'Path to the DRI render node for VA-API.'}, {'name': 'audio_device_name', 'type': 'str', 'default': 'output.monitor', 'help': 'Audio device name for pcmflux capture.'}, {'name': 'watermark_path', 'type': 'str', 'default': '', 'env_var': 'WATERMARK_PNG', 'help': 'Absolute path to the watermark PNG file.'}, {'name': 'watermark_location', 'type': 'int', 'default': -1, 'env_var': 'WATERMARK_LOCATION', 'help': 'Watermark location enum (0-6).'}], 'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'framerate': (8, 120), 'audio_bitrate': '320000', 'is_manual_resolution_mode': (False, False), 'manual_width': 0, 'manual_height': 0, 'scaling_dpi': '96', 'enable_binary_clipboard': (False, False), 'use_browser_cursors': (False, False), 'use_css_scaling': (False, False), 'ui_title': 'Selkies', 'ui_show_logo': (True, False), 'ui_show_core_buttons': (True, False), 'ui_show_sidebar': (True, False), 'ui_sidebar_show_video_settings': (True, False), 'ui_sidebar_show_screen_settings': (True, False), 'ui_sidebar_show_audio_settings': (True, False), 'ui_sidebar_show_stats': (True, False), 'ui_sidebar_show_clipboard': (True, False), 'ui_sidebar_show_files': (True, False), 'ui_sidebar_show_apps': (True, False), 'ui_sidebar_show_sharing': (True, False), 'ui_sidebar_show_gamepads': (True, False), 'ui_sidebar_show_fullscreen': (True, False), 'ui_sidebar_show_gaming_mode': (True, False), 'ui_sidebar_show_trackpad': (True, False), 'ui_sidebar_show_keyboard_button': (True, False), 'ui_sidebar_show_soft_buttons': (True, False), 'enable_sharing': (True, False), 'enable_collab': (True, False), 'enable_shared': (True, False), 'enable_player2': (True, False), 'enable_player3': (True, False), 'enable_player4': (True, False), 'debug': (False, False), 'mode': 'websockets', 'enable_dual_mode': (False, False), 'encoder': 'x264enc', 'h264_crf': (5, 50), 'jpeg_quality': (1, 100), 'h264_fullcolor': (False, False), 'h264_streaming_mode': (False, False), 'use_cpu': (False, False), 'use_paint_over_quality': (True, False), 'paint_over_jpeg_quality': (1, 100), 'h264_paintover_crf': (5, 50), 'h264_paintover_burst_frames': (1, 30), 'second_screen': (True, False), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'audio_device_name': 'output.monitor', 'watermark_path': '', 'watermark_location': -1}
2025-12-28T16:05:23.242524384Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-12-28T16:05:23.242532871Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-12-28T16:05:23.242625097Z INFO:main:All main components initialized. Running server...
2025-12-28T16:05:23.246933308Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-12-28T16:05:23.265182340Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-12-28T16:05:23.265701646Z xsettingsd: Created window 0x1200001 on screen 0 with timestamp 254540769
2025-12-28T16:05:23.265746947Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0xa00002
2025-12-28T16:05:23.265751897Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-12-28T16:05:23.266480934Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-12-28T16:05:23.267522230Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-12-28T16:05:23.268921437Z INFO:webrtc_input:Found XFIXES version 4.0
2025-12-28T16:05:23.268983522Z INFO:webrtc_input:starting cursor monitor
2025-12-28T16:05:23.269091599Z INFO:webrtc_input:watching for cursor changes
2025-12-28T16:05:23.278536690Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-28T16:05:23.279207270Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-12-28T16:05:23.342306158Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-28T16:05:23.402920875Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-12-28T16:05:23.403199296Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js0): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-28T16:05:23.403231110Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js0.sock, EVDEV socket: /tmp/selkies_event1000.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-28T16:05:23.403273695Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 0 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js0.sock, EVDEV: /tmp/selkies_event1000.sock).
2025-12-28T16:05:23.403372384Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js1): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-28T16:05:23.403413026Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js1.sock, EVDEV socket: /tmp/selkies_event1001.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-28T16:05:23.403440421Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 1 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js1.sock, EVDEV: /tmp/selkies_event1001.sock).
2025-12-28T16:05:23.403535913Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js2): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-28T16:05:23.403566996Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js2.sock, EVDEV socket: /tmp/selkies_event1002.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-28T16:05:23.403597387Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 2 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js2.sock, EVDEV: /tmp/selkies_event1002.sock).
2025-12-28T16:05:23.403682348Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js3): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-28T16:05:23.403714252Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js3.sock, EVDEV socket: /tmp/selkies_event1003.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-28T16:05:23.403773331Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 3 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js3.sock, EVDEV: /tmp/selkies_event1003.sock).
2025-12-28T16:05:23.404360082Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-12-28T16:05:23.404394732Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-12-28T16:05:23.404767372Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-12-28T16:05:23.404789216Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-12-28T16:05:23.404870720Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-12-28T16:05:23.404979328Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-12-28T16:05:23.405107516Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-12-28T16:05:23.405241176Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-12-28T16:05:23.405333020Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-12-28T16:05:23.405365285Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-12-28T16:05:23.405398111Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-12-28T16:05:23.405429404Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-12-28T16:05:27.782821151Z INFO:data_websocket:Legacy client ('127.0.0.1', 45678) connected. Role: controller, Slot: None
2025-12-28T16:05:27.782854839Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 45678)
2025-12-28T16:05:27.783047677Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 45678)
2025-12-28T16:05:27.784739793Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-12-28T16:05:27.787575140Z INFO:data_websocket:PulseAudio connection established.
2025-12-28T16:05:27.799691999Z INFO:data_websocket:Registering new client for display: primary
2025-12-28T16:05:27.799777472Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-12-28T16:05:27.800041834Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-12-28T16:05:27.800827174Z INFO:gst_app_resize:MATE detected. Applying MATE gsettings and xrdb for DPI 96.
2025-12-28T16:05:27.818496219Z INFO:gst_app_resize:Successfully set MATE window-scaling-factor to 1 (for DPI 96) using gsettings.
2025-12-28T16:05:27.830317143Z INFO:gst_app_resize:Successfully set MATE font-rendering DPI to 96 using gsettings.
2025-12-28T16:05:27.830982662Z INFO:gst_app_resize:Wrote 'Xft.dpi: 96' to /config/.Xresources.
2025-12-28T16:05:27.834645114Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2025-12-28T16:05:27.835039899Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2025-12-28T16:05:27.854580932Z INFO:gst_app_resize:Found xsettingsd process with PID: 536.
2025-12-28T16:05:27.857677925Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 536 to reload config.
2025-12-28T16:05:27.877336445Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2025-12-28T16:05:27.877390013Z INFO:data_websocket:Starting display reconfiguration...
2025-12-28T16:05:27.877782573Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-12-28T16:05:27.877895871Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-12-28T16:05:27.887688802Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-12-28T16:05:27.902604846Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-12-28T16:05:27.912040909Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-12-28T16:05:27.912074707Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-12-28T16:05:27.912123425Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-12-28T16:05:27.914963111Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-12-28T16:05:27.914968612Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-12-28T16:05:27.914972410Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-12-28T16:05:27.914976248Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-12-28T16:05:27.915193946Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-12-28T16:05:27.915207764Z INFO:data_websocket:Display reconfiguration finished successfully.
2025-12-28T16:05:27.915212443Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-28T16:05:27.915374078Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-12-28T16:05:27.915390131Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-12-28T16:05:27.915394069Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-12-28T16:05:27.915397706Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-12-28T16:05:27.915533289Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-12-28T16:05:27.915622398Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-12-28T16:05:27.916328209Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-12-28T16:05:27.916335103Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-12-28T16:05:27.916599254Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-12-28T16:05:27.917709409Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-12-28T16:05:27.917802827Z [pcmflux] SUCCESS: Opus encoder created.
2025-12-28T16:05:27.917830563Z [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, Debug Logging: Off, PCM Chunk: 3840 bytes
2025-12-28T16:05:27.923622872Z X Shared Memory Extension available.
2025-12-28T16:05:27.924977769Z XShm setup complete for 1920x992.
2025-12-28T16:05:27.924983621Z CPU cores available: 64
2025-12-28T16:05:27.924993641Z Stream settings active -> Res: 1920x992 | FPS: 60.0 | Stripes: 1 | Mode: H264 (CPU) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
2025-12-28T16:05:27.953795444Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-12-28T16:05:27.953858461Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-12-28T16:05:27.954116070Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-12-28T16:05:27.954156771Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-12-28T16:05:27.954409139Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-12-28T16:05:28.875505735Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2025-12-28T16:05:28.876291497Z xsettingsd: Created window 0x2600001 on screen 0 with timestamp 254546380
2025-12-28T16:05:28.876373963Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2025-12-28T16:05:28.876389544Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-12-28T16:05:29.918327544Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-12-28T16:05:38.100000671Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 45678) (Display ID: primary)...
2025-12-28T16:05:38.100165834Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2025-12-28T16:05:38.100215925Z INFO:data_websocket:Starting display reconfiguration...
2025-12-28T16:05:38.100249542Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-12-28T16:05:38.122100926Z Capture loop stopped. X resources released.
2025-12-28T16:05:38.122512124Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-12-28T16:05:38.124264561Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-12-28T16:05:38.124276114Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-12-28T16:05:38.124283409Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2025-12-28T16:05:38.137950619Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-28T16:05:38.148422246Z INFO:data_websocket:Last client (('127.0.0.1', 45678)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2025-12-28T16:05:38.148476946Z INFO:main:Initiating unified pipeline shutdown...
2025-12-28T16:05:38.148517719Z WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request.
2025-12-28T16:05:38.148564172Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-12-28T16:05:38.148671147Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-12-28T16:05:38.148708262Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.