[mythtv-users] AMDGPU and VDPAU

Tom Dexter digitalaudiorock at gmail.com
Thu Apr 28 13:55:47 UTC 2022


On Thu, Apr 28, 2022 at 5:59 AM John Hoyt <john.hoyt at gmail.com> wrote:
>>
>>
>> >> I have a combo BE/FE with AMD Ryzen 7 5700G CPU/GPU Radeon graphics that
>> >> I built late last year.
>
>
> I have the same processor for my headless backend, but have been unable to get vainfo to work at the terminal.  I've tried all of the libva drivers (including radeonsi) to no avail.
>
> For vaapi, did you have to install any special packages to get acceleration working? I'm less interested in using it for video display (again this is a headless server), but more for transcoding.

Actually, until some tests I tried just yesterday, I'd only used vdpau
on this machine and NOT vaapi, and that's worked no problem for me in
xine and mpv for example. Again, I don't have MythTV installed here.

Yesterday I tried enabling vaapi for mpv. I'm running Gentoo and that
was a matter of enabling the vaapi USE flag for media-video/mpv and
recompiling it. That installed the x11-libs/libva library, and
recompiled ffmpeg to have vaapi support, as well as mpv. Now mpv can
use vaapi by using the options:

mpv --vo=gpu --hwdec=vaapi <file-name>

...or by using this in it's config file:
cat ~/.config/mpv/mpv.conf
vo=gpu
hwdec=vdpau

Again however, I've generally just been using vdpau.

Tom


More information about the mythtv-users mailing list