[Bug 793339] kmssink: Renders at half my display refresh rate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 15 10:40:07 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793339

Randy Li (ayaka) <ayaka at soulik.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ayaka at soulik.info

--- Comment #5 from Randy Li (ayaka) <ayaka at soulik.info> ---
Created attachment 370952
  --> https://bugzilla.gnome.org/attachment.cgi?id=370952&action=edit
The  drm patch in rockchip 4.4

I talked to ndufresne in the IRC, in the rockchip kernel, we adapt a new method
to solve the performance problem with 4k video. This patch won't solve the
performance unless modified the kernel.

Here is the log without the kernel patch I uploaded, it looks

root at firefly-rk3288:~# gst-launch-1.0 --gst-debug=kmssink:5 filesrc
location=videos/tokyo_2013_4k.mp4 ! qtdemux ! h264parse ! mppv
ideodec ! queue ! kmssink                                                       
Setting pipeline to PAUSED ...                                                  
0:00:00.562194390   393   0x137460 INFO                 kmssink
gstkmssink.c:358:log_drm_version:<kmssink0> DRM v1.0.0 [rockchip —
 RockChip Soc DRM — 20140818]                                                   
0:00:00.562868432   393   0x137460 INFO                 kmssink
gstkmssink.c:405:get_drm_caps:<kmssink0> prime import (✓) / prime 
export (✓) / async page flip (✗)                                                
0:00:00.563487057   393   0x137460 DEBUG                kmssink
gstkmssink.c:616:gst_kms_sink_start:<kmssink0> Atomic modesetting 
support enabled                                                                 
0:00:00.573946517   393   0x137460 INFO                 kmssink
gstkmssink.c:539:ensure_allowed_caps:<kmssink0> ignoring format RG
24                                  
....
0:00:00.641102898   393   0x119400 DEBUG                kmssink
gstkmssink.c:1034:gst_kms_sink_set_caps:<kmssink0> negotiated cap$
 = video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160,
interlace-mode=(string)progressive, multiview-mode=(strin$
)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flop$
ed/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1,
chroma-site=(string)mpeg2, colorimetry=(string)bt2020, framerate=(fr$
ction)24/1                                                                      
0:00:00.641244648   393   0x119400 DEBUG                kmssink
gstkmssink.c:1557:gst_kms_sink_drain:<kmssink0> draining          
Pipeline is PREROLLED ...                                                       
Setting pipeline to PLAYING ...                                                 
New clock: GstSystemClock                                                       
WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of
buffers are being dropped.                             
Additional debug info:                                                          
../../../../git/libs/gst/base/gstbasesink.c(2902): gst_base_sink_is_too_late
(): /GstPipeline:pipeline0/GstKMSSink:kmssink0:      
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of
buffers are being dropped.
Additional debug info:
../../../../git/libs/gst/base/gstbasesink.c(2902): gst_base_sink_is_too_late
(): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of
buffers are being dropped.
Additional debug info:
../../../../git/libs/gst/base/gstbasesink.c(2902): gst_base_sink_is_too_late
(): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: A lot of
buffers are being dropped.

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


More information about the gstreamer-bugs mailing list