Skip to content

Commit dcf6256

Browse files
committed
Also set software rendering via the new $GDK_DISABLE variable
GTK 4.14.6+ (Fedora 41+) has moved 'GDK_DEBUG=foo-disable' to 'GDK_DISABLE=foo': https://gitlab.gnome.org/GNOME/gtk/-/commit/cde094a0dfde3024fae18e0c0d36e7cf5f795dc6 New GTK versions print warnings for the old options: Unrecognized value "gl-disable". Try GDK_DEBUG=help Unrecognized value "vulkan-disable". Try GDK_DEBUG=help
1 parent a7e9ec8 commit dcf6256

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

appvm-scripts/etc/profile.d/qubes-gui.csh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ setenv DISPLAY ":0"
22
setenv _JAVA_AWT_WM_NONREPARENTING "1"
33
if ( -f /var/run/qubes-service/software-rendering )
44
setenv GSK_RENDERER "cairo"
5+
setenv GDK_DISABLE "gl vulkan"
56
setenv GDK_DEBUG "gl-disable vulkan-disable"
67
setenv LIBGL_ALWAYS_SOFTWARE "1"
78
endif
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export DISPLAY=:0 _JAVA_AWT_WM_NONREPARENTING=1
22
if test -f /var/run/qubes-service/software-rendering; then
3-
export GSK_RENDERER="cairo" GDK_DEBUG="gl-disable vulkan-disable" \
3+
export GSK_RENDERER="cairo" \
4+
GDK_DISABLE="gl vulkan" \
5+
GDK_DEBUG="gl-disable vulkan-disable" \
46
LIBGL_ALWAYS_SOFTWARE=1
57
fi

0 commit comments

Comments
 (0)