Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921766 - Unmask video_cards_d3d12 on arm64 (Enable d3d12 accelerated GPU driver)
Summary: Unmask video_cards_d3d12 on arm64 (Enable d3d12 accelerated GPU driver)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: ARM64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 09:55 UTC by Plug1n
Modified: 2024-01-11 20:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plug1n 2024-01-11 09:55:55 UTC
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]