2025-09-28T17:49:33.771801892Z /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0
2025-09-28T17:49:33.771823907Z /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur
2025-09-28T17:49:35.792054431Z s6-rc: info: service s6rc-oneshot-runner: starting
2025-09-28T17:49:36.020769056Z s6-rc: info: service s6rc-oneshot-runner successfully started
2025-09-28T17:49:36.020951073Z s6-rc: info: service fix-attrs: starting
2025-09-28T17:49:36.021202048Z s6-rc: info: service init-migrations: starting
2025-09-28T17:49:36.021459527Z s6-rc: info: service init-envfile: starting
2025-09-28T17:49:36.029090200Z [migrations] started
2025-09-28T17:49:36.029201725Z [migrations] no migrations found
2025-09-28T17:49:36.126361407Z s6-rc: info: service fix-attrs successfully started
2025-09-28T17:49:36.126677864Z s6-rc: info: service legacy-cont-init: starting
2025-09-28T17:49:36.216471164Z s6-rc: info: service init-migrations successfully started
2025-09-28T17:49:36.216845818Z s6-rc: info: service init-adduser: starting
2025-09-28T17:49:36.217010330Z s6-rc: info: service init-envfile successfully started
2025-09-28T17:49:36.247689079Z s6-rc: info: service legacy-cont-init successfully started
2025-09-28T17:49:37.596022000Z usermod: no changes
2025-09-28T17:49:37.616827851Z ───────────────────────────────────────
2025-09-28T17:49:37.616860226Z 
2025-09-28T17:49:37.616865336Z       ██╗     ███████╗██╗ ██████╗
2025-09-28T17:49:37.616870126Z       ██║     ██╔════╝██║██╔═══██╗
2025-09-28T17:49:37.616874926Z       ██║     ███████╗██║██║   ██║
2025-09-28T17:49:37.616879635Z       ██║     ╚════██║██║██║   ██║
2025-09-28T17:49:37.616884194Z       ███████╗███████║██║╚██████╔╝
2025-09-28T17:49:37.616888934Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-09-28T17:49:37.616893924Z 
2025-09-28T17:49:37.616898473Z    Brought to you by linuxserver.io
2025-09-28T17:49:37.616904565Z ───────────────────────────────────────
2025-09-28T17:49:37.617209529Z 
2025-09-28T17:49:37.617227115Z To support LSIO projects visit:
2025-09-28T17:49:37.617231614Z https://www.linuxserver.io/donate/
2025-09-28T17:49:37.617235772Z 
2025-09-28T17:49:37.617239580Z ───────────────────────────────────────
2025-09-28T17:49:37.617244460Z GID/UID
2025-09-28T17:49:37.617257636Z ───────────────────────────────────────
2025-09-28T17:49:37.621727857Z 
2025-09-28T17:49:37.621742767Z User UID:    911
2025-09-28T17:49:37.621746935Z User GID:    911
2025-09-28T17:49:37.621750653Z ───────────────────────────────────────
2025-09-28T17:49:37.643346163Z s6-rc: info: service init-adduser successfully started
2025-09-28T17:49:37.643494121Z s6-rc: info: service init-device-perms: starting
2025-09-28T17:49:37.649675747Z s6-rc: info: service init-device-perms successfully started
2025-09-28T17:49:37.649804587Z s6-rc: info: service init-os-end: starting
2025-09-28T17:49:37.652115409Z s6-rc: info: service init-os-end successfully started
2025-09-28T17:49:37.652228106Z s6-rc: info: service init-selkies: starting
2025-09-28T17:49:37.654832781Z s6-rc: info: service init-selkies successfully started
2025-09-28T17:49:37.654991360Z s6-rc: info: service init-nginx: starting
2025-09-28T17:49:37.993610267Z .........+..+..................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+..+...+............+.+.........+...+..+...+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+...+...+.+........+.+......+......+.....+....+.....+...+......+......+....+..+............+...+....+...+.....+...+....+...+...+...+..+.............+.....+.......+........+......+................+.....+..........+..+............+.............+...............+..+....+......+.....+..........+......+............+......+...........+......+.......+..+......+...+..........+.....+....+..+.+.........+........+...+.......+..+...+................+.....................+.....+...+.......+......+..+...+....+...+..+.........+.+.....+.+...+.....+......+...+...+..........+............+..+...............+....+......+........+......+....+..+.........+.......+........+.......+.........+.........+..+..........+..+...+.......+..+....+....................+....+......+.....+......+..........+.....+.+..+.......+......+...+...........+....+..+.......+..+....+.....+.........+...+.......+......+............+...+.....+......+......+...+....+..+.+.....+.......+..+.+...+.........+......+.....+.+......+.........+........+............+...+...+...+.+.....+...+...+..........+........+.........+...............+...+...+..........+......+...+...+..+.+..............+.+.....+.......+..+...+.........+.+...+.........+..+......+..................+.+...........+...+....+....................+...+.......+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2025-09-28T17:49:38.034771702Z .+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.+........+...................+..+....+..............+..........+.....+.+......+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2025-09-28T17:49:38.038093661Z -----
2025-09-28T17:49:38.078426677Z s6-rc: info: service init-nginx successfully started
2025-09-28T17:49:38.078677071Z s6-rc: info: service init-selkies-config: starting
2025-09-28T17:49:38.141892009Z s6-rc: info: service init-selkies-config successfully started
2025-09-28T17:49:38.142039215Z s6-rc: info: service init-video: starting
2025-09-28T17:49:38.149734348Z s6-rc: info: service init-video successfully started
2025-09-28T17:49:38.149826163Z s6-rc: info: service init-selkies-end: starting
2025-09-28T17:49:38.151648071Z s6-rc: info: service init-selkies-end successfully started
2025-09-28T17:49:38.151772161Z s6-rc: info: service init-config: starting
2025-09-28T17:49:38.153545893Z s6-rc: info: service init-config successfully started
2025-09-28T17:49:38.153712218Z s6-rc: info: service init-crontab-config: starting
2025-09-28T17:49:38.159214245Z s6-rc: info: service init-crontab-config successfully started
2025-09-28T17:49:38.159345349Z s6-rc: info: service init-config-end: starting
2025-09-28T17:49:38.160720468Z s6-rc: info: service init-config-end successfully started
2025-09-28T17:49:38.160792533Z s6-rc: info: service init-mods: starting
2025-09-28T17:49:38.162343866Z s6-rc: info: service init-mods successfully started
2025-09-28T17:49:38.162568639Z s6-rc: info: service init-mods-package-install: starting
2025-09-28T17:49:38.169093957Z s6-rc: info: service init-mods-package-install successfully started
2025-09-28T17:49:38.169208338Z s6-rc: info: service init-mods-end: starting
2025-09-28T17:49:38.173078901Z s6-rc: info: service init-mods-end successfully started
2025-09-28T17:49:38.173217981Z s6-rc: info: service init-custom-files: starting
2025-09-28T17:49:38.178152376Z [custom-init] No custom files found, skipping...
2025-09-28T17:49:38.179392923Z s6-rc: info: service init-custom-files successfully started
2025-09-28T17:49:38.179510761Z s6-rc: info: service init-services: starting
2025-09-28T17:49:38.182056696Z s6-rc: info: service init-services successfully started
2025-09-28T17:49:38.182194945Z s6-rc: info: service svc-xorg: starting
2025-09-28T17:49:38.182337281Z s6-rc: info: service svc-pulseaudio: starting
2025-09-28T17:49:38.182452253Z s6-rc: info: service svc-nginx: starting
2025-09-28T17:49:38.182587575Z s6-rc: info: service svc-docker: starting
2025-09-28T17:49:38.182750363Z s6-rc: info: service svc-cron: starting
2025-09-28T17:49:38.188941158Z s6-rc: info: service svc-xorg successfully started
2025-09-28T17:49:38.189122062Z s6-rc: info: service svc-dbus: starting
2025-09-28T17:49:38.189358057Z s6-rc: info: service svc-pulseaudio successfully started
2025-09-28T17:49:38.196111124Z s6-rc: info: service svc-nginx successfully started
2025-09-28T17:49:38.196314814Z s6-rc: info: service svc-xsettingsd: starting
2025-09-28T17:49:38.196627924Z s6-rc: info: service svc-de: starting
2025-09-28T17:49:38.197894495Z s6-rc: info: service svc-docker successfully started
2025-09-28T17:49:38.198159578Z s6-rc: info: service svc-cron successfully started
2025-09-28T17:49:38.198420834Z s6-rc: info: service svc-dbus successfully started
2025-09-28T17:49:38.198624905Z s6-rc: info: service svc-selkies: starting
2025-09-28T17:49:38.200428546Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-09-28T17:49:38.201418570Z s6-rc: info: service svc-xsettingsd successfully started
2025-09-28T17:49:38.201669044Z screen 0 shmid 0
2025-09-28T17:49:38.202158720Z s6-rc: info: service svc-de successfully started
2025-09-28T17:49:38.202413603Z s6-rc: info: service svc-selkies successfully started
2025-09-28T17:49:38.207023455Z s6-rc: info: service legacy-services: starting
2025-09-28T17:49:38.211843549Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-09-28T17:49:38.212433487Z s6-rc: info: service legacy-services successfully started
2025-09-28T17:49:38.212576465Z s6-rc: info: service ci-service-check: starting
2025-09-28T17:49:38.214025322Z [ls.io-init] done.
2025-09-28T17:49:38.214412572Z s6-rc: info: service ci-service-check successfully started
2025-09-28T17:49:38.669852468Z xsettingsd: Created window 0x400001 on screen 0 with timestamp 988330765
2025-09-28T17:49:38.669958892Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2025-09-28T17:49:38.669981397Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-09-28T17:49:38.718006121Z 17
2025-09-28T17:49:38.729707560Z 18
2025-09-28T17:49:38.832656218Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-09-28T17:49:38.866566112Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-09-28T17:49:38.918872406Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-09-28T17:49:39.061615496Z INFO:main:Upload directory ensured: /config/Desktop
2025-09-28T17:49:39.062015842Z 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:49:39.062040752Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-09-28T17:49:39.062048388Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-09-28T17:49:39.062175784Z INFO:main:All main components initialized. Running server...
2025-09-28T17:49:39.065432782Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-09-28T17:49:39.067788915Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-09-28T17:49:39.068729720Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-09-28T17:49:39.069546524Z INFO:webrtc_input:Found XFIXES version 4.0
2025-09-28T17:49:39.069572206Z INFO:webrtc_input:starting cursor monitor
2025-09-28T17:49:39.069586976Z INFO:webrtc_input:watching for cursor changes
2025-09-28T17:49:39.076237296Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T17:49:39.076672402Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-09-28T17:49:39.199116271Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-09-28T17:49:39.199353900Z 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:49:39.199389271Z 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:49:39.199404782Z 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:49:39.199460975Z 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:49:39.199485064Z 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:49:39.199497970Z 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:49:39.199561287Z 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:49:39.199582289Z 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:49:39.199615516Z 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:49:39.199658092Z 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:49:39.199671329Z 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:49:39.199707632Z 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:49:39.200149952Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-09-28T17:49:39.200190815Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-09-28T17:49:39.200299604Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-09-28T17:49:39.200317480Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-09-28T17:49:39.200428022Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-09-28T17:49:39.200464496Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-09-28T17:49:39.200557012Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-09-28T17:49:39.200595179Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-09-28T17:49:39.200707164Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-09-28T17:49:39.200741764Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-09-28T17:49:39.200759089Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-09-28T17:49:39.200788769Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-09-28T17:50:22.477263582Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-09-28T18:04:22.171196655Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 57666)
2025-09-28T18:04:22.173242675Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 57666)
2025-09-28T18:04:22.185697482Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-09-28T18:04:22.223145323Z INFO:data_websocket:PulseAudio connection established.
2025-09-28T18:04:22.225271264Z INFO:data_websocket:Registering new client for display: primary
2025-09-28T18:04:22.225298158Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-09-28T18:04:22.225353189Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-09-28T18:04:22.228241064Z INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96.
2025-09-28T18:04:22.228533132Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2025-09-28T18:04:22.702795732Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2025-09-28T18:04:22.703077800Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2025-09-28T18:04:22.740463916Z INFO:gst_app_resize:Found xsettingsd process with PID: 256.
2025-09-28T18:04:22.743696575Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 256 to reload config.
2025-09-28T18:04:22.744267695Z xsettingsd: Reloading configuration
2025-09-28T18:04:22.747517900Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2025-09-28T18:04:23.064631353Z WARNING:data_websocket:Pipeline is inactive for the initial client. Forcing a start.
2025-09-28T18:04:23.064666634Z INFO:data_websocket:Client settings for 'primary' or resolution changed, triggering full display reconfiguration.
2025-09-28T18:04:23.064868891Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-09-28T18:04:23.064896877Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-09-28T18:04:23.085292333Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-09-28T18:04:23.101382050Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-09-28T18:04:23.109669115Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-09-28T18:04:23.109693885Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-09-28T18:04:23.109719306Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-09-28T18:04:23.118096073Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-09-28T18:04:23.149198568Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-09-28T18:04:23.149218989Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-09-28T18:04:23.149251434Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-09-28T18:04:23.149381797Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-09-28T18:04:23.149450745Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-09-28T18:04:23.149489223Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-09-28T18:04:23.149495896Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-09-28T18:04:23.149548502Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-09-28T18:04:23.150243161Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-09-28T18:04:23.150261859Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-09-28T18:04:23.150481932Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-09-28T18:04:23.151385882Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-09-28T18:04:23.151767039Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-09-28T18:04:23.152835611Z X Shared Memory Extension available.
2025-09-28T18:04:23.153522293Z XShm setup complete for 1920x992.
2025-09-28T18:04:23.153529518Z CPU cores available: 64
2025-09-28T18:04:23.154618400Z INFO:data_websocket:Received START_VIDEO for 'primary'. Starting stream without reconfiguring layout.
2025-09-28T18:04:23.154625465Z WARNING:data_websocket:Capture instance for 'primary' already exists. Skipping start.
2025-09-28T18:04:23.154686918Z INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
2025-09-28T18:04:23.154694263Z 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-28T18:04:23.154699905Z INFO:data_websocket:Backpressure logic task for 'primary' finished.
2025-09-28T18:04:23.154729314Z INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
2025-09-28T18:04:23.154739244Z INFO:data_websocket:Resetting frame IDs for display 'primary'.
2025-09-28T18:04:23.154751068Z INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
2025-09-28T18:04:23.154845307Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-09-28T18:04:23.154936922Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-09-28T18:04:23.154975209Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-09-28T18:04:23.155109189Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-09-28T18:04:23.155133959Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-09-28T18:04:23.155225864Z INFO:data_websocket:Restarting audio pipeline due to settings update.
2025-09-28T18:04:23.155230192Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-09-28T18:04:23.155265584Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-09-28T18:04:23.155269842Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-09-28T18:04:23.155318089Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-09-28T18:04:23.155322137Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2025-09-28T18:04:23.167294423Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-09-28T18:04:23.168808612Z [pcmflux] SUCCESS: Opus encoder created.
2025-09-28T18:04:23.168827029Z [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-28T18:04:23.168831207Z [pcmflux] Stop requested. Cleaning up capture loop...
2025-09-28T18:04:23.169085640Z [pcmflux] Audio capture loop finished. Resources released.
2025-09-28T18:04:23.169342888Z INFO:data_websocket:pcmflux audio pipeline stopped.
2025-09-28T18:04:23.169348699Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-09-28T18:04:23.169403279Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-09-28T18:04:23.169557129Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-09-28T18:04:23.169621939Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-09-28T18:04:23.169735949Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-09-28T18:04:23.169756330Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-09-28T18:04:23.171074574Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-09-28T18:04:23.171081949Z [pcmflux] SUCCESS: Opus encoder created.
2025-09-28T18:04:23.171086077Z [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-28T18:04:25.166809527Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-09-28T18:04:32.383996676Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 57666) (Display ID: primary)...
2025-09-28T18:04:32.384041096Z INFO:data_websocket:Client for primary removed. Triggering display reconfiguration.
2025-09-28T18:04:32.384094954Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-09-28T18:04:32.391823846Z Capture loop stopped. X resources released.
2025-09-28T18:04:32.392249623Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-09-28T18:04:32.392271687Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-09-28T18:04:32.393168533Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-09-28T18:04:32.393185377Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2025-09-28T18:04:32.408025528Z INFO:data_websocket:Last client (('127.0.0.1', 57666)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2025-09-28T18:04:32.408059686Z INFO:main:Initiating unified pipeline shutdown...
2025-09-28T18:04:32.408066630Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-09-28T18:04:32.422668311Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-09-28T18:04:32.422701618Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-09-28T18:04:32.422710095Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.