[Genhis][2.0.45] Black horizontal line drawn intermittently
Posted: Fri Apr 25, 2025 4:32 am
by BurninSun
Video and save file attached. Line is appearing at the chunk boundary just a few tiles south of the starting position.
This game was started with space exploration (and the same graphics glitch existed there) but I've stripped it back down to vanilla and still get the same seam.
The seam only appears while moving south while the player is north of the seam and only at the current saved zoom level (4 zoom out clicks from default).
Edit: Log file added as well.
Re: [2.0.45] Black horizontal line intermittently at night
Posted: Sat Apr 26, 2025 5:21 am
by BurninSun
Looks like a mod changed the thread title but I need to clarify - this line appears day and night regardless.
Also there is 1 chunk boundary that always has a line while an adjacent chunk never has a line while the others only appear when I'm moving south.
Re: [2.0.45] Black horizontal line drawn intermittently
Posted: Mon Apr 28, 2025 8:39 pm
by Rseding91
Thanks for the report however I can't reproduce any issue. Can you provide your config file? Maybe it's specific to some setting(s) you're using.
Re: [2.0.45] Black horizontal line drawn intermittently
Posted: Mon Apr 28, 2025 11:52 pm
by BurninSun
Config file attached.
Re: [2.0.45] Black horizontal line drawn intermittently
Posted: Thu May 01, 2025 2:55 pm
by Rseding91
I was able to reproduce it once, and then never again since... Also strangely it was a red line for me and not black. My current thought is maybe it's related to compressing the atlas cache and that losing some amount of information?
Can you try disabling "cache atlas sprites" in "The Rest" and see if that has any impact on things?
Re: [2.0.45] Black horizontal line drawn intermittently
Posted: Fri May 02, 2025 10:00 am
by posila
Heyo! In debug build, we clear framebuffer under tiles to red to make bugs like this more apparent. In release we clear it to black.
I think it's seam between vertices of tile quads, which should not happen to my best understanding of the math of calculating vertex positions, but for some reason does on certain map coordiantes.
It's been there also in 1.0, and I am not sure if we patched all the known occurences of it in 1.1, and some changes in 2.0 made it happen again, or this is was present in 1.1 too.
But it's also weird the line does not persist when not moving, so maybe it is some problem in reusing terrain from previous frame.
Re: [2.0.45] Black horizontal line drawn intermittently
Posted: Fri May 02, 2025 1:17 pm
by BurninSun
I tried all 4 combos of enabled/disabled cache-sprite-atlas and compress-sprite-atlas-cache, including restarting the client after changing the settings each time. All results were the same, the black line remained.
Re: [Genhis][2.0.45] Black horizontal line drawn intermittently
Posted: Sun May 04, 2025 9:11 pm
by Hares
Same for me on Fulgora.
Error persisted between saves and even between restarts.
05-05-2025, 00-08-22.png (1.01 MiB) Viewed 1615 times
Click to expand the recording
Attaching a save where the bug persists.
Also attaching local Factorio config, including caches.
Graphics settings:
05-05-2025, 00-10-27.png (221.38 KiB) Viewed 1615 times
Re: [Genhis][2.0.45] Black horizontal line drawn intermittently
Posted: Sat May 10, 2025 6:04 pm
by Hares
Found one more on the same savefile, but vertical. Previous one was only visible if a character is nearby, this one is visible from the map view.
05-10-2025, 21-04-38.png (1.39 MiB) Viewed 1471 times
Re: [Genhis][2.0.45] Black horizontal line drawn intermittently
Posted: Sun May 11, 2025 11:43 pm
by Sacredanarchy
I also found a line and attached a clip of its behaviour
Graphics settings
05-12-2025, 00-43-29.png (221.9 KiB) Viewed 1427 times
Re: [Genhis][2.0.45] Black horizontal line drawn intermittently
Posted: Mon May 12, 2025 5:41 am
by Genhis
Thanks for the report, the issue is fixed for 2.0.48. It got broken in 2.0.44 when we added Gleba decals masking over water and optimized some things as a result.