-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abysmal performance in "San Franciso Rush 2049" due to smoke effect #1862
Comments
So this is not a bug then, I see! You mean this particular section, right?
...so if I'm correct, this game uses 152 transparent layers, is that correct? Then, how the Dreamcast do that if a modern day GPU like mine struggles to do so? (Genuinely curious!) |
I was doing some research and it seems that modern GPUs should be up to the task. |
Yes
There's no Dreamcast specification as to the max number of transparent layers. 128 is enough for 99% of games but there are exceptions.
I have the same question. I guess it's using some optimization to eliminate some layers. But note that my GPU (Nvidia GTX 1080) has no issue with this game. Also keep in mind that the Dreamcast renders at 640x480. Upscaling by 2 will dradruple the work needed to render a frame.
Weighted Blended only works for the basic blending method (source alpha, 1 - source alpha) iirc. Per-pixel linked lists is what flycast is using. |
Well, your Nvidia GTX 1080 is apparently a 110% faster than my Radeon 780M (which equals an RTX 2050M), so of course you don't get to see the massive slowdown with |
Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.
Platform / OS / Hardware: GNU/Linux Debian Testing, kernel 6.12.12, latest MESA stable (25.0.0)
Flycast version: Latest GIT code
Hardware: AMD Ryzen 8700G with Radeon 780M graphics, 32GB (2x16) DDR5 6400 RAM.
Also happens on Intel XE graphics.
Description of the Issue
In "San Francisco Rush 2049", when breaking strongly and creating a lot of smoke/dust, performance is severely impacted by the smoke effect, going as low as 1 frame per second with
Alpha Sorting
set toPer Pixel
.Happens both on the Vulkan and OpenGL renderer.
CPU usage is always very low (~5% of one core), so I suspect some renderer bug triggering this.
Debugging Steps Tested
Tried different renderers (OpenGL, Vulkan), tried altering all the emulator video options (pixel buffer size, transparent layers, etc).
I can't see what's triggering this.
Maybe the smoke/dust effect is made of individual pixels? How is the effect done?
Screenshots
The text was updated successfully, but these errors were encountered: