[vtkusers] Still a Bug in vtkWin32OpenGLRenderWindow ?? -> It's an ATI-Problem *ARGH*
Mark Wyszomierski
markww at gmail.com
Wed May 4 22:10:41 EDT 2005
Hello Ingo,
I seem to be experiencing a similar problem using an ATI mobility
radeon 9700 card (supposedly the equivalent to the 9600 board you were
using in your post). With this board, my MFC MDI app starts failing to
draw overlapping render windows, always brings up a VTK debug window
first time you close a render window with the error:
ERROR: In .\vtkWin32OpenGLRenderWindow.cxx, line 129
vtkWin32OpenGLRenderWindow (04E30F98): wglMakeCurrent failed in
Clean(), error: 6
This behavior happens only with this video card! (Other cards
everything is working perfectly, though of course this is the board my
boss has on his own machine!).
What was the solution to your problem?
I noticed that you said using the Catalyst 3.9 drivers for this card
seemed to work, should I try installing those? I also saw you replaced
the lines in the vtkMFC example for setting the parent ID with:
this->renWin->SetParentId(this->GetParent()->GetSafeHwnd());
this->renWin->SetWindowId(this->GetSafeHwnd());
Did switching to GetSafeHwnd() instead of m_hwnd do it, or was it also
setting the window id, or did this not help at all? Or, did you end up
throwing the card out the window as suggested in your final post!
Thanks so much for any information,
Mark
--------------------------------------------------------------------------------------------------------------------
Hi,
> I am a little worried about the title of the thread "...Bug in
> vtkWin32OpenGLRenderWindow..." because I don't think there is a bug. I
Okay... You are right...
The thing is, that ATI is definitely the problem !!
I have the ATI Radeon 9600 with 128MB on WindowsXP. I installed
Catalyst 4.2 (which is the latest). With that it crashes !!
I tried it with some other computers with the same graphics card.
One with Catalyst 3.9 and it works... The next with Catalyst 4.1
and it crashes... Disabling the hardware acceleration with Catalyst
4.2 is the only solution at the moment...
Are there any hints/solutions for this one except for throwing
the card out of the window ;)
BUT there should be a correcion of the vtkMFC samples, like making
the OnDestroy, setting the correct ParentID and WindowID. Maybe there
should be also some modifications to the OpenGLRenderWindowInteractor
to erase the background automatically, make the sizing automatically...
This would make the MFC samples more clear...
Thanks for helping me out on this one to all... I would have never
expected this from ATI...
greets
Ingo
More information about the vtkusers
mailing list