- Enable the Linux development environment
- Set up FlatHub
- Install mpv from FlatHub
flatpak install flathub io.mpv.Mpv
- Edit mpv.conf located in
$HOME/.local/share/flatpak/app/io.mpv.Mpv/current/active/files/etc/mpv/mpv.conf
vo=gpu gpu-api=opengl opengl-es=auto vd-lavc-dr=yes gpu-context=wayland
- Right-click on the Linux terminal in your apps and click on Shut down Linux
- Start crosh by pressing Ctrl+Alt+T
- Type in
vmc start --enable-gpu --enable-big-gl termina
- Wait for termina to start, the prompt will change from
crosh>
to(termina) chronos@localhost
. - With crosh still open, start another regular linux terminal by clicking on the Terminal app
- Type
glxinfo -B
(installmeta-utils
if it's not available) and verify that it saysAccelerated: yes
in the output - Use mpv with
flatpak run io.mpv.Mpv <filename>
Note that you'll have to follow these steps every time you restart your computer or when Linux shuts down.