NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.36k stars 69 forks source link

[Runtime Bug]: Massive performance regressions since 0.3.0 #572

Open Kim2091 opened 1 month ago

Kim2091 commented 1 month ago

Describe the bug

There are measurable performance regressions from build 0.3.0 all the way up to the very latest GitHub Actions builds. This applies to all games.

I performed benchmarks after a user brought up performance regressions in our Discord server: 0.3.0 = 95 FPS 0.4.1 = 86 FPS 0.5.1 = 82 FPS Latest action builds (bridge 85 and dxvk 603) = 65 FPS

How do you reproduce the bug?

I tested in The Simpsons Hit and Run.

Use this rtx.conf file: rtx.zip

I loaded the game with these settings in Lucas' Launcher: image

Simply load the game and do not move the camera. Measure FPS after 1 minute

What is the expected behavior?

Performance should not have regressed this massively

Version

All

Logs

No response

Crash dumps

No response

Media

Look here for screenshots: https://discord.com/channels/1028444667789967381/1228440201139851295/1269307220361740359

NV-LL commented 1 month ago

REMIX-3422 for tracking

AlexDunn commented 3 weeks ago

Small update here. Coincidently, we have been looking at GPU performance around the time this issue was filed. As such we have a number of performance improvements submitted over the last couple weeks. Below is a complete list of all the optimizations to date.

With all of these performance should be better than 0.3 in some cases (particularly in decal/particle heavy scenes). In other cases (more general cases) there is still some work to do. Please, if you get a sec, try the latest action build on github and let us know.

https://github.com/NVIDIAGameWorks/dxvk-remix/commit/1cec750e77b78b899ce8616cf5fe0742ef766020 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/0d423f8df79c07d0c486afd4da1ada92b17bea62 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/b698be7001a21ed2ba2e4fb842ce84ae79939105 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/f4e44193be8de63e048c8ca8c2ace0e1609ffc64 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/33e8c58cda95107772e4a1eb86bc80c1712c6a22 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/5b3957bad1de4fa5b3935c2d5f639266d39a29b8 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/eaed7a2dbf899f52fd7a7e39f06f51b67b439b2f https://github.com/NVIDIAGameWorks/dxvk-remix/commit/553a6ecc0948ea6298157e9d3acf29371db78710 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/bae3c2ce6fcd6938e6ccb09de0d1cdfe54161419 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/c9b44c3d7fc857210abad96f0a76da96ce877078 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/c9b44c3d7fc857210abad96f0a76da96ce877078 https://github.com/NVIDIAGameWorks/dxvk-remix/commit/277c3f35ec7383ea1b270ddd5e1030879d3174b7

McMasterGold commented 3 weeks ago

The latest submodules fix the issue I noted in #503 and performance is indeed better than Remix 0.3. Thank you!

remix-main+1758e0fd

Kim2091 commented 3 weeks ago

Awesome! I did a test about 5 days ago and it was getting closer and closer to 0.3.0 on Nvidia GPUs. You can read my testing here: https://discord.com/channels/1028444667789967381/1028444668918235197/1275210861241303182

I'll test again next week when I have some time. Thank you guys 🙂

AlexDunn commented 3 weeks ago

Thank you. @McMasterGold seems we should close #503 based on this comment.

@Kim2091 thanks, I see your testing may be missing two cruicial optimizations. I expect a 5~10% speedup on your previous test

Kim2091 commented 2 weeks ago

Okay, so I just tested the latest builds as of this post, and sadly performance isn't quite at 0.3.0's level in this specific test.

It's about on par with 0.4.1. 0.3.0 still has a lead of about 9 FPS.

However it's extremely impressive how quickly performance was restored to 0.4.1's level 😃