fullscreen support for games

Glynn Clements glynn at gclements.plus.com
Thu Oct 27 08:33:48 PDT 2005


Andre Heynatz wrote:

> >>>So start a second X server at 16 bpp and run the game on that.
> >>
> >>This is inconvenient, because it involves user action.
> > 
> > 
> > It would be trivial for the game to include a "launcher" which starts
> > another X server automatically. Any games which take over the entire
> > display should probably be using a completely separate X server (even
> > if the existing one uses the correct depth) to ensure that they don't
> > interfere with existing applications.
> 
> Yes, this is possible now and a solution for modern systems with
> enough main memory. I have tried it with a very recent Debian
> unstable system. Reconfiguring xserver-common gives me a security
> setting for X server start:
> 
> Select what type of user has permission to start the X server.
> * Root Only
> * Console Users Only
> * Anybody
> 
> I have chosen 'Anybody' and started another X server:
> 
> $ X :1 -depth 16

Use "startx" to start another server manually; that will normally set
up the authentication details correctly.

A dedicated launcher would invoke xauth itself.

> And I do not want to determine the right number in 'X
> :number', I want to do a 'X :give-me-a-unique-number' which is
> difficult at the process level I think.

Pick the first number for which no corresponding file exists in
/tmp/.X11-unix.

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the xorg mailing list