From ac37fb7ccd7ea09d2c3f36e55519066a49558f9f Mon Sep 17 00:00:00 2001 From: Alan Sikora Date: Mon, 11 Aug 2025 16:33:34 -0300 Subject: [PATCH] Fix screen recording on Intel graphics (#669) * Fix screen recording on Intel graphics Use wf-recorder for Intel graphics instead of wl-screenrec due to VAAPI compatibility issues that prevent recording from starting. * combining greps for nvidia and intel graphics * Update omarchy-cmd-screenrecord --- bin/omarchy-cmd-screenrecord | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-cmd-screenrecord b/bin/omarchy-cmd-screenrecord index 1d05fae7..4abffc6c 100755 --- a/bin/omarchy-cmd-screenrecord +++ b/bin/omarchy-cmd-screenrecord @@ -13,7 +13,7 @@ screenrecording() { notify-send "Screen recording starting..." -t 1000 sleep 1 - if lspci | grep -qi 'nvidia'; then + if lspci | grep -Eqi 'nvidia|intel.*graphics'; then wf-recorder -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" else wl-screenrec -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@"