Skip to content

Commit

Permalink
Fix for deprecated Raspberry Pi OS Lite (Legacy)
Browse files Browse the repository at this point in the history
The Debian Buster based legacy RPi OS has been deprecarted and some packages
have been switched from RPi-patched versions to upstream Debian version.

This also affects VLC, which now misses OpenMAX hardware acceleration on the RPi.
This patch works around the issue by installing and version-pinning the previous
patched RPi version of VLC.
  • Loading branch information
porst17 committed May 28, 2024
1 parent d34a7a9 commit cf5aae1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package/install
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ apt install --no-install-recommends -y \
pulseaudio \
pulseaudio-utils \
pavucontrol \
vlc \
vlc=3.0.17.4-0+deb10u2+rpt1 \
vlc-bin=3.0.17.4-0+deb10u2+rpt1 \
libvlc-bin=3.0.17.4-0+deb10u2+rpt1 \
vlc-plugin-base=3.0.17.4-0+deb10u2+rpt1 \
vlc-data=3.0.17.4-0+deb10u2+rpt1 \
vlc-plugin-qt=3.0.17.4-0+deb10u2+rpt1 \
vlc-plugin-video-output=3.0.17.4-0+deb10u2+rpt1 \
'' # dummy entry to terminate the list

# Pin VLC version
apt-mark hold vlc

# Disable overscan and raise GPU memory
cat >> /boot/config.txt << EOF
[all]
Expand Down
1 change: 1 addition & 0 deletions package/run
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ VLC_OPTS=(
"--logfile=/MEDIA/log.txt"
"--playlist-tree"
"--no-osd"
"--vout=mmal_vout"
"--mmal-layer=1"
"--fullscreen"
"--loop"
Expand Down

0 comments on commit cf5aae1

Please sign in to comment.