Skip to content

Massive performance issue in 2D viewport when zooming out on huge TileMap #85871

@SlyRebula

Description

@SlyRebula

Tested versions

Tested on 4.2 stable mono
Also tested with custom build #84963 (compiled my self)

System information

Godot v4.2.stable.mono - Ubuntu 23.10 23.10 - Wayland - Vulkan (Forward+) - dedicated Intel(R) Arc(tm) A770 Graphics (DG2) () - AMD Ryzen 7 2700X Eight-Core Processor (16 Threads)

Issue description

I am getting horrible performance on "Forward+" compared to "Compatibility" with large tilemap,
at first, I thought this was a driver issue so I tried intel mesa drivers and the latest Ubuntu repa mesa drivers but none of these solved the problem then i tried with Custom Build(#84963 ) but that didn't solve the problem.

That being said it is slow with Compatibility but not horrible(on forward it can escalate into a crash..). The most noticeable slowness appears with Zooming out when zoomed in the slowness disappears.

Selecting the Tilemap node will create the same lag.

Screenshot from 2023-12-07 01-17-42

Steps to reproduce

Create a large tilemap and zoom out this will create the issue.

Minimal reproduction project (MRP)

TestTileMapLag.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions