Increase memory size of Lavapipe device?

Jose Fonseca jfonseca at
Tue Apr 11 13:48:31 UTC 2023

Sounds good, but on 32-bits processes it's better lavapipe doesn't exceed 2GB, to leave enough VA for the process/kernel.

Also, LP_MAX_TEXTURE_SIZE (individual resource size) needs to stay at 2GB.


From: mesa-dev <mesa-dev-bounces at> on behalf of Mike Blumenkrantz <michael.blumenkrantz at>
Sent: Tuesday, April 11, 2023 14:37
To: George Karpathios <gkarpa1 at>
Cc: mesa-dev at <mesa-dev at>
Subject: Re: Increase memory size of Lavapipe device?

Hm that should probably query the total available memory on the system. You can submit an MR to make that change if you're interested?


On Tue, Apr 11, 2023 at 9:35 AM George Karpathios <gkarpa1 at<mailto:gkarpa1 at>> wrote:
Hi list,

I'd like to ask how I can increase the memory of the Lavapipe device over 2GB that vulkaninfo reports. I didn't find any configuration options or environment variables available. Should I just manually change the size property at lvp_device.c:1441 and rebuild or is it more complicated? Thanks in advance.

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the mesa-dev mailing list