Bug#825833: libkms

2017-01-05 Thread Víctor M . Jáquez L .


On 07/16/16 at 09:46pm, Julien Cristau wrote:
> Where can I see that code?  Why can't it use libdrm directly?
> "embedded" is not an explanation.

kmssink in upstream has done that [1] so this action is not required anymore.

Thus I'm closing the bug.

1. 
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=12e82aac28d0467844233f3cbc9d8ae7c08cd05c



Bug#825833: libkms

2016-07-16 Thread Víctor M . Jáquez L .
On 07/16/16 at 09:46pm, Julien Cristau wrote:
> On Sat, Jul 16, 2016 at 10:20:12 +0200, Víctor M. Jáquez L. wrote:
> 
> > On 07/15/16 at 10:33pm, Julien Cristau wrote:
> > > On Wed, Jul  6, 2016 at 18:46:32 +0200, ydir...@free.fr wrote:
> > > 
> > > > In fact, it looks like libkms was built in the past, but is explicitely
> > > > disabled now.  There is probably a reason for this, but there is no more
> > > > information than that in the changelog, and no README.Debian.
> > > > 
> > > > Could we please have more insight about why this decision was made ?
> > > > 
> > > libkms wasn't used/useful then, I'd need some convincing to re-enable
> > > it.
> > 
> > Perhaps it won't be useful in desktop systems or servers, but, as far as I
> > see, it is useful in embedded, if you want to draw without any display
> > server.
> > 
> > But I agree, I only have one modest example: kmssink, a simple GStreamer 
> > video
> > sink, targeted precisely to embedded systems.
> > 
> Where can I see that code?  Why can't it use libdrm directly?
> "embedded" is not an explanation.

Here's the code of gstkmssink

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/kms


libkms API is used mostly by the buffer allocator:

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/kms/gstkmsallocator.c


vmjl



Bug#825833: libkms

2016-07-16 Thread Julien Cristau
On Sat, Jul 16, 2016 at 10:20:12 +0200, Víctor M. Jáquez L. wrote:

> On 07/15/16 at 10:33pm, Julien Cristau wrote:
> > On Wed, Jul  6, 2016 at 18:46:32 +0200, ydir...@free.fr wrote:
> > 
> > > In fact, it looks like libkms was built in the past, but is explicitely
> > > disabled now.  There is probably a reason for this, but there is no more
> > > information than that in the changelog, and no README.Debian.
> > > 
> > > Could we please have more insight about why this decision was made ?
> > > 
> > libkms wasn't used/useful then, I'd need some convincing to re-enable
> > it.
> 
> Perhaps it won't be useful in desktop systems or servers, but, as far as I
> see, it is useful in embedded, if you want to draw without any display
> server.
> 
> But I agree, I only have one modest example: kmssink, a simple GStreamer video
> sink, targeted precisely to embedded systems.
> 
Where can I see that code?  Why can't it use libdrm directly?
"embedded" is not an explanation.

Cheers,
Julien



Bug#825833: libkms

2016-07-16 Thread Víctor M . Jáquez L .
On 07/15/16 at 10:33pm, Julien Cristau wrote:
> On Wed, Jul  6, 2016 at 18:46:32 +0200, ydir...@free.fr wrote:
> 
> > In fact, it looks like libkms was built in the past, but is explicitely
> > disabled now.  There is probably a reason for this, but there is no more
> > information than that in the changelog, and no README.Debian.
> > 
> > Could we please have more insight about why this decision was made ?
> > 
> libkms wasn't used/useful then, I'd need some convincing to re-enable
> it.

Perhaps it won't be useful in desktop systems or servers, but, as far as I
see, it is useful in embedded, if you want to draw without any display
server.

But I agree, I only have one modest example: kmssink, a simple GStreamer video
sink, targeted precisely to embedded systems.

Recently I ended up installing Fedora because it ships libkms.

Thanks

vmjl


signature.asc
Description: PGP signature


Bug#825833: libkms

2016-07-15 Thread ydirson
Well, the fact that it's enabled by default upstream, and that at least
one very recent piece of software requires it could weight a bit :)

- Mail original -
> De: "Julien Cristau" <jcris...@debian.org>
> À: ydir...@free.fr, 825...@bugs.debian.org
> Cc: 825833-submit...@bugs.debian.org
> Envoyé: Vendredi 15 Juillet 2016 22:33:41
> Objet: Re: Bug#825833: libkms
> 
> On Wed, Jul  6, 2016 at 18:46:32 +0200, ydir...@free.fr wrote:
> 
> > In fact, it looks like libkms was built in the past, but is
> > explicitely
> > disabled now.  There is probably a reason for this, but there is no
> > more
> > information than that in the changelog, and no README.Debian.
> > 
> > Could we please have more insight about why this decision was made
> > ?
> > 
> libkms wasn't used/useful then, I'd need some convincing to re-enable
> it.
> 
> Cheers,
> Julien
> 



Bug#825833: libkms

2016-07-15 Thread Julien Cristau
On Wed, Jul  6, 2016 at 18:46:32 +0200, ydir...@free.fr wrote:

> In fact, it looks like libkms was built in the past, but is explicitely
> disabled now.  There is probably a reason for this, but there is no more
> information than that in the changelog, and no README.Debian.
> 
> Could we please have more insight about why this decision was made ?
> 
libkms wasn't used/useful then, I'd need some convincing to re-enable
it.

Cheers,
Julien



Bug#825833: libkms

2016-07-06 Thread ydirson


- Mail original -
> De: "Sven Joachim" <svenj...@gmx.de>
> À: ydir...@free.fr
> Cc: 825...@bugs.debian.org, 825833-submit...@bugs.debian.org
> Envoyé: Mercredi 6 Juillet 2016 19:14:41
> Objet: Re: Bug#825833: libkms
> 
> On 2016-07-06 18:46 +0200, ydir...@free.fr wrote:
> 
> > In fact, it looks like libkms was built in the past, but is
> > explicitely
> > disabled now.  There is probably a reason for this, but there is no
> > more
> > information than that in the changelog, and no README.Debian.
> >
> > Could we please have more insight about why this decision was made
> > ?
> 
> It seems libkms was considered deprecated in bug #684593[1], but at
> least Fedora, Mageia and Archlinux continue to ship it.

Well, I'd think we could wait for upstream to disable it by default
before stopping to ship it.

>From my drm-beginner point of view at least, libkms seems a much more friendly
option than ioctl'ing for buffer management :)



Bug#825833: libkms

2016-07-06 Thread Sven Joachim
On 2016-07-06 18:46 +0200, ydir...@free.fr wrote:

> In fact, it looks like libkms was built in the past, but is explicitely
> disabled now.  There is probably a reason for this, but there is no more
> information than that in the changelog, and no README.Debian.
>
> Could we please have more insight about why this decision was made ?

It seems libkms was considered deprecated in bug #684593[1], but at
least Fedora, Mageia and Archlinux continue to ship it.

Cheers,
   Sven


1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684593#36



Bug#825833: libkms

2016-07-06 Thread ydirson
In fact, it looks like libkms was built in the past, but is explicitely
disabled now.  There is probably a reason for this, but there is no more
information than that in the changelog, and no README.Debian.

Could we please have more insight about why this decision was made ?

best regards,
-- 
Yann