OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Prepare area completely blank when using Compiz on Linux

Open torriem opened this issue 1 year ago • 8 comments

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

  1. Run Compiz as the compositing window Manager under X.org session
  2. 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.

torriem avatar Jun 28 '24 03:06 torriem

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.

and1gum avatar Jul 02 '24 14:07 and1gum

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.

torriem avatar Jul 03 '24 19:07 torriem

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.

bepstein111 avatar Jul 11 '24 16:07 bepstein111

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.

raunchyneworleans avatar Jul 22 '24 14:07 raunchyneworleans

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.

bepstein111 avatar Aug 02 '24 14:08 bepstein111

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 avatar Aug 19 '24 17:08 adolfotregosa

@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)

eteq avatar Aug 24 '24 03:08 eteq

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.

phdmetallurgist avatar Sep 15 '24 02:09 phdmetallurgist

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.

torriem avatar Sep 19 '24 01:09 torriem

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.

sbman avatar Oct 21 '24 02:10 sbman

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.

ThatColdToast avatar Dec 08 '24 23:12 ThatColdToast

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

github-actions[bot] avatar Mar 10 '25 00:03 github-actions[bot]

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

github-actions[bot] avatar Jun 09 '25 00:06 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jun 17 '25 00:06 github-actions[bot]