[FFmpeg-trac] #8832(undetermined:new): Failed to configure vaapi with AMD Ryzen 5 PRO

FFmpeg trac at avcodec.org
Wed Jul 29 18:16:33 EEST 2020


#8832: Failed to configure vaapi with AMD Ryzen 5 PRO
-------------------------------------+-------------------------------------
             Reporter:  kwsk         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Failed to configure vaapi with AMD Ryzen 5 PRO

 How to reproduce:
 {{{
 % ./configure --enable-vaapi
 ERROR: vaapi requested but not found

 config.log
 gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fomit-frame-
 pointer -fPIC -pthread -g -Wdeclaration-after-statement -Wall -Wdisabled-
 optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-
 limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-
 prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-
 length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation
 -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -fno-tree-
 vectorize -Werror=format-security -Werror=implicit-function-declaration
 -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat
 -fdiagnostics-color=auto -Wmaybe-uninitialized -c -o
 /tmp/ffconf.v2690E4w/test.o /tmp/ffconf.v2690E4w/test.c
 ERROR: vaapi requested but not found

 ffmpeg version
 4.3.1

 $ vainfo
 error: can't connect to X server!
 libva info: VA-API version 1.7.0
 libva info: User environment variable requested driver 'radeonsi'
 libva info: Trying to open /usr/lib/x86_64-linux-
 gnu/dri//radeonsi_drv_video.so
 libva info: Found init function __vaDriverInit_1_7
 libva info: va_openDriver() returns 0
 vainfo: VA-API version: 1.7 (libva 2.6.0)
 vainfo: Driver version: Mesa Gallium driver 20.0.8 for AMD RAVEN (DRM
 3.35.0, 5.4.0-42-generic, LLVM 10.0.0)
 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
       VAProfileVP9Profile0            : VAEntrypointVLD
       VAProfileVP9Profile2            : VAEntrypointVLD
       VAProfileNone                   : VAEntrypointVideoProc

 ii  libc-dev-bin                         2.31-0ubuntu9
 amd64        GNU C Library: Development binaries
 ii  libc6-dev:amd64                      2.31-0ubuntu9
 amd64        GNU C Library: Development Libraries and Header Files
 ii  libcrypt-dev:amd64                   1:4.4.10-10ubuntu4
 amd64        libcrypt development files
 ii  libdevmapper-event1.02.1:amd64       2:1.02.167-1ubuntu1
 amd64        Linux Kernel Device Mapper event support library
 ii  libdevmapper1.02.1:amd64             2:1.02.167-1ubuntu1
 amd64        Linux Kernel Device Mapper userspace library
 ii  libdrm-dev:amd64                     2.4.101-2
 amd64        Userspace interface to kernel DRM services -- development
 files
 ii  libgcc-9-dev:amd64                   9.3.0-10ubuntu2
 amd64        GCC support library development files)
 ii  libgpg-error0:amd64                  1.37-1
 amd64        GnuPG development runtime library
 ii  libgudev-1.0-0:amd64                 1:233-1
 amd64        GObject-based wrapper library for libudev
 ii  libmount1:amd64                      2.34-0.1ubuntu9
 amd64        device mounting library
 ii  libsgutils2-2                        1.44-1ubuntu2
 amd64        utilities for devices using the SCSI command set (shared
 libraries)
 ii  libudev1:amd64                       245.4-4ubuntu3.2
 amd64        libudev shared library
 ii  libva-dev:amd64                      2.7.0-2
 amd64        Video Acceleration (VA) API for Linux -- development files

 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8832>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list