Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No 3D view #4669

Open
1 of 2 tasks
Buom01 opened this issue Aug 23, 2024 · 46 comments
Open
1 of 2 tasks

No 3D view #4669

Buom01 opened this issue Aug 23, 2024 · 46 comments
Assignees
Labels
bug Something isn't working

Comments

@Buom01
Copy link

Buom01 commented Aug 23, 2024

Bambu Studio Version

1.9.3.50

Where is the application from?

Built from source by yourself or others

OS version

CachyOS Linux x86_64

Additional system information

image

Compiled from aur/bambustudio-git

Printer

Bambu A1 mini

How to reproduce

  1. Open Bambu Studio
  2. Go to Prepare or Preview tab

Actual results

No 3D view at all

Expected results

Ability to view my model with the 3D view

Project file & Debug log uploads

debug_Fri_Aug_23_18_50_35_37379.log

Checklist of files to include

  • Log file
  • Project file
@Buom01 Buom01 added the bug Something isn't working label Aug 23, 2024
@Buom01
Copy link
Author

Buom01 commented Aug 23, 2024

@Buom01
Copy link
Author

Buom01 commented Aug 23, 2024

Tags: Multi-monitor, multiscreen, dual monitors, ultrawide, dual boot, dualboot

@Knifa
Copy link

Knifa commented Aug 26, 2024

Also experiencing this after upgrading to nvidia 560.35 on Arch.

@IvanVojtko
Copy link

Downgrading to nvidia 555 fixed the issue.

@Knifa
Copy link

Knifa commented Aug 26, 2024

Same for me, back to 555 fixed it. Multi-monitor, etc. made no difference for me as per the Reddit thread?

@lollo03
Copy link

lollo03 commented Aug 31, 2024

I can confirm that this also happens on arch with the latest nvidia-open driver when using wayland.
If I use a regular xorg session the 3d view functions properly.

@NoodleBug
Copy link

Rolling back to the newest 555 nvidia drivers fixed this for me as well (on Arch). This also isnt the only issue these drivers have caused for me.

https://archive.archlinux.org/packages/n/nvidia-utils/nvidia-utils-555.58.02-1-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/n/nvidia-dkms/nvidia-dkms-555.58.02-1-x86_64.pkg.tar.zst

For anyone else on Arch + Nvidia GPU having this issue, I just used downgrade to roll back from tty and all seems well now:
sudo downgrade "nvidia-utils=555.58.02-1" "nvidia-dkms=555.58.02-1"

@makkarpov
Copy link

For anyone wondering how to use BambuStudio and still keep 560 drivers: switch it to software rendering:

__GLX_VENDOR_LIBRARY_NAME=mesa  __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

This works on Fedora 40 for me.

@Buom01
Copy link
Author

Buom01 commented Sep 13, 2024

Thanks for all participation.
I'm done with Nvidia. I cannot even have a TTY screen working as it just turn all my display off, and all the latest drivers I tested just doesn't work at all (I don't talk about negligible artifact). Furthermore, I tested a lot of things from forums, and no one solution worked for me.

With official Nvidia driver, on Plasma X11 I don't even have decoration showing. With Wayland, Plasma just doesn't start.
I don't talk about other drivers and desktop env because I lost three days of my life on it and doesn't work in any way.
I don't want to mess up with old driver version, but I have only tested quickly 555 version.

TL;DR

NVIDIA ⇒ 🗑️

Hello AMD

Closing as it's seem to be a pure Nvidia issue, and thus nothing to do with BambuStudio.

Edit : I wasn't joking. I just bought an AMD GPU and it just works with its latest driver. No need to waste my time to find the correct outdated nvidia driver which works anymore.

@Buom01 Buom01 closed this as completed Sep 13, 2024
@makkarpov
Copy link

makkarpov commented Sep 13, 2024

Definitely not a BambuLab issue, considering that BambuLab is the only application that is having troubles with nvidia drivers on my system. Plasma works, FreeCAD works, Cura works, Slic3r works, PrusaSlicer works, BambuLab dont.

Given the overall quality level of BambuLab software, I'm not surprised to see that quality level of the management is on par with it.

It's glad to see that at least encryption and lockdown mechanisms (like RSA signatures on filament tags) work perfectly on your products.

@RamboRogers
Copy link

RamboRogers commented Sep 23, 2024

FIX FOR KDE / Arch

Paste this, into the ENV in the shortcut.
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1

  1. image
  2. image
  3. Run it
  4. It works
    image

@codywlsmith
Copy link

FIX FOR KDE / Arch

Paste this, into the ENV in the shortcut. __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1

1. ![image](https://private-user-images.githubusercontent.com/7763805/369959927-31207ca7-9968-4007-8da5-bd0ac80dc883.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcxMjE1NTksIm5iZiI6MTcyNzEyMTI1OSwicGF0aCI6Ii83NzYzODA1LzM2OTk1OTkyNy0zMTIwN2NhNy05OTY4LTQwMDctOGRhNS1iZDBhYzgwZGM4ODMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjNUMTk1NDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmNkZjZmYTUzODMxY2NlZTE5MTE2ZTZlMjYxMTU4YTkwZDhkNDQzMjU4ODgyMmE1NTM2MmYzNGM2NzIwNGRjNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-kzb8ECEvSG48dTQGRPTY38xVUUZnJlE4lgj30AxnCM)

2. ![image](https://private-user-images.githubusercontent.com/7763805/369960036-98433c44-a8dc-4a14-a2a1-6240af1f18fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcxMjE1NTksIm5iZiI6MTcyNzEyMTI1OSwicGF0aCI6Ii83NzYzODA1LzM2OTk2MDAzNi05ODQzM2M0NC1hOGRjLTRhMTQtYTJhMS02MjQwYWYxZjE4ZmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjNUMTk1NDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWFmYWMxYTkyMDk1OTRlN2VkNDI4N2FjOGZjODU5NjhjMDgyYTI5ZTRhMGZiMjllNWE1ZWFkOTUxZDVkYWJlOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ad3lvhZIp4fEcbJoHlAa-X2X5DkgKe4ecofarLbUnv4)

3. Run it

4. It works
   ![image](https://private-user-images.githubusercontent.com/7763805/369960206-fd66dad7-c153-4c4b-806d-c40821f39b28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjcxMjE1NTksIm5iZiI6MTcyNzEyMTI1OSwicGF0aCI6Ii83NzYzODA1LzM2OTk2MDIwNi1mZDY2ZGFkNy1jMTUzLTRjNGItODA2ZC1jNDA4MjFmMzliMjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjNUMTk1NDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Zjg0MTI0MDQ0ZWIxMzFkODViMWQyY2RiNmY5ODE3Mjc4ZDY3YzA2YTQ1NWFlMDE5Y2Y4MTEyODQ5NGUxYTVkNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.hL1y2RvxtdsQQ8IwYgJHUCsB_8mnxSViNs1I-aPpUDM)

Neither adding these variables to the Environment Variables in the shortcut, or adding them individually in Flatseal fixes the issue for me.

@jameskitt616
Copy link

I also wonder how to get it to work with flatpak/flatseal.
Appreciate any help.

@JaimeHW
Copy link

JaimeHW commented Oct 13, 2024

Same. Makes the software entirely unusable for us.
P1P with a 2080ti

@pypeaday
Copy link

I downloaded the AppImage and then ran it from terminal with these options before it

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1 /path/to/bambu.AppImage

This fixed my issue on Fedora 40 (U-blue Aurora) and Nvidia 3090 with driver version 560

@MackBambu
Copy link
Contributor

MackBambu commented Oct 31, 2024

I installed the 560 driver on Ubuntu 24 and ran it in Wayland mode. However, the issue did not reoccur, so it seems there is additional information that has not yet been identified.
Screenshot from 2024-11-01 06-53-28

@different-name
Copy link

@Buom01 would you consider reopening this issue as others are still experiencing this Bambu Studio + Nvidia specific issue? Unfortunately I'm not in a position to order a new GPU 🥲

@Buom01 Buom01 reopened this Nov 10, 2024
@Hamid-0
Copy link

Hamid-0 commented Nov 27, 2024

For anyone wondering how to use BambuStudio and still keep 560 drivers: switch it to software rendering:

__GLX_VENDOR_LIBRARY_NAME=mesa  __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

This works on Fedora 40 for me.

This also works for Orca slicer V2.2.0

@different-name
Copy link

For anyone wondering how to use BambuStudio and still keep 560 drivers: switch it to software rendering:

__GLX_VENDOR_LIBRARY_NAME=mesa  __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

Working desktop entry including workaround for NixOS (referencing pkgs.mesa.drivers since you cannot directly reference /usr/share/glvnd)

xdg.desktopEntries.BambuStudio = {
  name = "BambuStudio";
  genericName = "3D Printing Software";
  icon = "BambuStudio";
  exec = "env __GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=${pkgs.mesa.drivers}/share/glvnd/egl_vendor.d/50_mesa.json ${pkgs.bambu-studio}/bin/bambu-studio";
  terminal = false;
  type = "Application";
  mimeType = ["model/stl" "model/3mf" "application/vnd.ms-3mfdocument" "application/prs.wavefront-obj" "application/x-amf" "x-scheme-handler/bambustudio"];
  categories = ["Graphics" "3DGraphics" "Engineering"];
  startupNotify = false;
};

@Seann-Moser
Copy link

FIX FOR KDE / Arch

Paste this, into the ENV in the shortcut. __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1

1. ![image](https://private-user-images.githubusercontent.com/7763805/369959927-31207ca7-9968-4007-8da5-bd0ac80dc883.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMxNjg5NjYsIm5iZiI6MTczMzE2ODY2NiwicGF0aCI6Ii83NzYzODA1LzM2OTk1OTkyNy0zMTIwN2NhNy05OTY4LTQwMDctOGRhNS1iZDBhYzgwZGM4ODMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMDJUMTk0NDI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjdhNjMxNzE5NzNlNGI2NjRlN2JmZTlkMWJlNzBlZmZlNzE2YzBlOWQyZjZmMjMwNjQ4ZjQyYmE0NzEzMmQ4ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Mc2U4eefcUNmJtiNEI_voJia_8zNe49DniINOg7CUIo)

2. ![image](https://private-user-images.githubusercontent.com/7763805/369960036-98433c44-a8dc-4a14-a2a1-6240af1f18fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMxNjg5NjYsIm5iZiI6MTczMzE2ODY2NiwicGF0aCI6Ii83NzYzODA1LzM2OTk2MDAzNi05ODQzM2M0NC1hOGRjLTRhMTQtYTJhMS02MjQwYWYxZjE4ZmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMDJUMTk0NDI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmUzZWY0YTNlOTIzZTllZWQ0YmE1YTg3NGU3NjZiMzk5YThmZjQxMGYzYmI4MmFhZjA5ZGIyMDM4NTYxYTVhNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.762ZVTrOTo3L_xj6mdPzFICqJXTDx6xUuAJ5oGdeSEM)

3. Run it

4. It works
   ![image](https://private-user-images.githubusercontent.com/7763805/369960206-fd66dad7-c153-4c4b-806d-c40821f39b28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMxNjg5NjYsIm5iZiI6MTczMzE2ODY2NiwicGF0aCI6Ii83NzYzODA1LzM2OTk2MDIwNi1mZDY2ZGFkNy1jMTUzLTRjNGItODA2ZC1jNDA4MjFmMzliMjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMDJUMTk0NDI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjgwZGIxMzczOGQ5NWIxNTg3YTkyZTZkZGQ0YzhiNDhkYzg0YmEzY2YxYzJlYjYzOWY0ZjBlMmM2ODk1YzVlOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.HOwqDSM2ifBShyd2kfHK-FH0O8ITBVfPR43kv5x9XX8)

I was able to get this on Hyperland/Arch using an alias

bambu='__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1 bambu-studio'

@tyumici
Copy link

tyumici commented Dec 5, 2024

Chiming in, this issue is present in Arch on the current AUR. I'm using KDE and running a X11 session instead of Wayland works but is annoying to need to do. The above fixes with Env vars did not work for me.

@different-name
Copy link

The above fixes with Env vars did not work for me.

@tyumici does the /usr/share/glvnd/egl_vendor.d/50_mesa.json file exist on your system?

@MasonMayjack
Copy link

MasonMayjack commented Dec 18, 2024

FIX FOR KDE / Arch

Paste this, into the ENV in the shortcut. __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_FORCE_COMPOSITING_MODE=1 WEBKIT_DISABLE_COMPOSITING_MODE=1

1. ![image](https://private-user-images.githubusercontent.com/7763805/369959927-31207ca7-9968-4007-8da5-bd0ac80dc883.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ1NDk0OTcsIm5iZiI6MTczNDU0OTE5NywicGF0aCI6Ii83NzYzODA1LzM2OTk1OTkyNy0zMTIwN2NhNy05OTY4LTQwMDctOGRhNS1iZDBhYzgwZGM4ODMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMThUMTkxMzE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGI0NTEyODc0ODIxMzFiMTExNDhkYjFkM2JjOGFmMzBhZDJiZmVjMDkxMmI4MGEyNGRiNWQ5MDI5M2Q4ZGQ1ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.jzciFCgbXjNbtY0k7ULBQeqpgWE8mIACW9e04-kyqZc)

2. ![image](https://private-user-images.githubusercontent.com/7763805/369960036-98433c44-a8dc-4a14-a2a1-6240af1f18fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ1NDk0OTcsIm5iZiI6MTczNDU0OTE5NywicGF0aCI6Ii83NzYzODA1LzM2OTk2MDAzNi05ODQzM2M0NC1hOGRjLTRhMTQtYTJhMS02MjQwYWYxZjE4ZmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMThUMTkxMzE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmI5OGZmYWU2YWFjYjkzYzA5NWI2NjlhOGI3ZjAxMzVhZGIyNDY1MzY1MWJkOTY1OTY4N2M5M2VmYmIxMjQ4OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IZpr3OU3K-BavW6KgpRHQD8g_squ3KVx7cep7DhMolU)

3. Run it

4. It works
   ![image](https://private-user-images.githubusercontent.com/7763805/369960206-fd66dad7-c153-4c4b-806d-c40821f39b28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ1NDk0OTcsIm5iZiI6MTczNDU0OTE5NywicGF0aCI6Ii83NzYzODA1LzM2OTk2MDIwNi1mZDY2ZGFkNy1jMTUzLTRjNGItODA2ZC1jNDA4MjFmMzliMjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMThUMTkxMzE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmE5ZmU0ZThiZWY1NTdmYzIzNTJhYTVmNGYwNDZhOWQ0OWZkNDczYTAyZjQyOTYwYTQ0NzI2YWU2MTJjYmYyYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.1F0Yt8dV-oQCJbYRInl0W-4XYY9TrMWEOqACVMUC8v4)

That has stopped it starting entirely for me, as have all the other env variable fixes

@Jannomag
Copy link

Works for me on EndeavourOS with KDE Plasma 6.2.4 on Wayland. But when going into the preview mode it gets very laggy and barely usable.
I have an AMD 3800X, Nvidia RTX 3070, 32GB RAM. So the software renderer seams to have very low performance. Using it on my laptop with an i5-7200U without dedicated graphics and the same EOS version works way better. I also tried the ENV line on this device.

Any ideas how to improve it?

@MasonMayjack
Copy link

MasonMayjack commented Dec 26, 2024 via email

@js01
Copy link

js01 commented Jan 1, 2025

I have an ASUS TUF F15 laptop with an i5-12500H, a GeForce RTX 3050, and 32GB RAM.
NVIDIA Driver v565.77.
EndeavourOS 6.12.7-arch1-1 (64-bit), KDE Plasma 6, Wayland

The system is set to use the discreet GPU only. I installed Bambu Studio via AUR and none of the fixes in the thread worked for that version. Setting the environment variable posted did not work.
I then removed it and installed the flatpak version and using Flatseal, changed the environment variable there, and the 3D viewports all work now, though it is laggy. Interface works fine otherwise.

__GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

@jameskitt616
Copy link

I have an ASUS TUF F15 laptop with an i5-12500H, a GeForce RTX 3050, and 32GB RAM. NVIDIA Driver v565.77. EndeavourOS 6.12.7-arch1-1 (64-bit), KDE Plasma 6, Wayland

The system is set to use the discreet GPU only. I installed Bambu Studio via AUR and none of the fixes in the thread worked for that version. Setting the environment variable posted did not work. I then removed it and installed the flatpak version and using Flatseal, changed the environment variable there, and the 3D viewports all work now, though it is laggy. Interface works fine otherwise.

__GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

Is all you changed adding those two env variables via flatpak? because when i do it, it still doesnt show and 3d viewport

@js01
Copy link

js01 commented Jan 3, 2025

I have an ASUS TUF F15 laptop with an i5-12500H, a GeForce RTX 3050, and 32GB RAM. NVIDIA Driver v565.77. EndeavourOS 6.12.7-arch1-1 (64-bit), KDE Plasma 6, Wayland
The system is set to use the discreet GPU only. I installed Bambu Studio via AUR and none of the fixes in the thread worked for that version. Setting the environment variable posted did not work. I then removed it and installed the flatpak version and using Flatseal, changed the environment variable there, and the 3D viewports all work now, though it is laggy. Interface works fine otherwise.
__GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

Is all you changed adding those two env variables via flatpak? because when i do it, it still doesnt show and 3d viewport

Actually, after rechecking, the only thing I added in Flatseal was this line in Bambu Studio > Enviroment:
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json

I don't know how or why I omitted the __GLX_VENDOR_LIBRARY_NAME=mesa part, but it works with just the line I've posted. I also enabled GPU Acceleration under Bambu Studio > Device.

@jameskitt616
Copy link

For me the /usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json file does not exist, only the file you mentioned previously /usr/share/glvnd/egl_vendor.d/50_mesa.json
For me this file contains the following:

{
    "file_format_version" : "1.0.0",
    "ICD" : {
	"library_path" : "libEGL_mesa.so.0"
    }
}

does the other file of yours also contains the same infos?

@js01
Copy link

js01 commented Jan 4, 2025

For me the /usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json file does not exist, only the file you mentioned previously /usr/share/glvnd/egl_vendor.d/50_mesa.json For me this file contains the following:

{
    "file_format_version" : "1.0.0",
    "ICD" : {
	"library_path" : "libEGL_mesa.so.0"
    }
}

does the other file of yours also contains the same infos?

The entire directory /usr/lib/x86_64-linux-gnu/ does not exist on my system.
The files and directory for /usr/share/glvnd/egl_vendor.d/50_mesa.json do exist and 50.mesa.json is identical to yours.

I had switched to HYBRID GPU mode, so I think Bambu was using that and it was working fine.
I have switched back to dGPU (ASUS MUX) and here is what I've found:

Having __GLX_VENDOR_LIBRARY_NAME=mesa makes no difference when using either line, so I've omitted it. I've tried combinations of the three and having it made no difference.

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json
It just works, despite that file not existing. I thought I had seen somewhere in this thread or another discussion that the fix may be just to point it to a non-existant or empty file, and that seems to work for me. HOWEVER, if I change 50_mesa.json to blank.json for example, Bambu stops working. It only works as it is written, despite the file being nonexistent. I don't get it.

Using __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json at any point breaks Bambu completely. I get no front page, no viewports, and it doesn't connect to my printer.

@jameskitt616
Copy link

Thats really interessting, i've also set __EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json now in flatseal to bambulab, eventho the file/path also doesnt exist for me, and it works now as well.

@raviboth
Copy link

raviboth commented Jan 5, 2025

Same for me, also reporting this issue on bazzite with latest nvidia drivers and __EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json in flatseal environment variable temporarily fixes it

@BradleyUffner
Copy link

I had to use /usr/share/glvnd/egl_vendor.d/50_mesa.json as the path for __EGL_VENDOR_LIBRARY_FILENAMES instead of the one specified above to get it working on Fedora 41.

@Leonw43
Copy link

Leonw43 commented Jan 8, 2025

Same issue on Fedora 40 & 41 (Wayland) - the workaround is software rendering which degrades performance quite significantly. On Fedora 40 I tried X11 and it worked perfectly, but since that isn't an option with 41 it's no longer possible without software rendering.

@Stoiker
Copy link

Stoiker commented Jan 31, 2025

Same issue here on Fedora 41 + Wayland with GeForce 1070.
Any updates on that?

@Leonw43
Copy link

Leonw43 commented Jan 31, 2025

Same issue here on Fedora 41 + Wayland with GeForce 1070. Any updates on that?

I ended up just using CachyOS/Arch since it lets you pick an X11 session instead of forcing wayland. They need to fix this as X11 is on borrowed time..

@fdev31
Copy link

fdev31 commented Jan 31, 2025

Same issue here on Arch/Hyprland/RTX 4080/Nvidia 565 driver

@Stoiker
Copy link

Stoiker commented Jan 31, 2025

Does anyone have more technical insight into what might be the problem here? This sound familiar to something occurred on FreeCad (https://forum.freecad.org/viewtopic.php?style=10&t=89408)

Thus more information would be great (beside the common knowledge that NVIDIA and Wayland don't get along very much)

@CMasterson
Copy link

Actually, after rechecking, the only thing I added in Flatseal was this line in Bambu Studio > Enviroment: __EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json

This worked for me.
Bazzite 41
Nvidia 4090 (570-86-16)

All other settings are stock on Flatseal.

Image

@ajunca
Copy link

ajunca commented Feb 21, 2025

I don't know why github is not referencing my other issue comment #4626. But I found a solution that works for me, under wayland + nvidia that is hardware accelerated. I found it looking in orca slicer issues, and it is using zink layer, opengl on top of vulkan instate of nvidia opengl implementation (not sure if all env variables are needed, but as it is, is working for me):

__GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink WEBKIT_DISABLE_DMABUF_RENDERER=1 bambu-studio

@whimsicalwyrm
Copy link

whimsicalwyrm commented Feb 25, 2025

@ajunca Thanks, this works for both Bambu Studio 01.10.01.50 and Orca Slicer 2.3.0-Beta ! I have finally hardware acc so it doesn't lag. Tested a bit and only 3 settings are needed:

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json MESA_LOADER_DRIVER_OVERRIDE=zink WEBKIT_DISABLE_DMABUF_RENDERER=1

First gets 3d preview working, second enables hardware acc and third is needed to see home page contents.

BTW - I'm on Fedora 41, GTX970 and 565.77

@animusfracto
Copy link

animusfracto commented Feb 25, 2025

Actually, after rechecking, the only thing I added in Flatseal was this line in Bambu Studio > Enviroment: __EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/default/share/glvnd/egl_vendor.d/50_mesa.json

OS is bazzite-nvidia:41 (an Atomic Fedora variant) and an nVidia card, running Bambu Studio via flatpak. I haven't been able to get hardware acceleration to work with any of the environment variables mentioned here, guess I'm gonna have to live with software rendering for the time being.

@Leonw43
Copy link

Leonw43 commented Feb 26, 2025

@ajunca Thanks - confirming this worked for me also, on CachyOS, RTX3070 and 570.86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests