[Bug 785092] 20xH264 Video Decode Render-less CPU Usage spike up to ~70% with flag sync=false

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 19 19:23:42 UTC 2017


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

--- Comment #7 from sreerenj <bsreerenj at gmail.com> ---
This bug has been reported internally and we did some investigations too.

Without Peng's patch, the kernel does implicit syncing. Peng's patch is adding
explicit syncing. Ideally, both should behave similarly but there seem to be
some differences in Kernel:

Let me copy & paste Peng's comment on this:

"the root cause of this issue is that Linux kernel i95 driver uses spin not
sleep to implement the wait for some operating GEM Buffer Objects to be un
busy.
If the explicit sync/wait/map() functions are added during the decoding, it
replaces the spin with sleep and saves the CPU usages"

-- 
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