Discussion:
[Bug 748686] New: encodebin/decodebin: va/non-va does not play happily together as good children should
"GStreamer" (GNOME Bugzilla)
2015-04-30 08:49:29 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=748686

Bug ID: 748686
Summary: encodebin/decodebin: va/non-va does not play happily
together as good children should
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@gmail.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---

The problem is likely in essence similar for encoding and decoding.

When using CPUs that have some form of VA (e.g. QuickSync) and when the
gst-vaapi elements are installed, when encoding and/or decoding; the va variant
of the decoder/encoder is chosen (software and hardware elements seem to have
the same rank though).

This is fine in most cases where a user wants to decode a single video.

When more streams are processed, it is easy to overload the system (as seen in
framedrops for encoding and/or decoding), even thought the system has capacity
left.

On top of that, it is seen that, when the vaapi elements are installed on a
non-VA enabled system; it will break the functionality (tested for encoding at
least).

Improvements would be:

1/ encodebin (and decodebin) only plug in the va variants on supported CPUs.
Maybe the va elements should return when there is no support.

2/ It should be configurable to use the va/non-va variant on a higher level so
that e.g. the first 6 instances use the va variants and others the non-va
variant. Would it be a good idea in a mechanism like playbin where the diplay
element can be specified as a property?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2015-04-30 08:58:37 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=748686

Víctor Manuel Jáquez Leal <***@igalia.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@igalia.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"gstreamer-vaapi" (GNOME Bugzilla)
2015-04-30 12:07:47 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=748686

Nicolas Dufresne (stormer) <***@collabora.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@collabora.
| |co.uk
Component|gst-plugins-base |general
Assignee|gstreamer-***@lists.freede |gstreamer-vaapi-***@gnome
|sktop.org |.bugs
Product|GStreamer |gstreamer-vaapi
Target Milestone|git master |---
QA Contact|gstreamer-***@lists.freede |gstreamer-vaapi-***@gnome
|sktop.org |.bugs

--- Comment #1 from Nicolas Dufresne (stormer) <***@collabora.co.uk> ---
(In reply to Marc Leeman from comment #0)
Post by "GStreamer" (GNOME Bugzilla)
1/ encodebin (and decodebin) only plug in the va variants on supported CPUs.
Maybe the va elements should return when there is no support.
This is already handled in decodebin by trying to set the element to READY
state before using it.
Post by "GStreamer" (GNOME Bugzilla)
2/ It should be configurable to use the va/non-va variant on a higher level
so that e.g. the first 6 instances use the va variants and others the non-va
variant. Would it be a good idea in a mechanism like playbin where the
diplay element can be specified as a property?
Dealing with instance and resources saturation should be handled by not letting
a new element got to ready state. Though note that detecting HW saturation is
non-trivial for VA since the needed HW is highly shared.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-03-24 16:54:59 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=748686

sreerenj <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
Component|general |gstreamer-vaapi
Version|git master |unspecified
Assignee|gstreamer-vaapi-***@gnome |gstreamer-***@lists.freede
|.bugs |sktop.org
Product|gstreamer-vaapi |GStreamer
Target Milestone|--- |git master
QA Contact|gstreamer-vaapi-***@gnome |gstreamer-***@lists.freede
|.bugs |sktop.org

--- Comment #2 from sreerenj <***@gmail.com> ---
Moving to Product:GStreamer, Component:gstreamer-vaapi
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-11-03 15:46:49 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=748686

GStreamer system administrator <***@gstreamer.net> changed:

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

--- Comment #3 from GStreamer system administrator <***@gstreamer.net> ---
-- 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/gstreamer/gstreamer-vaapi/issues/30.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...