From: Vladimir D. <vo...@mi...> - 2002-01-28 14:31:08
|
On 28 Jan 2002, Michel [ISO-8859-1] D=E4nzer wrote: > On Mon, 2002-01-28 at 10:00, Vladimir Dergachev wrote: > > > > > > On 28 Jan 2002, Michel [ISO-8859-1] D=E4nzer wrote: > > > > > On Mon, 2002-01-28 at 04:54, Davor Buvinic wrote: > > > > > > > > Yes, running glxgears cause the movie player to crawl and if I star= t to move > > > > or resize their windows X crashes. > > > > > > > > The movie player is MPlayer, today cvs. > > > > > > > > Here is my log file from X. As you can see, at the end of the file = the > > > > following messages appears: > > > > > > > > [...] > > > > (II) R128(0): StopVideo > > > > (EE) R128(0): Idle timed out, resetting engine... > > > > [...] > > > > > > I have an idea what the problem could be. The Xv code still uses dire= ct > > > register access, even when the CCE is running. That's exactly what we > > > want to avoid, because it can crash the chip. :) > > > > > > I probably won't have time this week to work on a solution but I sugg= est > > > you try either shutting down the CCE before accessing registers or > > > adding new Xv functions which use the CCE for register access (=E0 la= the > > > CCE accel functions). I'd prefer not shutting down the CCE at any rat= e. > > > > > > > Yes, that's what happens. I do think we need to shutdown CCE because in > > some case we want to read registers - and not only write. The short ter= m > > solution would be to use XAA->Sync() instead of WaitForEngineIdle becau= se > > WaitForEngineIdle does not guarantee the card is quiscent in CCE mode. > > Sounds like the correct fix, except I don't even see 'WaitForEngineIdle' > in my trees - is that a GATOS novelty? :) Ahh.. sorry it's called XXXXXWaitForIdle :)) WaitForEngineIdle is how its called in ATI sample code. Btw, while I've been sleeping I thought how we could get CCE support into Xvideo. The thing I am really against is duplicating code for case with CCE and without. So, I thought, what about having "Software CCE" ? I.e. always use CCE commands except that in case when dri driver is not availabe emulate it. I am fairly certain emulating indirect buffer and 2d commands would be pretty easy. Vladimir Dergachev > > > -- > Earthling Michel D=E4nzer (MrCooper)/ Debian GNU/Linux (powerpc) develope= r > XFree86 and DRI project member / CS student, Free Software enthusiast > > _______________________________________________ > Gatos-devel mailing list > Gat...@li... > https://lists.sourceforge.net/lists/listinfo/gatos-devel > |