All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 112133] AMD Radeon 5700 / Navi: VAAPI encoding generates garbled output
@ 2019-10-25 10:37 bugzilla-daemon
  2019-11-19  9:58 ` bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2019-10-25 10:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1777 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=112133

            Bug ID: 112133
           Summary: AMD Radeon 5700 / Navi: VAAPI encoding generates
                    garbled output
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: not set
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: toscar@gmx.net

Using ffmpeg to encode video to h264/hevc with constant or variable bitrate
results in completely garbled output video on navi/radeon 5700 gpu.

ffmpeg command used:
ffmpeg -init_hw_device vaapi=foo:/dev/dri/renderD128 -hwaccel vaapi
-hwaccel_output_format vaapi -hwaccel_device foo \
-i <input file> -filter_hw_device foo -vf 'format=nv12|vaapi,hwupload' -c:v
hevc_vaapi -b:v 5000k -maxrate 5000k -f matroska <output file>
-This issue also applies to h264 encoding (replace "hevc_vaapi" with
"h264_vaapi" above).

HW used:
AMD Radeon 5700 XT

SW used:
linux-amd-staging-drm-next-git-5.4.858569.1c2677f991d3-1-x86_64
mesa-git 1:19.3.0_devel.116641.f11ea226664
libva-utils 2.5.0
ffmpeg 1:4.2.1

This issue sounds a bit like BUG 109538, however #109538 speaks of "garbled
line at the bottom" where I get completely garbled output, not just at the
bottom.

In additon, ffmpeg stalls/crashes sometimes as described in #109538 with:
[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_enc0 timeout, signaled
seq=150025, emitted seq=150027
[drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process ffmpeg
pid 228611 thread ffmpeg:cs0 pid 228612

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3275 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 112133] AMD Radeon 5700 / Navi: VAAPI encoding generates garbled output
  2019-10-25 10:37 [Bug 112133] AMD Radeon 5700 / Navi: VAAPI encoding generates garbled output bugzilla-daemon
@ 2019-11-19  9:58 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=112133

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/943.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2413 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-19  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-25 10:37 [Bug 112133] AMD Radeon 5700 / Navi: VAAPI encoding generates garbled output bugzilla-daemon
2019-11-19  9:58 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.