[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DRI and multiple X servers



Tomas Nykung <tnykung@multi.fi> writes:

> So, here is what I want:
> - 3 X servers running at the same time, started from kdm
> (for graphical login)
>
> - the first server running at 1024x768, with 16 bits colours, DRI enabled
> (for the kids, they mostly play games...)
>
> - the two others running at 1600x1200, with 24 bits colours
>
> So, I edited my /etc/kde2/kdm/Xservers file like this:
> :0 local@tty1 /usr/X11R6/bin/X -dpi 75 -nolisten tcp vt7 -depth 16
> :1 local@tty2 /usr/X11R6/bin/X :1 -dpi 100 -nolisten tcp vt8 -depth 24
> :2 local@tty3 /usr/X11R6/bin/X :2 -dpi 100 -nolisten tcp vt9 -depth 24

> I understand that it's not possible to get DRI support for more than one
> X server at the same time (at least not yet).
> I expected the server running on :0 would be the one that would start
> first, and thus be the one with DRI support, but that doesn't seem to be
> the case... Instead it looks like this is more or less at random(?), and
> I cannot figure out how to tell X (or DRI?) which server that should get
> access to the DRI.

You can put 

   -xf86config XF86Config-4.dri

at the end of the :0 line and alter the config files so just this one
has DRI loaded.

I'd also like it if the order in which multiple X servers started
was more consistent.

Dan



Reply to: