You are not logged in.
Pages: 1
Latest mesa (10.4) added a VA-API state tracker for Radeon Cards.
How can someone enable that instead of vdpau??
Thanks in advance.
Last edited by 89c51 (2014-12-26 10:24:34)
Offline
Why? As an academic exercise? Nothing wrong with that (we are geeks after all
), however VDPAU has better support all around, the only app with good VAAPI support is mpv.
Anyway, install libva-mesa-driver, then run vainfo. If that returns something sensible, do "mpv --hwdec=vaapi --vo=vaapi"
Offline
Anyway, install libva-mesa-driver, then run vainfo. If that returns something sensible, do "mpv --hwdec=vaapi --vo=vaapi"
You might have to export LIBVA_DRIVER_NAME=gallium to make libva work.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks. I had missed the libva-mesa-driver package. I only exported the variable thinking that it will work like that.
@Gusar gst-vaapi works fine.
Offline
edit
Last edited by 89c51 (2014-12-25 23:24:00)
Offline
@Gusar gst-vaapi works fine.
Does it do direct display or does it copy frames back to system memory? And does it provide something gst-vdpau doesn't?
Offline
Tried gst-play and consumes very little CPU. I don't think there is a gst-vdpau package or implementation. You can have gst-vaapi working with vdpau by exporting LIBVA_DRIVER_NAME=vdpau and having the mesa-vdpau package installed.
Also check this > http://www.gearsongallium.com/?p=1580. It has some comparisons.
Offline
Tried gst-play and consumes very little CPU.
That could mean it's doing direct display, but not necessarily. mpv supports both modes, by passing either vaapi or vaapi-copy to --hwdec
I don't think there is a gst-vdpau package or implementation
There's a vdpau plugin in gst-plugins-bad.
You can have gst-vaapi working with vdpau by exporting LIBVA_DRIVER_NAME=vdpau and having the mesa-vdpau package installed
mesa-vdpau is a native implementation, the wrapper is in libva-vdpau-driver. But why would you want to use wrappers instead of native implementations.
Offline
I have no idea why i was using vdpau this way. HW accel. worked and didn't care much about the details. Maybe it was the only way i found while searching.
![]()
Offline
Maybe it was the only way i found while searching.
Yeah, it's been my feeling that many people aren't aware gstreamer has a VDPAU plugin. Though who knows why it's in gst-plugins-bad.
Well, there's native VAAPI in mesa now, and it seems gst-vaapi works well. That's good to know.
Offline
As it seems something IS wrong. I get a green video screen today. Yesterday it seemed to work fine (pretty sure a PEBKAC). ![]()
Last edited by 89c51 (2014-12-26 11:26:58)
Offline
Pages: 1