MPV is a great no-frills media player. Unfortunately it doesn’t ship with GPU acceleration enabled. At least not on Debian. In this quick-and-dirty guide we’re enabling hardware acceleration for Intel, AMD, and NVIDIA GPUs.

Have questions about your setup? Ask in our forums.


DRIVERS

AMD GPUs and APUs

sudo apt install mesa-va-drivers

Gen 8+ Intel hardware

sudo apt install intel-media-va-driver

Older Intel hardware

sudo apt install i965-va-driver

Nvidia GPUs

sudo apt install libnvcuvid1

ENABLE HARDWARE ACCELERATION

1. Open mpv.conf and add hwdec=auto

nano ~/.config/mpv/mpv.conf

2. Exit nano and save your changes by pressing Ctrl+X, Y, then enter.


TESTING

You can use applications like btop or htop to check your CPU usage. You will also notice a reduction in CPU temperature when hardware acceleration is enabled. 


UNINSTALL

If you need to disable hardware acceleration remove hwdec=auto from the mpv.conf created in step 1. 

Have questions about your setup? Ask in our forums.

VennStone

View all posts

Add comment

Recent Posts