diff options
author | Kevin MacMartin | 2024-05-09 11:07:13 -0400 |
---|---|---|
committer | Kevin MacMartin | 2024-05-09 11:07:13 -0400 |
commit | ca57ebdc6095edcd239f4efe9fe5ccb997e27db8 (patch) | |
tree | ebee0f180878ddd057aee1c1cd1b95952d0983e4 /UltiMaker-Cura | |
parent | 30d7570390c3ad2a67e5c6130161f397a235ad8b (diff) | |
download | aur-cura-bin.tar.gz |
Limit the ego fix to nvidia (thanks for reporting @bioxz!)
Diffstat (limited to 'UltiMaker-Cura')
-rwxr-xr-x | UltiMaker-Cura | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UltiMaker-Cura b/UltiMaker-Cura index 6e8fd6b823c6..f31013fec6f0 100755 --- a/UltiMaker-Cura +++ b/UltiMaker-Cura @@ -4,7 +4,7 @@ unset QT_STYLE_OVERRIDE egl_vendor=/usr/share/glvnd/egl_vendor.d/50_mesa.json -if [[ "$XDG_SESSION_TYPE" = 'wayland' && -f "$egl_vendor" ]]; then +if lsmod | grep -q nvidia && [[ "$XDG_SESSION_TYPE" = 'wayland' && -f "$egl_vendor" ]]; then __EGL_VENDOR_LIBRARY_FILENAMES="$egl_vendor" MESA_LOADER_DRIVER_OVERRIDE=zink /opt/ultimaker-cura/AppRun "$@" else /opt/ultimaker-cura/AppRun "$@" |