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 / Dark Basic Pro just purchased.. SLOW! i mean 5 fps

Author
Message
Drum
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 21st Jun 2003 11:21
hey,

I've had classic for a while and ive been getting speeds up to 70 on the games ive made. My friend also had classic but he got speeds of 50. So now we have both bought Pro... alot of money, but who cares. and its quite a dissapointment to see that it now runs at 4 fps! With the following code and all codes



And on my friends computer he gets 241 at a constant speed ...why oh why... i was so excited
NOTE: this is not because i have the IDE open at he same time. ive tried it with the seperate exe.

thankyou for reading this and please let me know if there is some known way to fix this or anything THANX
nick

*I have patch 4.1
win 98
700mhz
etc.
indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Jun 2003 11:29
update DBP to the latest public patch 4.1 rev 2
update your video card drivers
check to see your direct x is working with [start][run]dxdiag

Im using a Pentium 933 with a tnt2m64 and win 98se and I can achieve 60 fps no probs so it might be your video card or settings.

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 21st Jun 2003 11:31 Edited at: 21st Jun 2003 11:32
@Drum

You obviously have an older PC, which means that you need to run DBP in FULL SCREEN EXCLUSIVE mode, and you should get a much higher FPS. To do this, click the Settings tab in the bottom right hand corner of the editor and under display settings click "Full Screen Exclusive Mode"

This made it go from 5FPS to 90FPS on my RivaTNT 2. Newer PCs however will find windowed mode faster.

(BTW. I got 1492 FPS on the snippet you posted )

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Drum
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 21st Jun 2003 11:46
YAy i got 70 fps using eclusive mode... can you tell me what it actually does?

It sais i got directX 7 but im sure ive got 8 before... hmm ill check up on this

THNAK YOU!
by the way i got 16meg graphix card

ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 21st Jun 2003 13:21
It is strange that actually people with p4s or p3 get high frames per seconds in windows mode...
but with most p3s or lower exclusive mode seems to give much faster fps in many older systems...

Test!
Test I say!
You tell us!
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 21st Jun 2003 13:37 Edited at: 21st Jun 2003 13:38
some program installers are stupid and assume that the version of directx included with the program is the latest version, this doesnt allow for the fact that you may install that program 2 or 3 years after it was released, windows will do the same thing, if you install windows over your current install then it sets directx back to what it was when your OS was released and you have to install again, some older programs have even tried to change directx back to 3, (even though you can`t uninstall dx9.0a), just install the directx from the DB cd, BTW...for £50 or so you could buy a MUCH better card than you have now, even something like my lowley (cheap) Ge Force 4mx would be better than that (I get 179fps from the snippet) although your test isn`t a true test of the cards 3d speed since I have had more than that on some 3d snippets, clearing the screen is limited to how fast the card can get a few million zeros stuffed into the screen buffer, that can take time since pro has to send the zeros to the card , and the card is not that heavily optimised for 2d operations, for example this..

sync on
sync rate 0
make object cube 1,10
do
a$=str$(screen fps())
text 0,0,a$
turn object left 1,1
sync
loop

gives me 447 fps, even though thats a 3d object being calculated and displayed in realtime, true 2d operations will always be slower, I have never seen a 2D accelerator (although some cards promise "faster" 2d) but you would need to be able to buffer the fonts and images on the card itself, plus have some functions built into the card so that at one command the buffer was set to zero by the gpu etc, trouble is that most 2d is used in the office, and you dont need word to run at 500fps, the nearest is that some cards support 2D blitting, but thats since it is useful for the 3D part of the card (swapping textures etc) more than to help 2D fps cheers.

Mentor.

Drum
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 21st Jun 2003 13:50
thanx everyone

you know when you hit F5 and it compiles and runs and the fullscreen comes up, could the screen change be hurting my monitor because it sorta staticly clicks abit every time.???

nick

Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 21st Jun 2003 15:25
Yes, I've destroyed one monitor that way. I have a flatscreen plasma now, which is impervious to all harm from nasty resolution clicking.

My conclusion is, although your monitor is designed to handle that full screen resolution clicking business, it will wear it out quicker and if you use DB enough, you will destroy it eventually. When that happens, get a plasma, and you'll be fine.

Machine: P4 2200, 1GB RAM, GeForce4 64MB, Audigy Platinum
http://www.breakbeat-terrorism.co.uk
(It's not all about the coding)
Drum
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 21st Jun 2003 16:52
will it still wreck my moniter or harm it if i use windowed 400x300 for example?
so it nice and small the computer doesnt go crrck....clk

nick

Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 21st Jun 2003 21:19
my monitor goes through a frenzy of clicking ever time I boot up, Windows seems to change the screenmode about 8 times while it is starting, my monitor is 3 years old, hasn`t hurt it yet, don`t think it ever will, it`s just that for the internal frequencys that monitors use they have to use reed switches or relays to physicaly break connections internaly, the signal would leak through solid state devices, all you can hear is the switches operateing, not a hazard, most monitors I have had start to defocuss before they wear out, then I pass em on to some mate with a realy dire monitor before he blinds himself peering at illegibly bleary text on a screen so dark he has to close the curtains to see it (I kid you not)

Mentor.

Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 21st Jun 2003 23:35
lol mentor. Yeah, my old monitor blurred out of focus (would click in and out of focus randomly too) before it finally blew. Starting up windows does change the resolution, as do most games, but in db you're looking at a change once every 5 minutes on average, so it drastically accelerates the death of your monitor.

Drum, I dont know if window mode will help. If there no clicking, then you have nothing to worry about. If it still clicks, then your monitor is still getting a faster rate of wear and tear. Like I said, its not gonna kill your monitor straight off, and I dont know this for fact, but I'm just guessing through experience that the more clicking you have the shorter your monitor will last.

Machine: P4 2200, 1GB RAM, GeForce4 64MB, Audigy Platinum
http://www.breakbeat-terrorism.co.uk
(It's not all about the coding)
Drum
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 22nd Jun 2003 02:38
yeh, thanx for the response

its just our monitor recently died after 3 years, which hear is not very good for a monitor. Then we borrowed a friends. And that quickly went from flickering to really blurred... so now we got a new one.. It's not exactly the best monitor but it seems to be an improvment, this is the families computer and I'm just worried that ive been breaking it adn im gonna break this one

later

Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 22nd Jun 2003 03:02
Good monitors get a 3 year warrenty these days. Check if you have that. And if its the family computer, and you break it, remember - you didn't touch it, you weren't there, and it was nothing to do with you.

Machine: P4 2200, 1GB RAM, GeForce4 64MB, Audigy Platinum
http://www.breakbeat-terrorism.co.uk
(It's not all about the coding)
Drum
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 22nd Jun 2003 03:26
hahaha



Login to post a reply

Server time is: 2026-07-11 14:56:21
Your offset time is: 2026-07-11 14:56:21