Skip to content

revert(memory): drop LIMBO's texture limit and the 500 ms thrash guard - #24

Merged
xXJSONDeruloXx merged 1 commit into
mainfrom
revert-limbo-cap
Dec 3, 2026
Merged

xXJSONDeruloXx merged 1 commit into
mainfrom
revert-limbo-cap

Conversation

@xXJSONDeruloXx

Copy link
Copy Markdown
Owner

Reverts #22. The texture limit didn't make LIMBO fit; it broke its rendering.

  • LIMBO doesn't fall back to smaller textures. Its 4096 textures just fail (GL_INVALID_VALUE with MESA_DEBUG=1).
  • Its 4096x4096 probe for GL_RGB10_A2 fails too. LIMBO then creates its five render targets with a pixel format its GL renderer lacks (glTexImage2D(GL_NONE)), and every draw fails with GL_INVALID_FRAMEBUFFER_OPERATION. A GL tracing shim showed this, and the screen is black apart from the film grain.
  • The lower GPU memory measured in fix(memory): let LIMBO fit with 2048 textures and a 500 ms thrash guard #22 was those missing textures. Without the limit, the forest renders (screenshot checked).
  • LIMBO as shipped doesn't fit next to Steam in 1 GB. At 500 ms the guard kills it about a minute into the first level, so the 500 ms guard has no remaining reason, and the guard goes back to 1000 ms.

docs/findings.md keeps the measurements, corrected, and records a zram recompression variant that I tried and didn't keep. docs/games.md says LIMBO is killed in its first level.

@xXJSONDeruloXx
xXJSONDeruloXx merged commit 7568e51 into main Dec 3, 2026
15 checks passed
@xXJSONDeruloXx
xXJSONDeruloXx deleted the revert-limbo-cap branch December 3, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant