[posila][2.0.21] Some VFX still rendered through fog of war

This subforum contains all the issues which we already resolved.
EustaceCS
Filter Inserter
Filter Inserter
Posts: 281
Joined: Tue Dec 15, 2020 5:41 am
Contact:

[posila][2.0.21] Some VFX still rendered through fog of war

Post by EustaceCS »

Offenders spotted to date:
- wired belt segments
- actively researching labs
- [UPD] furnaces and electric mining drills

Environment
- Ubuntu 24.10 x64, all-vanilla (no beta channels and as few extra repos as possible) with snapd support (and snapd dependant packages) removed.
-- Linux 6.11.0-8-generic
-- Gnome ver. 47
-- Wayland for windowing system
- AMD Vega 8 Mobile for a GPU, recognized by Steam's hardware checkup as
-- CPU Brand: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
-- Video Card:
--- Driver: AMD AMD Radeon Vega 8 Graphics (radeonsi, raven, LLVM 19.1.0, DRM 3.58, 6.11.0-8-generic)
--- Driver Version: 4.6 (Compatibility Profile) Mesa 24.2.3-1ubuntu1
- Factorio Linux native edition, stand-alone, of today's latest Experimental version
-- X11 selected over Wayland
-- all eye candy disabled
-- no mods, fresh save started 20ish hours ago or so

Example with wired belts:
1. Load the save.
2. Move to starting coal patch to see both wired belts slightly at the left from it.
3. Step away so these belts are not in character's "reveal" range.
4. Enter map mode before fog of war returns to a chunk with wired belts.
5. Observe.

Expected result
Fog of war covers everything, leaving only colored pixels representing specific entities and nothing else.

Actual Result
"On/off lamp" and belt scanning laser are still rendered for wired belts.
"tesla lamp" effect is being rendered for actively researching labs.
Looks quite badass and handy in SOME very rare cases where end user hogged resources dedicated for radar coverage. But it's not quite how "true" fog of war is supposed to work. . .

Observations
For some incompherendable reason, if the system is loaded by anything significant in addition to Factorio (in my case: Steam startup + some YouTube video in background in Edge browser, OBS doing its post-recording processing) - the problem cease to appear.
Steam being fully loaded + OBS doing recording, for some no less mysterious reason, does not make problem disappear.
So it may or may not be a coincidience.

Video: https://e.pcloud.link/publink/show?code ... omtXBlrVKX

[UPD] Example with research labs and furnaces (and electric mining drills - top left of the screenshot), on same save:
1. Stop all researches.
2. Hug the offshore pump at the leftmost edge of the base.
3. Wait until fog of war covers research & smelting area.
4. Enter map mode, max zoom, and look at research & smelting area.
5. Start any research for which you have packs for (red, green, blues).
Video: https://e.pcloud.link/publink/show?code ... uOGRcT1olX
Screenshot added.
The log file attached to this post is from 1st reproduction case (belts). Is a separate log for research&smelting area needed?
Attachments
Screenshot From 2024-11-23 17-21-35.png
Screenshot From 2024-11-23 17-21-35.png (161.61 KiB) Viewed 513 times
Screenshot From 2024-11-23 16-19-42.png
Screenshot From 2024-11-23 16-19-42.png (27.5 KiB) Viewed 549 times
config.ini
(56.61 KiB) Downloaded 11 times
factorio-current.log
(9.75 KiB) Downloaded 12 times
665.zip
(4.9 MiB) Downloaded 10 times
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][2.0.21] Some VFX still rendered through fog of war

Post by posila »

Thank for very detailed bug report.

Fixed for 2.0.22.

It's caused by bug in new graphics option Occlude light sprites and the bug in code path when the option is disabled. It's disabled by default on your computer, I'll have to look into if it is appropriate default value on your computer, but also we have trouble detecting GPU capabilities well on Linux, since we still just just OpenGL.

I don't know why under the load it disappear. It would disapper during daytime. Isn't it possible it just happened to be a day in game? Also the game detected just 5 GB of RAM is that correct?
EustaceCS
Filter Inserter
Filter Inserter
Posts: 281
Joined: Tue Dec 15, 2020 5:41 am
Contact:

Re: [posila][2.0.21] Some VFX still rendered through fog of war

Post by EustaceCS »

Declared memory is 6GB RAM (8GB total minus 2GB dedicated to GPU) for this laptop.
Dark Souls Remastered thinks it's 5GB as well - so I probably have to ask some VERY inconvenient questions to my hardware's manufacturer...
Steam's hardware survey displays
"Primary VRAM: 2048 MB
RAM: 5287 Mb (sic!)"
"free -h --si" ran in Terminal gives these values:
Screenshot From 2024-11-26 17-18-11.png
Screenshot From 2024-11-26 17-18-11.png (9.89 KiB) Viewed 368 times
(Factorio SA + web browser + some small Electron based gizmos running)
Since you, gentlemen (and ladies, if any), did EXCELLENT job at optimization, I almost never dip below 60UPS in my usual gameplay, if that's a concern :)

For me personally, the fewer eye candy - the better. Since I'm way below declared expansion's minimal system requirements, my specific case is probably not quite worth investigation THAT deep.
(not to give false hope to people expecting DLC for Switch, at the very least :) )

Day/night - if I'll have a chance, I'll check it out. You're probably right.
Post Reply

Return to “Resolved Problems and Bugs”