So I've been trying to get this working for a long time now, but I'm rather stuck. I used MTroi's wonderful small guide with the only exception that I used the latest Catalyst drivers (12.3) and the official stable XBMC release (11.0) as
here. I know fglrx is working fine:
Code:
htpc@HTPC:~$ DISPLAY=:0 fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6310 Graphics
OpenGL version string: 4.2.11566 Compatibility Profile Context
and also the libraries are installed correctly:
Code:
htpc@HTPC:~$ DISPLAY=:0 vainfo
libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/va/drivers/xvba_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
but XBMC doesn't want to use VAAPI, I get this in the xbmc.log:
Code:
ERROR: VAAPI - failed executing vaCreateContext(m_display->get() , m_config , avctx->width , avctx->height , VA_PROGRESSIVE , m_surfaces , m_surfaces_count , &m_hwaccel->context_id) at line 424 with error ffffffff:unknown libva error
I have seen a user in the same thread
here having a similar problem, but he didn't respond to having a solution. Anybody?