Prepare area completely blank when using Compiz on Linux
Is there an existing issue for this problem?
- [X] I have searched the existing issues
OrcaSlicer Version
2.1.1
Operating System (OS)
Linux
OS Version
Fedora 40, Mate Spin
Additional system information
Using Compiz as the window manager with the Mate Desktop. Graphics card is AMD Radion Vega.
Printer
Irrelevant
How to reproduce
- Run Compiz as the compositing window Manager under X.org session
- Run OrcaSlicer, not for the first time.
This problem does not occur when using the Marco window manager, so the problem is a specific interaction between OrcaSlicer and Compiz. Interestingly, if I delete the configuration files in .config, and run OrcaSlicer, it does load and shows the prepare plate just fine. But subsequent loads will show a blank prepare area.
Actual results
Prepare area of the window is completely blank
Expected results
Prepare area should show the build plate
Project file & Debug log uploads
I can attach the output of stderr, but it does not shed light on this problem. All that's printed out are various GTK warnings that come from wxWidgets.
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
This is only a problem between Compiz and OrcaSlicer, as near as I can tell. Under other window managers and desktop environments there is no issue.
Same issue with Win11 and AMD 24.6.1 drivers, it is possible to force "prepare" tab to the normal view - when changing the language, application does "rebuild" and displays the tab normally. But after closing and reopening - black tab again.
Interesting. I didn't think to try that on Linux. I will next time I get a chance. At the moment I'm trying out KDE on Wayland and OrcaSlicer works fine in this environment.
Can confirm, Debian 12 on Ryzen 5800X, NVIDIA 3070Ti, 32GB RAM, KDE + Compiz + Emerald = no graphics on prepare tab, but I can see all the menus and settings on the left side, just no 3D. GCode preview Tab works fine. Once I switch back over to kwin, I need to quit out and re-open OrcaSlicer, but then it works fine. I will note that PrusaSlicer works fine under compiz, bambustudio seems to exhibit the same behavior as orca.
same problem. nothing showing in the prepare or preview window while everything else works. 7700x, rx6950xt 64gb on windows 11 and everything updated. have a voron so nothing from bambu. no way to get it working.
I tried playing around with application profiles in the NVIDIA control panel to no avail. The similar thread for AMD drivers seems to have solved their issue by turning off sharpening in the driver, but the same thing with NVIDIA doesn't seem to help.
does this help ??
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json ./OrcaSlicer_Linux_Ubuntu2404_V2.2.0-dev_c6d7155092af9b224253666b778b5e75.AppImage
@adolfotregosa - thank you so much! The __EGL_VENDOR_LIBRARY_FILENAMES envar did it for me.
(Note I am not on compiz, but rather on hyprland, but otherwise the problem is the same)
does this help ??
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json ./OrcaSlicer_Linux_Ubuntu2404_V2.2.0-dev_c6d7155092af9b224253666b778b5e75.AppImage
@adolfotregosa +1 upvote
This solved my graphics card issue with OrcaSlicer - Thank you! Fedora Workstation 40 Nvidia RTX 3060 driver 560.35.03 OrcaSlicer v2.1.1
The solution that worked: run this in the CLI: __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json ./OrcaSlicer_Linux_V2.1.1.AppImage
I suspect that it will also work with Bambu Studio as well since I was having the same issue with both.
Unfortunately the environment variable solution does not work on Fedora 40 with Mate and Compiz on an AMD graphics card.
As much as I love Mate and Compiz, I've been trying KDE Plasma 6 and OrcaSlicer is working great there.
Adding the env variable worked with Kubuntu 24.10 and an Nvidia 3080 TI, after I had resolved an issue with a gtk library, and also downloaded the latest beta nightly build.
does this help ??
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json ./OrcaSlicer_Linux_Ubuntu2404_V2.2.0-dev_c6d7155092af9b224253666b778b5e75.AppImage
This also worked for me on V2.2.0 (latest stable) after installing libwebkit2gtk4.0 on fedora (nobara 40) with a Nvidia 2070, nvidia drivers 565.77.
Edit: This switches it to software rendering which will slow it down a lot. I'm using gnome and if I switch to Xorg on the login screen it displays correctly and runs well without this workaround.
Orca bot: this issue is stale because it has been open for 90 days with no activity.
Orca bot: this issue is stale because it has been open for 90 days with no activity.
Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.