COPPELLIASIM with W11 or WSL2

Typically: "How do I... ", "How can I... " questions
Post Reply
Ruben
Posts: 2
Joined: 25 Apr 2025, 16:15

COPPELLIASIM with W11 or WSL2

Post by Ruben »

Hi everyone, I’m trying to use CoppeliaSim more smoothly on WSL2. I currently have Windows 11 with WSL2 based on Ubuntu 22.04. I’ve seen a few possible approaches but I can’t quite figure out how to set them up — could anyone help me out?

Specifically:

1. Is it possible to run CoppeliaSim directly on Windows 11 and connect it to WSL2? If so, how can I configure the communication between the two instances?


2. Alternatively, is there a way to make CoppeliaSim on WSL2 use my dedicated GPU? Has anyone already set this up or knows how to do it?

Another think, i'm using ROS2 with robot

If you have other working solutions, I’m open to suggestions. For completeness, I also mention that on Ubuntu 24 (dual boot) CoppeliaSim wasn’t working as smoothly as on Ubuntu 22 — do I need to set up something special there too?

Sorry for the long message but I’ve already spent too much time on this and right now the simulation is very slow. I’d rather not lose more time on setups that should already be working.

Thanks in advance to anyone who can help!
coppelia
Site Admin
Posts: 10747
Joined: 14 Dec 2012, 00:25

Re: COPPELLIASIM with W11 or WSL2

Post by coppelia »

Hello,

have a look at this post, in particular this link about installing GUI support on WSL.

Cheers
Ruben
Posts: 2
Joined: 25 Apr 2025, 16:15

Re: COPPELLIASIM with W11 or WSL2

Post by Ruben »

Hello,

thank you for your reply.
Actually, my problem is not launching CoppeliaSim itself — CoppeliaSim runs correctly.
The issue is that I would like to use it by taking advantage of the GPU or the native Windows 11 version, because the one running on WSL2 is extremely slow and makes proper simulation almost impossible.

Do you have any suggestions on how I could achieve this?


Thanks!
coppelia
Site Admin
Posts: 10747
Joined: 14 Dec 2012, 00:25

Re: COPPELLIASIM with W11 or WSL2

Post by coppelia »

What do you see when you type:

Code: Select all

glxinfo | grep "OpenGL renderer"
Post Reply