Ah right, we renamed them, it’s the Raspberry Pi 2 PCB v1.1 image. In the subtitle you see “ARMv7” indicating the userland/OS architecture. Compared to the ARMv6 (Raspberry Pi 1/Zero) image it does not use the Raspbian repository but regular Debian armhf
, which has quite a lot of benefits.
Here is the relevant part of the script: rpisurv/install.sh at d2e1e54133f86d4c26a8bb049ae17def9deaf7db · SvenVD/rpisurv · GitHub
As you can see it does not check the version in particular but whether vlc -H
(the CLI help output) shows a --mmal-layer
option, indicating MMAL support. If this is not true, it prints the error about max version being 3.0.17.4. And VLC 3.0.18 from the RPi repo does support it, so it should work:
root@DietPi:~# sudo -u dietpi vlc -H | grep mmal
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
Warning: using insecure memory!
mmal_vout (mmal_vout)
--mmal-layer <integer> VideoCore layer where the video is displayed.
--mmal-adjust-refreshrate, --no-mmal-adjust-refreshrate
--mmal-native-interlaced, --no-mmal-native-interlaced
--mmal-display <string> Output device for Rpi fullscreen.
--mmal-vout-transform <string>
--mmal-vout-window <string>
--mmal-vout-transparent, --no-mmal-vout-transparent
MMAL-based decoder plugin for Raspberry Pi (mmal_codec)
--mmal-opaque, --no-mmal-opaque
--mmal-decode-enable, --no-mmal-decode-enable
Enable mmal decode even if normally disabled
Enable mmal decode even if normally disabled. MMAL decode is normally
--mmal-resize, --no-mmal-resize
Use mmal resizer rather than hvs.
Use mmal resizer rather than isp. This uses less gpu memory than the
--mmal-isp, --no-mmal-isp Use mmal isp rather than hvs.
Use mmal isp rather than hvs. This may be faster but has no blend.
MMAL-based deinterlace filter plugin (mmal_deinterlace)
--mmal-deinterlace-no-qpu, --no-mmal-deinterlace-no-qpu
--mmal-deinterlace-adv, --no-mmal-deinterlace-adv
--mmal-deinterlace-fast, --no-mmal-deinterlace-fast
--mmal-deinterlace-none, --no-mmal-deinterlace-none
--mmal-deinterlace-half-rate, --no-mmal-deinterlace-half-rate
--mmal-deinterlace-full-rate, --no-mmal-deinterlace-full-rate
--glconv {any,drm_gl_conv,mmal_converter,none}
--glconv {any,drm_gl_conv,mmal_converter,none}
-V, --vout {any,mmal_xsplitter,gles2,gl,xcb_xv,wl_shm,xcb_x11,fb,drm_vout,mmal_vout,caca,flaschen,yuv,vmem,aa,vdummy,vdummy,omxil_vout,none}
The installation went well here:
root@DietPi:~# curl -LO https://github.com/SvenVD/rpisurv/archive/refs/heads/master.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.5M 0 10.5M 0 0 4208k 0 --:--:-- 0:00:02 --:--:-- 7049k
root@DietPi:~# tar xf master.tar.gz
root@DietPi:~# cd rpisurv-master/
root@DietPi:~/rpisurv-master# ./install.sh
Use this installer on your own risk. Make sure this host does not contain important data and is replacable
This installer will disable graphical login on your pi, please revert with the raspi-config command if needed.
The following version will be installed: "3.0.0"
Do you want to continue press <Enter>, <Ctrl-C> to cancel
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
...
Do you want me to (re-)start rpisurv after install?
Type yes/no
yes
sending incremental file list
./
__init__.py
...
sent 11,397,428 bytes received 565 bytes 4,559,197.20 bytes/sec
total size is 11,392,808 speedup is 1.00
sed: can't read /etc/rc.local: No such file or directory
'rpisurv' -> '/usr/bin/rpisurv'
'rpisurv.service' -> '/etc/systemd/system/rpisurv.service'
Created symlink /etc/systemd/system/multi-user.target.wants/rpisurv.service → /etc/systemd/system/rpisurv.service.
root@DietPi:~/rpisurv-master#
This was on Bullseye. On Bookworm, Debian provides a newer VLC 3.0.18-2, but only the (older) 3.0.18-0 one from the RPi repo supports MMAL. So APT pinning would be needed to assure that all VLC packages are only installed from archive.raspberrypi.org
.