Skip to content

[BUG] DPI-UI scale not respected on restart #8

@rudyeck

Description

@rudyeck

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When initially launching a Webtop container, UI scale behaves as expected.

Launch params:
docker run -d --name=webtop -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -p 3000:3000 -v webtopConfig3:/config --shm-size="4gb" lscr.io/linuxserver/webtop:latest

upon container stop-start or reboot the UI scale (DPI settings) are not respected.
adjusting the resolution in the Selkies panel provides more screen space but the DPI/scale are off.

clean FIRST start:
Image

container stop/start -- restart:
Image

adjusting resolution in the selkies panel to 1080p
Image

Expected Behavior

UI scale/DPI settings persist across reboots

Steps To Reproduce

run the container:

docker run -d --name=webtop -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -p 3000:3000 -v webtopConfig3:/config --shm-size="4gb" lscr.io/linuxserver/webtop:latest

access via webUI from a host machine:
http://[docker host IP]:3000

note: it appears DPI settings are not respected when accessing from macOS but only on n+1 access attempts.

I tried with Windows and Linux Mint and these did not trigger the problem at all.

log snippet:
INFO:main:Setting DPI to: 96 --first container boot and access from macOS
INFO:main:Setting DPI to: 192 -- container restart and initial access from macOS

** if I restart the container and access from Windows/Linux FIRST -- it sets 96DPI
if I then access it from macOS SECOND the DPI stays at 96DPI

Environment

- OS:Ubuntu 22.04
- How docker service was installed: docker.io convenience script

webtop is exposing port 3000 on the host, and I am accessing it through HAProxy running in SSL Bypass mode. 
`Client <-> (ssl) <-> HAPROXY <-> (http-3000/tcp) <-> webtop`

Docker creation

docker run -d --name=webtop -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -p 3000:3000 -v webtopConfig3:/config --shm-size="4gb" lscr.io/linuxserver/webtop:latest

Container logs

Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:webrtc_input:Resetting keyboard modifiers.
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 16.00 EncStripes/s: 16.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 12.00 EncStripes/s: 12.00
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 50386)...
INFO:data_websocket:Client ('127.0.0.1', 50386) disconnected, but other clients remain. Frame backpressure task continues.
INFO:data_websocket:Client from ('127.0.0.1', 50386) disconnected. Checking responsiveness of remaining 1 client(s)...
INFO:data_websocket:  Remaining client ('127.0.0.1', 44990) is responsive.
INFO:data_websocket:Client from ('127.0.0.1', 50386) 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', 50386) finished all cleanup.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
INFO:data_websocket:Stats sender: WS connection closed.
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1866x922 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
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).
WARNING:data_websocket:Data WS closed with error from ('127.0.0.1', 44990): sent 1011 (internal error) keepalive ping timeout; no close frame received
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 44990)...
INFO:data_websocket:No other clients in set after ('127.0.0.1', 44990) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 44990)).
INFO:gst_app:Stopping WebSocket audio pipeline...
INFO:gst_app:WebSocket audio pipeline stopped.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 44990) finished all cleanup.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 59066)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1866, "height": 922}
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, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 1866, 'manualHeight': 922, 'audioBitRate': 128000, 'videoBufferSize': 0, 'initialClientWidth': 1698, 'initialClientHeight': 806}
INFO:gst_app_resize:on_resize_handler attempting resize for: 1698x806
INFO:gst_app_resize:App dimensions updated to 1698x806 before xrandr call.
INFO:gst_app_resize:Mode 1698x806 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 1698x806 112.00 1704 1792 1968 2232 806 809 819 837 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 1698x806
INFO:gst_app_resize:Applying xrandr mode '1698x806' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '1698x806'.
INFO:gst_app_resize:resize_display('1698x806') 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:gst_app:Starting WebSocket audio pipeline...
INFO:gst_app:Building WebSocket audio pipeline...
INFO:gst_app:Audio pipeline state change to PLAYING is ASYNC.
INFO:gst_app:WebSocket audio pipeline started.
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1698, "height": 806}
INFO:main:Setting DPI to: 144
INFO:main:Setting cursor size to: 48
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 1698x806 @ 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: Server-to-client audio pipeline already reported as 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 1698x806.
CPU cores available: 12
INFO:data_websocket:Received resize request: 1698x834 from ('127.0.0.1', 59066)
INFO:data_websocket:Resize handler: Stopping x264enc (Pixelflux H264) pipeline.
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).
INFO:gst_app_resize:on_resize_handler attempting resize for: 1698x834
INFO:gst_app_resize:App dimensions updated to 1698x834 before xrandr call.
INFO:gst_app_resize:Mode 1698x834 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 1698x834 116.50 1704 1800 1976 2248 834 837 847 866 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 1698x834
INFO:gst_app_resize:Applying xrandr mode '1698x834' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '1698x834'.
INFO:gst_app_resize:resize_display('1698x834') reported success.
INFO:data_websocket:Resize handler: Restarting video (x264enc) after successful resize to 1698x834
INFO:data_websocket:Starting x264enc: 1698x834 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1698, "height": 834}
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:main:Setting DPI to: 144
X Shared Memory Extension available.
XShm setup complete for 1698x834.
CPU cores available: 12
INFO:main:Setting cursor size to: 48
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 30.00 EncStripes/s: 30.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 24.00 EncStripes/s: 24.00
INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 59066)...
INFO:data_websocket:Last client (('127.0.0.1', 59066)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 59066) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 59066)).
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:Frame IDs reset, but no clients to notify.
INFO:gst_app:Stopping WebSocket audio pipeline...
INFO:gst_app:WebSocket audio pipeline stopped.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 59066) finished all cleanup.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 59076)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1698, "height": 834}
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, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 1698, 'manualHeight': 834, 'audioBitRate': 128000, 'videoBufferSize': 0, 'initialClientWidth': 1698, 'initialClientHeight': 834}
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:gst_app:Starting WebSocket audio pipeline...
INFO:gst_app:Building WebSocket audio pipeline...
INFO:gst_app:Audio pipeline state change to PLAYING is ASYNC.
INFO:gst_app:WebSocket audio pipeline started.
INFO:main:Setting DPI to: 144
INFO:main:Setting cursor size to: 48
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 1698x834 @ 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: Server-to-client audio pipeline already reported as 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 1698x834.
CPU cores available: 12
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 16.00 EncStripes/s: 16.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 29.00 EncStripes/s: 29.00
INFO:data_websocket:Stats sender: WS connection closed.
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 8.00 EncStripes/s: 8.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 1.00 EncStripes/s: 1.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
INFO:webrtc_input:Resetting keyboard modifiers.
INFO:webrtc_input:Resetting keyboard modifiers.
INFO:webrtc_input:Resetting keyboard modifiers.
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 18.00 EncStripes/s: 18.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:webrtc_input:Set clipboard content, length: 0
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:webrtc_input:Resetting keyboard modifiers.
INFO:webrtc_input:Set clipboard content, length: 0
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 4.00 EncStripes/s: 4.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
WARNING:data_websocket:Backpressure TRIGGERED. S:839, C:691 (Desync:148f, EffDesync:148.0f > Allowed:120.0f). FPS:60.0, RTT:35.7ms. Disabling frame sending.
INFO:data_websocket:Backpressure LIFTED. S:845, C:839 (Desync:6f, EffDesync:6.0f <= Allowed:120.0f). Enabling frame sending.
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00
Res: 1698x834 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1698x834 Mode: H264 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', 59076)...
INFO:data_websocket:Last client (('127.0.0.1', 59076)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 59076) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 59076)).
INFO:data_websocket:Stopping X11 x264-striped capture...
WARNING:data_websocket:Cannot broadcast GStreamer audio: data_streaming_server.clients not available or empty. Scheduling audio pipeline shutdown.
Capture loop stopped. X resources released.
INFO:gst_app:Stopping WebSocket audio pipeline...
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:gst_app:Stopping WebSocket audio pipeline...
INFO:gst_app:WebSocket audio pipeline stopped.
INFO:gst_app:WebSocket audio pipeline stopped.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 59076) finished all cleanup.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 47152)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1698, "height": 834}
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, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 1698, 'manualHeight': 834, 'audioBitRate': 128000, 'videoBufferSize': 0, 'initialClientWidth': 1272, 'initialClientHeight': 566}
INFO:gst_app_resize:on_resize_handler attempting resize for: 1272x566
INFO:gst_app_resize:App dimensions updated to 1272x566 before xrandr call.
INFO:gst_app_resize:Mode 1272x566 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 1272x566 56.75 1272 1312 1440 1608 566 569 579 589 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 1272x566
INFO:gst_app_resize:Applying xrandr mode '1272x566' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '1272x566'.
INFO:gst_app_resize:resize_display('1272x566') 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:gst_app:Starting WebSocket audio pipeline...
INFO:gst_app:Building WebSocket audio pipeline...
INFO:gst_app:Audio pipeline state change to PLAYING is ASYNC.
INFO:gst_app:WebSocket audio pipeline started.
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1272, "height": 566}
INFO:main:Setting DPI to: 192
INFO:main:Setting cursor size to: 64
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 1272x566 @ 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: Server-to-client audio pipeline already reported as 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 1272x566.
CPU cores available: 12
INFO:data_websocket:Frame-based backpressure logic task finished.
INFO:data_websocket:Received resize request: 1272x594 from ('127.0.0.1', 47152)
INFO:data_websocket:Resize handler: Stopping x264enc (Pixelflux H264) pipeline.
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).
INFO:gst_app_resize:on_resize_handler attempting resize for: 1272x594
INFO:gst_app_resize:App dimensions updated to 1272x594 before xrandr call.
INFO:gst_app_resize:Mode 1272x594 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 1272x594 60.00 1272 1320 1448 1624 594 597 607 618 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 1272x594
INFO:gst_app_resize:Applying xrandr mode '1272x594' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '1272x594'.
INFO:gst_app_resize:resize_display('1272x594') reported success.
INFO:data_websocket:Resize handler: Restarting video (x264enc) after successful resize to 1272x594
INFO:data_websocket:Starting x264enc: 1272x594 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1272, "height": 594}
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:main:Setting DPI to: 192
X Shared Memory Extension available.
XShm setup complete for 1272x594.
CPU cores available: 12
INFO:main:Setting cursor size to: 64
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
Res: 1272x594 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 4.00 EncStripes/s: 4.00
Res: 1272x594 Mode: H264 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', 47152)...
INFO:data_websocket:Last client (('127.0.0.1', 47152)) disconnected. Cancelling frame backpressure task.
INFO:data_websocket:No other clients in set after ('127.0.0.1', 47152) disconnected. Marking pipelines for stop.
INFO:data_websocket:Stopping global pipelines due to last client disconnect (('127.0.0.1', 47152)).
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:Frame IDs reset, but no clients to notify.
INFO:gst_app:Stopping WebSocket audio pipeline...
INFO:gst_app:WebSocket audio pipeline stopped.
INFO:data_websocket:Data WS handler for ('127.0.0.1', 47152) finished all cleanup.
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
INFO:data_websocket:Stats sender: WS connection closed.
INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 57106)
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1272, "height": 594}
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, 'resizeRemote': True, 'isManualResolutionMode': False, 'manualWidth': 1272, 'manualHeight': 594, 'audioBitRate': 128000, 'videoBufferSize': 0, 'initialClientWidth': 2552, 'initialClientHeight': 1314}
INFO:gst_app_resize:on_resize_handler attempting resize for: 2552x1314
INFO:gst_app_resize:App dimensions updated to 2552x1314 before xrandr call.
INFO:gst_app_resize:Mode 2552x1314 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 2552x1314 283.00 2552 2736 3008 3464 1314 1317 1327 1362 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 2552x1314
INFO:gst_app_resize:Applying xrandr mode '2552x1314' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '2552x1314'.
INFO:gst_app_resize:resize_display('2552x1314') 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:gst_app:Starting WebSocket audio pipeline...
INFO:gst_app:Building WebSocket audio pipeline...
INFO:gst_app:Audio pipeline state change to PLAYING is ASYNC.
INFO:gst_app:WebSocket audio pipeline started.
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2552, "height": 1314}
INFO:main:Setting DPI to: 96
INFO:main:Setting cursor size to: 32
WARNING:webrtc_input:No clipboard content to send
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 2552x1314 @ 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: Server-to-client audio pipeline already reported as 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 2552x1314.
CPU cores available: 12
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 3.00 EncStripes/s: 3.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
WARNING:data_websocket:Backpressure TRIGGERED. S:2551, C:6 (Desync:2545f, EffDesync:2538.0f > Allowed:120.0f). FPS:60.0, RTT:116.4ms. Disabling frame sending.
INFO:data_websocket:Backpressure LIFTED. S:2556, C:2551 (Desync:5f, EffDesync:-0.9f <= Allowed:120.0f). Enabling frame sending.
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Received resize request: 1488x840 from ('127.0.0.1', 57106)
INFO:data_websocket:Resize handler: Stopping x264enc (Pixelflux H264) pipeline.
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).
INFO:gst_app_resize:on_resize_handler attempting resize for: 1488x840
INFO:gst_app_resize:App dimensions updated to 1488x840 before xrandr call.
INFO:gst_app_resize:Applying xrandr mode '1488x840' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '1488x840'.
INFO:gst_app_resize:resize_display('1488x840') reported success.
INFO:data_websocket:Resize handler: Restarting video (x264enc) after successful resize to 1488x840
INFO:data_websocket:Starting x264enc: 1488x840 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1488, "height": 840}
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:main:Setting DPI to: 96
X Shared Memory Extension available.
XShm setup complete for 1488x840.
CPU cores available: 12
INFO:main:Setting cursor size to: 32
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 4.00 EncStripes/s: 4.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
WARNING:data_websocket:Backpressure TRIGGERED. S:2828, C:9 (Desync:2819f, EffDesync:2813.0f > Allowed:120.0f). FPS:60.0, RTT:100.0ms. Disabling frame sending.
INFO:data_websocket:Backpressure LIFTED. S:2833, C:2828 (Desync:5f, EffDesync:-0.4f <= Allowed:120.0f). Enabling frame sending.
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00

