11-04-2020, 02:54 AM
(11-01-2020, 03:40 PM)NathanB Wrote:(11-01-2020, 12:27 PM)JasonG-FR Wrote:In fact, I doubt that 'sudo ninja install -C build/' worked because 'glxinfo' always returned 'mesa 20.2.1' instead of 'mesa 20.3.x'.Code:meson -Dgallium-drivers=panfrost,kmsro -Dvulkan-drivers= -Db_ndebug=false --buildtype=plain -Dlibunwind=false
Am I doing something wrong?
Hi JasonG-FR,
You need to add --prefix=/usr to meson command otherwise the files will install to /usr/local.
Also, I couldn't find anything wrong with any commit in the mesa git repo. This is an issue with the mesa-git package in the pacman repository. Even 20a4235c4c9 from the git repo doesn't cause a kwin crash. If I pull the mesa-git package down with Pacman, it causes the crashes.
Can you try building Mesa using the exact PKGBUILD used for mesa-git, to see if compiling it locally still causes the crash?
If it does crash, try removing the line '-D b_lto=true' from the PKGBUILD and rebuilding (makepkg -ef).
If it works then, it is likely a compiler bug. Otherwise, you can try bisecting using the PKGBUILD (still with the lto line removed to keep down build times), again using `makepkg -ef` to rebuild the package.