Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 1994 18:22:16 +1100 (EST)
From:      David Dawes <dawes@physics.su.oz.au>
To:        terry@cs.weber.edu (Terry Lambert)
Cc:        dawes@physics.su.oz.au, kaleb@x.org, hackers@freebsd.org
Subject:   Re: syscons & multiple Xservers?
Message-ID:  <199412180722.AA25280@physics.su.OZ.AU>
In-Reply-To: <9412180024.AA26627@cs.weber.edu> from "Terry Lambert" at Dec 17, 94 05:24:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>[ ... multiple X servers with just one console ... ]
>
>> The race condition is when two servers try to initialise the video
>> hardware at the same time.  It should be possible to prevent the second
>> one from accessing the hardware until the first one has got the point
>> where it can allow a VT switch providing that there is at least a little
>> delay between when they start.  I don't know if this requires changes
>> in syscons, XFree86 or both (I suspect both).
>
>This worked fine in 1.1.  It's the console interface that changed.
>
>I suspect no X changes are needed.  The problem is that locking the
>resource is necessary, and you have to lock it over the entire
>critical section.  Right now the critical sections are allowed to
>interleave.
>
>In point of fact, you *can* start up two servers.

Yes.

>You just have to *never* switch directly between the servers without
>switching to a vanilla console in between.

I've never had any problem switching directly from one server to another.

David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412180722.AA25280>