You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2016-03-31 03:36:50

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

star fox command slow frame rate in openGL

revision 5397 x64

Frame rate is really slow in this game in openGL 3.2 and old.   this is wile flying the arwing around. not in the 2D part of the game. i tried different combination of settings to see if it would fix it.  but nothing works. it almost acts like its recording AVI files, buts its not. openGL works file with other games.

This is on a GTX 980 ti with fully up to date drivers.

Offline

#2 2016-03-31 03:46:00

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: star fox command slow frame rate in openGL

define really slow. IN TERMS OF FPS.
runs same speed as any other 3d game for me.

Offline

#3 2016-04-03 04:59:54

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: star fox command slow frame rate in openGL

around 15 FPS out of 60 on default or any of the prescale resolutions.  no frame skip and no texture upscale.  if the frame skip is set to 9 its still laggy around 40 fps out of 60.
this is on the jit recompler.

On default its slightly faster at 20 to 25 fps on default resolution.

Last edited by fintogive (2016-04-03 05:10:26)

Offline

#4 2016-04-03 06:50:22

rogerman
Member
Registered: 2011-06-04
Posts: 380

Re: star fox command slow frame rate in openGL

It seems like StarFox Command thrashes textures a lot, and so OpenGL is forced to constantly upload new textures to the GPU. This constant texture uploading is what is causing the slower performance.

I haven't done any in-depth analysis of the texture issue, but it's probably some texture invalidation issue in our texture management system. Unfortunately, this will continually be a performance problem until our texture management system gets completely reworked. There are already a few games that are known to suffer from this problem right now, so we'll just take StarFox Command as another test case.

Offline

#5 2016-04-04 00:31:00

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: star fox command slow frame rate in openGL

Ah ok well looking foward to a fix then. thanks!

Offline

#6 2017-11-11 05:36:22

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: star fox command slow frame rate in openGL

just wondering if the error is fixable at this point in time?

Offline

#7 2017-11-11 20:34:28

rogerman
Member
Registered: 2011-06-04
Posts: 380

Re: star fox command slow frame rate in openGL

Possibly. It really depends on what causes StarFox Command to texture thrash.

If texture trashing is due to palette changes, then it is possible to reduce the number of texture data uploads to the GPU by performing the palette swap on the GPU instead of the CPU. However, if texture thrashing is occurring because the actual image data itself is changing per frame, then there is no hope of ever speeding this up. I haven't done any major testing on StarFox Command to determine which scenario is going on.

Note that any further changes to the texture loading system are not planned for this release cycle. You will have to wait for a future release.

Offline

#8 2017-11-11 23:58:43

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: star fox command slow frame rate in openGL

ah ok.  thanks for the info.

Offline

#9 2017-11-12 01:01:33

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: star fox command slow frame rate in openGL

It might speed up whenever we add a texture database

Offline

#10 2017-11-29 07:08:44

fintogive
Member
From: USA
Registered: 2014-04-11
Posts: 346
Website

Re: star fox command slow frame rate in openGL

well whatever you did fixed it its working correctly now

Offline

#11 2017-11-30 07:41:19

rogerman
Member
Registered: 2011-06-04
Posts: 380

Re: star fox command slow frame rate in openGL

That's because the texture handling system has had a significant rework since your original post from early 2016 to help boost its performance.

Offline

Board footer

Powered by FluxBB