Increase memory size of Lavapipe device?
Jose Fonseca
jfonseca at vmware.com
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.
Jose
________________________________
From: mesa-dev <mesa-dev-bounces at lists.freedesktop.org> on behalf of Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Sent: Tuesday, April 11, 2023 14:37
To: George Karpathios <gkarpa1 at gmail.com>
Cc: mesa-dev at lists.freedesktop.org <mesa-dev at lists.freedesktop.org>
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?
Mike
On Tue, Apr 11, 2023 at 9:35 AM George Karpathios <gkarpa1 at gmail.com<mailto:gkarpa1 at gmail.com>> 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,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20230411/955e41a1/attachment.htm>
More information about the mesa-dev
mailing list