prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.8k stars 1.94k forks source link

💡 Workaround for running the newest PrusaSlicer version 2.8.0 (Flatpak) on a Raspberry Pi CM4 (uConsole) #13237

Open cryinkfly opened 3 months ago

cryinkfly commented 3 months ago

What works:

What does not:

*But it doesn't seem to be a direct Raspberry Pi issue, as this issue has also occurred on Windows and macOS in the past.

Testing:

Installation/Workarounds:

First you need to install and configure Flatpak on your system using the following command in Terminal:

sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Then you have to restart the Raspberry Pi with this command, for example:

sudo reboot

Next, install PrusaSlicer with the following command:

flatpak install flathub com.prusa3d.PrusaSlicer

And after installation, the program must be run with the following command*:

MESA_GL_VERSION_OVERRIDE=3.3 flatpak run com.prusa3d.PrusaSlicer

... so that this error does not pop up: PrusaSlicer requires OpenGL 3.2 capable graphics driver to run correctly

_*But you can edit the desktop file so that you can open the program via the start menu! On the standard desktop (LXDE) click on the start menu icon (raspberry logo) -> Graphics -> right-click on PrusaSlicer -> .desktop content -> in the command field, enter the following at the very beginning with a space after it: "MESA_GL_VERSIONOVERRIDE=3.3" -> Then click OK and you're done!

And if you want to use the Prusa GCode viewer, just adjust the desktop file in the same way.

What was not tested:

Gallery:

krisrok commented 3 weeks ago

Hey there, what OS version were you on?