Re: [gut-users] voodoo4 driver problem
Status: Alpha
Brought to you by:
jason379
|
From: J. P. <jas...@ya...> - 2001-03-01 17:37:17
|
Forgive the Yahoo account, I'm on an assignment.
--- Eric Zijlstra <ezi...@us...> wrote:
> When rendering a particular scene (>10k triangles)
> the computer freezes after running for about 20
minutes. The following
> code is used:
>
> void OnFocus() {}
>
> bool OnIdle()
> {
> if( LockGL() ) {
> Draw();
> UnlockGL();
> }
> return true;
> }
>
> It does not crash when rendering in wired frame
> (glPolygonMode())
> OR when reducing the number of LockGL() calls:
Obviously this sounds like a driver bug. I already
have a couple of other workarounds under the hood to
handle Voodoo context switching issues, so I guess
this isn't a big surprise. I assume that you are using
the latest OpenGL drivers, as published by glsetup
(http://www.glsetup.com/)? Have you tried running
Quake or another OpenGL application?
Under Win32 and Linux, you may be able to get away
with locking the context in OnInitGL() and leaving it
at that. It won't work under BeOS, and I'm not sure
about MacOS yet.
Unfortunately I don't have a V4 so I can't help
diagnose the problem further, other than to say that I
have tested this code on a V1 and a V2 and works okay
there.
Jason
379
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
|