[PATCH xserver 00/10] Implement RandR 1.6 (leases and non-desktop)

Adam Jackson ajax at nwnk.net
Wed Jan 17 19:03:45 UTC 2018


On Tue, 2018-01-16 at 14:45 -0800, Keith Packard wrote:
> Adam Jackson <ajax at nwnk.net> writes:
> 
> > > Changes since the last series:
> > > 
> > >  * Merged non-desktop and lease support into a single patch
> > >    sequence. They have a dependency on reporting output connection
> > >    status, so it's something of a pain to keep them separate.
> > > 
> > >  * Added RandR lease tests
> > 
> > Is there userspace for this? Patched version of xrandr(1) perhaps?
> 
> I've got xcb patches for the protocol bits, and mesa patches out for
> review that use them. I'm not sure how you'd expect xrandr to take
> advantage of leasing though? As for non-desktop support, xrandr happily
> ignores non-desktop monitors, so that at least works?

I was imagining xrandr could acquire the lease and pause until it was
^C'd, just to exercise whether the state transitions work without
needing to do anything interesting with the lease.

> I think one useful user-space thing I could do that wasn't mesa would be
> to create an X server that used a leased output. I'm not sure how I'd
> get input devices though.

Port Xephyr to EGL and create its EGLDisplay from the lease fd? That'd
be a cute way to do multiseat-on-one-GPU. Unifying the glamor backends
on EGL and dropping GLX would be a nice cleanup anyway.

- ajax


More information about the xorg-devel mailing list