xemu icon indicating copy to clipboard operation
xemu copied to clipboard

Camera angle can tank performace

Open Triticum0 opened this issue 2 years ago • 9 comments

Bug Description

Some games with variable camera angles can lose lots of performance depending on where the camera is pointing, This mostly affects sports games and some other outliers.

Games Affected https://xemu.app/titles/54540091/#College-Hoops-2K6 https://xemu.app/titles/545400af/#College-Hoops-2K7 https://xemu.app/titles/4b4f0002/#Crimson-Sea https://xemu.app/titles/53450031/#ESPN-NBA-2K5 https://xemu.app/titles/53450030/#ESPN-NFL-2K5 https://xemu.app/titles/53450037/#Major-League-Baseball-2K5 https://xemu.app/titles/54540096/#Major-League-Baseball-2K5-World-Series-Edition https://xemu.app/titles/54540092/#Major-League-Baseball-2K6 https://xemu.app/titles/545400b1/#Major-League-Baseball-2K7 https://xemu.app/titles/5454008d/#NHL-2K6 https://xemu.app/titles/545400ad/#NHL-2K7 https://xemu.app/titles/434d0021/#Club-Football https://xemu.app/titles/434d003f/#Club-Football-2005 https://xemu.app/titles/4541009f/#Madden-NFL-07 https://xemu.app/titles/454100ac/#Madden-NFL-08 https://xemu.app/titles/4541023b/#Madden-NFL-09 https://xemu.app/titles/544d0007/#Knights-of-the-Temple-Infernal-Crusade

Expected Behavior

Should be stable performance no mater where the camera pointing

xemu Version

Version: 0.7.55 Branch: master Commit: https://github.com/mborgerson/xemu/commit/db389b15086753cb7b72e05b24af205baa742bc3 Date: Sun Jun 26 05:58:57 UTC 2022

System Information

Field Value
OS Windows 10
CPU AMD Ryzen 5 2600 Six-Core Processo
Graphics Device NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
Graphics Driver 4.0.0 NVIDIA 512.95

Additional Context

No response

Triticum0 avatar Jun 30 '22 12:06 Triticum0

One game more affected for this 'issue": GTA Vice City.

RetroPCYT avatar Jul 01 '22 17:07 RetroPCYT

Used debug build for 06-07 to showcase the camera issue. 07's debug matches retail build. FPS gets worse the further you get from White Tees. https://user-images.githubusercontent.com/56532164/177433870-e360ddab-1b06-43f3-8f2b-cd307485c1a2.mp4 https://youtu.be/8fkrYXTLp4Y Affects https://xemu.app/titles/45410021/#Tiger-Woods-PGA-Tour-2003 in specific spots as shown in clip. https://xemu.app/titles/4541007e/#Tiger-Woods-PGA-Tour-06 06 is very obvious https://youtu.be/55DY0mQF6-c. https://xemu.app/titles/454100a4/#Tiger-Woods-PGA-Tour-07 Same issue like with 06. https://youtu.be/XstLSi_JFsM I presume the issues aren't there in 04 and 05. I know they aren't for these two on 0.7.2 for these two games. I'll most likely need to test more on 03 to find more fps drops due to the camera on the latest build.

MaouYumisu1 avatar Jul 06 '22 00:07 MaouYumisu1

In Crimson Sea which I just tried in latest stable build I noticed what seemed to be a double buffering issue when rotating camera. Framerate dropped straight to 30 when it couldn’t maintain 60. Not sure if this is the issue being described in all of these cases, but I noted it occurred most often when panning the camera. Never played the game on original hardware so I can’t say if this is an emulation issue or if the game was double buffered from the start, but if the latter than the game is in fact performing correctly. Would need a triple buffer patch to address. Will do some more experimenting.

On phone so couldn’t watch linked videos above. Will update post later with any new info.

SolusGrimwelder avatar Mar 19 '24 10:03 SolusGrimwelder