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

Tokyo Xtreme Racer - Flickering headlights #1424

Closed Blackbird88 closed 4 months ago

Blackbird88 commented 4 months ago

Platform / OS / Hardware: Windows 11 Pro x64

Github hash: 67c4e62c5

Hardware: Intel Core i7-10700K Nvidia GeForce RTX 3070 (551.23)

Description of the Issue

Headlights of the cars flicker constantly. I have tried every setting I could think of and it keeps happening.

Logs Gathered

Screenshots

Flycast

https://github.com/flyinghead/flycast/assets/4414625/f8356d34-1578-4dbf-9e1a-e8ab760bcc68

Real HW https://youtu.be/QWnvKd4wjhU?si=aUnRguLx25G8qJOe&t=137

flyinghead commented 4 months ago

I checked on original hardware and the flickering of headlights happens in both NTSC/480i and VGA/480p modes.

Blackbird88 commented 4 months ago

Interesting. That video I posted is pre-release footage then I guess.

flyinghead commented 4 months ago

I doubt it. Most videos are recorded at 30 FPS and the headlight blinking rate is the same so it's not noticeable. Even 60 FPS videos might do some interpolation, or merge 2 interlaced half frames. Some videos will show some interlacing only on headlights, indicating they are only drawn every other frame, as in this example: image

But the flickering is really obvious as soon as you play the game on real hardware, although it might be mitigated by interlacing in PAL or NTSC modes.