Re: Only one user has DRI
Jerome Glisse <[email protected]> Thu, 08 Nov 2007 15:26:23 +0100
| Newsgroups | gmane.comp.video.dri.user |
|---|---|
| Message-ID | <[email protected]> |
Tormod Volden wrote: > On Nov 8, 2007 12:51 PM, Jerome Glisse <[email protected]> wrote: >> Peter Gaston wrote: >>> What do I need to do to enable DRI for all logged in users? >> My guess would be that the driver does not closing properly on first >> user exit. Does the Xorg log give any informations ? > > Jerome, Peter means users logged in simultaneously (fast user > switching). This is usually implemented as each user running his own X > server. The problem is that only the first X server launched can use > DRI. The second (running at the same time) will have DRI disabled. > > From some discussions I have seen somewhere, future implementations of > fast user switching will probably use one master X server, and having > the different users applications draw on that single server (maybe > through nested servers). > > (Garry, yes two applications can run at the same time and both use DRI.) > > Tormod Oh i didn't get that there was multiple xserver then yes this won't work as i believe we allow only one master on drm. With kernel modesetting we will make sure that the card can truely be shared weither it be by several X server or by one Xserver & other fullscreen app using drm (what ever you want). I don't think we will use one master X server but rather some kind of daemon which will have be a privileged user of drm and will be the app responsible for switching btw others users of drm (so things like access control will be in this daemon and this also allow to do effect a la compiz on user switching). Cheers, Jerome Glisse ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --