Accelerated Video Playback: Difference between revisions

imported>Makefu
m (syntax highlight)
imported>Colemickens
No edit summary
Line 30: Line 30:
Sometimes different opengl packages are required to achieve full performance. You can check different configuration repositories for similar hardware configuration:
Sometimes different opengl packages are required to achieve full performance. You can check different configuration repositories for similar hardware configuration:
* [https://github.com/NixOS/nixos-hardware The NixOS-Hardware Repository]
* [https://github.com/NixOS/nixos-hardware The NixOS-Hardware Repository]


== Applications ==
== Applications ==
Line 42: Line 41:


<syntaxHighlight lang=ini>
<syntaxHighlight lang=ini>
hwdec=vaapi
gpu-context=wayland
vo=gpu
hwdec-codecs=all
</syntaxHighlight>
</syntaxHighlight>
With Wayland, you need to nudge mpv to do the right thing:


This is based on the [https://wiki.archlinux.org/index.php/Mpv#Hardware_decoding archlinux MPV article].
This is based on the [https://wiki.archlinux.org/index.php/Mpv#Hardware_decoding archlinux MPV article].