[Libva] VAAPI, VDPAU and ATI Radeon HD7750

Christian König christian.koenig at amd.com
Wed May 14 01:56:13 PDT 2014


Dropping libva list since the problem isn't related to libva at all. 
Adding the xorg-driver-ati at lists.x.org list instead.

Something is indeed wrong with your DDX installation. Please provide the 
X log, usually found under /var/log/Xorg.0.log.

Regards,
Christian.

Am 14.05.2014 06:35, schrieb G. Richard Bellamy:
> Christian,
>
> Thank you for taking an interest... as you can see from the output of 
> glxinfo [1], I've definitely got a problem, given that it's clearly 
> trying to use swrast_dri.
>
> I did some reading about DDX [2], since that's the first time I've 
> seen that term. From what I can tell, my system is pretty hosed using 
> either glamor or EXA for hardware acceleration - both settings still 
> result is glxinfo not finding the radeon dri driver (which I checked, 
> and _does_ exist at /usr/lib/xorg/modules/dri/radeon_dri.so).
>
> [1]
> % LIBGL_DEBUG=verbose glxinfo > glxinfo.txt 2>&1
>
> [2]
> http://blog.mecheye.net/2012/06/the-linux-graphics-stack/
> http://fs.mupuf.org/mupuf/nvidia/mesa.svg
> http://fs.mupuf.org/mupuf/nvidia/archi.svg
>
>
>
> On Tue, May 13, 2014 at 8:53 AM, Christian König 
> <christian.koenig at amd.com <mailto:christian.koenig at amd.com>> wrote:
>
>     I don't see anything not working correctly off hand (except for
>     the obvious error message).
>
>     What's the output of gfxinfo? And does glxgears or any other
>     trivial 3D example work properly? Maybe the DDX isn't working
>     correctly.
>
>     Regards,
>     Christian.
>
>     Am 13.05.2014 17:36, schrieb G. Richard Bellamy:
>>     Christian, the OP has vdpauinfo output (as well as a strace).
>>
>>     Attached is my dmesg.
>>
>>     -rb
>>
>>
>>
>>     On Tue, May 13, 2014 at 1:15 AM, Christian König
>>     <christian.koenig at amd.com <mailto:christian.koenig at amd.com>> wrote:
>>
>>         Hi Richard,
>>
>>         please provide the output of dmesg and vdpauinfo.
>>
>>         Thanks,
>>         Christian.
>>
>>         Am 12.05.2014 19:10, schrieb G. Richard Bellamy:
>>>         Hello All,
>>>
>>>         I've been troubleshooting an issue with VAAPI + VDPAU and my
>>>         ATI Radeon HD7750, on Arch Linux with the following packages:
>>>         libva <https://www.archlinux.org/packages/extra/x86_64/libva/>
>>>         libvdpau
>>>         <https://www.archlinux.org/packages/extra/x86_64/libvdpau/>
>>>         libva-vdpau-driver
>>>         <https://www.archlinux.org/packages/extra/x86_64/libva-vdpau-driver/>
>>>         ati-dri
>>>         <https://www.archlinux.org/packages/extra/x86_64/ati-dri/>
>>>         xf86-video-ati
>>>         <https://www.archlinux.org/packages/extra/x86_64/xf86-video-ati/>
>>>
>>>         Namely, I cannot get the configuration to work as expected,
>>>         and both vainfo and vdpauinfo error out, as does XBMC, which
>>>         is my end-goal for getting hardware acceleration working.
>>>
>>>         % export DISPLAY=:0
>>>         % export LIBVA_DRIVER_NAME=vdpau
>>>         % export VDPAU_DRIVER=radeonsi
>>>         % vainfo
>>>         libva info: VA-API version 0.35.1
>>>         libva info: va_getDriverName() returns -1
>>>         libva error: va_getDriverName() failed with unknown libva
>>>         error,driver_name=(null)
>>>         vaInitialize failed with error code -1 (unknown libva
>>>         error),exit
>>>         zsh: exit 3     vainfo
>>>         % vdpauinfo
>>>         display: :0   screen: 0
>>>         Error creating VDPAU device: 23
>>>         zsh: exit 255 vdpauinfo
>>>
>>>         Attached are strace outputs.
>>>
>>>         Furthermore, in my completely n00b attempt to figure out
>>>         what's going on, I've stepped into the code using gdb, and
>>>         tried to trace where the failure is... and it looks to me
>>>         like no matter what I tell libva, it ALWAYS goes looking
>>>         for libatiadlxx.so, which is the proprietary ATI drivers.
>>>
>>>         Any help on how to proceed with my troubleshooting? I've
>>>         read through the documentation in va.h and the API diagram,
>>>         and am trying to wrap my head around how the various
>>>         pieces-parts go together and move around each other, and I
>>>         have to say I'm feeling a bit overwhelmed. It's all very
>>>         fascinating, but not my normal digs, so I'm hoping one of
>>>         you can give me some guidance on how best to run this down,
>>>         and hopefully turn this into a patch if it's not too
>>>         difficult... or a hopefully good bug report if a patch is
>>>         beyond me.
>>>
>>>         Regards,
>>>         Richard
>>>
>>>
>>>         _______________________________________________
>>>         Libva mailing list
>>>         Libva at lists.freedesktop.org  <mailto:Libva at lists.freedesktop.org>
>>>         http://lists.freedesktop.org/mailman/listinfo/libva
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20140514/b8b81c71/attachment-0001.html>


More information about the xorg-driver-ati mailing list