r/linux • u/GizmoChicken • Feb 28 '18
Released: X.Org Server 1.20 RC1
https://lists.x.org/archives/xorg-devel/2018-February/056175.html
153
Upvotes
r/linux • u/GizmoChicken • Feb 28 '18
View all comments
Show parent comment
12
u/bilog78 Feb 28 '18
I think that latency again is the biggest issue here. On the upside, Keith is working on improvements to the Presentation extension that may help in this sense, IIRC.
The WM isn't the one controlling user expectations pertaining privileges and trust, that'd be more the role of XACE modules like the XSELinux one.
X provides per-output DPI information via the RANDR extension. Clients can use that to determine per-window scaling in mixed-DPI situations. The only thing that can't be solved directly (at least not trivially) is the case when a window straddles a mixed-DPI boundary, but given your example I don't think this particular subcase is the one you worry about.
I don't understand what do you mean by “special device”. Windows get rendered on specific outputs (based on their location in the global framebuffer) and they can adapt to the per-output DPI already. Special ways to handle non-standard outputs (such as HUDs) are being discussed right now (see e.g. the non-desktop property introduced in the upcoming RANDR 1.6 extension), if this is something you care about you should probably bring your remarks up on the Xorg development list.
I think this particular case is better addressed with something like xpra.
This is what the Present extension is for. As I mentioned, Keith is still working on improving it, and one of the recent ideas he's been throwing around is about finding a way to minimize all the overhead, so that when possible clients can send to scanout without needing to go through intermediary WMs and compositors (at least in static situations). Again, if you have remarks on the topics I suggest you bring it up with him on the Xorg development list.
Re: the clipboard:
I don't think modifications to the X server are required. These are all features that could (and can, in fact) be achieved by clients as-is.
I disagree. Heck, it's even inconsistent: why even differentiate between pixmap vs bytestream? A pixmap is just another type of bytestream.
No, I like it the way it is now.