Mesa supports a Microsoft d3d12 video card driver to provide accelerated video in A Windows Subsystem for Linux 2 (WSL2). Currently this is default masked and enable only for amd64 and x86 profiles. $ grep -r d3d12 /var/db/repos/gentoo/profiles/* /var/db/repos/gentoo/profiles/arch/base/use.mask:video_cards_d3d12 /var/db/repos/gentoo/profiles/arch/amd64/use.mask:-video_cards_d3d12 /var/db/repos/gentoo/profiles/arch/x86/use.mask:-video_cards_d3d12 /var/db/repos/gentoo/profiles/desc/video_cards.desc:d3d12 - VIDEO_CARDS seeting to build driver for Microsoft WSL video cards WSL2 on a Windows arm64 system is also a valid target for video_cards_drd12 This mask can be overridden by adding "-video_cards_d3d12" to /etc/portage/profile/use.mask. media-libs/mesa is the only package that uses video_cards_d3d12, it emerges on successfully on arm64 when the mask is overridden. Please add "-video_cards_d3d12" to /var/db/repos/gentoo/profiles/arch/arm64/use.mask Reproducible: Always Steps to Reproduce: # emerge -av mesa ...... Calculating dependencies... done! Dependency resolution took 2.07 s (backtrack: 0/20). [ebuild R ] media-libs/mesa-23.3.2::gentoo USE="X gles1 gles2 llvm proprietary-codecs vaapi vulkan wayland zink zstd (-d3d9) -debug -lm-sensors (-opencl) -osmesa (-selinux) -test -unwind -valgrind (-vdpau) -vulkan-overlay -xa*" VIDEO_CARDS="(-d3d12) -freedreno (-intel) -lavapipe -lima -nouveau -panfrost (-r300) (-r600) -radeon -radeonsi -v3d -vc4 -virgl -vivante (-vmware)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] Expected Results: After unmasking, as above: # emerge -av mesa ..... These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 2.00 s (backtrack: 0/20). [ebuild R ] media-libs/mesa-23.3.3::gentoo USE="X gles1 gles2 llvm proprietary-codecs vaapi vulkan wayland zink zstd (-d3d9) -debug -lm-sensors (-opencl) -osmesa (-selinux) -test -unwind -valgrind (-vdpau) -vulkan-overlay -xa" VIDEO_CARDS="d3d12 -freedreno (-intel) -lavapipe -lima -nouveau -panfrost (-r300) (-r600) -radeon -radeonsi -v3d -vc4 -virgl -vivante (-vmware)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No]
Requires arm64 keywording of dev-util/directx-headers.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e88dd560c8a39dd60e5eda4cad10dd7fa8085e2 commit 3e88dd560c8a39dd60e5eda4cad10dd7fa8085e2 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-05-09 00:30:16 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-05-10 16:17:20 +0000 profiles/arch/arm64: Stable mask VIDEO_CARDS=d3d12 Bug: https://bugs.gentoo.org/921766 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/arch/arm64/use.mask | 1 + profiles/arch/arm64/use.stable.mask | 4 ++++ 2 files changed, 5 insertions(+)
I'll plan to stabilize dev-util/directx-headers on arm64 at the same time as we stabilize mesa-24.1.x.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49304f7b40fcfc34342c0a76701c46e2759bca31 commit 49304f7b40fcfc34342c0a76701c46e2759bca31 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-01-04 22:30:36 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-01-04 22:31:08 +0000 profiles/arm64: Remove VIDEO_CARDS=d3d12 stable mask Closes: https://bugs.gentoo.org/921766 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/arch/arm64/use.stable.mask | 4 ---- 1 file changed, 4 deletions(-)