2025-12-05T22:56:12.751142102Z [migrations] started
2025-12-05T22:56:12.751194828Z [migrations] no migrations found
2025-12-05T22:56:12.779977217Z usermod: no changes
2025-12-05T22:56:12.788174942Z ───────────────────────────────────────
2025-12-05T22:56:12.788203259Z 
2025-12-05T22:56:12.788211806Z       ██╗     ███████╗██╗ ██████╗
2025-12-05T22:56:12.788219432Z       ██║     ██╔════╝██║██╔═══██╗
2025-12-05T22:56:12.788227017Z       ██║     ███████╗██║██║   ██║
2025-12-05T22:56:12.788234312Z       ██║     ╚════██║██║██║   ██║
2025-12-05T22:56:12.788241466Z       ███████╗███████║██║╚██████╔╝
2025-12-05T22:56:12.788248771Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2025-12-05T22:56:12.788256075Z 
2025-12-05T22:56:12.788263290Z    Brought to you by linuxserver.io
2025-12-05T22:56:12.788270474Z ───────────────────────────────────────
2025-12-05T22:56:12.788342700Z 
2025-12-05T22:56:12.788466148Z To support the app dev(s) visit:
2025-12-05T22:56:12.789143151Z OpenShot: https://www.openshot.org/donate/
2025-12-05T22:56:12.789294897Z 
2025-12-05T22:56:12.789301781Z To support LSIO projects visit:
2025-12-05T22:56:12.789305468Z https://www.linuxserver.io/donate/
2025-12-05T22:56:12.789309396Z 
2025-12-05T22:56:12.789313013Z ───────────────────────────────────────
2025-12-05T22:56:12.789317933Z GID/UID
2025-12-05T22:56:12.789321621Z ───────────────────────────────────────
2025-12-05T22:56:12.792933152Z 
2025-12-05T22:56:12.792954645Z User UID:    911
2025-12-05T22:56:12.792962912Z User GID:    911
2025-12-05T22:56:12.792970567Z ───────────────────────────────────────
2025-12-05T22:56:12.793861451Z Linuxserver.io version: v3.3.0-ls45
2025-12-05T22:56:12.794033277Z Build-date: 2025-12-05T22:49:07+00:00
2025-12-05T22:56:12.794039059Z ───────────────────────────────────────
2025-12-05T22:56:12.794043097Z     
2025-12-05T22:56:12.837109414Z ..+...+.......+......+++++++++++++++++++++++++++++++++++++++*....+...+......+.....+...+......+.+.....+..........+.....+.+....................+...+.......+.........+........+..........+...+.....+.........+...............+....+.....+.+........+......+.+.........+...........+.+.....+............+.+......+......+..+.+.....+.+......+..+.............+..+.+..+...+.......+..+............+..................+...+.............+.....+.+++++++++++++++++++++++++++++++++++++++*....+.........+...+.......+...+......+..+...++++++
2025-12-05T22:56:12.840083161Z ...+++++++++++++++++++++++++++++++++++++++*.........+...+..+...+.........+.+.........+.....+.......+...+.....+...+++++++++++++++++++++++++++++++++++++++*.....++++++
2025-12-05T22:56:12.843391792Z -----
2025-12-05T22:56:13.042875009Z [ls.io-init] Creating initial backup of menu.xml
2025-12-05T22:56:13.085708617Z [ls.io-init] Creating initial backup of system rc.xml
2025-12-05T22:56:13.191620994Z [custom-init] No custom files found, skipping...
2025-12-05T22:56:13.213488781Z _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2025-12-05T22:56:13.214179241Z screen 0 shmid 0
2025-12-05T22:56:13.214756253Z xsettingsd: Loaded 1 setting from /config/.xsettingsd
2025-12-05T22:56:13.215539430Z [ls.io-init] done.
2025-12-05T22:56:13.660526157Z xsettingsd: Created window 0x200001 on screen 0 with timestamp 2586958460
2025-12-05T22:56:13.660555085Z xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
2025-12-05T22:56:13.660564524Z xsettingsd: Took ownership of selection _XSETTINGS_S0
2025-12-05T22:56:13.726710819Z 17
2025-12-05T22:56:13.744249330Z 18
2025-12-05T22:56:13.976782838Z INFO:data_websocket:pcmflux library found. Audio capture is available.
2025-12-05T22:56:14.008528111Z INFO:data_websocket:pixelflux library found. Striped encoding modes available.
2025-12-05T22:56:14.055306753Z INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
2025-12-05T22:56:14.100270370Z INFO:main:Upload directory ensured: /config/Desktop
2025-12-05T22:56:14.100619753Z INFO:main:Legacy Mode ENABLED (SELKIES_MASTER_TOKEN is not set).
2025-12-05T22:56:14.100643461Z INFO:main:Starting Selkies (WebSocket Mode) with settings: {'audio_enabled': (True, False), 'microphone_enabled': (True, False), 'gamepad_enabled': (True, False), 'clipboard_enabled': (True, False), 'command_enabled': (True, False), 'file_transfers': ['upload', 'download'], 'encoder': 'x264enc', 'framerate': (8, 120), 'h264_crf': (5, 50), 'jpeg_quality': (1, 100), 'h264_fullcolor': (False, False), 'h264_streaming_mode': (False, False), 'use_cpu': (False, False), 'use_paint_over_quality': (True, False), 'paint_over_jpeg_quality': (1, 100), 'h264_paintover_crf': (5, 50), 'h264_paintover_burst_frames': (1, 30), 'second_screen': (True, False), 'audio_bitrate': '320000', 'is_manual_resolution_mode': (False, False), 'manual_width': 0, 'manual_height': 0, 'scaling_dpi': '96', 'enable_binary_clipboard': (False, False), 'use_browser_cursors': (False, False), 'use_css_scaling': (False, False), 'ui_title': 'Selkies', 'ui_show_logo': (True, False), 'ui_show_core_buttons': (True, False), 'ui_show_sidebar': (True, False), 'ui_sidebar_show_video_settings': (True, False), 'ui_sidebar_show_screen_settings': (True, False), 'ui_sidebar_show_audio_settings': (True, False), 'ui_sidebar_show_stats': (True, False), 'ui_sidebar_show_clipboard': (True, False), 'ui_sidebar_show_files': (True, False), 'ui_sidebar_show_apps': (True, False), 'ui_sidebar_show_sharing': (True, False), 'ui_sidebar_show_gamepads': (True, False), 'ui_sidebar_show_fullscreen': (True, False), 'ui_sidebar_show_gaming_mode': (True, False), 'ui_sidebar_show_trackpad': (True, False), 'ui_sidebar_show_keyboard_button': (True, False), 'ui_sidebar_show_soft_buttons': (True, False), 'port': 8082, 'control_port': 8083, 'master_token': '', 'dri_node': '', 'audio_device_name': 'output.monitor', 'watermark_path': '', 'watermark_location': -1, 'debug': (False, False), 'enable_sharing': (True, False), 'enable_collab': (True, False), 'enable_shared': (True, False), 'enable_player2': (True, False), 'enable_player3': (True, False), 'enable_player4': (True, False)}
2025-12-05T22:56:14.100684153Z INFO:main:Initial Encoder: x264enc, Framerate: 60
2025-12-05T22:56:14.100692690Z INFO:main:SelkiesStreamingApp initialized: encoder=x264enc, display=1024x768
2025-12-05T22:56:14.100785056Z INFO:main:All main components initialized. Running server...
2025-12-05T22:56:14.103489501Z INFO:webrtc_input:System DPI detected as ~96. Cursor size cap set to 32x32px.
2025-12-05T22:56:14.105576142Z INFO:webrtc_input:Resetting keyboard modifiers.
2025-12-05T22:56:14.106535303Z INFO:webrtc_input:Clipboard monitor running (binary mode: False)
2025-12-05T22:56:14.107370895Z INFO:webrtc_input:Found XFIXES version 4.0
2025-12-05T22:56:14.107377238Z INFO:webrtc_input:starting cursor monitor
2025-12-05T22:56:14.107385234Z INFO:webrtc_input:watching for cursor changes
2025-12-05T22:56:14.113490035Z WARNING:data_websocket:Cannot broadcast cursor data: no clients connected or server not ready.
2025-12-05T22:56:14.113887175Z INFO:data_websocket:Data WebSocket Server listening on port 8082
2025-12-05T22:56:14.241593370Z INFO:webrtc_input:Initializing 4 persistent gamepad instances...
2025-12-05T22:56:14.241775497Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js0): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-05T22:56:14.241786659Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js0.sock, EVDEV socket: /tmp/selkies_event1000.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-05T22:56:14.241795367Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 0 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js0.sock, EVDEV: /tmp/selkies_event1000.sock).
2025-12-05T22:56:14.241841089Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js1): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-05T22:56:14.241850388Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js1.sock, EVDEV socket: /tmp/selkies_event1001.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-05T22:56:14.241879787Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 1 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js1.sock, EVDEV: /tmp/selkies_event1001.sock).
2025-12-05T22:56:14.241918796Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js2): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-05T22:56:14.241947183Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js2.sock, EVDEV socket: /tmp/selkies_event1002.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-05T22:56:14.241957002Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 2 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js2.sock, EVDEV: /tmp/selkies_event1002.sock).
2025-12-05T22:56:14.241997514Z INFO:root:Packed js_config payload for 'Microsoft X-Box 360 pad' (js3): len=1360 bytes. Name='Microsoft X-Box 360 pad', Vendor=0x045e, Product=0x028e, Version=0x0100, Reported Buttons=11 (Array capacity: 512), Reported Axes=8 (Array capacity: 64)
2025-12-05T22:56:14.242020330Z INFO:selkies_gamepad:Gamepad configured. JS socket: /tmp/selkies_js3.sock, EVDEV socket: /tmp/selkies_event1003.sock. Using fixed config: Microsoft X-Box 360 pad
2025-12-05T22:56:14.242031753Z INFO:webrtc_input:Initialized and started persistent gamepad instance for index 3 (Name: 'Microsoft X-Box 360 pad', JS: /tmp/selkies_js3.sock, EVDEV: /tmp/selkies_event1003.sock).
2025-12-05T22:56:14.242486519Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js0.sock: Event processor started.
2025-12-05T22:56:14.242496679Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js0.sock
2025-12-05T22:56:14.242628494Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js1.sock: Event processor started.
2025-12-05T22:56:14.242637482Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js1.sock
2025-12-05T22:56:14.242756312Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js2.sock: Event processor started.
2025-12-05T22:56:14.242765109Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js2.sock
2025-12-05T22:56:14.242877235Z INFO:selkies_gamepad:Gamepad /tmp/selkies_js3.sock: Event processor started.
2025-12-05T22:56:14.242886183Z INFO:selkies_gamepad:JS interposer server listening on /tmp/selkies_js3.sock
2025-12-05T22:56:14.242959561Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1000.sock
2025-12-05T22:56:14.242989852Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1001.sock
2025-12-05T22:56:14.243012958Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1002.sock
2025-12-05T22:56:14.243022748Z INFO:selkies_gamepad:EVDEV interposer server listening on /tmp/selkies_event1003.sock
2025-12-05T22:56:16.073971351Z INFO:data_websocket:Legacy client ('127.0.0.1', 47112) connected. Role: controller, Slot: None
2025-12-05T22:56:16.074007564Z INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 47112)
2025-12-05T22:56:16.074129619Z INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 47112)
2025-12-05T22:56:16.075395939Z INFO:data_websocket:Attempting to establish PulseAudio connection...
2025-12-05T22:56:16.078051305Z INFO:data_websocket:PulseAudio connection established.
2025-12-05T22:56:16.101511378Z INFO:data_websocket:Registering new client for display: primary
2025-12-05T22:56:16.101558824Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True)
2025-12-05T22:56:16.101684908Z INFO:data_websocket:DPI changed from None to 96. Applying system-level change.
2025-12-05T22:56:16.102808771Z INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96.
2025-12-05T22:56:16.103159637Z INFO:gst_app_resize:Wrote 'Xft.dpi:   96' to /config/.Xresources.
2025-12-05T22:56:16.123593256Z INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb.
2025-12-05T22:56:16.123785443Z INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd.
2025-12-05T22:56:16.138853090Z INFO:gst_app_resize:Found xsettingsd process with PID: 293.
2025-12-05T22:56:16.141080023Z xsettingsd: Reloading configuration
2025-12-05T22:56:16.141097188Z xsettingsd: Loaded 5 settings from /config/.xsettingsd
2025-12-05T22:56:16.141629570Z INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 293 to reload config.
2025-12-05T22:56:16.165707156Z INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration.
2025-12-05T22:56:16.165728599Z INFO:data_websocket:Starting display reconfiguration...
2025-12-05T22:56:16.165949293Z INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
2025-12-05T22:56:16.165972861Z INFO:data_websocket:Layout calculated: Total Size=1920x992. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 1920, 'h': 992}}
2025-12-05T22:56:16.178589512Z INFO:data_websocket:Mode 1920x992 not found. Creating it.
2025-12-05T22:56:16.194968278Z INFO:data_websocket:Defining logical monitors for the window manager...
2025-12-05T22:56:16.202958395Z INFO:data_websocket:Starting separate capture instances for each ACTIVE display region...
2025-12-05T22:56:16.202981131Z INFO:data_websocket:Client 'primary' is active. Starting its capture.
2025-12-05T22:56:16.203005891Z INFO:data_websocket:Preparing to start capture for display='primary': Res=1920x992, Offset=0x0
2025-12-05T22:56:16.204037478Z INFO:data_websocket:Video chunk sender started for display 'primary'.
2025-12-05T22:56:16.204603858Z INFO:data_websocket:SUCCESS: Capture started for 'primary'.
2025-12-05T22:56:16.204663608Z INFO:data_websocket:New frame backpressure task started for display 'primary'.
2025-12-05T22:56:16.204733309Z INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 1920, "height": 992}
2025-12-05T22:56:16.204880195Z INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]}
2025-12-05T22:56:16.204971619Z INFO:data_websocket:Display reconfiguration finished successfully.
2025-12-05T22:56:16.204992821Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-05T22:56:16.205101620Z INFO:data_websocket:Initial client settings message processed by ws_handler.
2025-12-05T22:56:16.205123935Z INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start.
2025-12-05T22:56:16.205159527Z INFO:data_websocket:Starting pcmflux audio pipeline...
2025-12-05T22:56:16.205200970Z INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2
2025-12-05T22:56:16.205313407Z INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'.
2025-12-05T22:56:16.205328708Z INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
2025-12-05T22:56:16.205548510Z [pcmflux] Attempting to connect to PulseAudio device: output.monitor...
2025-12-05T22:56:16.205611397Z INFO:data_websocket:pcmflux audio capture started successfully.
2025-12-05T22:56:16.206640128Z INFO:data_websocket:pcmflux audio chunk broadcasting task started.
2025-12-05T22:56:16.207195145Z X Shared Memory Extension available.
2025-12-05T22:56:16.207296820Z XShm setup complete for 1920x992.
2025-12-05T22:56:16.207326430Z CPU cores available: 64
2025-12-05T22:56:16.207359326Z Stream settings active -> Res: 1920x992 | FPS: 60.0 | Stripes: 1 | Mode: H264 (CPU) FullFrame | CRF: 25 | PaintOver CRF: 18 (Burst: 5f) | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
2025-12-05T22:56:16.207775995Z [pcmflux] SUCCESS: Connected to PulseAudio.
2025-12-05T22:56:16.207873621Z [pcmflux] SUCCESS: Opus encoder created.
2025-12-05T22:56:16.207891557Z [pcmflux] Capture loop started. Device: output.monitor, Rate: 48000, Channels: 2, Bitrate: 320 kbps, VBR: On, Silence Gate: Off, Debug Logging: Off, PCM Chunk: 3840 bytes
2025-12-05T22:56:16.210122148Z INFO:data_websocket:Received START_AUDIO command from client for server-to-client audio.
2025-12-05T22:56:16.210144844Z INFO:data_websocket:START_AUDIO: pcmflux audio pipeline already active.
2025-12-05T22:56:16.210295297Z INFO:data_websocket:Client is taking over existing display 'primary'. Updating state for new connection.
2025-12-05T22:56:16.210315127Z INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=False)
2025-12-05T22:56:16.210465740Z INFO:data_websocket:Received redundant resize request for primary (1920x992). No action taken.
2025-12-05T22:56:18.164195131Z [pcmflux] First non-silent audio chunk detected! Encoding...
2025-12-05T22:56:26.297520268Z INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 47112) (Display ID: primary)...
2025-12-05T22:56:26.297543124Z INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration.
2025-12-05T22:56:26.297549958Z INFO:data_websocket:Starting display reconfiguration...
2025-12-05T22:56:26.297578115Z INFO:data_websocket:Stopping all existing capture and backpressure tasks...
2025-12-05T22:56:26.313839975Z Capture loop stopped. X resources released.
2025-12-05T22:56:26.314098887Z INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
2025-12-05T22:56:26.314106262Z WARNING:data_websocket:No display clients connected. Video pipelines remain stopped.
2025-12-05T22:56:26.314951634Z INFO:data_websocket:Video chunk sender for 'primary' cancelled.
2025-12-05T22:56:26.315732506Z INFO:data_websocket:Video chunk sender for 'primary' finished.
2025-12-05T22:56:26.326509393Z INFO:data_websocket:Reconfiguration process complete (state unlocked).
2025-12-05T22:56:26.331336913Z INFO:data_websocket:Last client (('127.0.0.1', 47112)) disconnected. All pipelines should have been stopped by reconfigure_displays.
2025-12-05T22:56:26.331347965Z INFO:main:Initiating unified pipeline shutdown...
2025-12-05T22:56:26.331353576Z WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request.
2025-12-05T22:56:26.331365090Z INFO:data_websocket:Stopping pcmflux audio pipeline...
2025-12-05T22:56:26.331424970Z INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled.
2025-12-05T22:56:26.331431163Z INFO:data_websocket:pcmflux audio chunk broadcasting task finished.
2025-12-05T22:56:26.339216257Z [pcmflux] Stop requested. Cleaning up capture loop...
2025-12-05T22:56:26.339481912Z [pcmflux] Audio capture loop finished. Resources released.
2025-12-05T22:56:26.339714370Z INFO:data_websocket:pcmflux audio pipeline stopped.
2025-12-05T22:56:26.340221551Z INFO:main:Unified pipeline shutdown complete.
2025-12-05T22:56:26.340231471Z INFO:data_websocket:Data WS handler for ('127.0.0.1', 47112) finished all cleanup.