2025-12-29T12:07:18.116436544Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2025-12-29T12:07:18.116471144Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2025-12-29T12:07:18.162601610Z /run/s6/basedir/scripts/rc.init: info: hook /docker-mods exited 0
2025-12-29T12:07:18.184596149Z s6-rc: info: service s6rc-oneshot-runner: starting
2025-12-29T12:07:18.187756647Z s6-rc: info: service s6rc-oneshot-runner successfully started
2025-12-29T12:07:18.187904595Z s6-rc: info: service fix-attrs: starting
2025-12-29T12:07:18.188037723Z s6-rc: info: service init-migrations: starting
2025-12-29T12:07:18.188144908Z s6-rc: info: service init-envfile: starting
2025-12-29T12:07:18.192778500Z [migrations] started
2025-12-29T12:07:18.192807198Z [migrations] no migrations found
2025-12-29T12:07:18.193325741Z s6-rc: info: service init-migrations successfully started
2025-12-29T12:07:18.193444430Z s6-rc: info: service init-adduser: starting
2025-12-29T12:07:18.193559321Z s6-rc: info: service fix-attrs successfully started
2025-12-29T12:07:18.193699433Z s6-rc: info: service legacy-cont-init: starting
2025-12-29T12:07:18.195549595Z s6-rc: info: service init-envfile successfully started
2025-12-29T12:07:18.200052584Z s6-rc: info: service legacy-cont-init successfully started
2025-12-29T12:07:18.207695129Z usermod: no changes
2025-12-29T12:07:18.208987600Z ───────────────────────────────────────
2025-12-29T12:07:18.208998802Z 
2025-12-29T12:07:18.209002941Z       ██╗     ███████╗██╗ ██████╗
2025-12-29T12:07:18.209006818Z       ██║     ██╔════╝██║██╔═══██╗
2025-12-29T12:07:18.209010606Z       ██║     ███████╗██║██║   ██║
2025-12-29T12:07:18.209014404Z       ██║     ╚════██║██║██║   ██║
2025-12-29T12:07:18.209018151Z       ███████╗███████║██║╚██████╔╝
2025-12-29T12:07:18.209021829Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-12-29T12:07:18.209025646Z 
2025-12-29T12:07:18.209029173Z    Brought to you by linuxserver.io
2025-12-29T12:07:18.209032771Z ───────────────────────────────────────
2025-12-29T12:07:18.209257773Z 
2025-12-29T12:07:18.209262874Z To support LSIO projects visit:
2025-12-29T12:07:18.209266671Z https://www.linuxserver.io/donate/
2025-12-29T12:07:18.209270258Z 
2025-12-29T12:07:18.209273886Z ───────────────────────────────────────
2025-12-29T12:07:18.209288124Z GID/UID
2025-12-29T12:07:18.209291802Z ───────────────────────────────────────
2025-12-29T12:07:18.213153000Z 
2025-12-29T12:07:18.213159262Z User UID:    911
2025-12-29T12:07:18.213163000Z User GID:    911
2025-12-29T12:07:18.213166617Z ───────────────────────────────────────
2025-12-29T12:07:18.228589375Z s6-rc: info: service init-adduser successfully started
2025-12-29T12:07:18.228720118Z s6-rc: info: service init-device-perms: starting
2025-12-29T12:07:18.233947875Z s6-rc: info: service init-device-perms successfully started
2025-12-29T12:07:18.234054860Z s6-rc: info: service init-os-end: starting
2025-12-29T12:07:18.235049191Z s6-rc: info: service init-os-end successfully started
2025-12-29T12:07:18.235151266Z s6-rc: info: service init-selkies: starting
2025-12-29T12:07:18.235248402Z s6-rc: info: service init-crontab-config: starting
2025-12-29T12:07:18.236181379Z s6-rc: info: service init-selkies successfully started
2025-12-29T12:07:18.236298795Z s6-rc: info: service init-nginx: starting
2025-12-29T12:07:18.240673295Z s6-rc: info: service init-crontab-config successfully started
2025-12-29T12:07:18.275204616Z .+++++++++++++++++++++++++++++++++++++++*..+.........+.........+..+...+.......+...+......+.........+..+...+............+.........+.+...........+++++++++++++++++++++++++++++++++++++++*.+.....................+..................+......+...........+...+.+...............+..+....+......+..+...+...+......+....+..+.........+....+...........+.........+..........+......+.....+.+........+..........+......+...+...+..+...........................+.+...+..+.........................+..+......+....+..................+...+......+...+..+......+....+...+...+...+..............+...+....+.....+....+..+............+.+.....+.........+............+.+...+......+.....++++++
2025-12-29T12:07:18.288449953Z .+.....+.+.....+.........+.+++++++++++++++++++++++++++++++++++++++*...+.....+.+...........+...+++++++++++++++++++++++++++++++++++++++*...+.+..+.......+.....+.+...+.........+......+.........+.....+.+..+..........+...+..+...+...............+.+........+...+....+...+..+.+........+....+..++++++
2025-12-29T12:07:18.291664430Z -----
2025-12-29T12:07:18.430540823Z s6-rc: info: service init-nginx successfully started
2025-12-29T12:07:18.430804193Z s6-rc: info: service init-selkies-config: starting
2025-12-29T12:07:18.474324357Z [ls.io-init] Creating initial backup of menu.xml
2025-12-29T12:07:18.520530956Z [ls.io-init] Creating initial backup of system rc.xml
2025-12-29T12:07:18.551349116Z s6-rc: info: service init-selkies-config successfully started
2025-12-29T12:07:18.551517224Z s6-rc: info: service init-video: starting
2025-12-29T12:07:18.566782625Z s6-rc: info: service init-video successfully started
2025-12-29T12:07:18.566982006Z s6-rc: info: service init-selkies-end: starting
2025-12-29T12:07:18.568623098Z s6-rc: info: service init-selkies-end successfully started
2025-12-29T12:07:18.568720925Z s6-rc: info: service init-config: starting
2025-12-29T12:07:18.570065841Z s6-rc: info: service init-config successfully started
2025-12-29T12:07:18.570266584Z s6-rc: info: service init-config-end: starting
2025-12-29T12:07:18.571591219Z s6-rc: info: service init-config-end successfully started
2025-12-29T12:07:18.571758797Z s6-rc: info: service init-mods: starting
2025-12-29T12:07:18.573892960Z s6-rc: info: service init-mods successfully started
2025-12-29T12:07:18.574137702Z s6-rc: info: service init-mods-package-install: starting
2025-12-29T12:07:18.582514766Z s6-rc: info: service init-mods-package-install successfully started
2025-12-29T12:07:18.582676000Z s6-rc: info: service init-mods-end: starting
2025-12-29T12:07:18.584253323Z s6-rc: info: service init-mods-end successfully started
2025-12-29T12:07:18.584417774Z s6-rc: info: service init-custom-files: starting
2025-12-29T12:07:18.591838573Z [custom-init] No custom files found, skipping...
2025-12-29T12:07:18.592492379Z s6-rc: info: service init-custom-files successfully started
2025-12-29T12:07:18.592656409Z s6-rc: info: service init-services: starting
2025-12-29T12:07:18.594041896Z s6-rc: info: service init-services successfully started
2025-12-29T12:07:18.594230565Z s6-rc: info: service svc-xorg: starting
2025-12-29T12:07:18.594426941Z s6-rc: info: service svc-watchdog: starting
2025-12-29T12:07:18.594645861Z s6-rc: info: service svc-pulseaudio: starting
2025-12-29T12:07:18.594835132Z s6-rc: info: service svc-nginx: starting
2025-12-29T12:07:18.595004392Z s6-rc: info: service svc-docker: starting
2025-12-29T12:07:18.595176058Z s6-rc: info: service svc-cron: starting
2025-12-29T12:07:18.597032683Z s6-rc: info: service svc-watchdog successfully started
2025-12-29T12:07:18.597239098Z s6-rc: info: service svc-pulseaudio successfully started
2025-12-29T12:07:18.597447076Z s6-rc: info: service svc-xorg successfully started
2025-12-29T12:07:18.597642129Z s6-rc: info: service svc-dbus: starting
2025-12-29T12:07:18.597860538Z s6-rc: info: service svc-nginx successfully started
2025-12-29T12:07:18.598061993Z s6-rc: info: service svc-xsettingsd: starting
2025-12-29T12:07:18.598229040Z s6-rc: info: service svc-selkies: starting
2025-12-29T12:07:18.598405474Z s6-rc: info: service svc-de: starting
2025-12-29T12:07:18.598632732Z s6-rc: info: service svc-docker successfully started
2025-12-29T12:07:18.598839578Z s6-rc: info: service svc-cron successfully started
2025-12-29T12:07:18.600193602Z s6-rc: info: service svc-selkies successfully started
2025-12-29T12:07:18.600443725Z s6-rc: info: service svc-dbus successfully started
2025-12-29T12:07:18.600630912Z s6-rc: info: service svc-xsettingsd successfully started
2025-12-29T12:07:18.600971938Z s6-rc: info: service svc-de successfully started
2025-12-29T12:07:18.601141469Z s6-rc: info: service legacy-services: starting
2025-12-29T12:07:18.609167887Z s6-rc: info: service legacy-services successfully started
2025-12-29T12:07:18.609331225Z s6-rc: info: service ci-service-check: starting
2025-12-29T12:07:18.611211618Z [ls.io-init] done.
2025-12-29T12:07:18.611649248Z s6-rc: info: service ci-service-check successfully started
2025-12-29T12:07:18.613581355Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-12-29T12:07:18.614148346Z xsettingsd: Unable to open connection to X server
2025-12-29T12:07:18.614201503Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-12-29T12:07:18.614965470Z screen 0 shmid 0
2025-12-29T12:07:19.123079700Z 17
2025-12-29T12:07:19.138942422Z 18
2025-12-29T12:07:19.218200124Z dbus-daemon[275]: [system] Reloaded configuration
2025-12-29T12:07:19.354264230Z INFO:selkies.__main__:Starting mode 'websockets'...
2025-12-29T12:07:19.354292266Z INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
2025-12-29T12:07:19.392826319Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-12-29T12:07:19.426617762Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-12-29T12:07:19.465285694Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-12-29T12:07:19.512494059Z INFO:main:Upload directory ensured: /config/Desktop
2025-12-29T12:07:19.512563829Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2025-12-29T12:07:19.512774172Z 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': (False, 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': (False, 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': (False, False), 'enable_player3': (False, 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-29T12:07:19.512820465Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-12-29T12:07:19.512824704Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-12-29T12:07:19.512904484Z INFO:main:All main components initialized. Running server...
2025-12-29T12:07:19.515564125Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-12-29T12:07:19.517833400Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-12-29T12:07:19.518776858Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-12-29T12:07:19.519530685Z INFO:webrtc_input:Found XFIXES version 4.0
2025-12-29T12:07:19.519548280Z INFO:webrtc_input:starting cursor monitor
2025-12-29T12:07:19.519554884Z INFO:webrtc_input:watching for cursor changes
2025-12-29T12:07:19.525968106Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:19.526323481Z WARNING:webrtc_input:exception from fetching cursor image on change: <class 'Xlib.error.BadAccess'>: code = 10, resource_id = 543, sequence_number = 20, major_opcode = 138, minor_opcode = 4
2025-12-29T12:07:19.526715980Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-12-29T12:07:19.629225430Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-12-29T12:07:19.629705386Z xsettingsd: Created window 0xc00001 on screen 0 with timestamp 326657133
2025-12-29T12:07:19.629759504Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2025-12-29T12:07:19.629774014Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-12-29T12:07:19.646719876Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-12-29T12:07:19.646921842Z 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-29T12:07:19.646948145Z 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-29T12:07:19.646977474Z 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-29T12:07:19.647030741Z 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-29T12:07:19.647049619Z 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-29T12:07:19.647074529Z 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-29T12:07:19.647134359Z 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-29T12:07:19.647146444Z 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-29T12:07:19.647156193Z 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-29T12:07:19.647205112Z 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-29T12:07:19.647226986Z 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-29T12:07:19.647242146Z 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-29T12:07:19.647704306Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-12-29T12:07:19.647724537Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-12-29T12:07:19.647824909Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-12-29T12:07:19.647867484Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-12-29T12:07:19.647967305Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-12-29T12:07:19.647992616Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-12-29T12:07:19.648083719Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-12-29T12:07:19.648109251Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-12-29T12:07:19.648207999Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-12-29T12:07:19.648234393Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-12-29T12:07:19.648258912Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-12-29T12:07:19.648283752Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-12-29T12:07:19.751330623Z WARNING:webrtc_input:exception from fetching cursor image on change: <class 'Xlib.error.BadAccess'>: code = 10, resource_id = 543, sequence_number = 21, major_opcode = 138, minor_opcode = 4
2025-12-29T12:07:19.773344300Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:19.794117021Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:21.408954506Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:21.450710692Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:22.286749831Z xsettingsd: Reloading configuration
2025-12-29T12:07:22.286784270Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-12-29T12:07:22.784896533Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:23.351606772Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:27.234334127Z INFO:data_websocket:Legacy client ('127.0.0.1', 59392) connected. Role: controller, Slot: None
2025-12-29T12:07:27.234366452Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 59392)
2025-12-29T12:07:27.234486203Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 59392)
2025-12-29T12:07:27.236064097Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-12-29T12:07:27.242929419Z INFO:data_websocket:PulseAudio connection established.
2025-12-29T12:07:27.252074788Z INFO:data_websocket:Registering new client for display: primary
2025-12-29T12:07:27.252098676Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-12-29T12:07:27.252229489Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-12-29T12:07:27.252442187Z INFO:gst_app_resize:KDE detected. Applying xrdb for DPI 96.
2025-12-29T12:07:27.253491468Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2025-12-29T12:07:27.268004516Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2025-12-29T12:07:27.268202004Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2025-12-29T12:07:27.278176330Z INFO:gst_app_resize:Found xsettingsd process with PID: 494.
2025-12-29T12:07:27.279649614Z xsettingsd: Reloading configuration
2025-12-29T12:07:27.279690957Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2025-12-29T12:07:27.280074188Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 494 to reload config.
2025-12-29T12:07:27.297274713Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2025-12-29T12:07:27.297286757Z INFO:data_websocket:Starting display reconfiguration...
2025-12-29T12:07:27.297456088Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-12-29T12:07:27.297497982Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-12-29T12:07:27.306135690Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-12-29T12:07:27.319877997Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-12-29T12:07:27.330766533Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-12-29T12:07:27.330778747Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-12-29T12:07:27.330807575Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-12-29T12:07:27.332050576Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-12-29T12:07:27.332520651Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-12-29T12:07:27.332568367Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-12-29T12:07:27.332614190Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-12-29T12:07:27.332715944Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-12-29T12:07:27.332815715Z INFO:data_websocket:Display reconfiguration finished successfully.
2025-12-29T12:07:27.332850215Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-29T12:07:27.332900125Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-12-29T12:07:27.332944765Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-12-29T12:07:27.332963543Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-12-29T12:07:27.332996669Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-12-29T12:07:27.333075568Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-12-29T12:07:27.333097292Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-12-29T12:07:27.333313547Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-12-29T12:07:27.333340130Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-12-29T12:07:27.334021421Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-12-29T12:07:27.335188339Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-12-29T12:07:27.335225092Z [pcmflux] SUCCESS: Opus encoder created.
2025-12-29T12:07:27.335234551Z [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-29T12:07:27.336052988Z X Shared Memory Extension available.
2025-12-29T12:07:27.336157398Z XShm setup complete for 1920x992.
2025-12-29T12:07:27.336188451Z CPU cores available: 64
2025-12-29T12:07:27.336213601Z 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-29T12:07:27.337093091Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-12-29T12:07:27.337190246Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-12-29T12:07:27.337318845Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-12-29T12:07:27.337347482Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-12-29T12:07:27.337460219Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-12-29T12:07:29.335942325Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-12-29T12:07:37.873684159Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 59392) (Display ID: primary)...
2025-12-29T12:07:37.873716464Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2025-12-29T12:07:37.873731184Z INFO:data_websocket:Starting display reconfiguration...
2025-12-29T12:07:37.873741454Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-12-29T12:07:37.893709217Z Capture loop stopped. X resources released.
2025-12-29T12:07:37.894042588Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-12-29T12:07:37.894067949Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-12-29T12:07:37.894876475Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-12-29T12:07:37.894901355Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2025-12-29T12:07:37.905123811Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-29T12:07:37.906607426Z INFO:data_websocket:Last client (('127.0.0.1', 59392)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2025-12-29T12:07:37.906632577Z INFO:main:Initiating unified pipeline shutdown...
2025-12-29T12:07:37.906645142Z WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request.
2025-12-29T12:07:37.906656375Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-12-29T12:07:37.906695002Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-12-29T12:07:37.906715313Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2025-12-29T12:07:37.918246252Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-29T12:07:37.919302948Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.