[Genhis][2.0.45] Black horizontal line drawn intermittently

This subforum contains all the issues which we already resolved.
BurninSun
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Fri Mar 16, 2018 4:54 am
Contact:

[Genhis][2.0.45] Black horizontal line drawn intermittently

Post 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.
Attachments
factorio-current.log
(7.74 KiB) Downloaded 30 times
test35.zip
(1.61 MiB) Downloaded 23 times
Factorio 2.0.45 2025-04-24 21-26-44.mp4
(11.54 MiB) Downloaded 31 times
BurninSun
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Fri Mar 16, 2018 4:54 am
Contact:

Re: [2.0.45] Black horizontal line intermittently at night

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15532
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.45] Black horizontal line drawn intermittently

Post 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.
If you want to get ahold of me I'm almost always on Discord.
BurninSun
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Fri Mar 16, 2018 4:54 am
Contact:

Re: [2.0.45] Black horizontal line drawn intermittently

Post by BurninSun »

Config file attached.
Attachments
config.ini
(61.99 KiB) Downloaded 24 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15532
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.45] Black horizontal line drawn intermittently

Post 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?
If you want to get ahold of me I'm almost always on Discord.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [2.0.45] Black horizontal line drawn intermittently

Post 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.
BurninSun
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Fri Mar 16, 2018 4:54 am
Contact:

Re: [2.0.45] Black horizontal line drawn intermittently

Post 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.
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 812
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: [Genhis][2.0.45] Black horizontal line drawn intermittently

Post by Hares »

Same for me on Fulgora.
Error persisted between saves and even between restarts.
05-05-2025, 00-08-22.png
05-05-2025, 00-08-22.png (1.01 MiB) Viewed 367 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
05-05-2025, 00-10-27.png (221.38 KiB) Viewed 367 times
Attachments
128367 - Horizontal black line - Factorio archive.zip
(9.26 MiB) Downloaded 10 times
128367 - Horizontal black line.zip
(65.22 MiB) Downloaded 14 times
2025-05-05 00-08-04.mp4
(5.87 MiB) Downloaded 14 times
User avatar
Hares
Filter Inserter
Filter Inserter
Posts: 812
Joined: Sat Oct 22, 2022 8:05 pm
Contact:

Re: [Genhis][2.0.45] Black horizontal line drawn intermittently

Post 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
05-10-2025, 21-04-38.png (1.39 MiB) Viewed 223 times
Sacredanarchy
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Apr 04, 2022 1:49 pm
Contact:

Re: [Genhis][2.0.45] Black horizontal line drawn intermittently

Post by Sacredanarchy »

I also found a line and attached a clip of its behaviour
Graphics settings
Graphics settings
05-12-2025, 00-43-29.png (221.9 KiB) Viewed 179 times
Attachments
Untitled_video_-_Made_with_Clipchamp.mp4
I found one too
(9.53 MiB) Downloaded 25 times
Genhis
Factorio Staff
Factorio Staff
Posts: 812
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.45] Black horizontal line drawn intermittently

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”