Re: [v8] media: imx: add mem2mem device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le mercredi 29 mai 2019 à 16:55 -0400, Sven Van Asbroeck a écrit :
> Philipp and Fabio,
> 
> On Wed, May 29, 2019 at 12:53 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:
> > Does this patch from Philipp fix the problem?
> > https://git.pengutronix.de/cgit/pza/linux/commit/?h=imx-drm/fixes&id=137caa702f2308f7ef03876e164b0d0f3300712a
> 
> I am now running 5.2-rc2 with Philipp's non-plus imx6q patch.
> 
> Performance is still much worse than the Freescale baseline.
> 
> I am not at all worried about vpu scaler performance, after all v8 is an
> in-progress patch.
> 
> I am much more concerned about the CODA h264 slowdown. My 1080p30 test
> video runs at half the speed compared to the Freescale kernel. The best it
> can do is 28fps, which results in visible 'jerks' in the video. Note that
> this is without using the scaler.
> 
> Questions:
> - is the performance slowdown a known issue?
> - is there anything I've missed in the gstreamer pipelines below?
> - is there anything I can do to help?
> 
> A) mainline 5.2-rc2 with Philipp's latest non-plus patch:
> $ time gst-launch-1.0 filesrc
> location=/home/default/jellyfish-10-mbps-hd-h264.mkv ! matroskademux !
> h264parse ! v4l2h264dec ! kmssink can-scale=0 sync=0
> real 0m 32.01s

Just for your information, I tested with this pipeline, with kernel
"5.2.0-rc2-00024-gbec7550cca10":

time gst-launch-1.0 filesrc location=~/Videos/jellyfish-10-mbps-hd-
h264.mkv ! matroskademux ! h264parse ! v4l2h264dec ! fakevideosink
sync=0 
Définition du pipeline à PAUSED...
Le pipeline est en phase de PREROLL…
Le pipeline a terminé la phase PREROLL…
Passage du pipeline à la phase PLAYING…
New clock: GstSystemClock
EOS reçu de l’élément « pipeline0 ».
Execution ended after 0:00:12.860395248
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)…
Définition du pipeline à NULL…
Libération du pipeline…

real	0m13,411s
user	0m1,398s
sys	0m1,006s

That's about 70fps.

> 
> B) Freescale kernel:
> $ time gst-launch-0.10 filesrc
> location=/home/default/jellyfish-10-mbps-hd-h264.mkv ! decodebin !
> mfw_v4lsink sync=0
> Running time 0:00:14.781129554 render fps 59.941

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux