OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Not able to launch Orca Slicer on Fedora Linux 38

Open magnum61 opened this issue 1 year ago • 33 comments

Describe the bug The app image cannot be started. Error message regarding libwebkit2gtk, but this is installed properly on the system. System is installed from scratch - Fedora 38 KDE Spin

To Reproduce Download and launch the app image

Expected behavior Launch the application

Printer model Creality K1 Max, but it should not matter as the app is not even starting

Desktop (please complete the following information): OS: Fedora Linux 38 Desktop: KDE Plasma

magnum61 avatar Aug 18 '23 17:08 magnum61

Meanwhile i got it working after additionally install the devel version of libwebkit2gtk.

However the Java errors persist. This wouldn't be a problem, but the import of a machine profile (Creality K1) is not persistent. The file is stored in the profile folder, but won't show up in Orca Slicer as new config.

magnum61 avatar Aug 18 '23 18:08 magnum61

Confirmed the launching issue. Helped track this issue for a user on the fedora discord for the latest 1.7.0 appimage. For Workstation users and the Plasma spin, as @magnum61 mentioned, fedora users must install the webkit2gtk4.0 to launch the appimage.

I used toolbx using the fedora-toolbox:38 container to run the flatpak. The container image needed the following packages to provide the specified libraries to launch the appimage.

  1. fuse-libs --> libfuse.so.2
  2. fontconfig --> libfontconfig.so.1
  3. libglvnd-glx -->libGL.so.1
  4. libglvnd-egl --> libEGL.so.1
  5. gtk3 --> libgtk-3.so.0
  6. gstreamer1-plugins-base --> libgstvideo-1.0.so.0
  7. webkit2gtk4.0 --> libwebkit2gtk-4.0.so.37

KenricYoung avatar Sep 15 '23 06:09 KenricYoung

GitHub bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Dec 15 '23 00:12 github-actions[bot]

not stale and relevant on fedora 39 still.

kinghat avatar Dec 15 '23 01:12 kinghat

Installing webkit2gtk4.0 fixed this issue for me on Fedora 39

sudo dnf install webkit2gtk4.0

kevinpita avatar Jan 02 '24 08:01 kevinpita

Installing webkit2gtk4.0 fixed this issue for me on Fedora 39

sudo dnf install webkit2gtk4.0

i actually had to run: sudo dnf install '/usr/lib64/libwebkit2gtk-4.0.so.37' on f39 kde

kinghat avatar Jan 02 '24 15:01 kinghat

I am on Fedora 39 (gnome) and Orca Version 1.9 (older versions have this issue too for me)

I couldn't launch either BambuStudio or OrcaSlicer, but webkit2gtk4.0-devel did work for me. I already had the non-devel version installed, but that didn't help. I also tried BambuStudio Flatpak that recently came out and everything works there from the get go, but I'd much rather us OrcaSlicer...

Here's a link to the fedora package: https://packages.fedoraproject.org/pkgs/webkitgtk/webkit2gtk4.0-devel/

XrayIndia4 avatar Jan 16 '24 21:01 XrayIndia4

Confirm unable to have it working on Fedora 39.i'm pretty sure there is a webpage under the setup wizard as the cursor seems to "see" selectable text in some points.

Screenshot from 2024-01-19 14-18-45

lucagervasi avatar Jan 19 '24 13:01 lucagervasi

I have the same thing on Nobara where it stops at the Setup wizard. Can't get this program to open up properly regardless of which AppImage managing program I use.

breathless19 avatar Feb 07 '24 06:02 breathless19

Installing webkit2gtk4.0 fixed this issue for me on Fedora 39

sudo dnf install webkit2gtk4.0

This also worked to fix the issue on Fedora Silverblue 39

rpm-ostree install webkit2gtk4.0

bryanweatherly avatar Feb 17 '24 16:02 bryanweatherly

Installing webkit2gtk4.0 fixed this issue for me on Fedora 39

sudo dnf install webkit2gtk4.0

Still unrendered windows.

Last metadata expiration check: 0:48:02 ago on lun 19 feb 2024, 10:38:36.
Package webkit2gtk4.0-2.42.5-1.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

This also worked to fix the issue on Fedora Silverblue 39

rpm-ostree install webkit2gtk4.0

