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-boun...@lists.freedesktop.org> on behalf of Mike 
Blumenkrantz <michael.blumenkra...@gmail.com>
Sent: Tuesday, April 11, 2023 14:37
To: George Karpathios <gkar...@gmail.com>
Cc: mesa-dev@lists.freedesktop.org <mesa-dev@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 
<gkar...@gmail.com<mailto:gkar...@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

Reply via email to