-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D3D12: failed to create device on Alpine (Intel iGPU) #12653
Comments
Diagnostic information
|
@victorsebrito this looks like GPU or driver specific, and there were several reports of Intel iGPU graphics not working properly in WSL. On a Windows 10 with Nvidia driver this is the output:
Not sure why |
@zcobol Thanks for taking the time and trying to reproduce the issue. I think you're right... I hadn't tried with NVIDIA before. I have an older PC with an Intel + NVIDIA setup:
NVIDIA GPU works:
Intel iGPU doesn't:
|
From the I suspect the issue has something to do with glibc/musl differences, although it seems like Alpine is able to load this lib in particular:
That's not true for the other libs in the driver folder, though:
... which kind of confirms my suspicion? Are all of these files provided by Intel? I'll try to dig deeper, but honestly I still need to think about what my next steps should be. |
Windows Version
Microsoft Windows [Version 10.0.26100.3194]
WSL Version
2.4.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4
Distro Version
Alpine 3.21
Other Software
Repro Steps
Setup Alpine distro
Install dependencies and build Mesa drivers from source (default ones don't include d3d12)
Run
vainfo
Expected Behavior
The driver should be initialized successfully, as it does on Ubuntu:
Actual Behavior
The driver fails to initialize:
Diagnostic Logs
WslLogs-2025-03-03_20-49-12.zip
strace_output.zip (includes Alpine (failing) and Ubuntu (working) for comparison)
I tried to debug the drivers and this line was the farthest I could go. That's exactly where Ubuntu succeeds and Alpine fails. The backtrace looks like this:
Note: the expected behavior output I included is from a default Ubuntu installation, but I also tried building Mesa from source with the same setup as Alpine (see here and here) and it still worked just fine. I also tried matching the VA-API versions but it didn't change the behavior: it works on Ubuntu but not on Alpine.
The text was updated successfully, but these errors were encountered: