New3DEngine FPS Drop

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

New3DEngine FPS Drop

Postby nojampi » Sat Jan 01, 2022 10:45 am

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!
nojampi
 
Posts: 4
Joined: Fri Dec 31, 2021 8:35 am

Re: New3DEngine FPS Drop

Postby Bart » Sat Jan 01, 2022 5:46 pm

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?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: New3DEngine FPS Drop

Postby nojampi » Sat Jan 01, 2022 7:01 pm

My GPU is AMD Radeon RX 570
nojampi
 
Posts: 4
Joined: Fri Dec 31, 2021 8:35 am

Re: New3DEngine FPS Drop

Postby Bart » Sat Jan 01, 2022 9:47 pm

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).
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: New3DEngine FPS Drop

Postby Ian » Sun Jan 02, 2022 12:06 am

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.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: New3DEngine FPS Drop

Postby nojampi » Sun Jan 02, 2022 1:39 am

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!!!
Last edited by nojampi on Sat Jan 15, 2022 10:54 am, edited 1 time in total.
nojampi
 
Posts: 4
Joined: Fri Dec 31, 2021 8:35 am

Re: New3DEngine FPS Drop

Postby Bart » Mon Jan 03, 2022 12:55 pm

What settings did you modify?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: New3DEngine FPS Drop

Postby nojampi » Tue Jan 04, 2022 2:17 pm

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.
nojampi
 
Posts: 4
Joined: Fri Dec 31, 2021 8:35 am

Re: New3DEngine FPS Drop

Postby Joaquim Gonçalves » Sat Feb 19, 2022 6:43 am

Ian wrote:Unfortunately supermodel runs like dog shit on every single amd card.


If that is the case, better having nvidia for every emulator. :)
User avatar
Joaquim Gonçalves
 
Posts: 680
Joined: Wed Dec 10, 2014 5:12 pm
Location: Portugal

Re: New3DEngine FPS Drop

Postby buttersoft » Sun Apr 10, 2022 6:41 pm

Ok, so in my case only the Open GL Tripple Buffering was needed. Fixes things quite nicely.
User avatar
buttersoft
 
Posts: 17
Joined: Fri Mar 12, 2021 10:37 pm

Next

Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 0 guests

cron