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.

Re: star fox command slow frame rate in openGL

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.

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.

Re: star fox command slow frame rate in openGL

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.