Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 94 17:24:07 MST
From:      terry@cs.weber.edu (Terry Lambert)
To:        dawes@physics.su.oz.au (David Dawes)
Cc:        kaleb@x.org, hackers@freebsd.org
Subject:   Re: syscons & multiple Xservers?
Message-ID:  <9412180024.AA26627@cs.weber.edu>
In-Reply-To: <199412160146.AA10014@physics.su.OZ.AU>; from "David Dawes" at Dec 16, 94 12:46 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.

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


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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