I don’t know if this is the correct space for this, but I can’t find a solution on the internet for this problem, so I want to know if it is already there or if there is simply no possibility of doing this at this time. I have the cuda toolkit recently installed in Ubuntu WSL2 on WIN11, and I cannot graphically display even the examples that come with the toolkit. Specifically, in the Nbody executable the window opens when the program begins to run and automatically then gives an error and stops the execution. Does anyone know how to solve it?
amiandgg
1
generix
2
OpenGL-CUDA Interop is not yet supported.
https://docs.nvidia.com/cuda/wsl-user-guide/index.html#features-not-yet-supported
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| CUDA Graphical Samples Not Working under WSLg | 1 | 1572 | November 18, 2021 | |
| Graphics applications stop working in WSL2 / Ubuntu 20.04 on Windows 11 after NVIDIA CUDA driver installation | 1 | 1227 | June 27, 2022 | |
| [WSL2 + Ubuntu 24.04 LTS] NVIDIA GPU detected but WSLg not working (OpenGL = llvmpipe) | 3 | 2658 | December 18, 2025 | |
| How to make a Virtual Linux Machine see GPU on a Windows Host machine on WSL2 or VirtualBox | 1 | 580 | September 5, 2020 | |
| Opencv cannot render GpuMat using Opengl in WSL! | 2 | 389 | July 4, 2024 | |
| Required OpenGL extensions missing / code=304(cudaErrorOperatingSystem) "cudaGraphicsGLRegisterBuffer(...)" | 5 | 6957 | November 29, 2022 | |
| Graphics drivers not mapping to WSL 2 Ubuntu | 1 | 1149 | March 23, 2024 | |
| Error getting CUDA to work at all | 0 | 496 | July 19, 2020 | |
| WSL2 cannot find GPU | 1 | 2056 | August 26, 2021 | |
| NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver | 32 | 23766 | March 4, 2021 |