Re: [Dri-devel] Multiple VTs with DRI
On Tue, Oct 14, 2003 at 09:22:33PM -0700, Jon Smirl wrote: --- Alex Deucher [EMAIL PROTECTED] wrote: As I recall, no. As it is now, only a single instance of Xfree86 can use the DRI. I think it might be possible by adapting the resume code to reinitialize state and agp on a VT switch, however, I may be wrong. Alex Am I right in thinking that suspend/resume and VT switch should be the same piece of code with slightly different behavior? Does the suspend/resume code save all of the texture memory and AGP state? Or does it rebuild it? Your right Jon. The resume code gets enabled when the DRI is enabled and is executed during a VT switch. Alan. --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Multiple VTs with DRI
Jon Smirl wrote: --- Alex Deucher [EMAIL PROTECTED] wrote: As I recall, no. As it is now, only a single instance of Xfree86 can use the DRI. I think it might be possible by adapting the resume code to reinitialize state and agp on a VT switch, however, I may be wrong. Am I right in thinking that suspend/resume and VT switch should be the same piece of code with slightly different behavior? Does the suspend/resume code save all of the texture memory and AGP state? Or does it rebuild it? My first attempt at resume for the radeon resulted in the reinit hack (which Michel has since turned into a fantastic piece of work). This releases all resources at VT switch away and re-initialises them at VT switch-to. With the reinit patch, you would be able to run any number of DRI-using XFree86 instances, but texture memory and AGP state are not saved, they are simply reinitialised. The new resume code doesn't release any resources (so it doesn't allow running multiply DRI-using instances of XFree86) but it re-initialises only hardware at every VT switch. Texture memory is not saved. AGP state is reinitialised. I hope this answers your questions. Thanks, Charl -- charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/ --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Multiple VTs with DRI
--- Charl P. Botha [EMAIL PROTECTED] wrote: My first attempt at resume for the radeon resulted in the reinit hack (which Michel has since turned into a fantastic piece of work). This releases all resources at VT switch away and re-initialises them at VT switch-to. With the reinit patch, you would be able to run any number of DRI-using XFree86 instances, but texture memory and AGP state are not saved, they are simply reinitialised. Can I get a copy of this? = Jon Smirl [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Multiple VTs with DRI
On Wed, 2003-10-15 at 16:56, Jon Smirl wrote: --- Charl P. Botha [EMAIL PROTECTED] wrote: My first attempt at resume for the radeon resulted in the reinit hack (which Michel has since turned into a fantastic piece of work). This releases all resources at VT switch away and re-initialises them at VT switch-to. With the reinit patch, you would be able to run any number of DRI-using XFree86 instances, but texture memory and AGP state are not saved, they are simply reinitialised. Can I get a copy of this? http://penguinppc.org/~daenzer/DRI/radeon-reinit.diff Note that this doesn't work while clients have the DRM device open. -- Earthling Michel Dnzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Dri-devel] Multiple VTs with DRI
If I am running two copies of Xfree/DRI on different VT's and both are using the same hardware, is 3D state maintained on VT switch? Including all of the texture memory? = Jon Smirl [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Multiple VTs with DRI
As I recall, no. As it is now, only a single instance of Xfree86 can use the DRI. I think it might be possible by adapting the resume code to reinitialize state and agp on a VT switch, however, I may be wrong. Alex --- Jon Smirl [EMAIL PROTECTED] wrote: If I am running two copies of Xfree/DRI on different VT's and both are using the same hardware, is 3D state maintained on VT switch? Including all of the texture memory? = Jon Smirl [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Dri-devel] Multiple VTs with DRI
--- Alex Deucher [EMAIL PROTECTED] wrote: As I recall, no. As it is now, only a single instance of Xfree86 can use the DRI. I think it might be possible by adapting the resume code to reinitialize state and agp on a VT switch, however, I may be wrong. Alex Am I right in thinking that suspend/resume and VT switch should be the same piece of code with slightly different behavior? Does the suspend/resume code save all of the texture memory and AGP state? Or does it rebuild it? = Jon Smirl [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel