[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1058759: mesa: please disable llvmpipe on riscv64 or add orcjit patches



Source: mesa
Version: 23.3.0-1
Severity: important
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org, debian-riscv@lists.debian.org

Hi,
 
mesa version 23.3.0-1 enabled llvmpipe on riscv64:
 
| mesa (23.3.0-1) experimental; urgency=medium
| 
|   * New upstream release.
|   * rules: Drop checking for linux, now that kfreebsd support got
|     dropped.
|   * rules: Drop a duplicate special case for VULKAN_DRIVERS, and move
|     virtio enabling to the correct place.
|   * rules: LLVM supports JIT on riscv64 now, attempt to enable llvmpipe
|     on it.
 
Unfortunately while mesa still builds with that change, it is now
unusable on riscv64. The reason is that while LLVM indeed has support
for JIT for a few releases, it only support orcjit, as mcjit is is
deprecated and does not accept new architectures. Support for orcjit in
mesa is being worked on, but it will take time bringing it to the same
level as mcjit.
 
There is a patch available [1] in the upstream gitlab to add support for
orcjit and riscv64 in mesa. I haven't tested it yet, but it seems to be
used by Arch already.
 
In order to unbreak mesa support on riscv64, could you please either
revert the change that was introduced in 23.3.0-1 or apply the patch
from the merge request?
 
Thanks
Aurelien


Reply to: