LostArtefacts / TR1X

Open source re-implementation of Tomb Raider 1 (1996), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
583 stars 36 forks source link

TR1X bug: First backdrop flicker during fade-in when starting up the game #1388

Open aredfan opened 3 months ago

aredfan commented 3 months ago

Dev snapshot: 4.1.2-45-g5d706bd


When starting up the game - the first visible backdrop flickers during fade-in. A sort-of black blink.

I think this regression was introduced today.

Steps to reproduce:


Edit: The issue happens when vsync is enabled.

rr- commented 3 months ago

@aredfan I can't quite see this, can you show some exaggerated video and post the config file? Thanks.

aredfan commented 3 months ago

@rr- Yes of course, here's my config files: cfg.zip.

Btw I did more investigating today and found that the blink is a lot more apparent when Fade effects is disabled. Maybe the bug isn't related to fades.

My screen-recorder GeForce wasn't able to capture the issue so I recorded it on my phone instead, it's slow motion. See the Eidos screen appear for a frame or two, before properly appearing.

The video is recorded with fades disabled, vsync on, and 30 FPS.

https://github.com/LostArtefacts/TR1X/assets/94776985/73ad9a1d-f94b-43c0-b219-c8f920422a0d

aredfan commented 3 months ago

I thought it might be a good idea to write a short summary of what we know so far.

rr- commented 2 months ago

@aredfan can you check if this build makes any difference?

https://nebula.wind.garden/serve/pub/TR1X-4.1.2-62-gc034908-dirty-Windows.zip

aredfan commented 2 months ago

@rr- I just tested the build and the flicker is still present.