Game may run out of VRAM on mobile systems?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend
Research direction
Start by reviewing the crash trace at client/src/ui/Label.lua:72 and client/src/scenes/Lobby.lua:210, then check the text-handling changes in linked PR #649, which the issue says may already address the problem. Look for additional evidence that the Android VRAM crash persists after those changes; done means identifying a reproducible cause and a justified fix, or closing the issue if the PR resolved it.
Written by the indexing model from the issue text.
Description
mato got this following crash once:
Error: Please share your crash.log with the developers to get help with this!
Stack Trace:
[C]: in function 'newText'
client/src/ui/Label.lua:72: in function 'setText'
client/src/scenes/Lobby.lua:210: in function 'update'
client/src/NavigationStack.lua:162: in function 'update'
client/src/Game.lua:379: in function 'update'
main.lua:85: in function 'update'
client/src/CustomRun.lua:126: in function 'runInternal'
client/src/CustomRun.lua:212: in function <client/src/CustomRun.lua:210>
[C]: in function 'xpcall'
Username: mato_touch
Theme: Panel Attack Modern
Error Message: client/src/ui/Label.lua:72: Could not create buffer with 3072 bytes (out of VRAM?)
Engine Version: 048
Build Version: stable 1742579832
Operating System: OS: Android
Love Version: 12.0.0
Renderer Info: OpenGL ES;OpenGL ES 3.2 [email protected] (GIT@95db91f, Ifbc588260a, 1600958831) (Date:09/24/20);Qualcomm;Adreno (TM) 616
UTC Time: 2025-03-22 22:09:44
Scene: Lobby
First time I've seen this and this should not happen easily.
The only idea I have about this is to correct the way newText is being used for labels because Lobby in particular throws all its labels away and creates new ones on every single server status update (but even then, crashing from being out of VRAM is a bit ridiculous, these should still get cleared by the GC). Text handling has been reworked in #649 so if it was actually text and not the thing it crashed on that might have gotten better.
I'll probably end up closing this with the PR mentioned above if there are no new insights.
- Dominant language
- Lua
- Stars
- 30
- Forks
- 20
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 17
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from panel-attack/panel-game
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
panel-attack/panel-game#822 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
panel-attack/panel-game#779 ·
Maintainers usually reply within 1 day
-
bug Client-side priority: 0 - high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
panel-attack/panel-game#776 ·
Maintainers usually reply within 1 day
-
enhancement priority: 1 - middle
Difficulty 4/5 3-5 days Newbie friendliness 48/100
panel-attack/panel-game#821 ·
Maintainers usually reply within 1 day
-
Animation scenes draw every part separately, costing hundreds of draw calls a framePossibly taken @JamesVanBoxtel claimed this 4 days ago. OpenClient-side enhancement graphics
panel-attack/panel-game#814 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in panel-attack/panel-game
Similar issues
-
slice weekend
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
Life-Framework/Life-Framework#3212 ·
Maintainers usually reply within 1 day
-
bug discord guide:01b-riverglades locale:enUS triage v4.1.1
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
petertriho/nvim-scrollbar#127 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100