Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907670 - media-libs/gst-plugins-bad-1.22.3-r1 does not install Intel Quick Sync plugin
Summary: media-libs/gst-plugins-bad-1.22.3-r1 does not install Intel Quick Sync plugin
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-01 18:56 UTC by Chris Mayo
Modified: 2024-04-07 21:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2023-06-01 18:56:37 UTC
$ gst-inspect-1.0 qsv
No such element or plugin 'qsv'


After amending ebuild with:

--- gst-plugins-bad-1.22.3-r1.ebuild
+++ gst-plugins-bad-1.22.3-r2.ebuild
@@ -60,12 +60,13 @@
 }
 
 multilib_src_configure() {
-	GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls"
+	GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk qsv hls"
 
 	local emesonargs=(
 		-Dshm=enabled
 		-Dipcpipeline=enabled
 		-Dhls=disabled
+		$(meson_feature qsv)
 		$(meson_feature vnc librfb)
 
 		$(meson_feature wayland)


/usr/lib64/gstreamer-1.0/libgstqsv.so installed and:

$ gst-inspect-1.0 qsv
libva info: VA-API version 1.18.0
...
Plugin Details:
  Name                     qsv
  Description              Intel Quick Sync Video plugin
  Filename                 /usr/lib64/gstreamer-1.0/libgstqsv.so
  Version                  1.22.3
  License                  LGPL
  Source module            gst-plugins-bad
...

Or is that a gst-plugins-qsv ebuild needed?

https://gstreamer.freedesktop.org/documentation/qsv/index.html?gi-language=c
Comment 1 Mart Raudsepp gentoo-dev 2024-03-30 21:03:18 UTC
This was added without a gstreamer@ ACK to gst-plugins-bad via this USE=qsv apparently, but leaving the bug open to convert it to a gst-plugins-qsv or similar (or perhaps decide to leave it as-is as similar to vaapi case)
Comment 2 Nowa Ammerlaan gentoo-dev 2024-04-07 16:26:45 UTC
Note there are 2 plugins that implement Quick Sync Video:
- The msdk plugin by intel (via media-libs/libvpl or media-libs/intel-mediasdk as dispatcher).
- The third-party qsv plugin (with it's own dispatcher) which is new in version 1.22.

However, as leio and I discover today, neither plugin has a non-zero Rank and thus neither is actually used.
Comment 3 Mart Raudsepp gentoo-dev 2024-04-07 17:45:54 UTC
I will remove USE=qsv from gst-plugins-bad before the update gets stabled and then reintroduce it with a media-plugins/gst-plugins-msdk later, and add media-plugins/gst-plugins-qsv then as well.
But given that we haven't identified anything that actually can use these things (other than manual gst-launch-1.0 playing or own code), I'm not going to be in a hurry with this and probably will add them after 1.24 bumps after which I'll be doing a pass of adding any useful missing split packages overall as well.
If someone can point out something that would actually use it, I could see about expediting the adding back.

I was also confused in my comment 1, not realizing at that point that there's a new separate "competing" plugin now.
Comment 4 Mart Raudsepp gentoo-dev 2024-04-07 21:21:55 UTC
Forgot to tag it up: done that in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a074ac0a1a71932a9d415fad89a5962124170f

Leaving bug open for actually adding gst-plugins-qsv and re-adding msdk in the form of gst-plugins-msdk later then.