WARNING:data_websocket:Backpressure TRIGGERED. S:17236, C:13633 (Desync:3603f, EffDesync:3598.4f > Allowed:120.0f). FPS:60.0, RTT:76.9ms. Disabling frame sending.
INFO:data_websocket:Backpressure LIFTED. S:17241, C:17236 (Desync:5f, EffDesync:0.3f <= Allowed:120.0f). Enabling frame sending.
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 2.00 EncStripes/s: 2.00
Res: 1488x840 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 
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).
WARNING:data_websocket:Client stall detected: No ACK update in 4.3s. Last ACK ID: 20843. Forcing backpressure.
INFO:data_websocket:Received START_VIDEO for encoder: x264enc
INFO:data_websocket:Starting x264enc: 1488x840 @ 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: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 1488x840.
CPU cores available: 12
WARNING:data_websocket:Client stall detected: No ACK update in 74.1s. Last ACK ID: 20843. Forcing backpressure.
INFO:data_websocket:Received resize request: 2552x1204 from ('127.0.0.1', 57106)
INFO:data_websocket:Resize handler: Stopping x264enc (Pixelflux H264) pipeline.
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).
INFO:gst_app_resize:on_resize_handler attempting resize for: 2552x1204
INFO:gst_app_resize:App dimensions updated to 2552x1204 before xrandr call.
INFO:gst_app_resize:Mode 2552x1204 not found in xrandr list. Attempting to add for screen 'screen'.
INFO:gst_app_resize:Successfully ran: xrandr --newmode 2552x1204 258.00 2552 2728 3000 3448 1204 1207 1217 1249 -hsync +vsync
INFO:gst_app_resize:Successfully ran: xrandr --addmode screen 2552x1204
INFO:gst_app_resize:Applying xrandr mode '2552x1204' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '2552x1204'.
INFO:gst_app_resize:resize_display('2552x1204') reported success.
INFO:data_websocket:Resize handler: Restarting video (x264enc) after successful resize to 2552x1204
INFO:data_websocket:Starting x264enc: 2552x1204 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2552, "height": 1204}
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:main:Setting DPI to: 96
X Shared Memory Extension available.
XShm setup complete for 2552x1204.
CPU cores available: 12
INFO:main:Setting cursor size to: 32
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
Res: 2552x1204 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 4.00 EncStripes/s: 4.00
Res: 2552x1204 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Received resize request: 2552x1314 from ('127.0.0.1', 57106)
INFO:data_websocket:Resize handler: Stopping x264enc (Pixelflux H264) pipeline.
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).
INFO:gst_app_resize:on_resize_handler attempting resize for: 2552x1314
INFO:gst_app_resize:App dimensions updated to 2552x1314 before xrandr call.
INFO:gst_app_resize:Applying xrandr mode '2552x1314' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '2552x1314'.
INFO:gst_app_resize:resize_display('2552x1314') reported success.
INFO:data_websocket:Resize handler: Restarting video (x264enc) after successful resize to 2552x1314
INFO:data_websocket:Starting x264enc: 2552x1314 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 2552, "height": 1314}
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:main:Setting DPI to: 96
X Shared Memory Extension available.
XShm setup complete for 2552x1314.
CPU cores available: 12
INFO:main:Setting cursor size to: 32
INFO:data_websocket:Frame-based backpressure logic task started.
INFO:data_websocket:Client settings received, proceeding with backpressure loop.
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 5.00 EncStripes/s: 5.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
Res: 2552x1314 Mode: H264 CS_IN:I420 LR FF Stripes: 1 CRF:25 EncFPS: 0.00 EncStripes/s: 0.00
INFO:data_websocket:Received resize request: 1488x840 from ('127.0.0.1', 57106)
INFO:data_websocket:Resize handler: Stopping x264enc (Pixelflux H264) pipeline.
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).
INFO:gst_app_resize:on_resize_handler attempting resize for: 1488x840
INFO:gst_app_resize:App dimensions updated to 1488x840 before xrandr call.
INFO:gst_app_resize:Applying xrandr mode '1488x840' for screen 'screen'.
INFO:gst_app_resize:Successfully applied xrandr mode '1488x840'.
INFO:gst_app_resize:resize_display('1488x840') reported success.
INFO:data_websocket:Resize handler: Restarting video (x264enc) after successful resize to 1488x840
INFO:data_websocket:Starting x264enc: 1488x840 @ 60.0fps, CRF: 25, FullFrame: True
INFO:data_websocket:Broadcasting stream resolution: {"type": "stream_resolution", "width": 1488, "height": 840}
INFO:data_websocket:New frame backpressure task started (current encoder: 'x264enc').
INFO:data_websocket:x264enc capture started successfully.
INFO:main:Setting DPI to: 96
X Shared Memory Extension available.
XShm setup complete for 1488x840.
CPU cores available: 12
INFO:main:Setting cursor size to: 32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions