From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 98278] Corrupted videos VA-API HW encoding radeonsi
Date: Sun, 16 Oct 2016 14:59:30 +0000
Message-ID:
Bug ID
98278
Summary
Corrupted videos VA-API HW encoding radeonsi
Product
Mesa
Version
git
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
neatnoise@gmail.com
QA Contact
dri-devel@lists.freedesktop.org
Hello,
There is an issue in hardware encoding using radeonsi driver and VA-API. It
happens when 2 encoding software - gstreamer and avconf are used. Generated
output videos are corrupted, full of green and purple colors. There is no e=
rror
in the terminal output.
There is no problem in HW decoding, it generates valid output.
I've tried to use omx HW acceleration, but gstreamer couldn't even initiali=
ze
gst-omx plugin.
Generated video: =
https://www.youtube.com/watch?v=3DXJlWCdgB4Lc
gst command: LIBVA_DRIVER_NAME=3Dradeonsi gst-launch-1.0 -e ximagesrc
display-name=3D:0 use-damage=3D0 startx=3D0 starty=3D0 endx=3D1919 endy=3D1=
079 ! multiqueue
! video/x-raw,format=3DBGRx,framerate=3D60/1 ! vaapipostproc format=3Di420 !
video/x-raw,format=3DI420,framerate=3D60/1 ! multiqueue ! vaapih264enc bitr=
ate=3D3000
dct8x8=3Dtrue ! h264parse ! multiqueue ! matroskamux name=3Dmuxer muxer. !
progressreport name=3DRec_time ! filesink location=3Dtest.mp4
glxinfo:
OpenGL renderer string: Gallium 0.4 on AMD BONAIRE (DRM 2.46.0 / 4.8.1-1-AR=
CH,
LLVM 4.0.0)
OpenGL core profile version string: 4.3 (Core Profile) Mesa 12.1.0-devel
(git-b7d9677)
kernel driver: radeon
vainfo:
libva info: VA-API version 0.39.3
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.2)
vainfo: Driver version: mesa gallium vaapi
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
VAProfileNone : VAEntrypointVideoProc
omx:
Scanning directory /usr/lib/bellagio/
Scanning library /usr/lib/bellagio/libomxclocksrc.so
Component OMX.st.clocksrc registered with 0 quality levels
Specific role OMX.st.clocksrc registered
Scanning library /usr/lib/bellagio/libomx_mesa.so
Component OMX.mesa.video_decoder registered with 0 quality levels
Specific role OMX.mesa.video_decoder.mpeg2 registered
Specific role OMX.mesa.video_decoder.avc registered
Specific role OMX.mesa.video_decoder.hevc registered
Component OMX.mesa.video_encoder registered with 0 quality levels
Specific role OMX.mesa.video_encoder.avc registered
Scanning library /usr/lib/bellagio/libomxvideosched.so
Component OMX.st.video.scheduler registered with 2 quality levels
Specific role OMX.st.video.scheduler registered
Scanning library /usr/lib/bellagio/libomxaudio_effects.so
Component OMX.st.volume.component registered with 2 quality levels
Specific role OMX.st.volume.component registered
Component OMX.st.audio.mixer registered with 1 quality levels
Specific role OMX.st.audio.mixer registered
6 OpenMAX IL ST static components in 4 libraries succesfully scanned