Performance

General messages about RTC and it's development.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

what I have to do to increase FPS? I`ve got allways about 2 FPS, no matter what I do in config file
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Remove anti-alias and caching I think, make sure you are't running anything else intensive in the background, and remove steplighting i think
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

I think that the "make sure you aren't running anything else intensive in the background" is the key here!

I tested V0.35 on a 400 MHz machine and even with anti-aliasing turned on it still ran at about 30-fps. To get 2-fps there must be something else happening on your machine - I'd recommend that you have a look at Windows Task Manager and see what processes are taking up the CPU time...

BTW, turning caching off will slow it down not speed it up!
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

*oops* so it will
It's anti-aliasing without cachingthat was bad...or somehting...
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

when i set lo res NO, there appears nice wall decoration glitches on the walls. When iut`s set to YES, it`s ok (there are minimal micro-glitches)
I turned off all (winamps etc) and there`s still 6-7 fps
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

what i`ve got:
SCREEN_MODE 640x480x24
SCREENSHOTS NORMAL
FULLSCREEN NO
CACHE YES
ANTI_ALIAS NO
LOW_RESOLUTION YES
TRANSPARENCY NO
STEPLIGHTING NO
SLOW_WAKING NO
FIREBALL_LIGHT YES
FLIGHT_ARC YES
SCALE_PORTRAITS YES
POINTER AMIGA
BOOTTEXT YES
FRAMERATE YES

6-7 fps. The game sometimes turns off !!!
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

Post by PaulH »

Not good Adamo. I am managing 60fps at 1024x768, even with AOL running!
User avatar
linflas
My other avatar is gay
Posts: 2445
Joined: Tue Nov 04, 2003 9:58 pm
Location: Lille, France
Contact:

Post by linflas »

@adamo : LOW RESOLUTION = NO , SCALE PORTRAITS = NO, should be a way to gain some fps, these are additional features.
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

step lighting = yes might buy you some frames since you aren't pdrawing a transparancy over the top, right?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

With caching turned on, there should be no noticable difference in performance between anti-aliasing / low resolution / lighting / portraits or any other parameter.

What the caching does, is draw the scaled image once and then store it in memory for future use (i.e. there will be a single slow frame when it draws the item for the first time, and then all subsequent ones are fast). Obviously, this uses lots of memory though!

I still think that fidling with the RTC parameters is a red herring. There's something more fundemental going on in the background (which is nothing to do with RTC). Can you let us know:

- What CPU your box has
- When running RTC in a window (FULLSCREEN NO), what does the Windows Task Manager (on the "process" tab) say is the percentage CPU is being used by "RTC.exe"
- What other processes does the task manager say are running?
- If you sort the task manager by CPU usage, what are the top 10 tasks, and with what percentages?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

PaulH wrote:Not good Adamo. I am managing 60fps at 1024x768, even with AOL running!
That's what I'd expect to get!

FYI - you won't ever get over 60fps. Because monitors refresh at 60Hz, there's no point in attempting to update the view any faster than this (because it wouldn't get displayed by the monitor), so RTC doesn't bother trying and releases the CPU for other Windows applications that might be running at the same time to use...
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Not strictly true. Many monitors support much higher refresh rates. Indeed, running at 60Hz will give you headaches on a CRT as it's too low. I run at 85Hz on an old CRT and it's rock steady.

That's what V-Sync options are for though, to ensure that the game doesn't redraw frames faster than the monitor can display them (which generates 'shearing').
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Indeed, that's what RTC uses - I was just trying to explain it using simpler words!
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

strange. normally there`s about 6fps, but when I run Windows task menager, it is increasing to about 15 fps with RTC CPU usage 85-95%
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
PaulH
Ghastly gastropod
Posts: 3763
Joined: Wed Aug 07, 2002 10:27 pm
Location: Level 6

Post by PaulH »

George Gilbert wrote:Indeed, that's what RTC uses - I was just trying to explain it using simpler words!
Thanks George!
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

[Just a quick note to tidy up this thread]

Adamo, as you mentioned on another thread (http://www.dungeon-master.com/forum/vie ... c&start=30, you're running XP on a 300 MHz machine.

XP just isn't designed to run on such a low spec machine and is hogging all the CPU which explains the low frame rate you're getting (and why all other software you're using runs at a crawl).

The fix is therefore to either uninstall XP and install an OS more suited to your hardware (probably Win98) or get a better machine! For your interest, I've tested RTC on a 200 MHz machine running Win98 and it runs fine on that.
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

I changed OS from WinXp to Win98 (PII 300 Mhz 96 Mb).
When FULLSCREEN=NO, there`s about 4-5 FPS, but when it`s ON, there`s about 25-35 FPS. So I think the program runs fine. It`s something with my machine I guess!
The troble is, that I NEED to run it in a window (since my monitor burned, it doesn`t work well on lower resolutoions - there are black gaps on a screen).
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Do you have active desktop enabled on windows 98? Disable it - remove any background picture you have. It's not much, but it still uses up some resouces.

Also, kill any applications happening on start up unless you really need them (from the start up folder, or go to the run menu and type 'msconfig' )
User avatar
mikko
Craftsman
Posts: 102
Joined: Sun Jan 15, 2006 2:42 pm
Location: Helsinki, Finland

Post by mikko »

It just might be that in full screen mode Direct X routines are accelerated but when in windowed mode it's all software..
User avatar
Sophia
Concise and Honest
Posts: 4240
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

Make sure RTC is running at the same color depth as your desktop-- if they're not the same, then it is probably doing a lot of on-the-fly remapping, and that eats up a lot of CPU cycles.
User avatar
Adamo
Italodance spammer
Posts: 1534
Joined: Fri Apr 22, 2005 11:59 am
Location: Poland
Contact:

Post by Adamo »

yeah now I can play RTC :D now runs fast at my new machine (acer, 2Ghz, 512Mb). I get about 50-60 fps even in windowed mode :D:D:D:D:D
Spoiler
(\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/) (\__/)
Spoiler
(@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@) (@.@)
Spoiler
(>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<) (>s<)
User avatar
PadTheMad
Lo Master
Posts: 420
Joined: Thu Jul 15, 2004 12:22 pm
Location: Doncaster, UK

Post by PadTheMad »

WOW! New machine adamo? Nicely done!
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Welcome to the world of tomorrow!
User avatar
Lunever
Grand Druid
Posts: 2712
Joined: Thu Feb 14, 2002 4:47 pm

Post by Lunever »

Probably it's more like coming from the world before yesterday to the world of yesterday ;-)
Parting is all we know from Heaven, and all we need of hell.
User avatar
linflas
My other avatar is gay
Posts: 2445
Joined: Tue Nov 04, 2003 9:58 pm
Location: Lille, France
Contact:

Post by linflas »

welcome to the 20th century then... :P
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Welcome to the world of the day after tomorrow the night before last back in the future of the land before time.
Post Reply