Kodi Community Forum

Full Version: vaapi playback problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, after being able to compile with today's svn (30357M) and having vaapi show up as an option under video playback the video is played back all garbled.

Playing the video with vaapi off and basic shaders(ARB),video playback is fine.

I understand this is still experimental but wanted to report the problem,
Below are all the particulars

http://pastebin.com/T2sA16HS

Image

Linux (Ubuntu 9.10, 2.6.31-21-generic x86_64). Built on May 20 2010 (SVN:30357M)
ATI 5570 video card - raedeon 10.4
Intel Quad core Q6600
6gb Ram

Code:
vainfo
libva: libva version 0.31.0-sds6
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointIDCT
      VAProfileMPEG2Main              :    VAEntrypointIDCT
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD

Thanks
Greg
hmm

posted the similar problem on another thread.

Hey guys,

I am having a similar problem as the thread starter.

I got a ATI Radeon HD 5450 and wanted to get VAAPI working with XBMC on Ubuntu Lucid.

cam shots of the screen:
Image
Image
Image

I am not really sure if its really using the gpu to decode the material, but I think it is, because of the low cpu consumption. When I tried to decode a h264 file without vaapi there was about 30/60% pct load on a AMD Athlon 3800 x2.

I compiled xbmc from the sources, able see the VAAPI & VDPAU options in the video section, but I can't choose the VAAPI Render Path explicitly.
When I set it to Auto Detect the output of a 1080p video is completely messed up. The same with the other Render Paths.

To build xbmc with vaapi I used this little howto cause couldn't find something useful one the xbmc forums http://www.multimedia4linux.de/htpc/ati_video.html and downloaded/installed all .debs but the on for mplayer.
Additionally I installed the latest Catalayst from ATi (10.6)

I downloaded the latest release of xbmc via svn as proposed on the main download page.

I really would like to be able to play HD movies fluently. Smile

Has someone help or a yet not known forum post which points out that problem?

Thank you very much!

Code:
xbmc - Revision 31256
Linux hostname 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
Catalyst 10.6
AMD Athlon 3800+ X2
2GB RAM

vainfo output:
Code:
libva: libva version 0.31.0-sds6
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointIDCT
      VAProfileMPEG2Main              : VAEntrypointIDCT
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

configure output:

Code:
------------------------
  XBMC Configuration:
------------------------
  Debugging:    Yes
  Profiling:    No
  Optimization: Yes
  Crosscomp.:   No
  target ARCH:  no
  target CPU:   no
  OpenGL:       Yes
  VDPAU:        Yes
  VAAPI:        Yes
  CrystalHD:    No
  VDADecoder:   No
  OpenMax:      No
  Joystick:     Yes
  XRandR:       Yes
  GOOM:         No
  MID Support:  No
  ccache:       No
  PulseAudio:   Yes
  HAL Support:  Yes
  FAAC:         Yes
  DVDCSS:       Yes
  Avahi:        Yes
  Non-free:     Yes
  ASAP Codec:   No
  Webserver:    Yes
  WebM support: No
  libRTMP support:      No
  Deprecated libdts:    No
  Deprecated liba52:    No
  External FFmpeg:      No
  External Python:      No
  prefix:       /usr/local
------------------------
Same issue. I'm going to try to recompile with --enable-vdpau AND --enable-vaapi even though I'm only going to use VAAPI.

I'm using the latest libva1 libva1-dev libva1-dbg and xvba and the latest XBMC from trunk.
Latest doesn't mean nothing in informatics.Your VAAPI libraries are old.
Why you enable vdpau if you have an ATI video cardHuh?
VDPAU it's only for Nvidia cards.If you want vaapi acceleration,you need to install latest ATI Catalyst drivers from Ati and latest libva and xvba-video libraries from here: http://www.splitted-desktop.com/~gbeauchesne/
VAAPI works on H264(at least with my Nvidia card),if you see garbled screen probably it's the driver from ATI.They suck a lot still.Throw away ATI and buy a cheap Nvidia Card.Just my 2cents
slux Wrote:Latest doesn't mean nothing in informatics.Your VAAPI libraries are old.
Why you enable vdpau if you have an ATI video cardHuh?
VDPAU it's only for Nvidia cards.If you want vaapi acceleration,you need to install latest ATI Catalyst drivers from Ati and latest libva and xvba-video libraries from here: http://www.splitted-desktop.com/~gbeauchesne/
VAAPI works on H264(at least with my Nvidia card),if you see garbled screen probably it's the driver from ATI.They suck a lot still.Throw away ATI and buy a cheap Nvidia Card.Just my 2cents

No. it's xbmc. Rolleyes I have VAAPI libs installed and I can play 1080 just fine (8% cpu on my laptop) in mplayer-vaapi (an mplayer with vaapi support). However in XMBC I get either a white screen and a lockup or a crash out of xbmc ... so it is XBMC that need further work on supporting VAAPI ... see my other thread ..
i tried this some weeks ago and run into the same issue. and yes, it seems this problem is only when using xbmc, and not with mplayer.

btw. xbmc produces similar output when using vdpau and nvidia card for some non hd-videos in avi containers using divx as codec or mpeg2.
Is there any solution for this issue?

I experiment the same issue with latest XBMC Live (10.1) and ATI HD-3870 video card.