News: 0001521341

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Mesa 25.0 Gets A New Vulkan Layer For Limiting The Amount Of Reported vRAM

([Mesa] 5 Hours Ago VK_LAYER_MESA_vram_report_limit)


A half-year-old merge request from Igalia's Karmjit Mahil has been merged for Mesa 25.0 that is a Vulkan layer allowing for optionally limiting the amount of video memory reported to games/applications.

Primarily for testing/debugging purposes, the new "vram-report-limit" Vulkan layer allows for limiting the amount of video memory reported to an application. It doesn't enforce actual limits on the vRAM use but rather just the expressed amount of vRAM reported to be available. From there applications may alter their behavior based on seeing less vRAM than is actually there, but if they keep on allocating memory they can still go above the artificially limited cap.

Karmjit Mahil worked on this Vulkan layer for wanting to explore reductions in the vRAM limit and their impact on gaming performance. The layer allows via VK_VRAM_REPORT_LIMIT_HEAP_SIZE specifying a static size in MiB for all device heaps for a given Vulkan physical device.

Those interested in this Vulkan layer within Mesa 25.0 for debugging/testing purposes can find all the details within [1]this merge request .



[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30095



phoronix

Almost nothing in Perl serves a single purpose.
-- Larry Wall in <199712040054.QAA13811@wall.org>