View Full Version : OpenGL Dead
Michael Clease
02-12-2007, 02:01
I cant do any work with OpenGL and thinbasic at the moment, I tried some of my C work and that seems to be OK.
I updated to the latest drivers.
here is the error that pops up.
All is working fine here. Did the new drivers take when you installed?
Michael Clease
02-12-2007, 10:01
Yes, I even went and manually removed all nvidia from my system and reinstalled but that didnt help.
think I will wipe my system and start again always better for speed improvements.
I will try somemore things when I get time. Just going to the hospital so my wife can have her baby.
your expectantly ;)
Mike
Michael Hartlef
02-12-2007, 10:06
Best wishes to you guys. I'm sure everything will be fine. Enjoy every second!
ErosOlmi
02-12-2007, 11:43
My best wishes too, Abraxas.
Petr Schreiber
02-12-2007, 12:01
Hi Abraxas,
I almost forgot that your child is coming!
I wish all goes smooth and you can start to enjoy dad things :)
That is really perfect!
Bye,
Petr
P.S. I will investigate meanwhile on the GL error. If you will check it here please add here the version of drivers you installed and whether your XPs are 32 or 64 bit.
EDIT: It seems even ATi users get this NVIDIA message under some circumstances, and only in some applications. Things get interesting, my head is full of conspiracy theories now :)
Good luck Abraxas and to your wife! ;)
Congrats and good luck with the new Baby!
Michael Clease
04-12-2007, 11:46
Driver Version 6.14.11.6375
I think it may have started after I install Express 2008 or my firewall updated so it could be that.
Windows update has been asking me to update .net 1.0.1 (i think) 10.2Mb download which kept failing.
Windows even wanted me to activate again because it thought I had changed the hardware to much. (nothing has changed)
something very strange going on, I am starting to think that my HDD is dying and corrupting the registry. :-\
Michael Hartlef
04-12-2007, 12:04
I had the same thing with the NET update too. But OpenGL still works. And no sign of activation needed.
Michael Clease
18-01-2008, 23:53
I did some more tests using various applications even some of my Opengl work from a couple of years ago and they work fine, no error messages.
I am using current drivers which nvidia state work with my 6800GS so I wondering if it is a TBGL issue.
Petr do you have an earlier version of TBGL that i could try to see if that makes a difference.
thanks
Petr Schreiber
19-01-2008, 00:27
Hi Abraxas,
before trying to change TBGL, could you try one more hack to get what is going on? :-[
It will take some time to put old TBGL together. EDIT: Posted in next ... post
If it is possible, please download: GLIntercept (http://glintercept.nutty.org/).
Install it in Program Files or where you want and then do following steps:
- Copy "GLFunctions" directory from GLIntercept dir to your thinBASIC directory
- Copy "OpenGL32.dll" file from GLIntercept dir to your thinBASIC directory
- Copy "gliConfig.ini" file from GLIntercept dir to your thinBASIC directory
So 3 basic operations. Then try to run problematic script. In thinBASIC directory there will be generated 2 files: gliInterceptLog.txt and gliLog.txt. Send them to me / post here.
GLIntercept is good tool I use for long time to profile TBGL performance and correctness.
It reports all bad things code can do. Only possible bug which it produces now for TBGL is "DisplayListManager::RemoveData - Attempting to delete unknown DisplayList ID <number>", which is false alarm I think.
Warning - when GLIntercepts OpenGL32.DLL wrapper will be in thinBASIC directory, tB OpenGL scripts can run slower ( but no other OpenGL apps ).
Thanks,
Petr
Petr Schreiber
19-01-2008, 00:35
Ok,
found older TBGLs.
0.1.9.2 and 0.2.0.1 ( NOT 0.2.1.0 ).
You can try them too. To use specific DLL, just change USES "TBGL" to for example USES "TBGL0201".
Thanks,
Petr
P.S. I am sorry I did not offered further help on this topic, I was a bit busy last month and completely forgot this issue with your PC :-[
WARNING This versions of TBGL are outdated, that within last tB preview is the only right one for others! WARNING
Petr Schreiber
19-01-2008, 00:43
Few more shots in the dark:
Did you removed old drivers before installing new?
Did you downloaded this drivers: http://www.nvidia.com/object/winxp_169.21_whql.html
Did you restarted immediately after driver installation?
When you right click on desktop, can you see "Nvidia Control Panel" or similar item in the menu?
I am really confused, I have the lowest end possible model from GeForce6 family and no problems. Never had similar issue, on the net I can find it, but usually fresh driver installation solved it all.
Thanks,
Petr
Michael Clease
19-01-2008, 01:02
thanks Petr, I will try all the things you suggested tomorrow as i am on my laptop at the moment.
to answer all the questions in the last post .. yes to all of them.
I even found a tool that purges windows of all the nvidia / ati drivers.
thanks for your help.
I will let you know.
Petr Schreiber
19-01-2008, 01:25
Thanks Abraxas,
I will be looking forward to your report tommorow.
You can try to run script to determine installed OpenGL version (http://community.thinbasic.com/index.php?topic=668.msg3885#msg3885), it should report version 2.1 for your card. If it will run :(
I keep my fingers crossed.
Thanks,
Petr
Michael Clease
19-01-2008, 01:35
I found one problem with old applications :-[ I didnt delete the textures when I finished with them.
Michael Clease
19-01-2008, 12:17
The version script doesnt work, it shows the smae error box as before.
I tried both version of tbgl you supplied, 0201 showed the same error but 0192 doesnt run, thincore parse errors.
I am trying the RGBtriangle example (thought I would keep it simple).
Glintercept doesnt make any log files, it shows same error box as before
Petr Schreiber
19-01-2008, 14:02
Thanks for the report,
that makes me sad, but also it shows something - the problem is probably not TBGL dependant. Version 0.2.0.1 is from August 2007, your problem appeard in December.
So it could be something with installing other software. I am little bit suspicious about the MSVS 2008, it seems to me MS tools do some deeper system changes.
Very important is that GLIntercept is "lost". This should not happen and shows there is something "inserted" between the DLL and calls.
Can you try attached EXE? It is done in PB and just reports OpenGL version + some other stuff.
Thanks,
Petr
P.S. Very silly idea, but could you run the EXE from thinBASIC directory?
Michael Clease
19-01-2008, 19:15
I found the problem its not TBGL.
I tried the program and it worked see picture but when I came online google was not working very well so I turned my firewalls extra function off and now it all works.
It seems to be a bug with COMMDO Firewall Prefessional 3.0.13.268, the DEFENSE function was set to clean PC.
just check seems to be a newer version available will try it and report back.
Thanks for helping
Michael Clease
19-01-2008, 19:36
I just did a clean install of COMODO with the latest version 3.0.15.277 and all seems ok now.
Sorry to cause the you extra work when you dont have the time Petr.
thanks again.
Petr Schreiber
19-01-2008, 23:12
Hi Abraxas,
so it works now?
Firewall causing problems with OpenGL?
Thanks a lot Abraxas, I learned a lesson :)
Do not worry about my time "lost", it was interesting research and good to know this for future.
I am happy it ended well,
Thanks,
Petr
P.S. TBGL does not do any internet or port related things, so I wonder there was a problem ???
ErosOlmi
19-01-2008, 23:51
Many Personal Firewalls protect from Keylogger or rootkits. Just the pressure of a keyboard key or a mouse move can be tracked and reported by malicious process.
To protect from those threats, Personal Firewalls adopt very low level code injections that, in some cases, can interfere with standard applications or drivers.
For example I use ZoneAlarm Pro to protect my development laptop. Every time I recompile thinAir and use it, ZoneAlarm ask me to authorize thinAir to record user activities. This not because thinAir has bad code inside but because it has to track mouse position and keystrokes (at the end of the day, it is an editor ;) so it has to track those events).
Maybe this can explain something.
Ciao
Eros
Michael Clease
20-01-2008, 00:09
Is wasnt the firewall as such.
I think what happen was I installed the original version, used it for a while, it asked to do an update which I did and that was probably when my problems started.
I am not sure but I dont think I had done much (if any) work on TBGL since I added the update.
The update added a new feature called Defense, this feature seems to monitor system activity and trap suspect applications and I believe that was the problem.
Petr Schreiber
20-01-2008, 00:39
Thanks guys,
now it can be pretty clear. For mouse functions in TBGL I have to track cursor and store the most recent position.
According to what Eros said and your Defense enabled, this makes a sense now.
It reminds me a bit of "hysteric heuristic" :) behaviour in AVG for DOS I had on my powerful 486 notebook ;D
I will update TBGL troubleshooting sticky post with this new information.
Bye,
Petr