You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the same steps to build and run stonefish and I've been able to package it in a docker container. The container works for machines with Ubuntu 22.04 out of the box, but I just found it does not in a Ubuntu 21.04 machine. This is the output in the console log:
process[stonefish_simulator-31]: started with pid [758]
[INFO] Welcome to Stonefish 1.3.
[CRITICAL] SDL2: Could not create GL context: BadValue (integer parameter out o$
range for operation)
[stonefish_simulator-31] process has died [pid 758, exit code -6, cmd /opt/ros/$
ola2_ws/devel/lib/stonefish_ros/parsed_simulator /opt/ros/cola2_ws/src/cola2_st$
nefish/data /opt/ros/cola2_ws/src/cola2_stonefish/scenarios/sparus2_tank.scn 30$
.0 1200 800 high __name:=stonefish_simulator __log:=/home/ubuntu/.ros/log/6ac3d$
5e-c7cb-11ec-a76e-b06ebfbc057e/stonefish_simulator-31.log].
log file: /home/ubuntu/.ros/log/6ac3d35e-c7cb-11ec-a76e-b06ebfbc057e/stonefish_$
imulator-31*.log
The PC I am running it on has an NVIDIA RTX 2070 with 8Gb graphics memory.
This is the output of nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.86 Driver Version: 470.86 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| 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 ... Off | 00000000:01:00.0 Off | N/A |
| 23% 28C P8 26W / 175W | 65MiB / 7973MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
Hello!
The last part shows the problem. Yes, it is required that the OpenGL version is 4.3 or higher. The question is why your OpenGL version is not correct, because for any modern GPU you will get OpenGL 4.6 support. You need to fix the driver installation or some docker settings? I have no experience with docker.
Cheers
Hi!
I've followed the same steps to build and run stonefish and I've been able to package it in a docker container. The container works for machines with Ubuntu 22.04 out of the box, but I just found it does not in a Ubuntu 21.04 machine. This is the output in the console log:
The PC I am running it on has an NVIDIA RTX 2070 with 8Gb graphics memory.
This is the output of nvidia-smi
and this is the output of glx-info
Is there something I am missing? Is the issue with "OpenGL 4.3" being the minimum version supported?
The text was updated successfully, but these errors were encountered: