2026-04-15T01:57:57.628617629Z [migrations] started
2026-04-15T01:57:57.628662660Z [migrations] no migrations found
2026-04-15T01:57:57.666639663Z usermod: no changes
2026-04-15T01:57:57.675486938Z ───────────────────────────────────────
2026-04-15T01:57:57.675500175Z 
2026-04-15T01:57:57.675504183Z       ██╗     ███████╗██╗ ██████╗
2026-04-15T01:57:57.675508271Z       ██║     ██╔════╝██║██╔═══██╗
2026-04-15T01:57:57.675511959Z       ██║     ███████╗██║██║   ██║
2026-04-15T01:57:57.675515977Z       ██║     ╚════██║██║██║   ██║
2026-04-15T01:57:57.675520075Z       ███████╗███████║██║╚██████╔╝
2026-04-15T01:57:57.675523883Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2026-04-15T01:57:57.675527630Z 
2026-04-15T01:57:57.675531107Z    Brought to you by linuxserver.io
2026-04-15T01:57:57.675534734Z ───────────────────────────────────────
2026-04-15T01:57:57.675703614Z 
2026-04-15T01:57:57.675715589Z To support the app dev(s) visit:
2026-04-15T01:57:57.676498565Z RawTherapee: https://www.paypal.com/paypalme/rawtherapee
2026-04-15T01:57:57.676714109Z 
2026-04-15T01:57:57.676719280Z To support LSIO projects visit:
2026-04-15T01:57:57.676726474Z https://www.linuxserver.io/donate/
2026-04-15T01:57:57.676730312Z 
2026-04-15T01:57:57.676733799Z ───────────────────────────────────────
2026-04-15T01:57:57.676737787Z GID/UID
2026-04-15T01:57:57.676741354Z ───────────────────────────────────────
2026-04-15T01:57:57.680443329Z 
2026-04-15T01:57:57.680456124Z User UID:    911
2026-04-15T01:57:57.680462738Z User GID:    911
2026-04-15T01:57:57.680469110Z ───────────────────────────────────────
2026-04-15T01:57:57.681391548Z Linuxserver.io version: 5.12-pkg-2e4363ea-dev-7b7e63a927baa7ebae21cec71fd6e63b543ebeda-pr-8
2026-04-15T01:57:57.681584707Z Build-date: 2026-04-15T01:53:48+00:00
2026-04-15T01:57:57.681589226Z ───────────────────────────────────────
2026-04-15T01:57:57.681595489Z     
2026-04-15T01:57:57.742116236Z ..........+..+....+...+.....+.+.....+.+......+++++++++++++++++++++++++++++++++++++++*...+..........+.....+...............+.+.....+.......+........+++++++++++++++++++++++++++++++++++++++*................+.....+.......+..+..........+..+......+..........+..+.......+.....+....+......+.........+.....+.+........+.+.....+......+.............+...+..+...+.........+...............+.++++++
2026-04-15T01:57:57.761888330Z .......+.....+.......+...+........+++++++++++++++++++++++++++++++++++++++*...+......+.....+.+..............+....+.....+......+.+.....+.........+...+.+......+...+...+............+.....+...............+...+...+.+.....+.+........+.+...+........+.......+++++++++++++++++++++++++++++++++++++++*............+.......+.....+.+..............+...+..........+...+..+....+.....+...+.............+.....+....+...+.....+......+....+...+...+.....+......+.+..+.+...........+..........+...+...+..+......................+.....+...+.+.........+........+.......+......+.....+....+........+....++++++
2026-04-15T01:57:57.765211913Z -----
2026-04-15T01:57:57.974867477Z [ls.io-init] Creating initial backup of menu.xml
2026-04-15T01:57:58.014526777Z [ls.io-init] Generating labwc rc.xml from template
2026-04-15T01:57:58.086504786Z [custom-init] No custom files found, skipping...
2026-04-15T01:57:58.101659282Z [svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
2026-04-15T01:57:58.108199802Z [ls.io-init] done.
2026-04-15T01:57:58.618947503Z 17
2026-04-15T01:57:58.634157370Z 18
2026-04-15T01:57:58.830881745Z INFO:selkies.__main__:Starting mode 'websockets'...
2026-04-15T01:57:58.830906475Z INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
2026-04-15T01:57:58.866119672Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2026-04-15T01:57:58.898055319Z [Wayland] DRINODE unset. Initializing Software Renderer (Pixman).
2026-04-15T01:57:58.898087384Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2026-04-15T01:57:58.903374160Z [Wayland] Socket listening on: "wayland-1"
2026-04-15T01:57:58.928263769Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2026-04-15T01:57:58.978325957Z INFO:main:Upload directory ensured: /config/Desktop
2026-04-15T01:57:58.978384996Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2026-04-15T01:57:58.978695431Z 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': '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': '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', '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': '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': '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': (False, 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), '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), 'audio_device_name': 'output.monitor', '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': (False, False), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'watermark_path': '', 'watermark_location': -1, 'wayland_socket_index': 0}
2026-04-15T01:57:58.978813549Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2026-04-15T01:57:58.978823679Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2026-04-15T01:57:58.978985946Z INFO:webrtc_input:Wayland input injection initialized.
2026-04-15T01:57:58.986199732Z INFO:webrtc_input:Built Wayland scancode map with 456 keys.
2026-04-15T01:57:58.986224271Z INFO:main:All main components initialized. Running server...
2026-04-15T01:57:58.986309222Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2026-04-15T01:57:58.986513153Z 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-04-15T01:57:58.986537432Z 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-04-15T01:57:58.986547602Z 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-04-15T01:57:58.986570068Z 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-04-15T01:57:58.986580048Z 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-04-15T01:57:58.986588675Z 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-04-15T01:57:58.986620830Z 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-04-15T01:57:58.986644878Z 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-04-15T01:57:58.986685169Z 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-04-15T01:57:58.986694558Z 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-04-15T01:57:58.986703256Z 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-04-15T01:57:58.986720861Z 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-04-15T01:57:58.986729930Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2026-04-15T01:57:58.987866679Z INFO:webrtc_input:Wayland mode: Cursor monitor disabled (handled by compositor callback).
2026-04-15T01:57:58.988348629Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2026-04-15T01:57:58.988370152Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2026-04-15T01:57:58.988456386Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2026-04-15T01:57:58.988466787Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2026-04-15T01:57:58.988566758Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2026-04-15T01:57:58.988584424Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2026-04-15T01:57:58.988731430Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2026-04-15T01:57:58.988753184Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2026-04-15T01:57:58.988876692Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2026-04-15T01:57:58.988895450Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2026-04-15T01:57:58.988933948Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2026-04-15T01:57:58.988950792Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2026-04-15T01:57:58.989022857Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2026-04-15T01:57:59.105684974Z [svc-de] /config/.XDG/wayland-1 found launching de
2026-04-15T01:58:01.139157616Z INFO:data_websocket:Legacy client ('127.0.0.1', 44766) connected. Role: controller, Slot: None
2026-04-15T01:58:01.139192686Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 44766)
2026-04-15T01:58:01.140443736Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2026-04-15T01:58:01.142332399Z INFO:data_websocket:PulseAudio connection established.
2026-04-15T01:58:01.159487894Z INFO:data_websocket:Registering new client for display: primary
2026-04-15T01:58:01.159543546Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2026-04-15T01:58:01.159605150Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2026-04-15T01:58:01.159974845Z INFO:data_websocket:Wayland Settings: Executing 'wlr-randr --output WL-1 --scale 1.0' on wayland-0
2026-04-15T01:58:01.163413930Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2026-04-15T01:58:01.163428920Z INFO:data_websocket:Starting display reconfiguration...
2026-04-15T01:58:01.163479963Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2026-04-15T01:58:01.163497077Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2026-04-15T01:58:01.163519242Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2026-04-15T01:58:01.163530825Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2026-04-15T01:58:01.163554734Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2026-04-15T01:58:01.163638212Z INFO:data_websocket:Registered Wayland cursor callback for 'primary'
2026-04-15T01:58:01.164665059Z [Wayland] Configuring Output: 1920x992 @ 60.00 FPS (Scale 1.00)
2026-04-15T01:58:01.164781654Z [Wayland] CPU encoding selected (use_cpu=true or vaapi_node=-1).
2026-04-15T01:58:01.164785311Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2026-04-15T01:58:01.164794219Z [Wayland] Decision: No GPU Encoder available -> Using CPU Software Encoding.
2026-04-15T01:58:01.164909802Z 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-04-15T01:58:01.164950905Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2026-04-15T01:58:01.164961787Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2026-04-15T01:58:01.165034203Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2026-04-15T01:58:01.165091608Z INFO:data_websocket:Display reconfiguration finished successfully.
2026-04-15T01:58:01.165114094Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2026-04-15T01:58:01.165177100Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2026-04-15T01:58:01.165218744Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2026-04-15T01:58:01.165237392Z INFO:data_websocket:Starting pcmflux audio pipeline...
2026-04-15T01:58:01.165268294Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2026-04-15T01:58:01.165576745Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor with latency: 10ms
2026-04-15T01:58:01.165636606Z INFO:data_websocket:pcmflux audio capture started successfully.
2026-04-15T01:58:01.166625036Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2026-04-15T01:58:01.167784411Z [pcmflux] SUCCESS: Connected to PulseAudio.
2026-04-15T01:58:01.167833349Z [pcmflux] SUCCESS: Opus encoder created.
2026-04-15T01:58:01.167837608Z [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
2026-04-15T01:58:01.223870619Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2026-04-15T01:58:01.223889056Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2026-04-15T01:58:01.238308672Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2026-04-15T01:58:01.238327179Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2026-04-15T01:58:01.239318886Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2026-04-15T01:58:03.177797694Z [pcmflux] First non-silent audio chunk detected! Encoding...
2026-04-15T01:58:11.534851981Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 44766) (Display ID: primary)...
2026-04-15T01:58:11.534882282Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2026-04-15T01:58:11.534892943Z INFO:data_websocket:Starting display reconfiguration...
2026-04-15T01:58:11.534902392Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2026-04-15T01:58:11.535119900Z [Wayland] Capture loop stopped.
2026-04-15T01:58:11.535221545Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2026-04-15T01:58:11.535240323Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2026-04-15T01:58:11.536353805Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2026-04-15T01:58:11.536371080Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2026-04-15T01:58:11.539788351Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2026-04-15T01:58:11.540421746Z INFO:data_websocket:Keyboard reset completed (('127.0.0.1', 44766)) disconnect.
2026-04-15T01:58:11.540436556Z INFO:data_websocket:Last client (('127.0.0.1', 44766)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2026-04-15T01:58:11.540462839Z INFO:main:Initiating unified pipeline shutdown...
2026-04-15T01:58:11.540486998Z WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request.
2026-04-15T01:58:11.540499342Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2026-04-15T01:58:11.540572249Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2026-04-15T01:58:11.540611508Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2026-04-15T01:58:11.557907085Z [pcmflux] Stop requested. Cleaning up capture loop...
2026-04-15T01:58:11.558242070Z [pcmflux] Audio capture loop finished. Resources released.
2026-04-15T01:58:11.558525892Z INFO:data_websocket:pcmflux audio pipeline stopped.
2026-04-15T01:58:11.558547174Z INFO:main:Unified pipeline shutdown complete.
2026-04-15T01:58:11.558591033Z INFO:data_websocket:Data WS handler for ('127.0.0.1', 44766) finished all cleanup.