dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106919] Stuttering when trying to decode stream encoded with omx
@ 2018-06-14 14:30 bugzilla-daemon
  2018-06-14 14:31 ` bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 14:30 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 106919
           Summary: Stuttering when trying to decode stream encoded with
                    omx
           Product: Mesa
           Version: 18.0
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: ricardo.ribalda@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

We have the following configuration:

With this configuration:
Mesa 18.1.1 AMD Radeon R7 Graphics (CARRIZO, DRM 3.25.0, 4.17.0, LLVM 6.0.1)

When we decode with OMX a video that was previously encoded with OMX, the video
seems to roll back a second once in a while (Please take a look to the videos,
it is hard to explain what is happening).

We are accessing libmesa-omx with libomx-bellagio 0.9.3 and gstreamer 1.12.4

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
@ 2018-06-14 14:31 ` bugzilla-daemon
  2018-06-14 14:33 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 14:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Ricardo Ribalda <ricardo.ribalda@gmail.com> ---
Created attachment 140154
  --> https://bugs.freedesktop.org/attachment.cgi?id=140154&action=edit
Original file encoded with omx (one keyframe per second)

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
  2018-06-14 14:31 ` bugzilla-daemon
@ 2018-06-14 14:33 ` bugzilla-daemon
  2018-06-14 18:32 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 14:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Ricardo Ribalda <ricardo.ribalda@gmail.com> ---
Created attachment 140156
  --> https://bugs.freedesktop.org/attachment.cgi?id=140156&action=edit
Sluttering (how do I see the video with omx decode)

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
  2018-06-14 14:31 ` bugzilla-daemon
  2018-06-14 14:33 ` bugzilla-daemon
@ 2018-06-14 18:32 ` bugzilla-daemon
  2018-06-14 18:36 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 18:32 UTC (permalink / raw)
  To: dri-devel


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

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

Julien Isorce <julien.isorce@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boyuan.zhang@amd.com,
                   |                            |leoxsliu@gmail.com

--- Comment #3 from Julien Isorce <julien.isorce@gmail.com> ---
Is it a regression ? Was it working for you before on the same or other config
?

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-06-14 18:32 ` bugzilla-daemon
@ 2018-06-14 18:36 ` bugzilla-daemon
  2018-06-14 19:18 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 18:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Ricardo Ribalda <ricardo.ribalda@gmail.com> ---
I do not know. It is the first time that I use this configuration: omx for
encoding and decoding.

The only thing that I know for sure is that the effect gets worse and worse if
I increase the frequency of key frames.

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-06-14 18:36 ` bugzilla-daemon
@ 2018-06-14 19:18 ` bugzilla-daemon
  2018-06-14 19:26 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 19:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Julien Isorce <julien.isorce@gmail.com> ---
Can you try gstreamer-vaapi ? to compare with another hw decoder. And with sw
decoders in gstreamer it works ? And other players ?
I am trying to determine if the issue is only in the omx decoder.

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-06-14 19:18 ` bugzilla-daemon
@ 2018-06-14 19:26 ` bugzilla-daemon
  2018-06-14 19:27 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 19:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Ricardo Ribalda <ricardo.ribalda@gmail.com> ---
I tried this combinations with gstreamer:

sw encoding + sw decoding (libva): works

sw encoding + omx decoding: works

omx encoding + sw decoding (libva): works

omx encoding + omx decoding : fails


I havent tried vaapi yet. I can try to give it a try tomorrow and report
results

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-06-14 19:26 ` bugzilla-daemon
@ 2018-06-14 19:27 ` bugzilla-daemon
  2018-06-15 10:08 ` bugzilla-daemon
  2019-09-25 18:08 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-14 19:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Ricardo Ribalda <ricardo.ribalda@gmail.com> ---
BTW: Are you aware of anyway that I can validate that a video is properly
encoded, besides playing it?

Thanks!

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-06-14 19:27 ` bugzilla-daemon
@ 2018-06-15 10:08 ` bugzilla-daemon
  2019-09-25 18:08 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-15 10:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Ricardo Ribalda <ricardo.ribalda@gmail.com> ---
We are trying with vappi and we cannot reproduce the bug. This is the pipeline
that we are using:

gst-launch-1.0 videotestsrc ! video/x-raw,width=800,height=600,framerate=60/1 !
timeoverlay  ! videoconvert ! vaapih264enc ! video/x-h264,profile=main !
h264parse ! vaapih264dec ! vaapisink sync=0 --gst-debug=*:3


To sumarise

ENC -> DEC : Result

sw    -> sw    : OK
sw    -> omx   : OK
sw    -> vappi : OK
omx   -> sw    : OK
omx   -> omx   : FAIL
omx   -> vappi : OK
vappi -> sw    : OK
vappi -> omx   : OK
vaapi -> vappi : OK

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

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

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

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

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

* [Bug 106919] Stuttering when trying to decode stream encoded with omx
  2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-06-15 10:08 ` bugzilla-daemon
@ 2019-09-25 18:08 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-09-25 18:08 UTC (permalink / raw)
  To: dri-devel


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

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

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

--- Comment #9 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- 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/mesa/mesa/issues/1315.

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

[-- Attachment #1.2: Type: text/html, Size: 2466 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] 10+ messages in thread

end of thread, other threads:[~2019-09-25 18:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 14:30 [Bug 106919] Stuttering when trying to decode stream encoded with omx bugzilla-daemon
2018-06-14 14:31 ` bugzilla-daemon
2018-06-14 14:33 ` bugzilla-daemon
2018-06-14 18:32 ` bugzilla-daemon
2018-06-14 18:36 ` bugzilla-daemon
2018-06-14 19:18 ` bugzilla-daemon
2018-06-14 19:26 ` bugzilla-daemon
2018-06-14 19:27 ` bugzilla-daemon
2018-06-15 10:08 ` bugzilla-daemon
2019-09-25 18:08 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox