[Bug 795195] gst_vaapi_texture_glx_put_surface_unlocked is blocked 75-80% of the time

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 17 15:03:22 UTC 2018


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

--- Comment #11 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
I asked in #intel-gfx

I just c&p the chat for sake of a real fix in intel-vaapi-driver

ceyusa     hi.. I have seen a couple complains about the latency when calling
DRM_IOCTL_I915_GEM_SET_DOMAIN.. do you have some info in this regard?
mkuoppal    ceyusa: changing the domain will take time as we might need to wait
for rendering to finish and flush
ceyusa    mkuoppal: thanks
ceyusa    out of curiosity: do you have any reported bug related?
*    ickle lost irc history
ickle    ceyusa: related to what?
mkuoppal    set domain latency
ceyusa    that
ickle    ceyusa: friends don't let friends use set-domain
ceyusa    ickle: hehehe
ickle    if it weren't for random swapping, we could just let userspace handle
cache domains
ceyusa    because in va, vaSyncSurface boils down to that ioctl
ickle    right, that's just a wait-for-rendering and manipulate cpu caches
ickle    SyncSurface should just be GEM_WAIT to avoid the cpu cache
manipulation side-effects
ickle    and preferably have userspace fences to avoid touching the kernel
until it wants to sleep+wait
ceyusa    agree

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