-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Describe the bug
Since updating to v02.03.01.51-ls117 the web UI shows
“A critical video error occurred. Resetting to default settings and reloading…”
and the Selkies pipeline tears down immediately. This reproduces on Unraid and a plain Linux host. Rolling back to v02.01.01.54-ls98 fixes it.
Expected Behavior
fter logging in via the web UI (https://:3001),
the Bambu Studio desktop should load and stay visible.
The WebSocket/stream connection should remain stable,
and the interface should be fully usable — just like in version v02.01.01.54-ls98,
where no “critical video error” appears and the session does not reset or disconnect.
Steps To Reproduce
Steps to Reproduce
Deploy a clean container using this compose file:
services:
bambustudio:
image: lscr.io/linuxserver/bambustudio:latest
container_name: Bambu-Studio
ports:
- "8233:3000"
- "8238:3001"
- "8232:8082"
volumes:
- /mnt/DockerData/Bambustudio:/config:rw
environment:
TZ: Europe/Zurich
PUID: "1026"
PGID: "100"
TITLE: Bambu-Studio
CUSTOM_USER: mrx
PASSWORD: pwfrommrx
restart: unless-stopped
Start the container (docker compose up -d)
– also reproduces with a completely fresh /config folder.
Open https://:8238 in any browser (Chrome, Edge, or Safari).
Log in with the configured credentials.
The interface loads briefly, then turns black and displays
“A critical video error occurred. Resetting to default settings and reloading…”
The container logs show Client for 'primary' disconnected
followed by a complete Selkies pipeline shutdown and restart loop.
Environment
Host 1: Unraid 7.2.0 (Docker Engine, default /dev/shm 64 MB)
Host 2: Linux VM (Debian/Ubuntu based, Docker CE latest)
Architecture: x86_64
CPU: Intel 12th Gen Core i3/i5/i7 (tested on Alder Lake)
Browser(s): Chrome / Edge / Safari – same issue on all
Container image: lscr.io/linuxserver/bambustudio:v02.03.01.51-ls117
Working reference version: v02.01.01.54-ls98
Docker compose version: v2.x
GPU passthrough: Intel Arc A310 (via /dev/dri/renderD128, optional – same result with CPU encoding)CPU architecture
x86-64
Docker creation
services:
bambustudio:
image: lscr.io/linuxserver/bambustudio:latest
container_name: Bambu-Studio
hostname: bambustudio
security_opt:
- seccomp:unconfined
shm_size: "1gb"
ports:
- "8233:3000" # HTTP
- "8238:3001" # HTTPS
- "8232:8082" # WebSocket stream
volumes:
- /mnt/DockerData/Bambustudio:/config:rw
environment:
TZ: Europe/Zurich
PUID: "1026"
PGID: "100"
TITLE: Bambu-Studio
CUSTOM_USER: mrx
PASSWORD: pwfrommrx
restart: on-failure:5Container logs
[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 X Shared Memory Extension available. XShm setup complete for 5120x2644. CPU cores available: 4 Stream settings active -> Res: 5120x2644 | 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 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:Received redundant resize request for primary (5120x2644). No action taken. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 46212) (Display ID: primary)... INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration. INFO:data_websocket:Starting display reconfiguration... INFO:data_websocket:Stopping all existing capture and backpressure tasks... Capture loop stopped. X resources released. INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped. WARNING:data_websocket:No display clients connected. Video pipelines remain stopped. INFO:data_websocket:Video chunk sender for 'primary' cancelled. INFO:data_websocket:Video chunk sender for 'primary' finished. INFO:data_websocket:Reconfiguration process complete (state unlocked). INFO:data_websocket:Last client (('127.0.0.1', 46212)) disconnected. All pipelines should have been stopped by reconfigure_displays. INFO:main:Initiating unified pipeline shutdown... WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request. INFO:data_websocket:Stopping pcmflux audio pipeline... INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. WARNING:data_websocket:Backpressure task for 'primary' exiting: display no longer exists. INFO:data_websocket:Backpressure logic task for 'primary' finished. [pcmflux] First non-silent audio chunk detected! Encoding... [pcmflux] Stop requested. Cleaning up capture loop... [pcmflux] Audio capture loop finished. Resources released. INFO:data_websocket:pcmflux audio pipeline stopped. INFO:main:Unified pipeline shutdown complete. INFO:data_websocket:Data WS handler for ('127.0.0.1', 46212) finished all cleanup. INFO:data_websocket:Stats sender: WS connection closed. INFO:data_websocket:Data WebSocket connected from ('127.0.0.1', 46228) INFO:data_websocket:Sending last known cursor to new client ('127.0.0.1', 46228) INFO:data_websocket:Attempting to establish PulseAudio connection... INFO:data_websocket:PulseAudio connection established. INFO:data_websocket:Registering new client for display: primary INFO:data_websocket:Applying and sanitizing client settings for 'primary' (initial=True) INFO:data_websocket:DPI changed from None to 96. Applying system-level change. INFO:gst_app_resize:Openbox detected. Applying xrdb for DPI 96. INFO:gst_app_resize:Wrote 'Xft.dpi: 96' to /config/.Xresources. INFO:gst_app_resize:Successfully loaded /config/.Xresources using xrdb. INFO:gst_app_resize:Wrote font and DPI settings to /config/.xsettingsd. INFO:gst_app_resize:Found xsettingsd process with PID: 482. xsettingsd: Reloading configuration xsettingsd: Loaded 5 settings from /config/.xsettingsd INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 482 to reload config. INFO:data_websocket:Initial setup or dimensional change detected for 'primary'. Performing full display reconfiguration. INFO:data_websocket:Starting display reconfiguration... INFO:data_websocket:Calculating new extended desktop layout from ALL clients... INFO:data_websocket:Layout calculated: Total Size=5120x2644. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 5120, 'h': 2644}} INFO:data_websocket:Defining logical monitors for the window manager... INFO:data_websocket:Starting separate capture instances for each ACTIVE display region... INFO:data_websocket:Client 'primary' is active. Starting its capture. INFO:data_websocket:Preparing to start capture for display='primary': Res=5120x2644, Offset=0x0 INFO:data_websocket:Video chunk sender started for display 'primary'. INFO:data_websocket:SUCCESS: Capture started for 'primary'. INFO:data_websocket:New frame backpressure task started for display 'primary'. INFO:data_websocket:Broadcasting primary stream resolution to all clients: {"type": "stream_resolution", "width": 5120, "height": 2644} INFO:data_websocket:Broadcasting display config update: DISPLAY_CONFIG_UPDATE,{"type": "display_config_update", "displays": ["primary"]} INFO:data_websocket:Display reconfiguration finished successfully. INFO:data_websocket:Reconfiguration process complete (state unlocked). INFO:data_websocket:Initial client settings message processed by ws_handler. INFO:data_websocket:Initial setup: Primary client connected, audio not active, attempting start. INFO:data_websocket:Starting pcmflux audio pipeline... INFO:data_websocket:pcmflux settings: device='output.monitor', bitrate=320000, channels=2 INFO:data_websocket:Frame-based backpressure logic task started for display 'primary'. INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'. INFO:data_websocket:pcmflux audio capture started successfully. [pcmflux] Attempting to connect to PulseAudio device: output.monitor... INFO:data_websocket:pcmflux audio chunk broadcasting task started. [pcmflux] SUCCESS: Connected to PulseAudio. [pcmflux] SUCCESS: Opus encoder created. [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 X Shared Memory Extension available. XShm setup complete for 5120x2644. CPU cores available: 4 Stream settings active -> Res: 5120x2644 | 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 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:Received redundant resize request for primary (5120x2644). No action taken. INFO:data_websocket:Cleaning up Data WS handler for ('127.0.0.1', 46228) (Display ID: primary)... INFO:data_websocket:Client for 'primary' disconnected. Removing and triggering full display reconfiguration. INFO:data_websocket:Starting display reconfiguration... INFO:data_websocket:Stopping all existing capture and backpressure tasks... Capture loop stopped. X resources released. INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped. WARNING:data_websocket:No display clients connected. Video pipelines remain stopped. INFO:data_websocket:Video chunk sender for 'primary' cancelled. INFO:data_websocket:Video chunk sender for 'primary' finished. INFO:data_websocket:Reconfiguration process complete (state unlocked). INFO:data_websocket:Last client (('127.0.0.1', 46228)) disconnected. All pipelines should have been stopped by reconfigure_displays. INFO:main:Initiating unified pipeline shutdown... WARNING:data_websocket:Reconfiguration already in progress. Ignoring concurrent request. INFO:data_websocket:Stopping pcmflux audio pipeline... INFO:data_websocket:pcmflux audio chunk broadcasting task cancelled. INFO:data_websocket:pcmflux audio chunk broadcasting task finished. WARNING:data_websocket:Backpressure task for 'primary' exiting: display no longer exists. INFO:data_websocket:Backpressure logic task for 'primary' finished.Metadata
Metadata
Assignees
Labels
Type
Projects
Status