For anyone having issues with libOSMesa.so.8 and libglapi.so.0, I did the following:
-
I extracted libOSMesa.so.8 from the Flatpak version of BambuStudio and libglapi.so.0 from libglapi-mesa_22.0.1-1ubuntu2_amd64.deb
-
Copied both .so files into a custom directory such as /opt/bambustudio-libs.
-
Installed patchelf if not already installed and backed up the original bambu-studio binary.
-
Used patchelf to set the runtime library path (rpath) of the binary to point to custom directory - this is important as bin will not pick up path from command line variable - at least it didn't for me.
-
Launch bambustudio as normal - as others have noted you get a momentary black screen and then it all works fine. Of course you could just use the flatpak version but it became a little unstable for me after awhile hence I did it this way.
Pinned Comments
BartR commented on 2023-11-01 13:11 (UTC) (edited on 2023-11-01 13:12 (UTC) by BartR)
For anyone having blank home screen and unable to login: this worked for me:
WEBKIT_DISABLE_COMPOSITING_MODE=1 bambu-studio
georgewoodall82 commented on 2023-08-19 14:03 (UTC) (edited on 2023-12-16 13:32 (UTC) by georgewoodall82)
I recommend a light GTK theme for BambuStudio, as I had problems with text being invisible with a dark GTK theme. You can do this with for example
GTK_THEME=Adwaita bambu-studio