PART 1: CEDRUS
VLC didn't work
Status (out of date):
Regarding modprobe:
to find the module (name changes depending on hardware):
find /lib/modules | grep cedar
check to see if the dev exists now:
ls /dev/cedar_dev
To ensure modprobe runs at startup
add modprobe sunxi_cedar_mod to /etc/modules
Using:
* Could only get mpv to work (mplayer seems to be missing vdpau support?)*
Also might need to do this manually:
sudo modprobe sunxi_cedar_mod
chmod 666 /dev/cedar_dev
chmod 666 /dev/disp
Add these to /etc/bash.bashrc
export DISPLAY=:0
export VDPAU_DRIVER=sunxi
MPV:
Finally, this:
mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all --fs --loop=inf melina.mp4
mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all --fs --loop=inf ./*
To get it to play automatically at lightDm startup:
Edit: /etc/lightdm/lightdm.conf