Hi again.
I had success recording full 4K resolution at 30 fps with the OBS Studio (both the flatpak and the native version) by using the following on my laptop Dell Alienware m17 r5, amd cpu ryzen 9 6900hx, amd gpu radeon rx6800m, 32gb ram, 2tb ssd, running KaOS Linux 2026-06 niri/noctalia/dinit, using fish shell, fully updated:
sudo pacman -S base-devel git cmake obs-studio meson ninja linux-headers
cd ~
git clone https://github.com/umlaeute/v4l2loopback.git
cd v4l2loopback
make
sudo make install
cd ~
git clone https://github.com/ammen99/wf-recorder.git
cd wf-recorder
meson build
ninja -C build
sudo ninja -C build install
After doing the above, restart the system and always before using the OBS Studio to stream/record do the following in the terminal:
sudo insmod ~/v4l2loopback/v4l2loopback.ko video_nr=10 card_label="OBS Virtual Camera" exclusive_caps=1
wf-recorder --muxer=v4l2 --codec=rawvideo --pixel-format=yuv420p --file=/dev/video10
When done streaming/recording, if you will keep using the system just do these in the terminal:
CTRL+C to stop the process
sudo rmmod v4l2loopback
Soon I will do a 4K live streaming and recording and will report back!