The toolbar is blank and there is no build plate.
The default build plate is shown and the toolbar is present.
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: v02.01.01.52-ls97
Build-date: 2025-07-24T22:31:09+00:00
───────────────────────────────────────
**** permissions for /dev/dri/renderD128 are good ****
**** permissions for /dev/dri/card0 are good ****
[custom-init] No custom files found, skipping...
/usr/bin/nvidia-smi
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
screen 0 shmid 0
[ls.io-init] done.
17
18
/usr/bin/nvidia-smi
INFO:data_websocket:pcmflux library found. Audio capture is available.
INFO:data_websocket:pixelflux library found. Striped encoding modes available.
INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
INFO:main:Upload directory ensured: /config/Desktop
INFO:main:Starting Selkies (WebSocket Mode) with args: Namespace(encoder='x264enc', framerate=60, video_bitrate=16000, dri_node='', audio_device_name='', h264_crf=25, h264_fullcolor=False, h264_streaming_mode=False, watermark_path='', watermark_location=-1, debug=False)
INFO:main:Initial Encoder: x264enc, Framerate: 60, Bitrate: 16000kbps
INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
INFO:main:All main components initialized. Running server...
INFO:webrtc_input:Resetting keyboard modifiers.
INFO:webrtc_input:Initializing 4 persistent gamepad instances...
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)
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
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).
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)
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
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).
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)
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
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).
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)
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
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).
INFO:webrtc_input:Starting clipboard monitor
INFO:webrtc_input:Found XFIXES version 4.0
INFO:webrtc_input:starting cursor monitor
INFO:webrtc_input:watching for cursor changes
WARNING:data_websocket:Cannot broadcast cursor data: prerequisites not met.
INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
INFO:data_websocket:Data WebSocket Server listening on port 8082
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 46032)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1024, "height": 768}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 46032)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 1024, 'manualHeight': 768, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:gst_app_resize:on_resize_handler attempting resize for: 2878x1478
INFO:gst_app_resize:App dimensions updated to 2878x1478 before xrandr call.
INFO:gst_app_resize:Mode 2878x1478 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 2878x1478 360.00 2880 3088 3400 3920 1478 1481 1491 1532 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 2878x1478
INFO:gst_app_resize:Applying xrandr mode '2878x1478' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '2878x1478'.
INFO:gst_app_resize:resize_display('2878x1478') reported success.
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder Initialized successfully.
CPU cores available: 20
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] Status | Read: 1, Silent: 0 (0.0%), Encoded: 1, Rate: 0.01 kbps
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 46032)...
INFO:data_websocket:Last client (('127.0.0.1', 46032)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 46032) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 46032)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Queueing x264-striped capture stop.
INFO:main:Queueing pcmflux audio capture stop.
INFO:main:Waiting for 2 capture module(s) to stop...
Capture loop stopped. X resources released.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 46038)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 46038)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder initialization failed. Falling back to x264.
CPU cores available: 20
H264 T0: Error - null YUV plane data for stripe Y0
H264 T0: Error - null YUV plane data for stripe Y0
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] Status | Read: 17, Silent: 0 (0.0%), Encoded: 17, Rate: 0.20 kbps
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
INFO:main:All C++ capture modules have stopped.
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 46032) finished all cleanup.
dbus-daemon[254]: [system] Activating service name='org.freedesktop.hostname1' requested by ':1.28' (uid=1000 pid=367 comm="/opt/bambustudio/bin/bambu-studio") (using servicehelper)
dbus-daemon[254]: [system] Activated service 'org.freedesktop.hostname1' failed: Failed to execute program org.freedesktop.hostname1: Permission denied
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
INFO:data_websocket:Stats sender: WS connection closed.
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.19 kbps
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 106, Silent: 0 (0.0%), Encoded: 106, Rate: 1.27 kbps
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 94, Silent: 0 (0.0%), Encoded: 94, Rate: 1.13 kbps
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 46038)...
INFO:data_websocket:No other clients in set after ('127.0.0.1', 46038) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 46038)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 46038) finished all cleanup.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53440)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53440)
INFO:data_websocket:Attempting to establish PulseAudio connection...
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
Capture loop stopped. X resources released.
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53454)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53454)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
ERROR:websockets.server:opening handshake failed
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 356, in conn_handler
await connection.handshake(
File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 142, in handshake
async with self.send_context(expected_state=CONNECTING):
File "/usr/lib/python3.11/contextlib.py", line 204, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/connection.py", line 957, in send_context
raise self.protocol.close_exc from original_exc
websockets.exceptions.ConnectionClosedError: no close frame received or sent
ERROR:websockets.server:opening handshake failed
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 356, in conn_handler
await connection.handshake(
File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 142, in handshake
async with self.send_context(expected_state=CONNECTING):
File "/usr/lib/python3.11/contextlib.py", line 204, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/connection.py", line 957, in send_context
raise self.protocol.close_exc from original_exc
websockets.exceptions.ConnectionClosedError: no close frame received or sent
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53440)...
INFO:data_websocket:Client ('127.0.0.1', 53440) disconnected, but other clients remain. Frame backpressure task continues.
INFO:data_websocket:Client from ('127.0.0.1', 53440) disconnected. Checking responsiveness of remaining 1 client(s)...
WARNING:data_websocket: Remaining client ('127.0.0.1', 53454) connection definitively closed during ping: ConnectionClosedOK. Marking as stale.
INFO:data_websocket:All other clients were stale or disconnected. Marking pipelines for stop after ('127.0.0.1', 53440) disconnect.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53440)).
INFO:main:Initiating unified pipeline shutdown...
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:main:Queueing x264-striped capture stop.
INFO:main:Queueing pcmflux audio capture stop.
INFO:main:Waiting for 2 capture module(s) to stop...
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53466)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53466)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
NVENC Encoder Initialized successfully.
CPU cores available: 20
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder Initialized successfully.
CPU cores available: 20
Capture loop stopped. X resources released.
ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized.
Disabling NVENC for this session due to runtime error.
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: Starting pcmflux audio pipeline.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:pcmflux audio capture started successfully.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53454)...
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
INFO:data_websocket:Client ('127.0.0.1', 53454) disconnected, but other clients remain. Frame backpressure task continues.
INFO:data_websocket:Client from ('127.0.0.1', 53454) disconnected. Checking responsiveness of remaining 1 client(s)...
WARNING:data_websocket: Remaining client ('127.0.0.1', 53466) connection definitively closed during ping: ConnectionClosedOK. Marking as stale.
INFO:data_websocket:All other clients were stale or disconnected. Marking pipelines for stop after ('127.0.0.1', 53454) disconnect.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53454)).
INFO:main:Initiating unified pipeline shutdown...
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53474)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53474)
H264 T0: Error - null YUV plane data for stripe Y0
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
INFO:main:Queueing x264-striped capture stop.
INFO:main:Queueing pcmflux audio capture stop.
INFO:main:Waiting for 2 capture module(s) to stop...
INFO:main:All C++ capture modules have stopped.
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53454) finished all cleanup.
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53466)...
INFO:data_websocket:Client ('127.0.0.1', 53466) disconnected, but other clients remain. Frame backpressure task continues.
INFO:data_websocket:Client from ('127.0.0.1', 53466) disconnected. Checking responsiveness of remaining 1 client(s)...
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:x264enc pipeline is already capturing.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket: Remaining client ('127.0.0.1', 53474) is responsive.
INFO:data_websocket:Client from ('127.0.0.1', 53466) disconnected. Responsive clients (1) remain. Global pipelines will NOT be stopped by this handler.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53466) finished all cleanup.
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53474)...
INFO:data_websocket:Last client (('127.0.0.1', 53474)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 53474) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53474)).
INFO:main:Initiating unified pipeline shutdown...
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Frame IDs reset, but no clients to notify.
INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53474) finished all cleanup.
NVENC Encoder Initialized successfully.
CPU cores available: 20
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53482)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53482)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder Initialized successfully.
CPU cores available: 20
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53482)...
INFO:data_websocket:Last client (('127.0.0.1', 53482)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 53482) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53482)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Queueing x264-striped capture stop.
INFO:main:Queueing pcmflux audio capture stop.
INFO:main:Waiting for 2 capture module(s) to stop...
Capture loop stopped. X resources released.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53498)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53498)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53506)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53506)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 2 client(s).
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder Initialized successfully.
CPU cores available: 20
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53506)...
INFO:data_websocket:Client ('127.0.0.1', 53506) disconnected, but other clients remain. Frame backpressure task continues.
INFO:data_websocket:Client from ('127.0.0.1', 53506) disconnected. Checking responsiveness of remaining 1 client(s)...
WARNING:data_websocket: Remaining client ('127.0.0.1', 53498) connection definitively closed during ping: ConnectionClosedOK. Marking as stale.
INFO:data_websocket:All other clients were stale or disconnected. Marking pipelines for stop after ('127.0.0.1', 53506) disconnect.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53506)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Queueing x264-striped capture stop.
INFO:main:Queueing pcmflux audio capture stop.
INFO:main:Waiting for 2 capture module(s) to stop...
Capture loop stopped. X resources released.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53516)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53516)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
[pcmflux] First non-silent audio chunk detected! Encoding...[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
[pcmflux] Audio capture loop finished. Resources released.
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
[pcmflux] Audio capture loop finished. Resources released.
INFO:main:All C++ capture modules have stopped.
INFO:main:All C++ capture modules have stopped.
INFO:main:All C++ capture modules have stopped.
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53482) finished all cleanup.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53440) finished all cleanup.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53506) finished all cleanup.
Capture loop stopped. X resources released.
NVENC Encoder Initialized successfully.
CPU cores available: 20
ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized.
Disabling NVENC for this session due to runtime error.
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
H264 T0: Error - null YUV plane data for stripe Y0
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53516)...
INFO:data_websocket:No other clients in set after ('127.0.0.1', 53516) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53516)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53516) finished all cleanup.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53524)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53524)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.13 kbps
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.21 kbps
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.12 kbps
[pcmflux] Audio capture loop finished. Resources released.
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
Capture loop stopped. X resources released.
NVENC Encoder Initialized successfully.
CPU cores available: 20
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized.
Disabling NVENC for this session due to runtime error.
H264 T0: Error - null YUV plane data for stripe Y0
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53524)...
INFO:data_websocket:Last client (('127.0.0.1', 53524)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 53524) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53524)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Queueing x264-striped capture stop.
INFO:main:Queueing pcmflux audio capture stop.
INFO:main:Waiting for 2 capture module(s) to stop...
Capture loop stopped. X resources released.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53526)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53526)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
INFO:data_websocket:pcmflux audio capture started successfully.
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder Initialized successfully.
CPU cores available: 20
INFO:data_websocket:Stats sender: WS connection closed.
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Stats sender: WS connection closed.
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
INFO:data_websocket:Stats sender: WS connection closed.
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.21 kbps
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
[pcmflux] Audio capture loop finished. Resources released.
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
INFO:main:All C++ capture modules have stopped.
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53524) finished all cleanup.
Capture loop stopped. X resources released.
ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized.
Disabling NVENC for this session due to runtime error.
H264 T0: Error - null YUV plane data for stripe Y0
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:x264enc pipeline is already capturing.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53498)...
INFO:data_websocket:Client from ('127.0.0.1', 53498) disconnected. Checking responsiveness of remaining 1 client(s)...
INFO:data_websocket: Remaining client ('127.0.0.1', 53526) is responsive.
INFO:data_websocket:Client from ('127.0.0.1', 53498) disconnected. Responsive clients (1) remain. Global pipelines will NOT be stopped by this handler.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53498) finished all cleanup.
INFO:data_websocket:Stats sender: WS connection closed.
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
INFO:data_websocket:Stats sender: WS connection closed.
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.14 kbps
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Stats sender: WS connection closed.
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
Capture loop stopped. X resources released.
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53526)...
INFO:data_websocket:No other clients in set after ('127.0.0.1', 53526) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53526)).
INFO:main:Initiating unified pipeline shutdown...
INFO:main:Unified pipeline shutdown complete.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 53526) finished all cleanup.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 50028)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478}
INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 50028)
INFO:data_websocket:Attempting to establish PulseAudio connection...
INFO:data_websocket:PulseAudio connection established.
INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478}
INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings.
INFO:data_websocket:Initial client settings message processed by ws_handler.
WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change.
INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start.
INFO:data_websocket:Starting pcmflux audio pipeline...
INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2
[pcmflux] Attempting to connect to PulseAudio device: system_default...
INFO:data_websocket:pcmflux audio capture started successfully.
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
[pcmflux] SUCCESS: Connected to PulseAudio.
[pcmflux] SUCCESS: Opus encoder created.
[pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
X Shared Memory Extension available.
XShm setup complete for 2878x1478.
NVENC Encoder Initialized successfully.
CPU cores available: 20
[pcmflux] First non-silent audio chunk detected! Encoding...
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00
[pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.18 kbps
[pcmflux] Status | Read: 101, Silent: 0 (0.0%), Encoded: 101, Rate: 1.21 kbps
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00
Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Stats sender: WS connection closed.
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
INFO:data_websocket:Received STOP_VIDEO
INFO:data_websocket:Stopping X11 x264-striped capture...
Capture loop stopped. X resources released.
INFO:data_websocket:Frame-based backpressure logic task cancelled.
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify.
INFO:data_websocket:Resetting frame IDs.
INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s).
[pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 102, Silent: 0 (0.0%), Encoded: 102, Rate: 1.22 kbps
[pcmflux] Status | Read: 101, Silent: 0 (0.0%), Encoded: 101, Rate: 1.21 kbps
[pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps
[pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps
[pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 103, Silent: 0 (0.0%), Encoded: 103, Rate: 1.24 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 98, Silent: 0 (0.0%), Encoded: 98, Rate: 1.18 kbps
[pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 101, Silent: 0 (0.0%), Encoded: 101, Rate: 1.21 kbps
[pcmflux] Stop requested. Cleaning up capture loop...
[pcmflux] Audio capture loop finished. Resources released.
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
[pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps
Is there an existing issue for this?
Current Behavior
The toolbar is blank and there is no build plate.
Expected Behavior
The default build plate is shown and the toolbar is present.
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
[migrations] started [migrations] no migrations found usermod: no changes ─────────────────────────────────────── ██╗ ███████╗██╗ ██████╗ ██║ ██╔════╝██║██╔═══██╗ ██║ ███████╗██║██║ ██║ ██║ ╚════██║██║██║ ██║ ███████╗███████║██║╚██████╔╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ Brought to you by linuxserver.io ─────────────────────────────────────── To support LSIO projects visit: https://www.linuxserver.io/donate/ ─────────────────────────────────────── GID/UID ─────────────────────────────────────── User UID: 1000 User GID: 1000 ─────────────────────────────────────── Linuxserver.io version: v02.01.01.52-ls97 Build-date: 2025-07-24T22:31:09+00:00 ─────────────────────────────────────── **** permissions for /dev/dri/renderD128 are good **** **** permissions for /dev/dri/card0 are good **** [custom-init] No custom files found, skipping... /usr/bin/nvidia-smi _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root screen 0 shmid 0 [ls.io-init] done. 17 18 /usr/bin/nvidia-smi INFO:data_websocket:pcmflux library found. Audio capture is available. INFO:data_websocket:pixelflux library found. Striped encoding modes available. INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes INFO:main:Upload directory ensured: /config/Desktop INFO:main:Starting Selkies (WebSocket Mode) with args: Namespace(encoder='x264enc', framerate=60, video_bitrate=16000, dri_node='', audio_device_name='', h264_crf=25, h264_fullcolor=False, h264_streaming_mode=False, watermark_path='', watermark_location=-1, debug=False) INFO:main:Initial Encoder: x264enc, Framerate: 60, Bitrate: 16000kbps INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768 INFO:main:All main components initialized. Running server... INFO:webrtc_input:Resetting keyboard modifiers. INFO:webrtc_input:Initializing 4 persistent gamepad instances... 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) 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 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). 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) 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 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). 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) 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 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). 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) 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 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). INFO:webrtc_input:Starting clipboard monitor INFO:webrtc_input:Found XFIXES version 4.0 INFO:webrtc_input:starting cursor monitor INFO:webrtc_input:watching for cursor changes WARNING:data_websocket:Cannot broadcast cursor data: prerequisites not met. INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started. INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started. INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started. INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started. INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock INFO:data_websocket:Data WebSocket Server listening on port 8082 INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 46032) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1024, "height": 768} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 46032) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 1024, 'manualHeight': 768, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:gst_app_resize:on_resize_handler attempting resize for: 2878x1478 INFO:gst_app_resize:App dimensions updated to 2878x1478 before xrandr call. INFO:gst_app_resize:Mode 2878x1478 not found in xrandr list. Attempting to add for screen 'screen'. INFO:gst_app_resize:Successfully ran: xrandr --newmode 2878x1478 360.00 2880 3088 3400 3920 1478 1481 1491 1532 -hsync +vsync INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 2878x1478 INFO:gst_app_resize:Applying xrandr mode '2878x1478' for screen 'screen'. INFO:gst_app_resize:Successfully applied xrandr mode '2878x1478'. INFO:gst_app_resize:resize_display('2878x1478') reported success. INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:pcmflux audio chunk broadcasting task started. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder Initialized successfully. CPU cores available: 20 Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Status | Read: 1, Silent: 0 (0.0%), Encoded: 1, Rate: 0.01 kbps Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 46032)... INFO:data_websocket:Last client (('127.0.0.1', 46032)) disconnected. Cancelling frame backpressure task. INFO:data_websocket:No other clients in set after ('127.0.0.1', 46032) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 46032)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Queueing x264-striped capture stop. INFO:main:Queueing pcmflux audio capture stop. INFO:main:Waiting for 2 capture module(s) to stop... Capture loop stopped. X resources released. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 46038) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 46038) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder initialization failed. Falling back to x264. CPU cores available: 20 H264 T0: Error - null YUV plane data for stripe Y0 H264 T0: Error - null YUV plane data for stripe Y0 [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Status | Read: 17, Silent: 0 (0.0%), Encoded: 17, Rate: 0.20 kbps [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. INFO:main:All C++ capture modules have stopped. INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 46032) finished all cleanup. dbus-daemon[254]: [system] Activating service name='org.freedesktop.hostname1' requested by ':1.28' (uid=1000 pid=367 comm="/opt/bambustudio/bin/bambu-studio") (using servicehelper) dbus-daemon[254]: [system] Activated service 'org.freedesktop.hostname1' failed: Failed to execute program org.freedesktop.hostname1: Permission denied Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 INFO:data_websocket:Stats sender: WS connection closed. Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.19 kbps Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 106, Silent: 0 (0.0%), Encoded: 106, Rate: 1.27 kbps Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 94, Silent: 0 (0.0%), Encoded: 94, Rate: 1.13 kbps INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 46038)... INFO:data_websocket:No other clients in set after ('127.0.0.1', 46038) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 46038)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 46038) finished all cleanup. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53440) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53440) INFO:data_websocket:Attempting to establish PulseAudio connection... Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. Capture loop stopped. X resources released. INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:pcmflux audio chunk broadcasting task started. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53454) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53454) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True ERROR:websockets.server:opening handshake failed Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 356, in conn_handler await connection.handshake( File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 142, in handshake async with self.send_context(expected_state=CONNECTING): File "/usr/lib/python3.11/contextlib.py", line 204, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/connection.py", line 957, in send_context raise self.protocol.close_exc from original_exc websockets.exceptions.ConnectionClosedError: no close frame received or sent ERROR:websockets.server:opening handshake failed Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 356, in conn_handler await connection.handshake( File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/server.py", line 142, in handshake async with self.send_context(expected_state=CONNECTING): File "/usr/lib/python3.11/contextlib.py", line 204, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/websockets/asyncio/connection.py", line 957, in send_context raise self.protocol.close_exc from original_exc websockets.exceptions.ConnectionClosedError: no close frame received or sent INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. X Shared Memory Extension available. XShm setup complete for 2878x1478. INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53440)... INFO:data_websocket:Client ('127.0.0.1', 53440) disconnected, but other clients remain. Frame backpressure task continues. INFO:data_websocket:Client from ('127.0.0.1', 53440) disconnected. Checking responsiveness of remaining 1 client(s)... WARNING:data_websocket: Remaining client ('127.0.0.1', 53454) connection definitively closed during ping: ConnectionClosedOK. Marking as stale. INFO:data_websocket:All other clients were stale or disconnected. Marking pipelines for stop after ('127.0.0.1', 53440) disconnect. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53440)). INFO:main:Initiating unified pipeline shutdown... INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:main:Queueing x264-striped capture stop. INFO:main:Queueing pcmflux audio capture stop. INFO:main:Waiting for 2 capture module(s) to stop... INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53466) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53466) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. NVENC Encoder Initialized successfully. CPU cores available: 20 INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder Initialized successfully. CPU cores available: 20 Capture loop stopped. X resources released. ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized. Disabling NVENC for this session due to runtime error. INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: Starting pcmflux audio pipeline. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:pcmflux audio capture started successfully. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53454)... [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes INFO:data_websocket:Client ('127.0.0.1', 53454) disconnected, but other clients remain. Frame backpressure task continues. INFO:data_websocket:Client from ('127.0.0.1', 53454) disconnected. Checking responsiveness of remaining 1 client(s)... WARNING:data_websocket: Remaining client ('127.0.0.1', 53466) connection definitively closed during ping: ConnectionClosedOK. Marking as stale. INFO:data_websocket:All other clients were stale or disconnected. Marking pipelines for stop after ('127.0.0.1', 53454) disconnect. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53454)). INFO:main:Initiating unified pipeline shutdown... INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53474) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53474) H264 T0: Error - null YUV plane data for stripe Y0 INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 INFO:main:Queueing x264-striped capture stop. INFO:main:Queueing pcmflux audio capture stop. INFO:main:Waiting for 2 capture module(s) to stop... INFO:main:All C++ capture modules have stopped. INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53454) finished all cleanup. [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53466)... INFO:data_websocket:Client ('127.0.0.1', 53466) disconnected, but other clients remain. Frame backpressure task continues. INFO:data_websocket:Client from ('127.0.0.1', 53466) disconnected. Checking responsiveness of remaining 1 client(s)... INFO:data_websocket:pcmflux audio chunk broadcasting task started. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes X Shared Memory Extension available. XShm setup complete for 2878x1478. WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:x264enc pipeline is already capturing. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket: Remaining client ('127.0.0.1', 53474) is responsive. INFO:data_websocket:Client from ('127.0.0.1', 53466) disconnected. Responsive clients (1) remain. Global pipelines will NOT be stopped by this handler. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53466) finished all cleanup. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53474)... INFO:data_websocket:Last client (('127.0.0.1', 53474)) disconnected. Cancelling frame backpressure task. INFO:data_websocket:No other clients in set after ('127.0.0.1', 53474) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53474)). INFO:main:Initiating unified pipeline shutdown... INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Frame IDs reset, but no clients to notify. INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53474) finished all cleanup. NVENC Encoder Initialized successfully. CPU cores available: 20 INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53482) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53482) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:pcmflux audio chunk broadcasting task started. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder Initialized successfully. CPU cores available: 20 INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53482)... INFO:data_websocket:Last client (('127.0.0.1', 53482)) disconnected. Cancelling frame backpressure task. INFO:data_websocket:No other clients in set after ('127.0.0.1', 53482) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53482)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Queueing x264-striped capture stop. INFO:main:Queueing pcmflux audio capture stop. INFO:main:Waiting for 2 capture module(s) to stop... Capture loop stopped. X resources released. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53498) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53498) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53506) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53506) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 2 client(s). INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder Initialized successfully. CPU cores available: 20 Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 INFO:data_websocket:Stats sender: WS connection closed. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53506)... INFO:data_websocket:Client ('127.0.0.1', 53506) disconnected, but other clients remain. Frame backpressure task continues. INFO:data_websocket:Client from ('127.0.0.1', 53506) disconnected. Checking responsiveness of remaining 1 client(s)... WARNING:data_websocket: Remaining client ('127.0.0.1', 53498) connection definitively closed during ping: ConnectionClosedOK. Marking as stale. INFO:data_websocket:All other clients were stale or disconnected. Marking pipelines for stop after ('127.0.0.1', 53506) disconnect. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53506)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Queueing x264-striped capture stop. INFO:main:Queueing pcmflux audio capture stop. INFO:main:Waiting for 2 capture module(s) to stop... Capture loop stopped. X resources released. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53516) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53516) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. [pcmflux] First non-silent audio chunk detected! Encoding...[pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. [pcmflux] Audio capture loop finished. Resources released. [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. [pcmflux] Audio capture loop finished. Resources released. INFO:main:All C++ capture modules have stopped. INFO:main:All C++ capture modules have stopped. INFO:main:All C++ capture modules have stopped. INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53482) finished all cleanup. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53440) finished all cleanup. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53506) finished all cleanup. Capture loop stopped. X resources released. NVENC Encoder Initialized successfully. CPU cores available: 20 ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized. Disabling NVENC for this session due to runtime error. Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 H264 T0: Error - null YUV plane data for stripe Y0 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53516)... INFO:data_websocket:No other clients in set after ('127.0.0.1', 53516) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53516)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53516) finished all cleanup. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53524) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53524) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:pcmflux audio chunk broadcasting task started. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True X Shared Memory Extension available. XShm setup complete for 2878x1478. [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.13 kbps [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.21 kbps [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.12 kbps [pcmflux] Audio capture loop finished. Resources released. INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. Capture loop stopped. X resources released. NVENC Encoder Initialized successfully. CPU cores available: 20 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized. Disabling NVENC for this session due to runtime error. H264 T0: Error - null YUV plane data for stripe Y0 INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53524)... INFO:data_websocket:Last client (('127.0.0.1', 53524)) disconnected. Cancelling frame backpressure task. INFO:data_websocket:No other clients in set after ('127.0.0.1', 53524) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53524)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Queueing x264-striped capture stop. INFO:main:Queueing pcmflux audio capture stop. INFO:main:Waiting for 2 capture module(s) to stop... Capture loop stopped. X resources released. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 53526) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 53526) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes INFO:data_websocket:pcmflux audio capture started successfully. WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder Initialized successfully. CPU cores available: 20 INFO:data_websocket:Stats sender: WS connection closed. Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 INFO:data_websocket:Stats sender: WS connection closed. INFO:data_websocket:Stats sender: WS connection closed. INFO:data_websocket:Stats sender: WS connection closed. INFO:data_websocket:Stats sender: WS connection closed. Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 INFO:data_websocket:Stats sender: WS connection closed. [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.21 kbps [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. [pcmflux] Audio capture loop finished. Resources released. [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. INFO:main:All C++ capture modules have stopped. INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53524) finished all cleanup. Capture loop stopped. X resources released. ENCODE_THREAD_ERROR: NVENC_ENCODE_FATAL: Not initialized. Disabling NVENC for this session due to runtime error. H264 T0: Error - null YUV plane data for stripe Y0 WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:x264enc pipeline is already capturing. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53498)... INFO:data_websocket:Client from ('127.0.0.1', 53498) disconnected. Checking responsiveness of remaining 1 client(s)... INFO:data_websocket: Remaining client ('127.0.0.1', 53526) is responsive. INFO:data_websocket:Client from ('127.0.0.1', 53498) disconnected. Responsive clients (1) remain. Global pipelines will NOT be stopped by this handler. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53498) finished all cleanup. INFO:data_websocket:Stats sender: WS connection closed. Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00 INFO:data_websocket:Stats sender: WS connection closed. Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.14 kbps Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 INFO:data_websocket:Stats sender: WS connection closed. Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 Res: 2878x1478 Mode: H264 (CPU) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps Capture loop stopped. X resources released. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 53526)... INFO:data_websocket:No other clients in set after ('127.0.0.1', 53526) disconnected. Marking pipelines for stop. INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 53526)). INFO:main:Initiating unified pipeline shutdown... INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 53526) finished all cleanup. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 50028) INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2878, "height": 1478} INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 50028) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Applying client settings (initial=True): {'videoBitRate': 16000000, 'videoFramerate': 60, 'videoCRF': 25, 'encoder': 'x264enc', 'h264_fullcolor': False, 'h264_streaming_mode': False, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 2878, 'manualHeight': 1478, 'audioBitRate': 320000, 'videoBufferSize': 0, 'initialClientWidth': 2878, 'initialClientHeight': 1478} INFO:data_websocket:Initial client settings processed and event set by _apply_client_settings. INFO:data_websocket:Initial client settings message processed by ws_handler. WARNING:data_websocket:Initial setup: Video pipeline for 'x264enc' was expected to be started by _apply_client_settings but is not. This might indicate an issue or a no-op change. INFO:data_websocket:Initial setup: Audio pipeline not yet active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='', bitrate=320000, channels=2 [pcmflux] Attempting to connect to PulseAudio device: system_default... INFO:data_websocket:pcmflux audio capture started successfully. INFO:data_websocket:pcmflux audio chunk broadcasting task started. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [pcmflux] Capture loop started. Device: system_default, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, PCM Chunk: 3840 bytes WARNING:webrtc_input:No clipboard content to send INFO:data_websocket:Received START_VIDEO for encoder: x264enc INFO:data_websocket:Starting x264enc: 2878x1478 @ 60.0fps, CRF: 25, FullFrame: True INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc'). INFO:data_websocket:x264enc capture started successfully. INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio. INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active. INFO:data_websocket:Frame-based backpressure logic task started. INFO:data_websocket:Client settings received, proceeding with backpressure loop. X Shared Memory Extension available. XShm setup complete for 2878x1478. NVENC Encoder Initialized successfully. CPU cores available: 20 [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00 Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00 [pcmflux] Status | Read: 18, Silent: 0 (0.0%), Encoded: 18, Rate: 0.18 kbps [pcmflux] Status | Read: 101, Silent: 0 (0.0%), Encoded: 101, Rate: 1.21 kbps Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00 Res: 2878x1478 Mode: H264 (NVENC) CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00 INFO:data_websocket:Stats sender: WS connection closed. [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps INFO:data_websocket:Received STOP_VIDEO INFO:data_websocket:Stopping X11 x264-striped capture... Capture loop stopped. X resources released. INFO:data_websocket:Frame-based backpressure logic task cancelled. INFO:data_websocket:Frame-based backpressure logic task finished. INFO:data_websocket:Backpressure task was stopped. Calling _reset_frame_ids_and_notify. INFO:data_websocket:Resetting frame IDs. INFO:data_websocket:Broadcasting PIPELINE_RESETTING to 1 client(s). [pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 102, Silent: 0 (0.0%), Encoded: 102, Rate: 1.22 kbps [pcmflux] Status | Read: 101, Silent: 0 (0.0%), Encoded: 101, Rate: 1.21 kbps [pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps [pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps [pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 103, Silent: 0 (0.0%), Encoded: 103, Rate: 1.24 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 98, Silent: 0 (0.0%), Encoded: 98, Rate: 1.18 kbps [pcmflux] Status | Read: 99, Silent: 0 (0.0%), Encoded: 99, Rate: 1.19 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 101, Silent: 0 (0.0%), Encoded: 101, Rate: 1.21 kbps [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps [pcmflux] Status | Read: 100, Silent: 0 (0.0%), Encoded: 100, Rate: 1.20 kbps