Author Topic: Nested surfaces and speed of update  (Read 349 times)

zpaolo11x

  • Sr. Member
  • ****
  • Posts: 201
    • View Profile
Nested surfaces and speed of update
« on: September 03, 2018, 08:40:23 AM »
I built a simple layout with some examples of nested surfaces. If I run it on my PC I get 60 fps with case 1 (just a single surface), 30 fps with case 2 (two nested surfaces) and about 15 to 20 fps with case 3 (three nested surfaces). You can change the level of "nestyness" in the layout option, I'd like to know how it performs on other machines.

In the past I used some tricks to speed up scrolling in this situations (adding and updating a text item for example) but now I really want to know what is happening and how to speed things up.

Hope someone can help!

zpaolo11x

  • Sr. Member
  • ****
  • Posts: 201
    • View Profile
Re: Nested surfaces and speed of update
« Reply #1 on: September 03, 2018, 09:14:32 AM »
Tested it on my Macbook Pro, fps goes like this:

level 1: 60 fps
level 2: 56 fps
level 3: 32 fps

so it seems the Quadro card in my Windows PC is struggling with respect to the integrated GPU in my Mac... pretty strange, probably a drivers issue. I'll see if I can improve the "level 3" performance.

Oh and in AM 2.3 it all runs at 60fps on my Mac.
« Last Edit: September 03, 2018, 09:16:43 AM by zpaolo11x »

jedione

  • Hero Member
  • *****
  • Posts: 565
  • punktoe
    • View Profile
Re: Nested surfaces and speed of update
« Reply #2 on: September 03, 2018, 12:24:41 PM »
im not 100% savy to this..but

when i toggle up down or go to options, & change the layer1,2,3
it shows me 30 fps on all.

if that helps?   

specs are...
help a friend....

zpaolo11x

  • Sr. Member
  • ****
  • Posts: 201
    • View Profile
Re: Nested surfaces and speed of update
« Reply #3 on: September 04, 2018, 01:03:21 AM »
if that helps?   

Thank you for the feedback, yes it helps, it's strange that your performance seems capped to 30 fps... I'm still investigating but I discovered that on my PC if I set the NVidia control panel to "3D App - Game Development" mode instead of the usual default settings I get a huge speed boost and all the configurations run smoothly at 60 fps! Even with three nested surfaces and gaussian blur shader applied. Now I recognize the performance of a Quadro card LOL

Oomek

  • Sr. Member
  • ****
  • Posts: 214
    • View Profile
Re: Nested surfaces and speed of update
« Reply #4 on: October 07, 2018, 05:44:35 AM »
I get 60 fps in all 3 modes.
i5 2500K, GTX 980
GPU usage respectively 1%,2%,3%

Oomek

  • Sr. Member
  • ****
  • Posts: 214
    • View Profile
Re: Nested surfaces and speed of update
« Reply #5 on: October 07, 2018, 06:39:39 AM »
Btw, if you would like to avoid the counter oscillating between 59-60 change your line that assigns the msg to this:
Code: [Select]
monitor.msg = floor( 10000.0 / ( tick_time - tick000 ) + 0.5 )

zpaolo11x

  • Sr. Member
  • ****
  • Posts: 201
    • View Profile
Re: Nested surfaces and speed of update
« Reply #6 on: October 08, 2018, 01:12:41 AM »
I get 60 fps in all 3 modes.
i5 2500K, GTX 980
GPU usage respectively 1%,2%,3%

Seems fine, of course you can increase the number of tiles to see when everything starts to slow down. On my macbook pro it gets slower at level 3 with the current number of tiles, but that's due to the integrated graphics which has some limitations. I suspect that my Arcadeflow theme (which runs at ~45 fps on my late 2013 macbook pro with retina display) should run at full speed on a system like yours...

Thanks for the feedback!