[FFmpeg-trac] #6073(avcodec:new): QSV (h264) encodes via CPU instead of GPU

FFmpeg trac at avcodec.org
Wed Jan 11 21:25:21 EET 2017


#6073: QSV (h264) encodes via CPU instead of GPU
-------------------------------------+-------------------------------------
             Reporter:  milanc       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  qsv          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by milanc):

 Linux stream 4.4.0 #1 SMP Fri Oct 14 22:04:02 CEST 2016 x86_64 x86_64
 x86_64 GNU/Linux

 Intel Media SDK 2017
 nvidia-370; cuda_8.0-44; nvidia_video_sdk_7.0.1; intel-opencl-16.5


 {{{
 # vainfo
 libva info: VA-API version 0.99.0
 libva info: va_getDriverName() returns 0
 libva info: User requested driver 'iHD'
 libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
 libva info: Found init function __vaDriverInit_0_32
 libva info: va_openDriver() returns 0
 vainfo: VA-API version: 0.99 (libva 1.67.0.pre1)
 vainfo: Driver version: 16.5.55964-ubit
 vainfo: Supported profile and entrypoints
       VAProfileH264ConstrainedBaseline: VAEntrypointVLD
       VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
       VAProfileH264ConstrainedBaseline: <unknown entrypoint>
       VAProfileH264ConstrainedBaseline: <unknown entrypoint>
       VAProfileH264Main               : VAEntrypointVLD
       VAProfileH264Main               : VAEntrypointEncSlice
       VAProfileH264Main               : <unknown entrypoint>
       VAProfileH264Main               : <unknown entrypoint>
       VAProfileH264High               : VAEntrypointVLD
       VAProfileH264High               : VAEntrypointEncSlice
       VAProfileH264High               : <unknown entrypoint>
       VAProfileH264High               : <unknown entrypoint>
       VAProfileMPEG2Simple            : VAEntrypointEncSlice
       VAProfileMPEG2Simple            : VAEntrypointVLD
       VAProfileMPEG2Main              : VAEntrypointEncSlice
       VAProfileMPEG2Main              : VAEntrypointVLD
       VAProfileVC1Advanced            : VAEntrypointVLD
       VAProfileVC1Main                : VAEntrypointVLD
       VAProfileVC1Simple              : VAEntrypointVLD
       VAProfileJPEGBaseline           : VAEntrypointVLD
       VAProfileJPEGBaseline           : VAEntrypointEncPicture
       VAProfileVP8Version0_3          : VAEntrypointEncSlice
       VAProfileVP8Version0_3          : VAEntrypointVLD
       VAProfileVP8Version0_3          : <unknown entrypoint>
       VAProfileHEVCMain               : VAEntrypointVLD
       VAProfileHEVCMain               : VAEntrypointEncSlice
       VAProfileVP9Profile0            : <unknown entrypoint>
       <unknown profile>               : VAEntrypointVideoProc
       VAProfileNone                   : VAEntrypointVideoProc
       VAProfileNone                   : <unknown entrypoint>
 }}}


 {{{
 # ./sys_analyzer_linux.py
 --------------------------
 Hardware readiness checks:
 --------------------------
  [ OK ] Processor name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
 --------------------------
 OS readiness checks:
 --------------------------
  [ OK ] GPU visible to OS
 --------------------------
 Intel(R) Media Server Studio Install:
 --------------------------
  [ OK ] user is root
  [ OK ] libva.so.1 found
  [ OK ] vainfo reports valid codec entry points
  [ OK ] /dev/dri/renderD128 connects to Intel i915
  [ ERROR ] could not open /dev/dri/renderD129

 --------------------------
 Media SDK Plugins available:
 (for more info see /opt/intel/mediasdk/plugins/plugins.cfg)
 --------------------------
     H264LA Encoder      = 588f1185d47b42968dea377bb5d0dcb4
     VP8 Decoder         = f622394d8d87452f878c51f2fc9b4131
     HEVC Decoder        = 33a61c0b4c27454ca8d85dde757c6f8e
     HEVC Encoder        = 6fadc791a0c2eb479ab6dcd5ea9da347
 --------------------------
 Component Smoke Tests:
 --------------------------
  [ OK ] Media SDK HW API level:1.19
  [ OK ] Media SDK SW API level:1.19
  [ OK ] OpenCL check:./oclcheck: /usr/local/cuda/lib64/libOpenCL.so.1: no
 version information available (required by ./oclcheck)
 platform:Intel(R) OpenCL GPU OK CPU OK
 platform:NVIDIA CUDA GPU OK CPU FAIL
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6073#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list