Skip to content

Commit

Permalink
Force software rendering by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jun 20, 2024
1 parent 78e2b8d commit 94d5b9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm_spec/core-dom0-linux.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ install -m 644 system-config/12-qubes-ignore-lvm-devices.rules $RPM_BUILD_ROOT%_
install -m 644 system-config/11-qubes-ignore-zvol-devices.rules $RPM_BUILD_ROOT%_udevrulesdir
install -m 644 system-config/99z-qubes-mark-ready.rules $RPM_BUILD_ROOT%_udevrulesdir
install -m 644 -D system-config/disable-lesspipe.sh $RPM_BUILD_ROOT/etc/profile.d/zz-disable-lesspipe.sh
install -m 644 -D system-config/disable-gpu-accel.sh $RPM_BUILD_ROOT/etc/profile.d/zz-disable-gpu-accel.sh
install -m 755 -D system-config/kernel-grub2.install $RPM_BUILD_ROOT/usr/lib/kernel/install.d/80-grub2.install
install -m 755 -D system-config/kernel-xen-efi.install $RPM_BUILD_ROOT/usr/lib/kernel/install.d/90-xen-efi.install
install -m 755 -D system-config/kernel-remove-bls.install $RPM_BUILD_ROOT/usr/lib/kernel/install.d/99-remove-bls.install
Expand Down Expand Up @@ -315,6 +316,7 @@ chmod -x /etc/grub.d/10_linux
%attr(0644,root,root) /etc/cron.d/qubes-sync-clock.cron
/etc/cron.daily/lvm-cleanup
%config(noreplace) /etc/profile.d/zz-disable-lesspipe.sh
%config(noreplace) /etc/profile.d/zz-disable-gpu-accel.sh
%config(noreplace) /etc/dnf/protected.d/qubes-core-dom0.conf
%_presetdir/75-qubes-dom0.preset
%_presetdir/99-qubes-default-disable.preset
Expand Down
4 changes: 4 additions & 0 deletions system-config/disable-gpu-accel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if ! test -f /var/run/qubes-service/gpu-accel; then
export GSK_RENDERER="cairo" GDK_DEBUG="gl-disable vulkan-disable" \
LIBGL_ALWAYS_SOFTWARE=1
fi

0 comments on commit 94d5b9b

Please sign in to comment.