xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.85k stars 283 forks source link

Midtown Madness 3: Flickering shadows #1261

Open a-hurst opened 2 years ago

a-hurst commented 2 years ago

Title

https://xemu.app/titles/4d53002a/#Midtown-Madness-3

Bug Description

During gameplay, there's some weird flickering in the shadows on the ground. Things seem to settle if I stay in one place for a while, but otherwise it's pretty constant. It starts immediately after starting free roam:

https://user-images.githubusercontent.com/18648066/189766441-86b833cf-ef82-4c45-bf7b-f5759537394d.mp4

Expected Behavior

From gameplay videos on YouTube it looks like xemu didn't used to have this issue, so I figure this is either this is a regression or a macOS-specific quirk: https://www.youtube.com/watch?v=UR2Pb9HnqbE

xemu Version

Version: 0.7.69 Branch: master Commit: f7b2acbb797ccd9c5b33460d1019c21793826a22 Date: Fri Sep 9 21:01:10 UTC 2022

System Information

CPU:
OS Platform: macOS OS Version: Version 12.5.1 (Build 21G83) Manufacturer: Apple GPU Model: Apple M1 Pro Driver: 4.1 Metal - 76.3 Shader: 4.10

Additional Context

If there's any other helpful debug info I can provide, please let me know!

TheLonelyAdventurer commented 1 year ago

I think this is related, but I may also add that:

1) Some elements like walls disappear sometimes especially if there are shadows expected to be in that direction

2) The car lights's origin point is depositioned and might cast an unexpected dark ball behind the car

3) Sometimes, in shadows, there is a graphics mask that makes the floor transparent.

SpecialDarkwolf999 commented 1 year ago

upscaling for this game is not working right. it will slow the game very down and causes graphic stripes in game

seanarimo commented 9 months ago

Upscaling still has slowdown and graphical issues. Looks fine at Native Resolution (tested around 6 missions). Xemu Version: 0.7.118

jordancrawfordnz commented 4 months ago

I tried this out on version 0.7.127 on both Windows 10 (Intel i7 4770) and macOS (Sonoma 14.5, M1). The shadow issues appears consistent between both Windows and Mac.

The game is still playable but the shadow flickering can be quite distracting.

I've attached a few gameplay videos. For me the flickering wasn't nearly as bad as shown in @a-hurst's video above, mostly just some weirdness with the car's shadows. Could this relate to #1016 which also impacts MM3.

https://github.com/xemu-project/xemu/assets/7520773/778d37d9-51ff-41b9-95eb-407e4889b708

(No audio unfortunately)

https://github.com/xemu-project/xemu/assets/7520773/0a72d7f6-52a6-4e25-a754-27c70141eb18

https://github.com/xemu-project/xemu/assets/7520773/059d7641-8f76-424a-bee0-b7705bc2a036