Skip to content

[BUG] Random Lockups #30

@jfrancais

Description

@jfrancais

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've been noticing that the software seems to look up a lot for me after it is left running for a while. I can still see the GUI and the mouse moves around but certain things no longer work. Sometimes it is completely frozen (cand move between Prepare/Build/Device/Project/Calibration) won't come back without restarting and others it seems the keyboard no longer works (highlighting an object and hitting delete key does nothing). Today I am able to connect in and see everything and move throughout the GUI but I can't import files. I choose the menu item to import file and it does nothing. A restart of the container fixes the problem but I'm having to do this constantly. Anyone else experiencing this?

Running linuxserver/bambustudio:latest and updated recently.

Expected Behavior

no lockups and/or dropped keys/clicks

Steps To Reproduce

It happens intermittently when I leave the container running for an extended period of time with an open project.

Environment

- OS:
Latest UnRAID OS
- How docker service was installed:
UnRaid stock installation

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='BambuLabs'
  --net='eth0'
  --ip='192.168.6.16'
  --pids-limit 4096
  --privileged=true
  -e TZ="REDACTED"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="REDACTED"
  -e HOST_CONTAINERNAME="BambuLabs"
  -e 'TCP_PORT_3000'='3000'
  -e 'TCP_PORT_3001'='3001'
  -e 'UMASK'='000'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='REDACTED'
  -l net.unraid.docker.icon='REDACTED'
  -v '/mnt/user/appdata/bambulabs/config':'/config':'rw'
  -v '/mnt/user/3D Printing/':'/config/3dprints':'rw'
'linuxserver/bambustudio'
de714fa550b60be4be29711596e8e92f1314ff8890c5e78f92ead1d27e227404

Container logs

text  error  warn  system  array  login  

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: 847.
xsettingsd: Reloading configuration
xsettingsd: Loaded 5 settings from /config/.xsettingsd
INFO:gst_app_resize:Sent SIGHUP to xsettingsd process 847 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=2560x1228. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 2560, 'h': 1228}}
INFO:data_websocket:Mode 2560x1228 not found. Creating it.
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=2560x1228, Offset=0x0
INFO:main:Parsed DRI node '/dev/dri/renderD128' to index 0.
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": 2560, "height": 1228}
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.
INFO:data_websocket:pcmflux audio chunk broadcasting task started.
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 resize request for primary: 2560x1226 from ('127.0.0.1', 33066)
INFO:gst_app_resize:on_resize_handler for display 'primary' with resolution: 2560x1226
INFO:gst_app_resize:Display client 'primary' dimensions updated to 2560x1226. Triggering reconfiguration.
INFO:data_websocket:Starting display reconfiguration...
INFO:data_websocket:Stopping all existing capture and backpressure tasks...
INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
INFO:data_websocket:Backpressure logic task for 'primary' finished.
INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
INFO:data_websocket:Resetting frame IDs for display 'primary'.
INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
INFO:data_websocket:All capture instances, senders, and backpressure tasks stopped.
INFO:data_websocket:Calculating new extended desktop layout from ALL clients...
INFO:data_websocket:Layout calculated: Total Size=2560x1226. Layouts: {'primary': {'x': 0, 'y': 0, 'w': 2560, 'h': 1226}}
INFO:data_websocket:Video chunk sender for 'primary' cancelled.
INFO:data_websocket:Video chunk sender for 'primary' finished.
INFO:data_websocket:Mode 2560x1226 not found. Creating it.
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=2560x1226, Offset=0x0
INFO:main:Parsed DRI node '/dev/dri/renderD128' to index 0.
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": 2560, "height": 1226}
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:Frame-based backpressure logic task started for display 'primary'.
INFO:data_websocket:Client settings received, proceeding with backpressure loop for 'primary'.
INFO:data_websocket:Received STOP_VIDEO for 'primary'. Stopping stream.
INFO:data_websocket:Stopping all streams for display 'primary'...
INFO:data_websocket:Backpressure logic task for 'primary' cancelled.
INFO:data_websocket:Backpressure logic task for 'primary' finished.
INFO:data_websocket:Backpressure task for 'primary' was stopped. Resetting its frame IDs.
INFO:data_websocket:Resetting frame IDs for display 'primary'.
INFO:data_websocket:Broadcasting primary pipeline reset to all 1 clients: PIPELINE_RESETTING primary
INFO:data_websocket:Successfully stopped all streams for display 'primary'.
INFO:data_websocket:Video chunk sender for 'primary' cancelled.
INFO:data_websocket:Video chunk sender for 'primary' finished.
[pcmflux] Attempting to connect to PulseAudio device: output.monitor...
[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 2560x1228.
CPU cores available: 24
Stream settings active -> Res: 2560x1228 | FPS: 24.0 | Stripes: 1 | Mode: H264 (CPU) FullFrame Streaming | CRF: 25 | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
Capture loop stopped. X resources released.
X Shared Memory Extension available.
XShm setup complete for 2560x1226.
CPU cores available: 24
Stream settings active -> Res: 2560x1226 | FPS: 24.0 | Stripes: 1 | Mode: H264 (CPU) FullFrame Streaming | CRF: 25 | Colorspace: I420 (Limited Range) | Damage Thresh: 10f | Damage Dur: 20f
Capture loop stopped. X resources released.
[pcmflux] First non-silent audio chunk detected! Encoding...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions