Error Signal 11 at task.reset()
Hi, I believe the issue I'm facing is somewhat similiar to issue #146. I'm using Ubuntu 20.04 from WSL in Windows and CoppeliaSim 4.1. I'm able to run the examples in PyRep, as well as launch CoppeliaSim, but when I try to run examples/single_task_rl.py, this error throws up.
Error: signal 11:
/mnt/c/Users/samue/Downloads/CoppeliaSim_Edu_V4_1_0_Ubuntu20_04/CoppeliaSim_Edu_V4_1_0_Ubuntu20_04/libcoppeliaSim.so.1(_Z11_segHandleri+0x30)[0x7f814d579ae0]
/lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f8162bac090]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd7deb7)[0x7f81347aeeb7]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd81994)[0x7f81347b2994]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd79593)[0x7f81347aa593]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd2395f)[0x7f813475495f]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd2457e)[0x7f813475557e]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x2370ad)[0x7f8133c680ad]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x237d23)[0x7f8133c68d23]
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x2392ee)[0x7f8133c6a2ee]
QMutex: destroying locked mutex
Here's my output for nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.05 Driver Version: 512.95 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 Off | N/A |
| N/A 48C P0 20W / N/A | 307MiB / 6144MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 93 G /Xwayland N/A |
+-----------------------------------------------------------------------------+
I'm also able to run glxgears, so I'm not sure if it's a rendering issue.
Additionally, when I try sudo nvidia-xconfig -a --use-display-device=None --virtual=1280x1024 (to setup headless), I get this error:
Using X configuration file: "/etc/X11/xorg.conf".
WARNING: error opening libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file or
directory.
ERROR: Unable to determine number of GPUs in system; cannot honor '--enable-all-gpus' option.
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
Any help would be appreciated. Thank you!
Hello, I encounter the same error with you. Have you solved it?
Have you solved it?
I solve it by runing export DISPLAY=:1
https://docs.nvidia.com/cuda/wsl-user-guide/index.html#getting-started-with-cuda-on-wsl-2 WSL OpenGL-CUDA Interop is not yet supported.Applications relying on OpenGL will not work. When you use opengl as render,it will be failed.