[Mesa-users] Looking for Compile Hints
Radu Rendec
radu.rendec at gmail.com
Fri Mar 31 14:55:28 UTC 2023
On Thu, 2023-03-30 at 20:16 -0700, Bernie Wieser wrote:
> 23.1.0 on Ubuntu 22 leaks with X and arm/mali processors - so I
> understand 23.3.7 fixes the issues and when I try to compile on my
> "le potato" and "odroid n2l", the memory issue appears fixed, but X
> and other performance is 10% of what it was (pretty much unusable).
> Interestingly, weston/wayland is just fine. So I figure I am not
> compiling with appropriate options for arm, panfrost, and lima on X.
>
> Could someone share the compile options with meson they use for best
> performance with X11?
I don't have much experience with either Mesa or Ubuntu, but since the
original distro package seems to have the performance you expect, I
would recommend to take a look at how it's built. The original *source*
package is where I'd start on any distro. Regardless of the package
manager, the source package should include a build "recipe" with
specific compile options/flags.
As a bonus, if you go down this path, you end up with a binary package
that can replace the distro package, and you can use the default
package manager on your system (dpkg in your case). When the distro
eventually pulls in an even newer version of the package than the one
you compile, your manually compiled version of the library will be
replaced seamlessly.
Best regards,
Radu
More information about the mesa-users
mailing list