Can the multilib (32-bit) verions of mesa-git and llvm-minimimal-git be created from these packages? The separate lib32-mesa-git and lib32-llvm-minimal-git are not current.
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.09 |
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 (1343)
- 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 1323 more...
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 25 26 27 28 29 30 31 32 33 34 35 .. 135 Next › Last »
freddiehaddad commented on 2022-12-26 12:21 (UTC)
Lone_Wolf commented on 2022-12-08 15:29 (UTC) (edited on 2022-12-08 15:30 (UTC) by Lone_Wolf)
Good idea, but you'll probably have to add spirv-llvm-translator and libclc to llvm-git before you can build rusticl.
rjahanbakhshi commented on 2022-12-08 12:10 (UTC)
@Lone_Wolf,
Building with intel-clc=enabled
and without spirv-llvm-translator
, results in
ERROR: Dependency "LLVMSPIRVLib" not found, tried pkgconfig and make
Need to add spirv-llvm-translator
to the llvm-git
and add dependency to spirv-llvm-translator
selectively based on MESA_WHICH_LLVM
environment variable. I will do it after adding rusticl
rjahanbakhshi commented on 2022-12-08 10:15 (UTC)
@OroWith2Os,
What commands are you using to build the package?
Can you cd
into your aur mesa-git/src
directory, run the following commands, and paste the results here?
meson --version
meson setup mesa _build --wipe \
-D b_ndebug=true \
-D b_lto=false \
-D platforms=x11,wayland \
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,crocus,zink,d3d12 \
-D vulkan-drivers=amd,intel,swrast,virtio-experimental,intel_hasvk \
-D vulkan-layers=device-select,overlay \
-D dri3=enabled \
-D egl=enabled \
-D gallium-extra-hud=true \
-D gallium-nine=true \
-D gallium-omx=bellagio \
-D gallium-opencl=icd \
-D gallium-va=enabled \
-D gallium-vdpau=enabled \
-D gallium-xa=enabled \
-D gbm=enabled \
-D gles1=disabled \
-D gles2=enabled \
-D glvnd=true \
-D glx=dri \
-D libunwind=enabled \
-D llvm=enabled \
-D lmsensors=enabled \
-D osmesa=true \
-D shared-glapi=enabled \
-D microsoft-clc=disabled \
-D valgrind=disabled \
-D tools=[] \
-D zstd=enabled \
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \
-D buildtype=plain \
--wrap-mode=nofallback \
-D prefix=/usr \
-D sysconfdir=/etc
meson configure --no-pager _build
If you're using zsh, try to escape []
characters by prefixing them with \ character like this \[\]
OroWith2Os commented on 2022-12-08 06:27 (UTC)
@lone_wolf I've verified that the version of Meson in my repos is correct, there isn't any mismatch. The specific version is exactly 0.64.1-1.
Lone_Wolf commented on 2022-12-07 09:05 (UTC)
@deemon - ring gfx timeout that are reproducible and tied to one specific application are usually mesa related, but if they are more generic a kernel issue is more fitting. Best option is to Investigate this on forum of the distro you use before filing a bugreport.
@kkartaltepe :
spirv-llvm-translator needs to be linked to a specific llvm version at buildtime (llvm 14 for the current repo version). For it to work with llvm trunk versions they will have to porvide their own spirv-llvm-translator version (as I have done in llvm-minimal-git).
Have you tested what happens if --intel-clc=enabled
is added to the build function but spirv-llvm-translator is NOT present ?
kkartaltepe commented on 2022-12-07 03:20 (UTC)
Consider adding a dependency to https://archlinux.org/packages/community/x86_64/spirv-llvm-translator/ and setting --intel-clc=enabled
to enable vulkan raytracing for intel cards.
deemon commented on 2022-12-02 18:32 (UTC) (edited on 2022-12-03 10:14 (UTC) by deemon)
Sorry for probably dumb question, but ... is this mesa or kernel or Firefox or what thing fault primarly? Doesn't happen too often, but couple of times a week Firefox manages to crash my entire x11/xfdesktop, so after brief black screen I am back to xfce lightdm login screen (nope, not system restart, just graphical desktop crash ... uptime is still currently 8 days after the most recent desktop crash).
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:5 pasid:32776, for process firefox pid 831590 thread firefox:cs0 pid 831655)
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: in page starting at address 0x0000800170c00000 from IH client 0x1b (UTCL2)
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00540C51
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: Faulty UTCL2 client ID: CPG (0x6)
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: MORE_FAULTS: 0x1
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: WALKER_ERROR: 0x0
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: PERMISSION_FAULTS: 0x5
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: MAPPING_ERROR: 0x0
dets 02 20:20:22 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: RW: 0x1
<snip ... x10 the errors above>
dets 02 20:20:23 Zen kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=504479675, emitted seq=504479677
dets 02 20:20:23 Zen kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process firefox pid 831590 thread firefox:cs0 pid 831655
dets 02 20:20:35 Zen lightdm[954229]: gkr-pam: unable to locate daemon control file
EDIT: aaand today also Brave browser managed the same 🤣
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:4 pasid:32776, for process brave pid 8050 thread brave:cs0 pid 8065)
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: in page starting at address 0x00008001146f1000 from IH client 0x1b (UTCL2)
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00441051
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: MORE_FAULTS: 0x1
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: WALKER_ERROR: 0x0
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: PERMISSION_FAULTS: 0x5
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: MAPPING_ERROR: 0x0
dets 03 12:11:28 Zen kernel: amdgpu 0000:2f:00.0: amdgpu: RW: 0x1
dets 03 12:11:29 Zen kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=34131050, emitted seq=34131052
dets 03 12:11:29 Zen kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process brave pid 8050 thread brave:cs0 pid 8065
dets 03 12:11:42 Zen lightdm[52487]: gkr-pam: unable to locate daemon control file
Lone_Wolf commented on 2022-11-26 12:22 (UTC)
menson 0.64.0 was the first version where --no-pager was needed, current version in repos is 0.64.1-1 .
Use pacman -Q meson
to verify which version you have .
If it's not 0.64.1-1 your system has a problem , possibly mirrors that fail to sync.
In that case ask help on forum or arch-general mailing list.
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