linuxserver / docker-bambustudio

Web accessible Bambu Studio inside a Debian Container
GNU General Public License v3.0
30 stars 0 forks source link

[BUG] Screen turns black and is unresponsive #8

Closed dkneeland closed 4 weeks ago

dkneeland commented 4 months ago

Is there an existing issue for this?

Current Behavior

Occasionally after performing an action in Bambu Studio, the screen will turn black and is unresponsive until I restart the docker. Most recently this occurred when I clicked the auto-arrange button next to the build plate.

Expected Behavior

No response

Steps To Reproduce

I'm unable to reproduce the problem. It happens intermittently.

Environment

- OS:Unraid 9.12.10
- How docker service was installed: Community Applications

CPU architecture

x86-64

Docker creation

Community Applications Docker Template

Container logs

text  error  warn  system  array  login  

(bambu-studio:330): Gtk-CRITICAL **: 13:36:51.052: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:51.053: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:51.053: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.861: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.861: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.861: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.862: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.862: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.862: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.863: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.864: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.865: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:53.865: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.305: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.305: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.305: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.306: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.306: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.306: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.307: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.307: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.308: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:36:58.308: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.276: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.276: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.276: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.276: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.277: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.277: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.278: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.278: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.279: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:02.279: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-WARNING **: 13:37:33.127: Negative content width -2 (allocation 18, extents 10x10) while allocating gadget (node button, owner GtkToggleButton)

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.449: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.450: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.450: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.450: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.450: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.450: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.452: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.453: gtk_window_resize: assertion 'height > 0' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.453: gtk_widget_set_size_request: assertion 'width >= -1' failed

(bambu-studio:330): Gtk-CRITICAL **: 13:37:45.453: gtk_widget_set_size_request: assertion 'width >= -1' failed
Segmentation fault

ERROR: openbox-xdg-autostart requires PyXDG to be installed
thelamer commented 4 months ago

If the program is randomly segfaulting without any useful output there is not much I can do. I recall from orcaslicer there were some memory leaks in this codebase. Could this be an OOM?

dkneeland commented 4 months ago

I don't think so. I have around 20 gigs of RAM free at the moment.

Could it be related to "ERROR: openbox-xdg-autostart requires PyXDG to be installed"?

thelamer commented 4 months ago

No, all those messages are normal and non fatal, but if you find a magic dep that is missing that would be some low hanging fruit and easy to get into the image.

dkneeland commented 4 months ago

Is there a method for me to turn on verbose logging? We could close this issue for now, and re-open it once I have better logs or a method to recreate it.

thelamer commented 4 months ago

https://github.com/bambulab/BambuStudio/wiki/Command-Line-Usage trace or debug.

LinuxServer-CI commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.