-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Wayland - Viewport doesn't render #18891
Comments
Does this also happen for the appimage? We don't officially support the flatpack, so there might be subtle differences between the two that cause this issue. Also, can you provide the log files? It's a bit hard to debug without them |
Same here. With official AppImage on fedora 39 |
Same here. With official AppImage 5.7.1, with rpm version 5.5.0 and flatpak 5.7.1, both on Fedora 39 and Fedora 40 |
Arch Linux with Nvidia/KDE Plasma 6/Wayland Same issue. Works with these arguments -platform xcb -platformtheme gtk3 but it's a flickery mess. I guess, I have to wait for the much hyped "Explicit Sync" patch. Atleast can slice and print! |
Had the same issue on Fedora 39 and 40 with Flatpak. Setting QT_QPA_PLATFORM=xcb in Environment in FlatSeal fixed it for me. |
It's nowhere near to "smooth". It does run, however, it flickers a lot, and sometimes I have a white window that only refreshes when I rotate or zoom. |
Good news everyone! Not a fix but a non flickery workaround. According to this hint I tried to tweak EGL which raised an error before: At least 5.7.1 seem to run fine in pure Wayland on my Nvidia RTX 4060 and Running cura with these two environment variables seem to be enough for me: You'll probably also need # /etc/profile.d/wayland.sh
# Tweaks mostly from: https://wiki.archlinux.org/title/Wayland
export QT_QPA_PLATFORM="wayland;xcb"
export SDL_VIDEODRIVER="wayland,x11"
export CLUTTER_BACKEND=wayland
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export ELECTRON_OZONE_PLATFORM_HINT=wayland
# GTK to X11
#GDK_BACKEND=x11
# Thunderbird and Firefox
export MOZ_ENABLE_WAYLAND=1
# LibreOffice
# /etc/profile.d/libreoffice-still.sh
export SAL_USE_VCLPLUGIN=qt6
# Java blank screen?
#export _JAVA_AWT_WM_NONREPARENTING=1 Rule of thumb for NVidia and Wayland: No xwayland. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
The above seem to fix the flickering at least thank you. I can not use it per say, still no build plate, but it at least is not flickering. What ever build Qidiprint is on it just works in Wayland, Hperland etc.. Its an older version of Cura though thats been reskined. |
@basilverthorn Do you run Cura in a pure Wayland session? |
Yes I run in true Wayland or Hyprland. Migrating to Hyprland, but see the same thing in both. I will try this tomorrow if I can, working late today unfortnately. Fixed the flickering, but the build plate is still missing. I have resorted to just running Cura in a Windows VM atm as a work around. |
So I tried the vulkan fix and QT_QPA and I know recieve: "Could not probe OpenGL. This program requires OpenGL 2.0 or higher. Please check your video card drivers." Trying to start Cura, the appimage runs, but does not have a build plate. glxinfo shows: glxinfo | grep "OpenGL version" env __GLX_VENDOR_LIBRARY_NAME=mesa __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.jsonMESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink cura cura ran by itself starts, just no build plate. |
Still an issue anyone come up with solution? No build plate still. |
Mesa seems to be broken on EGL/OpenGL at Qt level already: How did you get mesa 24.1.1 early on May 2th? Even Arch users got that version on June 6th. |
I am also on Hyprland but installed cura via the aur |
How do you check that? |
I have the same issue with AppImage 5.8.1. It's a Gentoo system with Nvidia graphics. |
same issue here |
Testing @wawanbreton Wayland fix on Bazzite and it's so far working fine here. I can now see it rendering the main image again. |
Cura Version
5.7.0
Operating System
Arch Linux, Hyprland (wayland), nvidia gtx 1060
Printer
Creality Ender 5
Reproduction steps
Actual results
All UI elements render fine apart from the view port in the center. When running the application under xwayland it works fine.
Expected results
All UI items render fine (like they do on xorg).
Add your .zip and screenshots here ⬇️
The text was updated successfully, but these errors were encountered: