From 22b99f9547e89e1105a354ae1dcf5d43e8d528e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20S=C3=B8iland?= <90481583+mitss1@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:52:21 +0100 Subject: [PATCH] Keep mpv playing where only a software renderer exists On a machine whose only OpenGL renderer is llvmpipe, such as an Apple Silicon Mac whose GPU has no driver yet or a VM without GPU passthrough, mpv 0.41 rejects the software renderer and then aborts in its X11 fallback (vo_x11_init: Assertion '!vo->x11' failed). gpu-sw=yes lets it use that renderer; with a hardware renderer it changes nothing. omarchy-mac's own mpv default carries this line, but omarchy-settings owns /etc/mpv/mpv.conf, so that default never installs (#18229). Moving the line here covers those Macs without a Mac-only mpv file. --- etc/mpv/mpv.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/mpv/mpv.conf b/etc/mpv/mpv.conf index c8ce5f417554..82d9ca7a1931 100644 --- a/etc/mpv/mpv.conf +++ b/etc/mpv/mpv.conf @@ -1,3 +1,7 @@ # Decode video on the GPU through mpv's list of reliable hardware decoders, # falling back to software when none applies. ~/.config/mpv/mpv.conf overrides this. hwdec=auto-safe +# Keep playing where the only renderer is a software one (llvmpipe, as on a +# Mac whose GPU has no driver yet, or a VM). mpv 0.41 rejects it and then +# aborts in its X11 fallback; with a hardware renderer this changes nothing. +gpu-sw=yes