GNOME Bugzilla – Bug 766468
kmssink: add libdrm in gst-libs/ext
Last modified: 2018-11-03 13:51:21 UTC
It would be nice to add libdrm/libkms in gst-libs/ext so the users won't need to have installed it in their systems (small embedded systems), also we could add particular hacks there for specific SoCs.
As in bundling libdrm/libkms it within gstreamer? That doesn't sound like a good idea at all.
(In reply to Matthew Waters (ystreet00) from comment #1) > As in bundling libdrm/libkms it within gstreamer? That doesn't sound like a > good idea at all. Not bundling it, but having a subset of it, with what the element uses.
(In reply to Víctor Manuel Jáquez Leal from comment #2) > Not bundling it, but having a subset of it, with what the element uses. That's not sounding any better...
It's the nature of libdrm, where the kernel API evolve (along with libdrm) very quickly. We don't expect distros to keepup so well, specially the embedded distros. kmssink, for many of us, is a test tool. It's more important to be able to get that built quickly then to have it well integrated inside the OS. I don't think any sensible final integration will allow GStreamer to be the DRM master, unless you have a very restricted use case in mind. Another option, as libdrm/libkms are just wrappers around the DRM ioctl would be to implement our own wrappers. In the end, I don't see any difference between this and the v4l2 headers in the v4l2 elements.
-- 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/gst-plugins-bad/issues/389.