2025-09-28T17:41:10.470329276Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2025-09-28T17:41:10.470352904Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2025-09-28T17:41:10.778643999Z s6-rc: info: service s6rc-oneshot-runner: starting
2025-09-28T17:41:10.781471942Z s6-rc: info: service s6rc-oneshot-runner successfully started
2025-09-28T17:41:10.781602255Z s6-rc: info: service fix-attrs: starting
2025-09-28T17:41:10.781798710Z s6-rc: info: service init-migrations: starting
2025-09-28T17:41:10.781972340Z s6-rc: info: service init-envfile: starting
2025-09-28T17:41:10.788103954Z s6-rc: info: service fix-attrs successfully started
2025-09-28T17:41:10.788124185Z [migrations] started
2025-09-28T17:41:10.788198334Z [migrations] no migrations found
2025-09-28T17:41:10.788251401Z s6-rc: info: service legacy-cont-init: starting
2025-09-28T17:41:10.788774725Z s6-rc: info: service init-migrations successfully started
2025-09-28T17:41:10.788934206Z s6-rc: info: service init-adduser: starting
2025-09-28T17:41:10.789953718Z s6-rc: info: service init-envfile successfully started
2025-09-28T17:41:10.793779901Z s6-rc: info: service legacy-cont-init successfully started
2025-09-28T17:41:10.816247945Z usermod: no changes
2025-09-28T17:41:10.824857599Z ───────────────────────────────────────
2025-09-28T17:41:10.824875044Z 
2025-09-28T17:41:10.824882539Z       ██╗     ███████╗██╗ ██████╗
2025-09-28T17:41:10.824890194Z       ██║     ██╔════╝██║██╔═══██╗
2025-09-28T17:41:10.824897599Z       ██║     ███████╗██║██║   ██║
2025-09-28T17:41:10.824905194Z       ██║     ╚════██║██║██║   ██║
2025-09-28T17:41:10.824912679Z       ███████╗███████║██║╚██████╔╝
2025-09-28T17:41:10.824920195Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-09-28T17:41:10.824927760Z 
2025-09-28T17:41:10.824935185Z    Brought to you by linuxserver.io
2025-09-28T17:41:10.824942650Z ───────────────────────────────────────
2025-09-28T17:41:10.825161320Z 
2025-09-28T17:41:10.825179757Z To support LSIO projects visit:
2025-09-28T17:41:10.825184948Z https://www.linuxserver.io/donate/
2025-09-28T17:41:10.825189737Z 
2025-09-28T17:41:10.825193956Z ───────────────────────────────────────
2025-09-28T17:41:10.825198745Z GID/UID
2025-09-28T17:41:10.825217293Z ───────────────────────────────────────
2025-09-28T17:41:10.828557187Z 
2025-09-28T17:41:10.828566305Z User UID:    911
2025-09-28T17:41:10.828569992Z User GID:    911
2025-09-28T17:41:10.828573730Z ───────────────────────────────────────
2025-09-28T17:41:10.850731760Z s6-rc: info: service init-adduser successfully started
2025-09-28T17:41:10.850889567Z s6-rc: info: service init-device-perms: starting
2025-09-28T17:41:10.856013974Z s6-rc: info: service init-device-perms successfully started
2025-09-28T17:41:10.856174306Z s6-rc: info: service init-os-end: starting
2025-09-28T17:41:10.857271285Z s6-rc: info: service init-os-end successfully started
2025-09-28T17:41:10.858169874Z s6-rc: info: service init-selkies: starting
2025-09-28T17:41:10.859235379Z s6-rc: info: service init-selkies successfully started
2025-09-28T17:41:10.859437656Z s6-rc: info: service init-nginx: starting
2025-09-28T17:41:10.876566281Z .....+...+...+..+......+++++++++++++++++++++++++++++++++++++++*.........+..+..........+...+.........+.....+++++++++++++++++++++++++++++++++++++++*..........+.+......+...+..............+...+...+.......++++++
2025-09-28T17:41:10.903922856Z ...+++++++++++++++++++++++++++++++++++++++*....+.........+..+.........+++++++++++++++++++++++++++++++++++++++*............+...............................+..+....+....................+...+............+......+....+...+........+...+......+.............+........+....+...+...+........+..........+.....+......+...+..........+............+...+...+...+..+..........+...+......+...........+...+....+......+..+............+......+.+......+..+......+.......+.....+...+..........+..+...+............+....+.....+...+.+.....+.......+.........+.........+......+.....+......+....+........++++++
2025-09-28T17:41:10.908048742Z -----
2025-09-28T17:41:10.930438248Z s6-rc: info: service init-nginx successfully started
2025-09-28T17:41:10.930649183Z s6-rc: info: service init-selkies-config: starting
2025-09-28T17:41:10.999175182Z s6-rc: info: service init-selkies-config successfully started
2025-09-28T17:41:10.999349834Z s6-rc: info: service init-video: starting
2025-09-28T17:41:11.008174390Z s6-rc: info: service init-video successfully started
2025-09-28T17:41:11.008304352Z s6-rc: info: service init-selkies-end: starting
2025-09-28T17:41:11.009404566Z s6-rc: info: service init-selkies-end successfully started
2025-09-28T17:41:11.009575751Z s6-rc: info: service init-config: starting
2025-09-28T17:41:11.010772400Z s6-rc: info: service init-config successfully started
2025-09-28T17:41:11.010878574Z s6-rc: info: service init-crontab-config: starting
2025-09-28T17:41:11.017368951Z s6-rc: info: service init-crontab-config successfully started
2025-09-28T17:41:11.017510215Z s6-rc: info: service init-config-end: starting
2025-09-28T17:41:11.018837167Z s6-rc: info: service init-config-end successfully started
2025-09-28T17:41:11.019018552Z s6-rc: info: service init-mods: starting
2025-09-28T17:41:11.020238107Z s6-rc: info: service init-mods successfully started
2025-09-28T17:41:11.020372287Z s6-rc: info: service init-mods-package-install: starting
2025-09-28T17:41:11.030113729Z s6-rc: info: service init-mods-package-install successfully started
2025-09-28T17:41:11.030266747Z s6-rc: info: service init-mods-end: starting
2025-09-28T17:41:11.031777900Z s6-rc: info: service init-mods-end successfully started
2025-09-28T17:41:11.031977041Z s6-rc: info: service init-custom-files: starting
2025-09-28T17:41:11.037412163Z [custom-init] No custom files found, skipping...
2025-09-28T17:41:11.038001519Z s6-rc: info: service init-custom-files successfully started
2025-09-28T17:41:11.038184157Z s6-rc: info: service init-services: starting
2025-09-28T17:41:11.039394183Z s6-rc: info: service init-services successfully started
2025-09-28T17:41:11.039666311Z s6-rc: info: service svc-xorg: starting
2025-09-28T17:41:11.039891634Z s6-rc: info: service svc-pulseaudio: starting
2025-09-28T17:41:11.040051356Z s6-rc: info: service svc-nginx: starting
2025-09-28T17:41:11.040263723Z s6-rc: info: service svc-docker: starting
2025-09-28T17:41:11.040470179Z s6-rc: info: service svc-cron: starting
2025-09-28T17:41:11.044519472Z s6-rc: info: service svc-xorg successfully started
2025-09-28T17:41:11.044688913Z s6-rc: info: service svc-dbus: starting
2025-09-28T17:41:11.044978676Z s6-rc: info: service svc-nginx successfully started
2025-09-28T17:41:11.045145392Z s6-rc: info: service svc-xsettingsd: starting
2025-09-28T17:41:11.045479815Z s6-rc: info: service svc-de: starting
2025-09-28T17:41:11.045753736Z s6-rc: info: service svc-pulseaudio successfully started
2025-09-28T17:41:11.046010573Z s6-rc: info: service svc-docker successfully started
2025-09-28T17:41:11.046584729Z s6-rc: info: service svc-cron successfully started
2025-09-28T17:41:11.046817097Z s6-rc: info: service svc-dbus successfully started
2025-09-28T17:41:11.047002150Z s6-rc: info: service svc-selkies: starting
2025-09-28T17:41:11.047245369Z s6-rc: info: service svc-xsettingsd successfully started
2025-09-28T17:41:11.047467517Z s6-rc: info: service svc-de successfully started
2025-09-28T17:41:11.049256137Z s6-rc: info: service svc-selkies successfully started
2025-09-28T17:41:11.049405278Z s6-rc: info: service legacy-services: starting
2025-09-28T17:41:11.057154238Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-09-28T17:41:11.057615667Z screen 0 shmid 0
2025-09-28T17:41:11.058104902Z s6-rc: info: service legacy-services successfully started
2025-09-28T17:41:11.058241407Z s6-rc: info: service ci-service-check: starting
2025-09-28T17:41:11.058580470Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-09-28T17:41:11.059959917Z [ls.io-init] done.
2025-09-28T17:41:11.060329270Z s6-rc: info: service ci-service-check successfully started
2025-09-28T17:41:11.539997560Z xsettingsd: Created window 0x200001 on screen 0 with timestamp 987823635
2025-09-28T17:41:11.540034695Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2025-09-28T17:41:11.540045457Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-09-28T17:41:11.569856794Z 17
2025-09-28T17:41:11.581889429Z 18
2025-09-28T17:41:11.681490711Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-09-28T17:41:11.710253197Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-09-28T17:41:11.762771108Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-09-28T17:41:11.825820001Z INFO:main:Upload directory ensured: /config/Desktop
2025-09-28T17:41:11.826250588Z 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-28T17:41:11.826266890Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-09-28T17:41:11.826276009Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-09-28T17:41:11.826384918Z INFO:main:All main components initialized. Running server...
2025-09-28T17:41:11.829069142Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-09-28T17:41:11.831256165Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-09-28T17:41:11.832150826Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-09-28T17:41:11.833009755Z INFO:webrtc_input:Found XFIXES version 4.0
2025-09-28T17:41:11.833044285Z INFO:webrtc_input:starting cursor monitor
2025-09-28T17:41:11.833054115Z INFO:webrtc_input:watching for cursor changes
2025-09-28T17:41:11.840447059Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T17:41:11.840940332Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-09-28T17:41:11.961969443Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-09-28T17:41:11.962297023Z 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-28T17:41:11.962336723Z 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-28T17:41:11.962354569Z 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-28T17:41:11.962408247Z 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-28T17:41:11.962432506Z 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-28T17:41:11.962457456Z 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-28T17:41:11.962499711Z 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-28T17:41:11.962523469Z 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-28T17:41:11.962538148Z 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-28T17:41:11.962589812Z 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-28T17:41:11.962606616Z 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-28T17:41:11.962620484Z 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-28T17:41:11.963054538Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-09-28T17:41:11.963102755Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-09-28T17:41:11.963208218Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-09-28T17:41:11.963229330Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-09-28T17:41:11.963368951Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-09-28T17:41:11.963385645Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-09-28T17:41:11.963482750Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-09-28T17:41:11.963495756Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-09-28T17:41:11.963639446Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-09-28T17:41:11.963671691Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-09-28T17:41:11.963689627Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-09-28T17:41:11.963706160Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-09-28T17:41:13.136149466Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T17:41:13.380209800Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T17:43:22.379692514Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 40442)
2025-09-28T17:43:22.379741983Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 40442)
2025-09-28T17:43:22.380655723Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-09-28T17:43:22.382521890Z INFO:data_websocket:PulseAudio connection established.
2025-09-28T17:43:22.416407352Z INFO:data_websocket:Registering new client for display: primary
2025-09-28T17:43:22.416431691Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-09-28T17:43:22.416517845Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-09-28T17:43:22.417263446Z INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96.
2025-09-28T17:43:22.420125227Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2025-09-28T17:43:22.440639980Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2025-09-28T17:43:22.440874642Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2025-09-28T17:43:22.451947686Z INFO:gst_app_resize:Found xsettingsd process with PID: 239.
2025-09-28T17:43:22.453476083Z xsettingsd: Reloading configuration
2025-09-28T17:43:22.453498308Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2025-09-28T17:43:22.453657268Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 239 to reload config.
2025-09-28T17:43:22.472055489Z WARNING:data_websocket:Pipeline is inactive for the initial client. Forcing a start.
2025-09-28T17:43:22.472078105Z INFO:data_websocket:Client settings for 'primary' or resolution changed, triggering full display reconfiguration.
2025-09-28T17:43:22.472162174Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-09-28T17:43:22.472185651Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-09-28T17:43:22.480678630Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-09-28T17:43:22.491767214Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-09-28T17:43:22.498750253Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-09-28T17:43:22.498770243Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-09-28T17:43:22.498776907Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-09-28T17:43:22.499734555Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-09-28T17:43:22.500261205Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-09-28T17:43:22.500276626Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-09-28T17:43:22.500306065Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-09-28T17:43:22.500397039Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-09-28T17:43:22.500473122Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-09-28T17:43:22.500499365Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-09-28T17:43:22.500518994Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-09-28T17:43:22.500541449Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-09-28T17:43:22.500638324Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-09-28T17:43:22.500659637Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-09-28T17:43:22.500811453Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-09-28T17:43:22.501002317Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-09-28T17:43:22.501433125Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-09-28T17:43:22.502329860Z X Shared Memory Extension available.
2025-09-28T17:43:22.502353488Z XShm setup complete for 1920x992.
2025-09-28T17:43:22.502373899Z CPU cores available: 64
2025-09-28T17:43:22.502398959Z 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-28T17:43:22.504635542Z INFO:data_websocket:Received START_VIDEO for 'primary'. Starting stream without reconfiguring layout.
2025-09-28T17:43:22.504642306Z WARNING:data_websocket:Capture instance for 'primary' already exists. Skipping start.
2025-09-28T17:43:22.504691866Z INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
2025-09-28T17:43:22.504701184Z INFO:data_websocket:Backpressure logic task for 'primary' finished.
2025-09-28T17:43:22.504727427Z INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
2025-09-28T17:43:22.504738209Z INFO:data_websocket:Resetting frame IDs for display 'primary'.
2025-09-28T17:43:22.504754672Z INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
2025-09-28T17:43:22.504806466Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-09-28T17:43:22.504867339Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-09-28T17:43:22.504875205Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-09-28T17:43:22.504901548Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-09-28T17:43:22.505008563Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-09-28T17:43:22.505017692Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-09-28T17:43:22.505078494Z INFO:data_websocket:Restarting audio pipeline due to settings update.
2025-09-28T17:43:22.505089797Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-09-28T17:43:22.505117923Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-09-28T17:43:22.505124236Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-09-28T17:43:22.505160990Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-09-28T17:43:22.505167062Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2025-09-28T17:43:22.505783894Z [pcmflux] SUCCESS: Opus encoder created.
2025-09-28T17:43:22.505789656Z [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-28T17:43:22.505794225Z [pcmflux] Stop requested. Cleaning up capture loop...
2025-09-28T17:43:22.506028607Z [pcmflux] Audio capture loop finished. Resources released.
2025-09-28T17:43:22.506121714Z INFO:data_websocket:pcmflux audio pipeline stopped.
2025-09-28T17:43:22.506152546Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-09-28T17:43:22.506164290Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-09-28T17:43:22.506267448Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-09-28T17:43:22.506325815Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-09-28T17:43:22.506380666Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-09-28T17:43:22.506392379Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-09-28T17:43:22.507333554Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-09-28T17:43:22.507337993Z [pcmflux] SUCCESS: Opus encoder created.
2025-09-28T17:43:22.507342011Z [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-28T17:43:24.505834403Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-09-28T17:43:32.855526203Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 40442) (Display ID: primary)...
2025-09-28T17:43:32.914534324Z INFO:data_websocket:Client for primary removed. Triggering display reconfiguration.
2025-09-28T17:43:32.868960831Z Capture loop stopped. X resources released.
2025-09-28T17:43:32.914563423Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-09-28T17:43:32.914604225Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-09-28T17:43:32.914619906Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-09-28T17:43:32.914630899Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-09-28T17:43:32.914641099Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2025-09-28T17:43:32.914650759Z INFO:data_websocket:Last client (('127.0.0.1', 40442)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2025-09-28T17:43:32.914660829Z INFO:main:Initiating unified pipeline shutdown...
2025-09-28T17:43:32.914670558Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-09-28T17:43:32.914680088Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-09-28T17:43:32.914689486Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-09-28T17:43:32.914698986Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.