Re: Only one user has DRI
Jerome Glisse <[email protected]> Thu, 08 Nov 2007 12:49:41 +0100
| Newsgroups | gmane.comp.video.dri.user |
|---|---|
| Message-ID | <[email protected]> |
Garry Hurley wrote: > Hmm.. I don't think the DRI will work for multiple concurrent users on > the same computer. Why? Well, DRI - from what I understand - is > direct rendering. That means putting the data directly into the > display buffer. You really do not want more than one program at a > time dumping data directly to the video card. Imagine running two > highly graphics intensive games at the same time, like GLQuake and > Half-Life 2 (maybe my gaming knowledge is a bit outdated, but you know > what I mean). You can't play both full-screen at the same time > without having some trouble with frame rates - if you can play them at > all. Why would you want two users to run graphics applications on the > same graphics card at the same time anyhow? After all, you only have > one display connected at a time (if you have a dual-head card, this > actually still counts as a single display, since only one user can > access both monitors). > > Now, if you are having trouble with non-root users accessing the DRI, > you need to just add a DRI section to your xorg.conf file, and make it > with either a "Mode 0666" line or a "Group <group-name>" entry. > Remember, no quotes, but the <group-name> should be quoted, and the > group it represents should include any user you want to have access to > the DRI. > > Garry > DRI is likely bugguy for multiple user but this should work or at least will work. So yes you should be able to direct rendering for multiple user and this shouldn't cause any trouble. This is one off the main aim in the kernel modesetting work where we want to make sure that several client can share properly acceleration. 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/ --