VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Number of Buffer Objects allocated exceeds 32-bit limit (4Gio)

Open Lolothepro opened this issue 9 months ago • 3 comments

Describe the bug

Number of BOs allocated exceeds 32-bit limit (4Gio) https://gitlab.freedesktop.org/mesa/mesa/-/issues/8889#note_2816047 On some GPUs, this is limited to 4 Gio

Steps to reproduce

Use VulkanMod on a Raspberry Pi

Log files

https://mclo.gs/Fn2MXCy

Lolothepro avatar Mar 09 '25 16:03 Lolothepro

You said on gitlab Lolothepro @Lolothepro · 1 day ago Author

Hey @apinheiro VulkanMod works! We've managed to get VulkanMod working on a Raspberry Pi, but now we're having a little performance issue with texture upload (and animation). https://spark.lucko.me/sK4aAoevTG Can I open a report to ask if it's possible to optimize texture uploads or not? v3dv_CmdCopyBufferToImage2()

How?

Coolchickenguy avatar Mar 19 '25 23:03 Coolchickenguy

@Lolothepro How did you fix this (Claimed on gitlab)

Coolchickenguy avatar Mar 19 '25 23:03 Coolchickenguy

By setting StagingBuffer.DEFAULT_SIZE to 64*1024, I can reach the main menu without a crash. 🕺

Lolothepro avatar Mar 20 '25 13:03 Lolothepro