Hi there!
I’m trying to use nixos on a Raspberry Pi 4 model pi (and eventually a Pi 5). Thanks to a friend I got a setup working with all the dependencies needed for my app.
The Raspberry will be playing some videos on after the other, using MPV (I’ll be wrapping it in a QT app, so that’s why there’s all those dependencies, but that’s not too relevant to my issue).
There’s a few issues, but the ones I’m most concerned with is the video playback, which stutters and skips frames (if needed I can post a video too).
I’ve tried this on a plain installation of raspbian and the video playback is working fine there, so it’s not an issue with Pi.
I’ve tried to follow some guide to add 3d acceleration, using fkms-3d.enable
, but that was throwing an error, so I went with a workaround. (I double checked with glinfo and it seemed to have worked), but the video playback was still bad (I don’t think anything changed at all in that sense)
I’ve put all the code here: nix-pi-example/flake.nix at a81b5d54c1820b6bc4791f2ab2c12fb97af569c5 · patrick91/nix-pi-example · GitHub
Does anyone know why do I need to change to improve the video playback?