Bug 76720

Summary: Image bug, h264encoder, for resolutions more than 1024x768
Product: libva Reporter: Nikita <nikitos1550>
Component: intelAssignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact: Sean V Kelley <seanvk>
Severity: normal    
Priority: medium CC: zhixinx.liu
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot of the encoded buggy image

Description Nikita 2014-03-28 07:08:06 UTC
Created attachment 96512 [details]
Screenshot of the encoded buggy image

I have strange bug on auto generated yuv on resolutions more 1024x768, with h264encoder.

My soft:
user@video-ubuntu:~/Downloads$ vainfo
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: Intel i965 driver - 1.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD

libva-1.3.0 and intel-libva-driver-1.3.0

Hardware is Hasswel core i7 4770

Comman for generating h264 bitstream 
./h264encode -w 3840 -h 1080 -framecount 2500 -f 25 -o ./test.h264

viewer 
vlc ./test.h264
Comment 1 haihao 2014-08-14 07:50:13 UTC
commit d5556ffb964699bfe2a1b44af1038c8a320c94aa
Author: Xiang, Haihao <haihao.xiang@intel.com>
Date:   Mon Aug 4 10:00:13 2014 +0800

    h264encode: check driver supports the RateControl control mode or not

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.