Can confirm also, now works on Manjaro also. Pardon my ignorance, but what is this "LTO" supposed to do anyway? Make compiling the package faster or actually make drivers performance faster?
Search Criteria
Package Details: mesa-git 25.2.0_devel.204321.de6efc01c12.d41d8cd-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mesa-git.git (read-only, click to copy) |
---|---|
Package Base: | mesa-git |
Description: | an open-source implementation of the OpenGL specification, git version |
Upstream URL: | https://www.mesa3d.org |
Keywords: | mesa wayland X11 |
Licenses: | custom |
Conflicts: | libva-mesa-driver, mesa, mesa-libgl, mesa-vdpau, opencl-clover-mesa, opencl-rusticl-mesa, vulkan-intel, vulkan-mesa-layers, vulkan-nouveau, vulkan-radeon, vulkan-swrast, vulkan-virtio |
Provides: | libva-mesa-driver, mesa, mesa-libgl, mesa-vdpau, opencl-driver, opencl-rusticl-mesa, opengl-driver, vulkan-driver, vulkan-intel, vulkan-mesa-layers, vulkan-nouveau, vulkan-radeon, vulkan-swrast, vulkan-virtio |
Submitter: | Krejzi |
Maintainer: | rjahanbakhshi (Lone_Wolf) |
Last Packager: | rjahanbakhshi |
Votes: | 189 |
Popularity: | 2.18 |
First Submitted: | 2014-06-19 21:33 (UTC) |
Last Updated: | 2025-04-16 20:46 (UTC) |
Dependencies (52)
- clang (llvm-gitAUR, clang17-binAUR, clang-minimal-gitAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- libclc (libclc-gitAUR, libclc-minimal-gitAUR)
- libdrm (libdrm-gitAUR)
- libelf (elfutils-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxdamage
- libxext (libxext-gitAUR)
- libxfixes
- libxshmfence
- libxxf86vm
- llvm-libs (llvm-libs-gitAUR)
- lm_sensors (lm_sensors-gitAUR, lm_sensors-it87-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- spirv-llvm-translator (spirv-llvm-translator-gitAUR, spirv-llvm-translator-minimal-gitAUR)
- Show 32 more dependencies...
Required by (1340)
- 0ad-data-git (requires mesa) (make)
- 0ad-git (requires mesa) (make)
- abuse (requires mesa) (make)
- actionfps-client (requires mesa)
- actionfps-client (requires mesa) (make)
- actionfps-common (requires mesa) (make)
- actionfps-server (requires mesa) (make)
- adom-noteye (requires mesa)
- advantagescope (requires mesa)
- advantagescope-git (requires mesa)
- aegisub-git (requires mesa) (make)
- aegisub-japan7-git (requires mesa) (make)
- aegisub-wangqr-git (requires mesa) (make)
- agisoft-metashape (requires opencl-rusticl-mesa) (optional)
- agisoft-metashape-pro (requires opencl-rusticl-mesa) (optional)
- aio-remote-neo (requires mesa)
- airshipper (requires vulkan-driver) (optional)
- alchemy-viewer-git (requires mesa)
- alchemy-viewer-git (requires mesa-libgl) (optional)
- alephium-desktop-wallet-bin (requires mesa)
- Show 1320 more...
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 135 Next › Last »
deemon commented on 2024-02-02 12:13 (UTC)
rjahanbakhshi commented on 2024-02-01 09:06 (UTC)
Seems there are still issues with LTO so I disabled it again.
Beiruty commented on 2024-01-31 23:36 (UTC) (edited on 2024-01-31 23:37 (UTC) by Beiruty)
I can confirm, after disabling LTO everything works again.
If you are running arch and plasma and would like to edit the PKGBUILD, On line 124, change -D b_lto=true to -D b_lto=false
Here is the command: yay -S mesa-git --editmenu --editor kate
ArchUsr1 commented on 2024-01-31 22:18 (UTC) (edited on 2024-02-04 03:47 (UTC) by ArchUsr1)
I can confirm, after disabling LTO everything works again.
For anyone interested do: paru -S mesa-git --fm vim
and edit PKGBUILD then set -D b_lto=true
to false
deemon commented on 2024-01-31 21:53 (UTC)
@Lone_wolf yes it did, but not anymore... since Timeshifting back also rolled journald back :D But pretty much exactly that happened what ArchUsr1 commented on. Am using Plasma Wayland and after bootup there was black screen and only mouse. CTRL-ALT-F3 and logged into terminal and checked journald and it did show sddm crash.
Beiruty commented on 2024-01-31 20:28 (UTC)
The bug I am seeing is described here: https://bugzilla.redhat.com/show_bug.cgi?id=2262065
ArchUsr1 commented on 2024-01-31 18:04 (UTC)
Looks like kwin wayland is crashing since yesterday. SDDM works if it uses X11, but after login in with wayland session screen is black and only cursor is visible SDDM will crash if configured with wayland as well I've created an issue in mesa, but I'm not sure if some latest mesa update causing this issue or some package https://gitlab.freedesktop.org/mesa/mesa/-/issues/10536
Lone_Wolf commented on 2024-01-31 17:59 (UTC)
Latest comments in https://gitlab.freedesktop.org/mesa/mesa/-/issues/6376 indicate lto may still have issues.
Beiruty, I suggest you disable lto again, re-buoild and test.
Beiruty commented on 2024-01-31 17:21 (UTC) (edited on 2024-01-31 17:23 (UTC) by Beiruty)
I used $NINJAFLAGS="-j8" And the load went to 56 with firefox. I closed firefox and load stabilized at 24 Prior to "lto1-tran" builds, build time on my machine was 8-mins. Now, it is 17-mins. I let the build completes, and I restarted my machine, I am still seeing incomplete renderings of pixelated images such as user icons, taskmanger preview icons and flicking at the Plasma top panel. It looks like a regression.
I restored to before mesa-git upgrade.
└─(11:20:42)──> glxinfo -B ──(Wed,Jan31)─┘ name of display: :1 display: :1 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: AMD (0x1002) Device: AMD Radeon HD 7800 Series (radeonsi, pitcairn, ACO, DRM 3.56, 6.7.2-x64v2-xanmod1) (0x6818) Version: 24.1.0 Accelerated: yes Video memory: 2048MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 1018 MB, largest block: 1018 MB VBO free aux. memory - total: 7637 MB, largest block: 7637 MB Texture free memory - total: 1018 MB, largest block: 1018 MB Texture free aux. memory - total: 7637 MB, largest block: 7637 MB Renderbuffer free memory - total: 1018 MB, largest block: 1018 MB Renderbuffer free aux. memory - total: 7637 MB, largest block: 7637 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 2048 MB Total available memory: 9983 MB Currently available dedicated video memory: 1018 MB OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon HD 7800 Series (radeonsi, pitcairn, ACO, DRM 3.56, 6.7.2-x64v2-xanmod1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.1.0-devel (git-8ff3a13e4d) OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.0-devel (git-8ff3a13e4d) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.0-devel (git-8ff3a13e4d) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Lone_Wolf commented on 2024-01-31 16:27 (UTC)
LTO builds do increase buildtime and memory & IO resources used at buildtime in exchange for runtime performance improvements. Also ninja is known to be resource greedy .
options to mitigate the load :
-
prepend NINJAFLAGS="-j N -l N" to the build command (replace N with the number of threads you're willing to use for compiling)
-
If you have < 32 GiB memory, consider settting TMPDIR to a location on a SSD (preferably one on a different controller). This slows down the build some, but reduces the memory and IO pressure substantially.
Pinned Comments
Lone_Wolf commented on 2024-09-10 19:58 (UTC)
removed obsolete options, build now works again.
building opencl clover is disabled for now, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/11863
Those that need opencl should use rusticl instead. Note that rusticl at runtime is disabled by default, see https://docs.mesa3d.org/envvars.html#rusticl-environment-variables for info about enabling it.
Lone_Wolf commented on 2020-04-23 12:26 (UTC) (edited on 2023-03-30 07:04 (UTC) by Lone_Wolf)
Mesa and llvm are closely tied together. Everytime the llvm mesa is built against changes/updates , mesa needs to be rebuilt.
I expect anyone building mesa-git against one of the llvm trunk variants to be able to do that themselves, but atleast some of the people that built against repo llvm don't understand how to deal with such a rebuild.
The rest of this post is meant for those people.
Option A - best one
see https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot for the official way or https://aur.archlinux.org/packages/clean-chroot-manager for an alternative method.
Option B - 2nd best
Lone_Wolf commented on 2019-07-09 13:43 (UTC) (edited on 2023-04-18 10:41 (UTC) by Lone_Wolf)
WARNING : aur helpers don't support this method at all. They check .SRCINFO and that doesn't include this variable so it will use the default which is hardcoded to build against repo llvm.
Why would I want to use llvm development versions ?
Lone_Wolf commented on 2018-01-30 14:06 (UTC) (edited on 2023-02-12 11:56 (UTC) by Lone_Wolf)
run pacman Syu update non-repo packages for llvm if you use them
build mesa-git, log out , update mesa-git and restart X .
run
glxinfo -B
to verify basic OpenGL functionalitybuild lib32-mesa-git
run
glxinfo32 -B
to verify basic OpenGL functionality for multilib programs