Re: Looking for Compile Hints
Radu Rendec <[email protected]> Fri, 31 Mar 2023 10:55:28 -0400
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
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.=C2=A0 So I figure I am not > compiling with appropriate options for arm, panfrost, and lima on X. >=20 > 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