2026-08-15T18:16:18.367790958Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2026-08-15T18:16:18.367865408Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2026-08-15T18:16:18.456775997Z /run/s6/basedir/scripts/rc.init: info: hook /docker-mods exited 0
2026-08-15T18:16:18.501930521Z s6-rc: info: service s6rc-oneshot-runner: starting
2026-08-15T18:16:18.508646271Z s6-rc: info: service s6rc-oneshot-runner successfully started
2026-08-15T18:16:18.509493919Z s6-rc: info: service fix-attrs: starting
2026-08-15T18:16:18.509597989Z s6-rc: info: service init-migrations: starting
2026-08-15T18:16:18.509706517Z s6-rc: info: service init-envfile: starting
2026-08-15T18:16:18.518761381Z [migrations] started
2026-08-15T18:16:18.518866643Z [migrations] no migrations found
2026-08-15T18:16:18.518889930Z s6-rc: info: service fix-attrs successfully started
2026-08-15T18:16:18.519017507Z s6-rc: info: service legacy-cont-init: starting
2026-08-15T18:16:18.519244684Z s6-rc: info: service init-migrations successfully started
2026-08-15T18:16:18.519530260Z s6-rc: info: service init-adduser: starting
2026-08-15T18:16:18.522949428Z s6-rc: info: service init-envfile successfully started
2026-08-15T18:16:18.524959989Z s6-rc: info: service legacy-cont-init successfully started
2026-08-15T18:16:18.568922772Z usermod: no changes
2026-08-15T18:16:18.578139961Z ───────────────────────────────────────
2026-08-15T18:16:18.578162928Z 
2026-08-15T18:16:18.578166876Z       ██╗     ███████╗██╗ ██████╗
2026-08-15T18:16:18.578170814Z       ██║     ██╔════╝██║██╔═══██╗
2026-08-15T18:16:18.578178479Z       ██║     ███████╗██║██║   ██║
2026-08-15T18:16:18.578182367Z       ██║     ╚════██║██║██║   ██║
2026-08-15T18:16:18.578186104Z       ███████╗███████║██║╚██████╔╝
2026-08-15T18:16:18.578189862Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2026-08-15T18:16:18.578193790Z 
2026-08-15T18:16:18.578197457Z    Brought to you by linuxserver.io
2026-08-15T18:16:18.578201255Z ───────────────────────────────────────
2026-08-15T18:16:18.578560990Z 
2026-08-15T18:16:18.578574196Z To support LSIO projects visit:
2026-08-15T18:16:18.578578375Z https://www.linuxserver.io/donate/
2026-08-15T18:16:18.578582092Z 
2026-08-15T18:16:18.578585880Z ───────────────────────────────────────
2026-08-15T18:16:18.578614277Z GID/UID
2026-08-15T18:16:18.578618275Z ───────────────────────────────────────
2026-08-15T18:16:18.583997192Z 
2026-08-15T18:16:18.584007012Z User UID:    911
2026-08-15T18:16:18.584010770Z User GID:    911
2026-08-15T18:16:18.584014427Z ───────────────────────────────────────
2026-08-15T18:16:18.599839671Z s6-rc: info: service init-adduser successfully started
2026-08-15T18:16:18.599991777Z s6-rc: info: service init-device-perms: starting
2026-08-15T18:16:18.605490074Z s6-rc: info: service init-device-perms successfully started
2026-08-15T18:16:18.605670498Z s6-rc: info: service init-os-end: starting
2026-08-15T18:16:18.606865285Z s6-rc: info: service init-os-end successfully started
2026-08-15T18:16:18.607125700Z s6-rc: info: service init-selkies: starting
2026-08-15T18:16:18.608804492Z s6-rc: info: service init-selkies successfully started
2026-08-15T18:16:18.608989454Z s6-rc: info: service init-nginx: starting
2026-08-15T18:16:18.675856202Z ....+....+.....+.+......+.....+...+++++++++++++++++++++++++++++++++++++++*...+.....+...+....+........+...+++++++++++++++++++++++++++++++++++++++*.+........+.........+....+.........+......+.........+..+....+......+........+.+......+...+...+..+......+......+...+.+..+....+...+.....+.............+.....+...+................+..............+.+......+........+.........+.+.....................+.....+......+.............+..............+...+....+...+..+....+..+...+.+...+........+...+................+.........+............+..+...+...+....+..+....+..............++++++
2026-08-15T18:16:18.699180915Z ...........+..+.+..............+..........+........+...+.......+...+......+...............+......+............+.....+.+............+.........+...+.....+...+...+......+.............+......+...........+....+..+++++++++++++++++++++++++++++++++++++++*.+.+............+..+....+.....+......+......+.............+.........+...+...+.....+.+....................+.+..+...+...+.+...+.....+++++++++++++++++++++++++++++++++++++++*.........+............+...+......+......+.....+...+.+.....+..........+......+...+.....+.......+.....+.+..............+....+...........+.........+.+......+............+..+.+........+.......+..+.+.....+....+...+........+....+..+.........+....+..+....+.........+.....+.+.....+.......+..+.+...........+.+..............+.++++++
2026-08-15T18:16:18.702928856Z -----
2026-08-15T18:16:19.643302244Z s6-rc: info: service init-nginx successfully started
2026-08-15T18:16:19.643439390Z s6-rc: info: service init-selkies-config: starting
2026-08-15T18:16:19.708192580Z [ls.io-init] Creating initial backup of menu.xml
2026-08-15T18:16:19.739204259Z [ls.io-init] Generating labwc rc.xml from template
2026-08-15T18:16:19.813598583Z s6-rc: info: service init-selkies-config successfully started
2026-08-15T18:16:19.813728675Z s6-rc: info: service init-video: starting
2026-08-15T18:16:19.829351931Z s6-rc: info: service init-video successfully started
2026-08-15T18:16:19.829511212Z s6-rc: info: service init-selkies-end: starting
2026-08-15T18:16:19.831113981Z s6-rc: info: service init-selkies-end successfully started
2026-08-15T18:16:19.831329496Z s6-rc: info: service init-config: starting
2026-08-15T18:16:19.833047687Z s6-rc: info: service init-config successfully started
2026-08-15T18:16:19.833260506Z s6-rc: info: service init-crontab-config: starting
2026-08-15T18:16:19.847914329Z s6-rc: info: service init-crontab-config successfully started
2026-08-15T18:16:19.848085023Z s6-rc: info: service init-config-end: starting
2026-08-15T18:16:19.849308358Z s6-rc: info: service init-config-end successfully started
2026-08-15T18:16:19.849467889Z s6-rc: info: service init-mods: starting
2026-08-15T18:16:19.850523716Z s6-rc: info: service init-mods successfully started
2026-08-15T18:16:19.850685232Z s6-rc: info: service init-mods-package-install: starting
2026-08-15T18:16:19.857045316Z s6-rc: info: service init-mods-package-install successfully started
2026-08-15T18:16:19.857258465Z s6-rc: info: service init-mods-end: starting
2026-08-15T18:16:19.858433312Z s6-rc: info: service init-mods-end successfully started
2026-08-15T18:16:19.858593836Z s6-rc: info: service init-custom-files: starting
2026-08-15T18:16:19.863932572Z [custom-init] No custom files found, skipping...
2026-08-15T18:16:19.864453551Z s6-rc: info: service init-custom-files successfully started
2026-08-15T18:16:19.864624516Z s6-rc: info: service init-services: starting
2026-08-15T18:16:19.865845325Z s6-rc: info: service init-services successfully started
2026-08-15T18:16:19.866076681Z s6-rc: info: service svc-xorg: starting
2026-08-15T18:16:19.866255862Z s6-rc: info: service svc-watchdog: starting
2026-08-15T18:16:19.866510465Z s6-rc: info: service svc-pulseaudio: starting
2026-08-15T18:16:19.866882785Z s6-rc: info: service svc-nginx: starting
2026-08-15T18:16:19.867096797Z s6-rc: info: service svc-docker: starting
2026-08-15T18:16:19.867456030Z s6-rc: info: service svc-cron: starting
2026-08-15T18:16:19.868498070Z s6-rc: info: service svc-watchdog successfully started
2026-08-15T18:16:19.868793054Z s6-rc: info: service svc-xorg successfully started
2026-08-15T18:16:19.869111566Z s6-rc: info: service svc-nginx successfully started
2026-08-15T18:16:19.869303382Z s6-rc: info: service svc-xsettingsd: starting
2026-08-15T18:16:19.869779191Z s6-rc: info: service svc-de: starting
2026-08-15T18:16:19.870105809Z s6-rc: info: service svc-pulseaudio successfully started
2026-08-15T18:16:19.870306844Z s6-rc: info: service svc-selkies: starting
2026-08-15T18:16:19.870558421Z s6-rc: info: service svc-docker successfully started
2026-08-15T18:16:19.870829758Z s6-rc: info: service svc-cron successfully started
2026-08-15T18:16:19.871675692Z s6-rc: info: service svc-xsettingsd successfully started
2026-08-15T18:16:19.871983873Z s6-rc: info: service svc-selkies successfully started
2026-08-15T18:16:19.872186371Z s6-rc: info: service svc-de successfully started
2026-08-15T18:16:19.872371604Z s6-rc: info: service legacy-services: starting
2026-08-15T18:16:19.875156355Z [svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
2026-08-15T18:16:19.882261910Z s6-rc: info: service legacy-services successfully started
2026-08-15T18:16:19.882387683Z s6-rc: info: service ci-service-check: starting
2026-08-15T18:16:19.884911398Z [ls.io-init] done.
2026-08-15T18:16:19.885357256Z s6-rc: info: service ci-service-check successfully started
2026-08-15T18:16:20.646312116Z 19
2026-08-15T18:16:20.680940353Z 20
2026-08-15T18:16:22.719639088Z INFO:selkies.__main__:Starting mode 'websockets'...
2026-08-15T18:16:22.719678818Z INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
2026-08-15T18:16:22.956039830Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2026-08-15T18:16:23.150200619Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2026-08-15T18:16:23.242403572Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2026-08-15T18:16:23.376065934Z INFO:main:Upload directory ensured: /config/Desktop
2026-08-15T18:16:23.376271919Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2026-08-15T18:16:23.376700933Z 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': 'clipboard_in_enabled', 'type': 'bool', 'default': True, 'help': 'Enable client-to-server clipboard synchronization.'}, {'name': 'clipboard_out_enabled', 'type': 'bool', 'default': True, 'help': 'Enable server-to-client 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': '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': 'video_bitrate', 'type': 'range', 'default': '1-100', 'meta': {'default_value': 8}, 'help': 'Default video-bitrate aka CBR, in Megabits per second (Mbps), allowed range (e.g., "1-100") or a fixed value (e.g., "8" for 8 Mbps)'}, {'name': 'rate_control_mode', 'type': 'enum', 'default': 'crf', 'meta': {'allowed': ['crf', 'cbr']}, 'help': 'Rate control mode for video encoding (cbr or crf). Only effective when enable_rate_control is true.'}, {'name': 'enable_rate_control', 'type': 'bool', 'default': False, 'help': 'Enable rate control for video encoding. Used in association with rate_control_mode.'}, {'name': 'audio_bitrate', 'type': 'enum', 'default': '320000', 'meta': {'allowed': ['64000', '128000', '192000', '256000', '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': 'force_aligned_resolution', 'type': 'bool', 'default': False, 'help': 'Forces the display resolution to be a multiple of 16 pixels.'}, {'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': 'audio_device_name', 'type': 'str', 'default': 'output.monitor', 'help': 'Audio device name for pcmflux capture.'}, {'name': 'encoder', 'type': 'enum', 'default': 'x264enc', 'meta': {'allowed': ['x264enc', 'jpeg']}, 'help': 'The default video encoder.'}, {'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': '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).'}, {'name': 'recording_socket', 'type': 'str', 'default': '', 'env_var': 'PIXELFLUX_RECORDING_SOCKET', 'help': 'Unix socket path exposing the raw H.264 stream sent to the client for external capture (full-frame H.264 encoders only).'}, {'name': 'wayland_socket_index', 'type': 'int', 'default': 0, 'help': 'Index for the Wayland command socket (e.g. 0 for wayland-0).'}], 'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'clipboard_in_enabled': (True, False), 'clipboard_out_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'framerate': (8, 120), 'h264_crf': (5, 50), 'video_bitrate': (1, 100), 'rate_control_mode': 'crf', 'enable_rate_control': (False, False), 'audio_bitrate': '320000', 'is_manual_resolution_mode': (False, False), 'manual_width': 0, 'manual_height': 0, 'scaling_dpi': '96', 'force_aligned_resolution': (False, False), '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), 'audio_device_name': 'output.monitor', 'encoder': 'x264enc', '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': (False, False), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'watermark_path': '', 'watermark_location': -1, 'recording_socket': '', 'wayland_socket_index': 0}
2026-08-15T18:16:23.376842709Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2026-08-15T18:16:23.380902769Z INFO:data_websocket:Wayland display initialized via ensure_wayland_display.
2026-08-15T18:16:23.380919342Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2026-08-15T18:16:23.381916140Z INFO:webrtc_input:Wayland input injection initialized.
2026-08-15T18:16:23.384755581Z [Wayland] No render node. Initializing Software Renderer (Pixman).
2026-08-15T18:16:23.408684401Z INFO:webrtc_input:Built Wayland scancode map with 516 keys.
2026-08-15T18:16:23.408708900Z INFO:main:All main components initialized. Running server...
2026-08-15T18:16:23.408833571Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2026-08-15T18:16:23.409199749Z 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)
2026-08-15T18:16:23.409207134Z 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
2026-08-15T18:16:23.409236112Z 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).
2026-08-15T18:16:23.409346875Z 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)
2026-08-15T18:16:23.409365483Z 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
2026-08-15T18:16:23.409434672Z 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).
2026-08-15T18:16:23.409487459Z 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)
2026-08-15T18:16:23.409506196Z 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
2026-08-15T18:16:23.409528802Z 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).
2026-08-15T18:16:23.409621449Z 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)
2026-08-15T18:16:23.409631068Z 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
2026-08-15T18:16:23.409664626Z 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).
2026-08-15T18:16:23.409705458Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2026-08-15T18:16:23.410116907Z [Wayland] Socket listening on: "wayland-1"
2026-08-15T18:16:23.411556367Z INFO:webrtc_input:Wayland mode: Cursor monitor disabled (handled by compositor callback).
2026-08-15T18:16:23.412452061Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2026-08-15T18:16:23.412484918Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2026-08-15T18:16:23.412639359Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2026-08-15T18:16:23.412661644Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2026-08-15T18:16:23.412762437Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2026-08-15T18:16:23.412784381Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2026-08-15T18:16:23.412900776Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2026-08-15T18:16:23.412953181Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2026-08-15T18:16:23.413130549Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2026-08-15T18:16:23.413171742Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2026-08-15T18:16:23.413201051Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2026-08-15T18:16:23.413241993Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2026-08-15T18:16:23.413377787Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2026-08-15T18:16:23.517456015Z [svc-de] /config/.XDG/wayland-1 found launching de
2026-08-15T18:16:24.552328632Z /defaults/startwm_wayland.sh: line 55:   418 Segmentation fault         selkies-desktop
2026-08-15T18:16:24.588075763Z No desktop processes found to terminate.
2026-08-15T18:16:25.597592645Z [svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
2026-08-15T18:16:25.597614589Z [svc-de] /config/.XDG/wayland-1 found launching de
2026-08-15T18:16:26.615897584Z /defaults/startwm_wayland.sh: line 55:   438 Segmentation fault         selkies-desktop
2026-08-15T18:16:26.636710486Z No desktop processes found to terminate.
2026-08-15T18:16:27.681647831Z [svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
2026-08-15T18:16:27.704536365Z [svc-de] /config/.XDG/wayland-1 found launching de
2026-08-15T18:16:28.001750137Z INFO:data_websocket:Legacy client ('127.0.0.1', 52364) connected. Role: controller, Slot: None
2026-08-15T18:16:28.001786861Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 52364)
2026-08-15T18:16:28.004220594Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2026-08-15T18:16:28.007054303Z INFO:data_websocket:PulseAudio connection established.
2026-08-15T18:16:28.018411575Z INFO:data_websocket:Registering new client for display: primary
2026-08-15T18:16:28.018447016Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2026-08-15T18:16:28.018671649Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2026-08-15T18:16:28.019232198Z INFO:data_websocket:Wayland Settings: Executing 'wlr-randr --output WL-1 --scale 1.0' on wayland-0
2026-08-15T18:16:28.034063760Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2026-08-15T18:16:28.047097258Z [Wayland] Configuring Output: 1920x992 @ 60.00 FPS (Scale 1.00)
2026-08-15T18:16:28.075904006Z [Wayland] CPU encoding selected (use_cpu=true or encode_node_index=-1).
2026-08-15T18:16:28.075921311Z [Wayland] Decision: Readback path (encode thread) active.
2026-08-15T18:16:28.075933626Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor (latency 10ms)
2026-08-15T18:16:28.075940259Z INFO:data_websocket:Starting display reconfiguration...
2026-08-15T18:16:28.075956682Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2026-08-15T18:16:28.075961291Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2026-08-15T18:16:28.075944327Z 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
2026-08-15T18:16:28.075965109Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2026-08-15T18:16:28.076007124Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2026-08-15T18:16:28.076017515Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2026-08-15T18:16:28.076027284Z INFO:data_websocket:Registered Wayland cursor callback for 'primary'
2026-08-15T18:16:28.076037305Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2026-08-15T18:16:28.076047194Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2026-08-15T18:16:28.076058147Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2026-08-15T18:16:28.076068918Z INFO:data_websocket:Display reconfiguration finished successfully.
2026-08-15T18:16:28.076078598Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2026-08-15T18:16:28.076088137Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2026-08-15T18:16:28.076097847Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2026-08-15T18:16:28.076107456Z INFO:data_websocket:Starting pcmflux audio pipeline...
2026-08-15T18:16:28.076116865Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2026-08-15T18:16:28.076126645Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2026-08-15T18:16:28.158600727Z [pcmflux] SUCCESS: Connected to PulseAudio.
2026-08-15T18:16:28.263735454Z [pcmflux] SUCCESS: Opus encoder created (2 ch).
2026-08-15T18:16:28.265109622Z [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off
2026-08-15T18:16:28.272231631Z INFO:data_websocket:pcmflux audio capture started successfully.
2026-08-15T18:16:28.273917067Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2026-08-15T18:16:28.389772703Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2026-08-15T18:16:28.389809978Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2026-08-15T18:16:28.391566898Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2026-08-15T18:16:28.391623452Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2026-08-15T18:16:28.392267169Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2026-08-15T18:16:28.700999598Z /defaults/startwm_wayland.sh: line 55:   474 Segmentation fault         selkies-desktop
2026-08-15T18:16:28.717442516Z No desktop processes found to terminate.
2026-08-15T18:16:29.727123048Z [svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
2026-08-15T18:16:29.727147447Z [svc-de] /config/.XDG/wayland-1 found launching de
2026-08-15T18:16:30.274523166Z [pcmflux] First non-silent audio chunk detected! Encoding...
2026-08-15T18:16:52.969849723Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 52364) (Display ID: primary)...
2026-08-15T18:16:52.969907059Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2026-08-15T18:16:52.969944344Z INFO:data_websocket:Starting display reconfiguration...
2026-08-15T18:16:52.969962060Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2026-08-15T18:16:52.970134297Z [Wayland] Capture loop stopped.
2026-08-15T18:16:52.970376294Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2026-08-15T18:16:52.970416104Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2026-08-15T18:16:52.974660506Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2026-08-15T18:16:52.974684183Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2026-08-15T18:16:52.978693391Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2026-08-15T18:16:52.979134870Z INFO:data_websocket:Keyboard reset completed (('127.0.0.1', 52364)) disconnect.
2026-08-15T18:16:52.979182076Z INFO:data_websocket:Last client (('127.0.0.1', 52364)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2026-08-15T18:16:52.979205362Z INFO:main:Initiating unified pipeline shutdown...
2026-08-15T18:16:52.979210493Z WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request.
2026-08-15T18:16:52.979235974Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2026-08-15T18:16:52.979265574Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2026-08-15T18:16:52.979288239Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2026-08-15T18:16:52.984359887Z [pcmflux] Stop requested. Cleaning up capture loop...
2026-08-15T18:16:52.984735013Z [pcmflux] Audio capture loop finished. Resources released.
2026-08-15T18:16:52.984950157Z INFO:data_websocket:pcmflux audio pipeline stopped.
2026-08-15T18:16:52.984971269Z INFO:main:Unified pipeline shutdown complete.
2026-08-15T18:16:52.985079507Z INFO:data_websocket:Data WS handler for ('127.0.0.1', 52364) finished all cleanup.
2026-08-15T18:16:53.012486004Z INFO:data_websocket:Stats sender: WS connection closed.