Mine is not ostree-based :(

lucagervasi avatar Feb 19 '24 10:02 lucagervasi

Installing webkit2gtk4.0 fixed this issue for me on Fedora 39

sudo dnf install webkit2gtk4.0

Still unrendered windows.

Last metadata expiration check: 0:48:02 ago on lun 19 feb 2024, 10:38:36.
Package webkit2gtk4.0-2.42.5-1.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

This also worked to fix the issue on Fedora Silverblue 39

rpm-ostree install webkit2gtk4.0

Mine is not ostree-based :(

Same on my fedora 39.

xPakrikx avatar Feb 24 '24 21:02 xPakrikx

I had the same issue. I installed the webkit dependency which allowed me to open the app. However, I then installed the bambu network plugin - and signed in, and now the app consistently crashes on startup.

cadriel avatar Feb 29 '24 19:02 cadriel

FYI to any of the Fedora or other distro folks having difficulty with launching Orca app image, go ahead and try last night's Jan 22 v2.0.0 dev image from the nightly builds-- WORKS FANTASTIC!!!

vprasad1973 avatar Mar 10 '24 16:03 vprasad1973

go ahead and try last night's Jan 22 v2.0.0 dev image from the nightly builds-- WORKS FANTASTIC!!!

Nope, not on my device with Fedora 39. Still the webkit error. i can install it manually, but the AppImage requires it. After manual install of the library it works.

image

magnum61 avatar Mar 10 '24 18:03 magnum61

Its now working for me. The network plugin re-installed when I opened it, and now it doesn't crash - and I can see the live feed of my printer.

I did already have the webkit dependency installed, so I'm not sure if that's still a requirement - but it otherwise works flawlessy so far.

Great work!

cadriel avatar Mar 10 '24 18:03 cadriel

I'm still getting a blank screen on the setup wizard.

JohnGalt1717 avatar Mar 17 '24 22:03 JohnGalt1717

Installing webkit fixed the OrcaSlicer on OpenSuse Tumbleweed

sudo zypper in libwebkit2gtk-4_0-37

Thank you!

dslauter avatar Mar 19 '24 19:03 dslauter

Same issue, tried libwebkit and also the latest beta AppImages. Blank setup screen on Fedora 39 KDE.

va7wv avatar Apr 10 '24 04:04 va7wv

Confirm unable to have it working on Fedora 39.i'm pretty sure there is a webpage under the setup wizard as the cursor seems to "see" selectable text in some points.

Screenshot from 2024-01-19 14-18-45

This was solved by this for me: https://github.com/SoftFever/OrcaSlicer/issues/4935#issuecomment-2050100610

xPakrikx avatar Apr 13 '24 22:04 xPakrikx

Same issue on Fedora 39 KDE in combination with the V2.0.0 release.

sudo dnf install webkit2gtk4.0.x86_64

sudo dnf install webkit2gtk4.0-devel.x86_64

fixed it. It's starting now.

Luke56784 avatar Apr 14 '24 19:04 Luke56784

Screenshot_20240415_201638

No dice. Executing export WEBKIT_DISABLE_COMPOSITING_MODE=1 does work though. I think I will come back when there is a tested Fedora package available. Seems pretty hacky to do Appimages and all these weird workarounds.

va7wv avatar Apr 16 '24 03:04 va7wv

Same issue on Fedora 39 KDE in combination with the V2.0.0 release.

sudo dnf install webkit2gtk4.0.x86_64

sudo dnf install webkit2gtk4.0-devel.x86_64

fixed it. It's starting now.

I don't know why but today I could not start the app image again...

Luke56784 avatar Apr 16 '24 03:04 Luke56784

Just a heads up guys, the latest nightly appimage (2.1.0) works without monkeying with webkit stuff.

I'm using Bazzite (Fedora Universal Blue) and have a Nvidia GTX 1080.

Only issue is that it asks about the cert every startup

breathless19 avatar Apr 22 '24 06:04 breathless19

2.1.0 makes it past the setup screen now, but then crashes after using it for 5 minutes. Not useable at all.

va7wv avatar Apr 30 '24 03:04 va7wv

I can confirm that the following worked for me on Fedora 40 sudo dnf install webkit2gtk4.0 gtk3

I had some issues with dark mode either not working or the GCODE text and setup page was blank.

My working fix at this Github link

hidara2000 avatar May 03 '24 05:05 hidara2000

No dice. Executing export WEBKIT_DISABLE_COMPOSITING_MODE=1 does work though. I think I will come back when there is a tested Fedora package available. Seems pretty hacky to do Appimages and all these weird workarounds.

Does your system have an Nvidia GPU?

jamincollins avatar May 05 '24 01:05 jamincollins

Assuming your system does have a discrete Nvidia GPU, this PR should fix it: https://github.com/SoftFever/OrcaSlicer/pull/5276

jamincollins avatar May 05 '24 21:05 jamincollins

It does not fix it, still an issue in Fedora 40 with Orca Slicer v2.1.1 and the AppImage. image

DaveSpe avatar Jul 16 '24 20:07 DaveSpe

I'm having the exact same issue... sigh I thought it was just me, guess not. Been trying to fix this for a week with no luck. Using Fedora 40 with KDE Plasma 6. I've tried basically all of the suggestions mentioned here to no avail so far.

This really sucks because I have some projects to work on

QuietWindUponTheMoor avatar Jul 17 '24 00:07 QuietWindUponTheMoor