Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / set SYNC RATE bug in P-4

Author
Message
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 2nd Apr 2003 15:52
ok this program on my computer works at ~63 FPS



but this program runs at ~32 FPS



is any one els geting this or is it just me

compter spks : 2.53 GHz,512 MB RAM,DirectX 9

--Dr 0--
Most people are other people.Their thoughts are someone else`s opinions,thier lives a mimicry,their passions a quotation
Oscar Wilde
Juso
23
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 2nd Apr 2003 16:07
First gives me 66 and the second gives 55. I get always some more frames per second than sync rate is set. Sync rate 10 gives me 11.
Moggy
23
Years of Service
User Offline
Joined: 18th Mar 2003
Location:
Posted: 2nd Apr 2003 16:14
i get 66 on the first and 55 on the second.

my specs are 1.2GHz 768MB ram and a Geforce 2 Pro graphics card

Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 2nd Apr 2003 16:16
Sync rate always gives you more than you need (if it can).

The most important point that you never told us Dr Oc was - how are you running your program? full-screen exclusive, window, window full-screen, etc.

ONLY in full-screen exclusive does the sync rate command work smoothly.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 2nd Apr 2003 16:26
I have noticed since patch 4, that full screen exclusive is not smooth anymore. Prior to installing patch, screen update was silky smooth with no 'tearing'. It is now tearing and makes things look jumpy, even though they are probably not. It's as if it isn't syncing anymore.

Gronda, Gronda
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 2nd Apr 2003 16:44
it whas runing window full-screen.

but now i,v test all of the set ups of screen and thay all give me a FPS 32 when Sync rate is set to 50 even full-screen exclusive.

--Dr 0--


Most people are other people.Their thoughts are someone else`s opinions,thier lives a mimicry,their passions a quotation
Oscar Wilde
bozener
22
Years of Service
User Offline
Joined: 15th Aug 2003
Location:
Posted: 18th Aug 2003 02:44
Im also having some weird issues with fps.
The following code works fine when i use rate 60 for example, but something is going wrong when i use rate 0.
It gives a fps value MUCH more greater than the monitor refresh rate.
Im trying to syncronize my code so it can run at the same speed regardless of the sync rate, by scaling all movements of objects.
This way it would go smooooooth, but at the same speed in which it was planned. But with this weird results im stuck:



It gives to me something like 8000fps...

Maybe someone has some hint on this?
Thnx in advance

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Aug 2003 03:46
@bozener: 'SYNC RATE 0' will always deliver as fast as it can, and will take absolutely no notice of your monitor refresh rate.

@spooky: It's a trade-off. You either have a smooth refresh where it waits for the vertical-sync period (tying you to the monitor refresh rate), or you ignore the vertical-sync and swap the display anyway, giving you more accurate timing.
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Aug 2003 17:40
IanM: If you look, my problem was at beginning of April!

There was a problem where full screen exclusive mode did not sync with monitor refresh rate like it used to. Recent patches have fixed this and I no longer have that problem.

The programmer formerly known as sonic
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Aug 2003 19:02
Heh, I didn't even think to check the dates ... it's been a long weekend and I'm still recovering

Login to post a reply

Server time is: 2026-07-25 09:38:55
Your offset time is: 2026-07-25 09:38:55