-
Notifications
You must be signed in to change notification settings - Fork 238
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
Intel HD Graphics and WSL/WSL2 #391
Comments
duplicate of #300 |
In what sense? #300 was from April 2020, and there wasn't yet support for Intel HD Graphics in WSL -- it is now available. However, I am unable to find any instructions to get things working. My first hunch is that I may need to build intel/compute-runtime and intel/intel-graphics-compiler myself. Please advise. |
@alalek, |
@vrpascuzzi - we prefer a new issue. Possibly referencing the previous one. Thanks for asking and thank you for the report. |
Thanks, @AdamCetnerowski! |
WSL/WSL2 are not currently supported in the compute runtime. We are actively exploring support and will update this issue accordingly. |
Thanks, @bfliflet. Can you fill me in on what purpose the Intel Graphics BETA WSL Windows 10 DCH Drivers serve? Really I was just hoping for instructions to follow to have the iGPU work under WSL/WSL2. |
@vrpascuzzi, thanks for the interest. The initial support in that driver is for "D3D12 on Linux support: Enables running DirectML training via TensorFlow in a Linux terminal on a Windows 10 host." The communication flow for the compute runtime will piggy-back on top of this previous work; however, the compute-runtime path for WSL/WSL2 relies on a parallel user-mode driver / kernel mode driver interface flow that is still being evaluated by ourselves and relevant parties. |
I appreciate the reply, @bfliflet. Looking forward to the added support. Please let me know if I can help testing. |
WSL2 support was recently added. Please see here : https://github.com/intel/compute-runtime/blob/master/WSL.md for instructions. |
I have a similar problem. I installed all the packages from Intel OneAPI link. On Windows 11 all works fine and the VideoProcessor Intel(R) UHD Graphics can be used from OpenVINO libraries. On the contrary on WSL2 with the Ubuntu 22.04 distro I see no GPU: clinfo sycl-ls |
System
Version: 2004
Installed on: 12/11/2020
OS build: 21277.1000
Experience: Windows Feature Experience Pack 220.32303.0.2003
WSL kernel: 5.4.72-microsoft-standard-WSL2
Problem
Intel HD Graphics setup/configuration in WSL/WSL2. Related to #300.
Process
Installed NVIDIA CUDA Quadro for WSL drivers for Windows 10 and followed instructions for CUDA on WSL to configure an Ubuntu distro. Built and ran a simple CUDA app -- everything works fine. Instructions from NVIDIA are very clear.
Intel is a different story. Installed Intel beta drivers and followed Intel's GPGPU setup instructions for Ubuntu 20.04. Built a simple app with oneAPI went smoothly but ran into a runtime error when selecting Intel iGPU:
Selecting
default
/CPU
device things are fine:I get the same result when using WSL and WSL2.
Anyone able to get Intel HD Graphics (iGPU) working in WSL/WSL2?
The text was updated successfully, but these errors were encountered: