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

Issue while running gazebo simulator in WSL2 Ubuntu 22.04 & Intel(R) Iris(R) Xe Graphics (iGPU)

Oleksandr1
Beginner
3,440 Views
(base) alex@DESKTOP-777:~/projects/PX4-Autopilot$ lspci -k | grep -EA3 'VGA|3D|Display'
lspci: Unable to load libkmod resources: error -2
8892:00:00.0 3D controller: Microsoft Corporation Device 008e
        Kernel driver in use: dxgkrnl
9e48:00:00.0 SCSI storage controller: Red Hat, Inc. Virtio filesystem (rev 01)
        Subsystem: Red Hat, Inc. Virtio filesystem
(base) alex@DESKTOP-777:~/projects/PX4-Autopilot$ inxi -G
Graphics:
  Device-1: Microsoft driver: dxgkrnl v: 2.0.2
  Display: wayland server: Microsoft Corporation X.org driver: gpu: dxgkrnl
    resolution: 1920x1080~60Hz
  OpenGL: renderer: D3D12 (Intel Iris Xe Graphics)
    v: 4.1 Mesa 23.0.4-0ubuntu1~22.04.1
(base) alex@DESKTOP-777:~/projects/PX4-Autopilot$

when running a gazebo simulator i see this in the console:

libEGL warning: MESA-LOADER: failed to open vgem: /usr/lib/dri/vgem_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

libEGL warning: NEEDS EXTENSION: falling back to kms_swrast

and the simulator window appears, but it runs very slow even with a scene where is nothing happening, i suppose it fails to use intel graphics and fall backs to a software renderer, why?

0 Kudos
3 Replies
Jose_Intel
Employee
3,265 Views

Hello @Oleksandr1

 

Thank you for posting on the Intel️® communities.

 

We understand you are experiencing issues using one of our integrated graphics cards, we will be more than happy to assist you.

 

Please answer the following:

 

·      Was it working before?

·      Have you tried using a third-party GPU?

 

According to the Gazebo Simulation Environment Requirements and Limitations, it seems like they require a Dedicated GPU with 1 GB or more graphics memory, maybe that is the reason why it runs slowly.

 

Best regards,

Jose B.

Intel Customer Support Technician


0 Kudos
Jose_Intel
Employee
3,203 Views

Hello Oleksandr1

 

We hope you are doing fine. 

 

Were you able to check the previous questions? 

Let us know if you still need assistance. 

 

Best regards,  

Jose B.   

Intel Customer Support Technician 


0 Kudos
Alberto_R_Intel
Employee
3,138 Views

Hello Oleksandr1, Since we have not heard back from you, we are closing the case, but if you have any additional questions, please post them on a new thread so we can further assist you with this matter.


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Reply