Player2 is a new generation piSignage player based on new Raspberry Pi OS and also available for many more platforms based on Debian/Linux and as PWA/Android apps.
Make sure video play is supported in chromium browser or mpv using hardware acceleration before chosing the Linux SBC
Raspberry Pi 4
Intel CPU based NUC and other boards
Radxa Rock 4C+
Odroid N2
sudo apt remove libsdl2-2.0-0
sudo apt install libsdl2-2.0-0
sudo apt install -y libsdl2-dev
cd $HOME/player2/tools/sdl_ticker
chmod +x make.sh
./make.sh
Download latest Raspberry Pi OS with desktop (32-bit) and prepare SD card using Raspberry Pi Imager/Baleno Etcher software
Configure the OS, wifi and wait for the latest upgrade completion
If needed, do sudo apt update and sudo apt full-upgrade -y
Under raspberry configuration -> interfaces -> enable ssh
Under raspberry configuration, select audio output for HDMI (raspi-config -> general -> Audio)
For hardware other than Pi 4, issue the following command for chromium browser issue(courtesy: https://forums.raspberrypi.com/viewtopic.php?t=330711#p1990146)
echo 'export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=egl"' | sudo tee /etc/chromium.d/egl
su
sudo usermod -aG sudo pi
Configure the wifi using GUI tool OR try with NetworkManager CLI nmcli (wpa_supplicant doesn’t seem to work with Radxa)
sudo nmcli r wifi on
sudo nmcli dev wifi connect ”<ssid>” password “<password>”
copy missing firmware if any for wifi interface
sudo apt install -y dhcpcd5
sudo systemctl disable wicd.service (to use dhcpcd and wpa_supplicant as network config tools)
sudo rm /etc/xdg/autostart/wicd-tray.desktop
Note down wifi and ethernet interface names from sudo ip a command
prepare a file /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
update_config=1
country=IN
network={
ssid="*********"
psk="********"
}
sudo wpa_supplicant -B -i wifi interface name for e.g. wlp0s2 -c /etc/wpa_supplicant/wpa_supplicant.conf
sudo apt install rfkill
sudo rfkill unblock wlan
sudo ln -s /usr/share/dhcpcd/hooks/10-wpa_supplicant /usr/lib/dhcpcd/dhcpcd-hooks/
sudo systemctl restart dhcpcd
sudo ip a, all interfaces should have dhcp address if connected
Make sure /etc/network/interfaces has no entry for ethernet interface or it is set as manual.
sudo visudo and add the following as last line
<username, for e.g. pi> ALL=(ALL) NOPASSWD:ALL
sudo apt update
sudo apt full-upgrade
Check if chromium-browser or chromium exists (for rockchip chromium is hardware optimized unlike standard chromium)
sudo apt install openssh-server (enable ssh)
Check if there is a entry in /etc/hosts for hostname as follows, otherwise add the same (you could get the hostname by cat /etc/hostname command) 127.0.0.1 <hostname>
Notes: