flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.3k stars 163 forks source link

18 Wheeler: American Pro Trucker - Regression #1445

Closed antoniodesousa closed 4 months ago

antoniodesousa commented 4 months ago

Platform / OS / Hardware: Dreamcast, Windows 11 23H2, Ryzen 9 6900HX, Radeon RX 6600M, 64 GB RAM

Github hash: https://github.com/flyinghead/flycast/commit/c146a92

Description of the Issue

The screws from the plate in the title screen are missing. You can see the animation but they become missing afterwards. Every build after the one I mentioned (including that build) has the same issue.

Debugging Steps Tested

Just wait until the title screen appears and the animation finishes.

Logs Gathered

Screenshots

Screenshot 08_03_2024 14_41_02

flyinghead commented 4 months ago

I can't reproduce the issue with a Nvidia GTX 1080. I tried both OpenGL and Vulkan, per triangle and per pixel, and the screws are always visible. Do you have Native Depth Interpolation enabled? Can you test other graphics APIs?

antoniodesousa commented 4 months ago

Maybe, the change only affects AMD GPUs and possible Intel GPUs? Latest build without the issue is 57c88e0

flyinghead commented 4 months ago

Yes, it's possibly a GPU or GPU driver issue. Unfortunately, the commit you reference is a merge commit from the dev branch, so it's actually 121 commits. Can you try some builds (before 2024/2/3) on the dev branch?

antoniodesousa commented 4 months ago

This commit broke it 9f9b29b It makes sense, I had issues before with that setting enabled on my GPU. That's why I always have it disabled. But it seems like it's been forced to be enabled by default now. So, that option does nothing now 😞

flyinghead commented 4 months ago

Great! Thank you for identifying the actual commit. I guess I'll revert it so that users have the choice to enable this setting or not.

antoniodesousa commented 4 months ago

Cool thanks! I will close the issue once I test the new build with the fix.

flyinghead commented 4 months ago

Fixed on latest master

antoniodesousa commented 4 months ago

I just tested it and it's fixed in the latest master release! Thanks