Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
21077 Discussions

WSL2 Ubuntu 22.04 & Intel(R) Iris(R) Xe Graphics (iGPU)

bouachalazhar
Beginner
5,753 Views

I would like to detect my Intel(R) Iris(R) Xe Graphics (iGPU) on my WSL2.

 

- lspci -v |grep -A8 VGA
lspci: Unable to load libkmod resources: error -2

- lspci -nnk | grep -A 3 VGA | grep -E "VGA|driver"
lspci: Unable to load libkmod resources: error -2

~ lspci -k
0139:00:00.0 System peripheral: Red Hat, Inc. Virtio file system (rev 01)
        Subsystem: Red Hat, Inc. Virtio file system
        Kernel driver in use: virtio-pci
lspci: Unable to load libkmod resources: error -2
745d:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
        Subsystem: Red Hat, Inc. Virtio filesystem
        Kernel driver in use: virtio-pci
91f5:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio console (rev 01)
        Subsystem: Red Hat, Inc. Virtio console
        Kernel driver in use: virtio-pci
cc7a:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
        Subsystem: Red Hat, Inc. Virtio filesystem
        Kernel driver in use: virtio-pci
cfaf:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
        Subsystem: Red Hat, Inc. Virtio filesystem
        Kernel driver in use: virtio-pci
d017:00:00.0 3D controller: Microsoft Corporation Basic Render Driver
        Kernel driver in use: dxgkrnl
d227:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
        Subsystem: Red Hat, Inc. Virtio filesystem
        Kernel driver in use: virtio-pci
edb4:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
        Subsystem: Red Hat, Inc. Virtio filesystem
        Kernel driver in use: virtio-pci

~ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  8
  On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
  Model name:            11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    CPU family:          6
    Model:               140
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            1
    BogoMIPS:            5606.40
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse ss
                         e2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology tsc_rel
                         iable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe p
                         opcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid
                         _single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust
                         bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb av
                         x512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512vbmi umip avx512_vbmi2 gfn
                         i vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx51
                         2_vp2intersect ibt flush_l1d arch_capabilities
Virtualization features:
  Virtualization:        VT-x
  Hypervisor vendor:     Microsoft
  Virtualization type:   full
Caches (sum of all):
  L1d:                   192 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    5 MiB (4 instances)
  L3:                    12 MiB (1 instance)
Vulnerabilities:
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Mitigation; Enhanced IBRS
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
  Tsx async abort:       Not affected

~ inxi -G
Graphics:
  Device-1: Microsoft Basic Render Driver driver: dxgkrnl v: 2.0.1
  Display: wayland server: X.org v: 1.21.1.3 driver: gpu: dxgkrnl
    resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
  OpenGL: renderer: D3D12 (Intel Iris Xe Graphics)
    v: 4.1 Mesa 23.1.0-devel (git-ac993ae 2023-04-01 jammy-oibaf-ppa)

- clinfo | grep "Intel"
  Platform Name                                   Intel(R) OpenCL HD Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Name                                   Intel(R) OpenCL HD Graphics
  Device Name                                     Intel(R) Graphics [0x9a49]
  Device Vendor                                   Intel(R) Corporation
  Sub-group sizes (Intel)                         8, 16, 32
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Graphics [0x9a49]
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Graphics [0x9a49]
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Graphics [0x9a49]

- glxinfo | grep "OpenGL renderer"
OpenGL renderer string: D3D12 (Intel(R) Iris(R) Xe Graphics)

 

You can see several error, I don't understand it. But the PCI device ID of Intel® Iris® Xe Graphics is 9a49. I test many command, I don't understand who do it and why I have errors. I just would like detect my iGPU on my WSL2. I work with this link.

0 Kudos
3 Replies
Carlos_L_Intel
Employee
5,710 Views

Hi @bouachalazhar


Thank you for posting on the Intel® communities. I'm sorry for the inconvenience this might have caused you.  In order to assist you, can you please help us with the following information: 


  • What Linux distro are you currently running?
  • To detect the graphics hardware in your system, use this command: 

> lspci -k | grep -EA3 'VGA|3D|Display'


Best regards, 


Carlos L.  

Intel Customer Support Technician


0 Kudos
Carlos_L_Intel
Employee
5,652 Views

Hi @bouachalazhar,


Were you able to check the previous post?  Let us know if you still need assistance.  


Best regards,  

Carlos L.  

Intel Customer Support Technician


0 Kudos
Carlos_L_Intel
Employee
5,606 Views

Hi @bouachalazhar


We have not heard back from you, so we will close this thread. If you need any additional information, please submit a new question, as this thread will no longer be monitored. 


Best regards,  

Carlos L. 

Intel Customer Support Technician


0 Kudos
Reply