flat assembler
Message board for the users of flat assembler.

Index > Windows > Trouble with openGl with GF9600gt

Author
Thread Post new topic Reply to topic
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus 01 May 2010, 03:59
Runnig my GL program, I found strange slowness with drawing scene at 9600gt.
I think this is my fault, but not.

Default fasm OpenGl demo slow too!
Other cards (ATI,Intel) - fast.
On regular video cards speed is correlated with scene complexity and window size.
On 9600 time of scene drawing is constant! - and very slow.

I think there is some functions of OpenGl regulating that...
Anybody knows the solvation?
Post 01 May 2010, 03:59
View user's profile Send private message ICQ Number Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 01 May 2010, 04:40
Are you using nVidia drivers or the ones provided via WindowsUpdate? I remember using WindowsUpdate one once with GeForce FX 5200 (or maybe my recently replaced GeForce 6600?), and also had a terrible OpenGL performance (seemed to be not hardware accelerated at all). Solved by downloading drivers from nVidia site.
Post 01 May 2010, 04:40
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 796
Location: Massachusetts, USA
bitshifter 01 May 2010, 04:45
This shows frames per second, please try...
http://board.flatassembler.net/topic.php?t=9885

Also the FASM demo refreshes at 10ms which is purposely slow.
Post 01 May 2010, 04:45
View user's profile Send private message Reply with quote
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus 02 May 2010, 04:18
The glFONT you recommended shows 61-60fps for both myfont & wglfont.
Display freq = 60Hz.

*VSync on* was..

Thanks.
Post 02 May 2010, 04:18
View user's profile Send private message ICQ Number Reply with quote
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus 02 May 2010, 05:05
To on/off vsync:

.data
StrGlVSync db 'wglSwapIntervalEXT',0
wglSwapInterval dd 0

.code
invoke wglGetProcAddress,StrGlVSync
mov [wglSwapInterval],eax
stdcall [wglSwapInterval],0 ;1 for ON, 0 for off
Post 02 May 2010, 05:05
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.