X and SteamOS
X and SteamOS
Posted Sep 18, 2014 10:26 UTC (Thu) by Merovius (guest, #95489)In reply to: X and SteamOS by edeloget
Parent article: X and SteamOS
> linking is a requirement they can actually enforce, as well as using a
> specific X library and so on.
I don't think it is wise or ethically correct to ban specific technologies from steam. Any by the way, with this argument they won't need LD_PRELOAD either. They can just provide their own implementation of the X-Protocol and enforce use of that.
> That sounds a bit complex to handle the interception of a few
> functions
It's really not. I would actually argue, it is a *lot* easier then doing an LD_PRELOAD mechanism in a portable and stable way.
> not to mention that the request still have to go through some
> ICP mechanism.
You add a roundtrip through a UDS or a loopback device, yes. That won't make any practical difference. I am not entirely sure about "a few functions" either, by the way, depending on how they implemented the rescaling. But they quite possibly might have to rescale on pretty much *any* function that handles coordinates, which would mean pretty much any function. With triplication for Xlib, xcb and the serverside-fallback. And since Xlib has such a non-uniform API you would actually have to touch all functions it provides.
With a protocol-interception you can generate code for all X-request in an automated way (e.g. from the xcb protocol descriptions) and handle in one catch *all* ways to communicate with the X-Server.
Posted Sep 18, 2014 15:42 UTC (Thu)
by jwarnica (subscriber, #27492)
[Link]
If you want to write games doing something... unusual... or run those games, feel free. If you want to be very confident an arbitrary game from the store will work, or be very confident your game will have near zero compatibility related support questions, use Steam.
X is designed to do... pretty much anything. Getting to a state of "always works" requires limiting that down. Ethics has nothing to do with it.
Posted Sep 30, 2014 3:35 UTC (Tue)
by imunsie (guest, #68550)
[Link]
X and SteamOS
X and SteamOS
