This bug was fixed in the package mesa - 22.2.5-0ubuntu0.1
---------------
mesa (22.2.5-0ubuntu0.1) kinetic; urgency=medium
* New upstream release. (LP: #1999336)
* rules: Enable building lima drivers on riscv64 and disable vulkan
swrast and draw-use-llvm. (LP: #1995137)
* patches: Refreshed.
-- Timo Aaltonen <[email protected]> Sun, 11 Dec 2022 21:06:42 +0200
** Changed in: mesa (Ubuntu Kinetic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1995137
Title:
Add "sun4i-drm_dri.so" to libg1-mesa-dri and fix compilation on
riscv64
Status in mesa package in Ubuntu:
Fix Released
Status in mesa source package in Jammy:
New
Status in mesa source package in Kinetic:
Fix Released
Bug description:
[Impact]
lima driver is missing from riscv64, but in order to enable it we need
to disable anything that uses JIT on riscv64: swrast for vulkan, and
draw-use-llvm for gallium.
JIT for riscv64 is buggy and should be fixed in a future llvm release.
[Test case]
Check that sun4i-drm_dri.so is in libgl1-mesa-dri deb for riscv64, and
that it works.
[Where things could go wrong]
This is a new driver for the architecture, so there's little chance of
breakage.
--
"sun4i-drm_dri.so" is needed for some RISC-V platforms such as the
Allwinner D1. This file is missing from the riscv64 packages, but
present on others. This affects (at least) 20.04 and 22.04.
itrue@lxc-focal ~/tmp> dpkg -c
libgl1-mesa-dri_21.2.6-0ubuntu0.1~20.04.2_arm64.deb | grep _dri.so
*snip*
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/aarch64-linux-gnu/dri/sun4i-drm_dri.so link to
./usr/lib/aarch64-linux-gnu/dri/armada-drm_dri.so
*snip*
itrue@lxc-focal ~/tmp> dpkg -c
libgl1-mesa-dri_21.2.6-0ubuntu0.1~20.04.2_riscv64.deb | grep _dri.so
-rw-r--r-- root/root 16498024 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/nouveau_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
-rw-r--r-- root/root 4692400 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/nouveau_vieux_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/r200_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/nouveau_vieux_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/r300_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/r600_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/radeon_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/nouveau_vieux_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/radeonsi_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/swrast_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/virtio_gpu_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
hrw-r--r-- root/root 0 2022-03-08 16:37
./usr/lib/riscv64-linux-gnu/dri/zink_dri.so link to
./usr/lib/riscv64-linux-gnu/dri/kms_swrast_dri.so
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1995137/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp