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 error 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 initialize gst-omx plugin. Generated video: https://www.youtube.com/watch?v=XJlWCdgB4Lc gst command: LIBVA_DRIVER_NAME=radeonsi gst-launch-1.0 -e ximagesrc display-name=:0 use-damage=0 startx=0 starty=0 endx=1919 endy=1079 ! multiqueue ! video/x-raw,format=BGRx,framerate=60/1 ! vaapipostproc format=i420 ! video/x-raw,format=I420,framerate=60/1 ! multiqueue ! vaapih264enc bitrate=3000 dct8x8=true ! h264parse ! multiqueue ! matroskamux name=muxer muxer. ! progressreport name=Rec_time ! filesink location=test.mp4 glxinfo: OpenGL renderer string: Gallium 0.4 on AMD BONAIRE (DRM 2.46.0 / 4.8.1-1-ARCH, 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
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel