[Bug 108036] VA-API implementation reports support for unsupported endpoints

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 24 03:05:09 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108036

            Bug ID: 108036
           Summary: VA-API implementation reports support for unsupported
                    endpoints
           Product: Mesa
           Version: 18.2
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: notkurufu at cock.li
        QA Contact: dri-devel at lists.freedesktop.org

Videos encoded via VA-API on amd hardware using the h264 High profile end up
corrupt. This appears to be a known flaw and unsupported by mesa drivers. My
reference for this is here:
https://bugs.freedesktop.org/show_bug.cgi?id=104920#c8

Notably the mesa team claims that the issue is with applications using an
unsupported profile and that applications should query VA-API for supported
features. However it can be see with `vainfo` on AMD hardware that h264 High
profile support IS advertised by the drivers. So the error is not in the
applications which correctly query the information. But in the drivers
returning false information.

An example of vainfo output on AMD hardware advertising h264 High profile
support. I also have a source video and resultant reencoding at high profile
which is corrupt which is the same issue in the earlier bug where it was
claimed it was not supported.
$ vainfo --display drm
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Mesa Gallium driver 18.1.6 for AMD Radeon (TM) RX 480
Graphics (POLARIS10, DRM 3.26.0, 4.18.5-200.fc28.x86_64, LLVM 6.0.1)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180924/68b7cc35/attachment.html>


More information about the dri-devel mailing list