Page 1 of 2
New3DEngine FPS Drop

Posted:
Sat Jan 01, 2022 10:45 am
by nojampi
Hey there!
I wanna play Daytona USA 2 in 1920x1080 fullscreen with V-Sync turned ON, using the New3DEngine on stable 60FPS, but it's only possible using the Legacy option.
Every single time when I try to play it with New3D the game often slows down terribly at some places, especially in the Beginner course when I get to the start/finish line! It feels like the game is in slow-motion, or something!
But funnily enough, it works fine everywhere else! There's always one part on each course where the game stutters and then goes back to normal in a few seconds.
I'm using the -r865 release x64 with the UI!
I wonder if anyone can help me with this!
Re: New3DEngine FPS Drop

Posted:
Sat Jan 01, 2022 5:46 pm
by Bart
nojampi wrote:Hey there!
I wanna play Daytona USA 2 in 1920x1080 fullscreen with V-Sync turned ON, using the New3DEngine on stable 60FPS, but it's only possible using the Legacy option.
Every single time when I try to play it with New3D the game often slows down terribly at some places, especially in the Beginner course when I get to the start/finish line! It feels like the game is in slow-motion, or something!
But funnily enough, it works fine everywhere else! There's always one part on each course where the game stutters and then goes back to normal in a few seconds.
I'm using the -r865 release x64 with the UI!
I wonder if anyone can help me with this!
What sort of GPU do you have?
Re: New3DEngine FPS Drop

Posted:
Sat Jan 01, 2022 7:01 pm
by nojampi
My GPU is AMD Radeon RX 570
Re: New3DEngine FPS Drop

Posted:
Sat Jan 01, 2022 9:47 pm
by Bart
There are some known performance issues with Radeon cards that Ian has brought to the attention of AMD but that have not yet been addressed by them. Given the age of your card, I would guess that you are even more acutely affected. Supermodel's new 3D engine works best on Nvidia cards (and I think it performs reasonably well on newer Intel integrated GPUs, too).
Re: New3DEngine FPS Drop

Posted:
Sun Jan 02, 2022 12:06 am
by Ian
Unfortunately supermodel runs like dog shit on every single amd card. When I added the frame buffer emulation it triggered some sort of slow path in the amd drivers. I know roughly the code that is triggering it but a work around is not so easy.
I posted the project for the amd driver team to test. They tested it and found it was inexplicably bad but offered no solution. Basically the issue is their opengl drivers. For whatever reason maybe budget or internal politics amd have decided other than fixing critical bugs not to invest in their opengl drivers. I know the pcx2 emulator guys also hit slow paths in the amd driver but for different reasons than supermodel.
What makes no sense to me is the situation is very different on Linux as they have a completely separate opengl implementation for that platform. Why? I've absolutely no idea. It makes no sense. Maybe they are scared if they merge the codebases some shitty cad program whose renderer was written 20 years ago will stop working. I know vendors actually support some totally non standard opengl extensions. There exists an opengl extension that isn't exposed in the driver string but is supported that was written especially for autodesk. It saves part of the frame buffer if I recall.
I have floated the idea of maybe porting the entire project to vulkan. Vulkan actually takes glsl shaders so a port might not be that bad.
Re: New3DEngine FPS Drop

Posted:
Sun Jan 02, 2022 1:39 am
by nojampi
Thanks for the answers from both of you!
Figuring out this issue was so fast thanks to you all. Especially since I couldn't find anything about it on YouTube (mainly because I didn't even knew it was my gpu all along)!
EDIT (Good news): I... somehow solved the whole issue with the informations y'all gave me about the AMD cards! After reading the posts, I've decided to mess around with the pre-installed AMD software app, and turned on a few things, and IT WORKS!!!
Thank you very much once again!!!
Re: New3DEngine FPS Drop

Posted:
Mon Jan 03, 2022 12:55 pm
by Bart
What settings did you modify?
Re: New3DEngine FPS Drop

Posted:
Tue Jan 04, 2022 2:17 pm
by nojampi
Enhanced Sync, Surface Format Optimization and OpenGL triple buffering.
These were the three options that had convincing descriptions, so I decided to turn them on to test it and they appear to be helpful in this situation.
Re: New3DEngine FPS Drop

Posted:
Sat Feb 19, 2022 6:43 am
by Joaquim Gonçalves
Ian wrote:Unfortunately supermodel runs like dog shit on every single amd card.
If that is the case, better having nvidia for every emulator.

Re: New3DEngine FPS Drop

Posted:
Sun Apr 10, 2022 6:41 pm
by buttersoft
Ok, so in my case only the Open GL Tripple Buffering was needed. Fixes things quite nicely.