Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/221'
Browse files Browse the repository at this point in the history
* origin/pr/221:
  Also set software rendering via the new $GDK_DISABLE variable

Pull request description:

See commit message
  • Loading branch information
marmarek committed Dec 27, 2024
2 parents 52b890b + dcf6256 commit ff1c59e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions appvm-scripts/etc/profile.d/qubes-gui.csh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ setenv DISPLAY ":0"
setenv _JAVA_AWT_WM_NONREPARENTING "1"
if ( -f /var/run/qubes-service/software-rendering )
setenv GSK_RENDERER "cairo"
setenv GDK_DISABLE "gl vulkan"
setenv GDK_DEBUG "gl-disable vulkan-disable"
setenv LIBGL_ALWAYS_SOFTWARE "1"
endif
4 changes: 3 additions & 1 deletion appvm-scripts/etc/profile.d/qubes-gui.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export DISPLAY=:0 _JAVA_AWT_WM_NONREPARENTING=1
if test -f /var/run/qubes-service/software-rendering; then
export GSK_RENDERER="cairo" GDK_DEBUG="gl-disable vulkan-disable" \
export GSK_RENDERER="cairo" \
GDK_DISABLE="gl vulkan" \
GDK_DEBUG="gl-disable vulkan-disable" \
LIBGL_ALWAYS_SOFTWARE=1
fi

0 comments on commit ff1c59e

Please sign in to comment.