Skip to content

Commit 292c8dd

Browse files
authored
fix(nvidia): Force NGL for GTK apps for now (#3029)
1 parent 5f285bb commit 292c8dd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build_files/base/18-workarounds.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,10 @@ if [[ -f /usr/share/applications/io.github.kolunmi.Bazaar.desktop ]] && jq -e '.
3939
sed -i 's|^Exec=bazaar window --auto-service$|Exec=env GSK_RENDERER=opengl bazaar window --auto-service|' /usr/share/applications/io.github.kolunmi.Bazaar.desktop
4040
fi
4141

42+
# NVIDIA GTK4 bug
43+
# https://github.com/ublue-os/aurora/issues/841
44+
if jq -e '.["image-flavor"] | test("nvidia")' /usr/share/ublue-os/image-info.json >/dev/null; then
45+
echo "GSK_RENDERER=ngl" >/usr/lib/environment.d/gsk.conf
46+
fi
47+
4248
echo "::endgroup::"

0 commit comments

Comments
 (0)