2025-09-28T22:54:51.094961566Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2025-09-28T22:54:51.094989562Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2025-09-28T22:54:51.332158833Z /run/s6/basedir/scripts/rc.init: info: hook /docker-mods exited 0
2025-09-28T22:54:51.392414335Z s6-rc: info: service s6rc-oneshot-runner: starting
2025-09-28T22:54:51.397111953Z s6-rc: info: service s6rc-oneshot-runner successfully started
2025-09-28T22:54:51.397248418Z s6-rc: info: service fix-attrs: starting
2025-09-28T22:54:51.397391836Z s6-rc: info: service init-migrations: starting
2025-09-28T22:54:51.397485294Z s6-rc: info: service init-envfile: starting
2025-09-28T22:54:51.403741139Z s6-rc: info: service fix-attrs successfully started
2025-09-28T22:54:51.403831952Z s6-rc: info: service legacy-cont-init: starting
2025-09-28T22:54:51.404298722Z [migrations] started
2025-09-28T22:54:51.404382961Z [migrations] no migrations found
2025-09-28T22:54:51.404916696Z s6-rc: info: service init-migrations successfully started
2025-09-28T22:54:51.405034624Z s6-rc: info: service init-adduser: starting
2025-09-28T22:54:51.412739716Z s6-rc: info: service init-envfile successfully started
2025-09-28T22:54:51.414091878Z s6-rc: info: service legacy-cont-init successfully started
2025-09-28T22:54:51.490869935Z usermod: no changes
2025-09-28T22:54:51.514569519Z ───────────────────────────────────────
2025-09-28T22:54:51.514610001Z 
2025-09-28T22:54:51.514614389Z       ██╗     ███████╗██╗ ██████╗
2025-09-28T22:54:51.514618919Z       ██║     ██╔════╝██║██╔═══██╗
2025-09-28T22:54:51.514623277Z       ██║     ███████╗██║██║   ██║
2025-09-28T22:54:51.514627847Z       ██║     ╚════██║██║██║   ██║
2025-09-28T22:54:51.514632606Z       ███████╗███████║██║╚██████╔╝
2025-09-28T22:54:51.514637035Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-09-28T22:54:51.514641464Z 
2025-09-28T22:54:51.514645622Z    Brought to you by linuxserver.io
2025-09-28T22:54:51.514649851Z ───────────────────────────────────────
2025-09-28T22:54:51.514947400Z 
2025-09-28T22:54:51.514960667Z To support LSIO projects visit:
2025-09-28T22:54:51.514965416Z https://www.linuxserver.io/donate/
2025-09-28T22:54:51.514969755Z 
2025-09-28T22:54:51.514973953Z ───────────────────────────────────────
2025-09-28T22:54:51.515000687Z GID/UID
2025-09-28T22:54:51.515005006Z ───────────────────────────────────────
2025-09-28T22:54:51.519575808Z 
2025-09-28T22:54:51.519589606Z User UID:    911
2025-09-28T22:54:51.519594115Z User GID:    911
2025-09-28T22:54:51.519598333Z ───────────────────────────────────────
2025-09-28T22:54:51.534905792Z s6-rc: info: service init-adduser successfully started
2025-09-28T22:54:51.535044571Z s6-rc: info: service init-device-perms: starting
2025-09-28T22:54:51.549424472Z s6-rc: info: service init-device-perms successfully started
2025-09-28T22:54:51.549534173Z s6-rc: info: service init-os-end: starting
2025-09-28T22:54:51.554425240Z s6-rc: info: service init-os-end successfully started
2025-09-28T22:54:51.554523438Z s6-rc: info: service init-selkies: starting
2025-09-28T22:54:51.559032195Z s6-rc: info: service init-selkies successfully started
2025-09-28T22:54:51.559138379Z s6-rc: info: service init-nginx: starting
2025-09-28T22:54:51.578682277Z ...+.....+....+......+......+.....+...+.+...+..+...+.............+..+...+...+......+......+...+....+...+...+..+..........+..+++++++++++++++++++++++++++++++++++++++*.+.....+......+.......+...+.....+...+++++++++++++++++++++++++++++++++++++++*...+.+..+....+...++++++
2025-09-28T22:54:51.591091330Z .....+.+......+...+...+++++++++++++++++++++++++++++++++++++++*....+..+.............+.....+.+.........+...+..............+....+...............+..+.........+.........+......+....+...........+.+.........+........+.+..+....+++++++++++++++++++++++++++++++++++++++*..+.......+............+......+..+...+..........+..+.......+.....+.+...+..+....+.....+.............+..+....+.....+....+........+............+.++++++
2025-09-28T22:54:51.595036683Z -----
2025-09-28T22:54:51.621553780Z s6-rc: info: service init-nginx successfully started
2025-09-28T22:54:51.621686477Z s6-rc: info: service init-selkies-config: starting
2025-09-28T22:54:51.689372258Z s6-rc: info: service init-selkies-config successfully started
2025-09-28T22:54:51.689476398Z s6-rc: info: service init-video: starting
2025-09-28T22:54:51.696136476Z s6-rc: info: service init-video successfully started
2025-09-28T22:54:51.696270767Z s6-rc: info: service init-selkies-end: starting
2025-09-28T22:54:51.697408367Z s6-rc: info: service init-selkies-end successfully started
2025-09-28T22:54:51.697514881Z s6-rc: info: service init-config: starting
2025-09-28T22:54:51.698743795Z s6-rc: info: service init-config successfully started
2025-09-28T22:54:51.698888757Z s6-rc: info: service init-crontab-config: starting
2025-09-28T22:54:51.707990191Z s6-rc: info: service init-crontab-config successfully started
2025-09-28T22:54:51.708135985Z s6-rc: info: service init-config-end: starting
2025-09-28T22:54:51.709332223Z s6-rc: info: service init-config-end successfully started
2025-09-28T22:54:51.709468998Z s6-rc: info: service init-mods: starting
2025-09-28T22:54:51.710507078Z s6-rc: info: service init-mods successfully started
2025-09-28T22:54:51.710718734Z s6-rc: info: service init-mods-package-install: starting
2025-09-28T22:54:51.716129779Z s6-rc: info: service init-mods-package-install successfully started
2025-09-28T22:54:51.716262245Z s6-rc: info: service init-mods-end: starting
2025-09-28T22:54:51.717263451Z s6-rc: info: service init-mods-end successfully started
2025-09-28T22:54:51.717392842Z s6-rc: info: service init-custom-files: starting
2025-09-28T22:54:51.721598348Z [custom-init] No custom files found, skipping...
2025-09-28T22:54:51.722001199Z s6-rc: info: service init-custom-files successfully started
2025-09-28T22:54:51.722150831Z s6-rc: info: service init-services: starting
2025-09-28T22:54:51.723253300Z s6-rc: info: service init-services successfully started
2025-09-28T22:54:51.723421218Z s6-rc: info: service svc-xorg: starting
2025-09-28T22:54:51.723589928Z s6-rc: info: service svc-pulseaudio: starting
2025-09-28T22:54:51.723744990Z s6-rc: info: service svc-nginx: starting
2025-09-28T22:54:51.723914431Z s6-rc: info: service svc-docker: starting
2025-09-28T22:54:51.724092189Z s6-rc: info: service svc-cron: starting
2025-09-28T22:54:51.725958797Z s6-rc: info: service svc-xorg successfully started
2025-09-28T22:54:51.727278905Z s6-rc: info: service svc-pulseaudio successfully started
2025-09-28T22:54:51.727492946Z s6-rc: info: service svc-nginx successfully started
2025-09-28T22:54:51.727674331Z s6-rc: info: service svc-xsettingsd: starting
2025-09-28T22:54:51.727860526Z s6-rc: info: service svc-selkies: starting
2025-09-28T22:54:51.728032051Z s6-rc: info: service svc-de: starting
2025-09-28T22:54:51.728333909Z s6-rc: info: service svc-docker successfully started
2025-09-28T22:54:51.728837262Z s6-rc: info: service svc-cron successfully started
2025-09-28T22:54:51.729821835Z s6-rc: info: service svc-xsettingsd successfully started
2025-09-28T22:54:51.733788450Z s6-rc: info: service svc-selkies successfully started
2025-09-28T22:54:51.733977431Z s6-rc: info: service svc-de successfully started
2025-09-28T22:54:51.734089517Z s6-rc: info: service legacy-services: starting
2025-09-28T22:54:51.741793848Z s6-rc: info: service legacy-services successfully started
2025-09-28T22:54:51.741904691Z s6-rc: info: service ci-service-check: starting
2025-09-28T22:54:51.744397319Z [ls.io-init] done.
2025-09-28T22:54:51.744842405Z s6-rc: info: service ci-service-check successfully started
2025-09-28T22:54:51.745759442Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-09-28T22:54:51.746003022Z xsettingsd: Unable to open connection to X server
2025-09-28T22:54:51.946733100Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-09-28T22:54:51.947573723Z screen 0 shmid 0
2025-09-28T22:54:52.243002166Z 19
2025-09-28T22:54:52.253326182Z 20
2025-09-28T22:54:52.436326635Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-09-28T22:54:52.453920847Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-09-28T22:54:52.525223731Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-09-28T22:54:52.612652660Z INFO:main:Upload directory ensured: /config/Desktop
2025-09-28T22:54:52.613086353Z INFO:main:Starting Selkies (WebSocket Mode) with settings: {'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'encoder': 'x264enc', 'framerate': (8, 120), '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), 'audio_bitrate': '320000', 'is_manual_resolution_mode': (False, False), 'manual_width': 0, 'manual_height': 0, 'scaling_dpi': '96', 'enable_binary_clipboard': (False, False), 'use_browser_cursors': (False, False), 'use_css_scaling': (False, False), 'ui_title': 'Selkies', 'ui_show_logo': (True, False), 'ui_show_core_buttons': (True, False), 'ui_show_sidebar': (True, False), 'ui_sidebar_show_video_settings': (True, False), 'ui_sidebar_show_screen_settings': (True, False), 'ui_sidebar_show_audio_settings': (True, False), 'ui_sidebar_show_stats': (True, False), 'ui_sidebar_show_clipboard': (True, False), 'ui_sidebar_show_files': (True, False), 'ui_sidebar_show_apps': (True, False), 'ui_sidebar_show_sharing': (True, False), 'ui_sidebar_show_gamepads': (True, False), 'ui_sidebar_show_fullscreen': (True, False), 'ui_sidebar_show_gaming_mode': (True, False), 'ui_sidebar_show_trackpad': (True, False), 'ui_sidebar_show_keyboard_button': (True, False), 'ui_sidebar_show_soft_buttons': (True, False), 'port': 8082, 'dri_node': '', 'audio_device_name': 'output.monitor', 'watermark_path': '', 'watermark_location': -1, 'debug': (False, 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)}
2025-09-28T22:54:52.613120552Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-09-28T22:54:52.613125723Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-09-28T22:54:52.613293260Z INFO:main:All main components initialized. Running server...
2025-09-28T22:54:52.616975343Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-09-28T22:54:52.620690323Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-09-28T22:54:52.621429942Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-09-28T22:54:52.622184741Z INFO:webrtc_input:Found XFIXES version 4.0
2025-09-28T22:54:52.622207908Z INFO:webrtc_input:starting cursor monitor
2025-09-28T22:54:52.622242738Z INFO:webrtc_input:watching for cursor changes
2025-09-28T22:54:52.635554118Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T22:54:52.636169176Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-09-28T22:54:52.751891388Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-09-28T22:54:52.752178436Z 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-09-28T22:54:52.752211603Z 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-09-28T22:54:52.752262345Z 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-09-28T22:54:52.752381966Z 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-09-28T22:54:52.752422888Z 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-09-28T22:54:52.752451135Z 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-09-28T22:54:52.752559984Z 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-09-28T22:54:52.752605676Z 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-09-28T22:54:52.752629895Z 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-09-28T22:54:52.752723895Z 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-09-28T22:54:52.752765699Z 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-09-28T22:54:52.752787162Z 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-09-28T22:54:52.753354504Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-09-28T22:54:52.753408112Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-09-28T22:54:52.753537002Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-09-28T22:54:52.753579297Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-09-28T22:54:52.753710220Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-09-28T22:54:52.753748217Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-09-28T22:54:52.753875002Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-09-28T22:54:52.753913199Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-09-28T22:54:52.754049373Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-09-28T22:54:52.754097610Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-09-28T22:54:52.754136839Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-09-28T22:54:52.754176249Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-09-28T22:54:52.765042355Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-09-28T22:54:52.765601431Z xsettingsd: Created window 0xe00001 on screen 0 with timestamp 1006644861
2025-09-28T22:54:52.765650750Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2025-09-28T22:54:52.765659899Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-09-28T22:54:58.402980780Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T22:57:20.303643377Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 49568)
2025-09-28T22:57:20.303752718Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 49568)
2025-09-28T22:57:20.305150873Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-09-28T22:57:20.307470192Z INFO:data_websocket:PulseAudio connection established.
2025-09-28T22:57:20.308443161Z INFO:data_websocket:Registering new client for display: primary
2025-09-28T22:57:20.308490937Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-09-28T22:57:20.308689918Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-09-28T22:57:20.309656664Z INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96.
2025-09-28T22:57:20.360505307Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2025-09-28T22:57:20.487582883Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2025-09-28T22:57:20.529076611Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2025-09-28T22:57:20.544268447Z INFO:gst_app_resize:Found xsettingsd process with PID: 464.
2025-09-28T22:57:20.545874661Z xsettingsd: Reloading configuration
2025-09-28T22:57:20.545897286Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2025-09-28T22:57:20.546401742Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 464 to reload config.
2025-09-28T22:57:20.765586135Z WARNING:data_websocket:Pipeline is inactive for the initial client. Forcing a start.
2025-09-28T22:57:20.765620084Z INFO:data_websocket:Client settings for 'primary' or resolution changed, triggering full display reconfiguration.
2025-09-28T22:57:20.765942553Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-09-28T22:57:20.765973445Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-09-28T22:57:20.777863253Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-09-28T22:57:20.849526061Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-09-28T22:57:20.864246668Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-09-28T22:57:21.113675553Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-09-28T22:57:21.113743550Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-09-28T22:57:21.113754512Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-09-28T22:57:21.113763069Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-09-28T22:57:21.113771877Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-09-28T22:57:21.113780083Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-09-28T22:57:21.113788470Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-09-28T22:57:21.113797909Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-09-28T22:57:21.113807188Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-09-28T22:57:21.113718449Z X Shared Memory Extension available.
2025-09-28T22:57:21.113826477Z XShm setup complete for 1920x992.
2025-09-28T22:57:21.113835926Z CPU cores available: 64
2025-09-28T22:57:21.113844293Z 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-09-28T22:57:21.113855796Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-09-28T22:57:21.113864062Z [pcmflux] SUCCESS: Opus encoder created.
2025-09-28T22:57:21.113872229Z [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-09-28T22:57:21.113880806Z [pcmflux] Stop requested. Cleaning up capture loop...
2025-09-28T22:57:21.113888912Z [pcmflux] Audio capture loop finished. Resources released.
2025-09-28T22:57:21.113815475Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-09-28T22:57:21.113934675Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-09-28T22:57:21.113943933Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-09-28T22:57:21.113952470Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-09-28T22:57:21.113897540Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-09-28T22:57:21.113960677Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-09-28T22:57:21.114018724Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-09-28T22:57:21.114036680Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-09-28T22:57:21.114046219Z INFO:data_websocket:Received START_VIDEO for 'primary'. Starting stream without reconfiguring layout.
2025-09-28T22:57:21.114054806Z WARNING:data_websocket:Capture instance for 'primary' already exists. Skipping start.
2025-09-28T22:57:21.114063394Z INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
2025-09-28T22:57:21.114071951Z INFO:data_websocket:Backpressure logic task for 'primary' finished.
2025-09-28T22:57:21.114080548Z INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
2025-09-28T22:57:21.114088885Z INFO:data_websocket:Resetting frame IDs for display 'primary'.
2025-09-28T22:57:21.114097021Z INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
2025-09-28T22:57:21.114105258Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-09-28T22:57:21.114117202Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-09-28T22:57:21.114125599Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-09-28T22:57:21.114133916Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-09-28T22:57:21.114142423Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-09-28T22:57:21.114150599Z INFO:data_websocket:Restarting audio pipeline due to settings update.
2025-09-28T22:57:21.114162633Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-09-28T22:57:21.114171141Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-09-28T22:57:21.114179467Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-09-28T22:57:21.114187764Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-09-28T22:57:21.114195910Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2025-09-28T22:57:21.114204117Z INFO:data_websocket:pcmflux audio pipeline stopped.
2025-09-28T22:57:21.114212303Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-09-28T22:57:21.114220600Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-09-28T22:57:21.114250059Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-09-28T22:57:21.114258416Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-09-28T22:57:21.114266643Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-09-28T22:57:21.116577395Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-09-28T22:57:21.116616965Z [pcmflux] SUCCESS: Opus encoder created.
2025-09-28T22:57:21.116626835Z [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-09-28T22:57:22.941043537Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-09-28T22:57:30.514859008Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 49568) (Display ID: primary)...
2025-09-28T22:57:30.514893688Z INFO:data_websocket:Client for primary removed. Triggering display reconfiguration.
2025-09-28T22:57:30.514904509Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-09-28T22:57:30.525128634Z Capture loop stopped. X resources released.
2025-09-28T22:57:30.525681076Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-09-28T22:57:30.525689473Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-09-28T22:57:30.526477760Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-09-28T22:57:30.526516798Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2025-09-28T22:57:30.538160801Z INFO:data_websocket:Last client (('127.0.0.1', 49568)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2025-09-28T22:57:30.538177615Z INFO:main:Initiating unified pipeline shutdown...
2025-09-28T22:57:30.538214499Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-09-28T22:57:30.568656388Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-09-28T22:57:30.568684575Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-09-28T22:57:30.568690857Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.