[PATCH] unstable/drm-lease: DRM lease protocol support

Pekka Paalanen ppaalanen at gmail.com
Fri Jun 28 09:58:46 UTC 2019


On Fri, 28 Jun 2019 11:23:53 +0200
Philipp Zabel <p.zabel at pengutronix.de> wrote:

> On Thu, 2019-06-27 at 20:36 +0000, Simon Ser wrote:
> > What would be other use-cases for DRM leases? Probably fullscreen games?  
> 
> One use case I'd like would be presentation software, where tagging the
> projector as non-desktop beforehand would avoid spilling the desktop
> onto the presentation display upon connection, before the presentation
> is started.

Hi,

I don't think that is a good idea. Presentation software (Libreoffice,
web browsers, Evince, ...) probably does not want to grow a whole DRM
KMS backend just to be able to drive a projector.

It would be much better for compositors to handle presentation outputs
specially on their own to not extend the normal desktop contents there,
and have a simple dedicated extension for presentation software to put
a wl_surface on a presentation output (if necessary, maybe xdg_output
and fullscreening to a specific wl_output is already enough).

There are much more categories of outputs than just "desktop" and
"non-desktop". I would avoid extending and confusing the meaning of
"non-desktop" from what it currently is in the Linux kernel.

Personally I am sceptical that even non-VR games would really benefit
from DRM leases, because games might want to switch between windowed and
fullscreen, users might want to see desktop notifications sometimes,
etc. and again the DRM KMS backend is not easy to write.

VR apps at least can rely on a VR runtime that knows how to drive DRM
KMS properly, and there the use of DRM leases is well justified.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20190628/960f12ba/attachment.sig>


More information about the wayland-devel mailing list