Hi, I'm trying to get RoboDK (RDK) running on a newly created AWS EC2 instance (EC2I) which runs AmazonLinux2 (AL2), not Ubuntu. I am doing this in the cloud because the way my organization's network security is configured prevents me from communicating with the UR-10 robot over the local network. BTW, I do have a USB license key but am not using it with this EC2I, assuming the 30-day trial should suffice while I try to set this up.
So far I have installed RDK using the desktop GUI by running "Install-RoboDK".
If I click the RoboDK icon on the desktop the RDK splash screen flashes for <1s then disappears with no errors and RDK does not run.
I have tried again by running sudo ./RoboDK-Start-Debug.sh and have attached the complete output below.
The last two lines indicate that a segmentation fault occurs right after closing the splash screen.
Other things to note:
- The EC2I does not have a GPU, OpenGL is supported in software rendering mode using the Mesa drivers.
- I connect to the EC2I's desktop environment from my laptop using NICE DCV which is AWS's remote desktop tool.
- I'm struggling to understand how to install OpenGL drivers or how to make them work properly. I already have mesa-libGL and glx-utils. When I run glxinfo I get:
which seems to indicate there is an issue with my OpenGL configuration.
I'm wondering if I'm running into these issues because I'm trying to run RDK on AL2 instead of Ubuntu or if itshouldwork but I need to resolve some other issues first. I appreciate any insight you may have to share.
Here is the output from running sudo ./RoboDK-Start-Debug.sh
So far I have installed RDK using the desktop GUI by running "Install-RoboDK".
If I click the RoboDK icon on the desktop the RDK splash screen flashes for <1s then disappears with no errors and RDK does not run.
I have tried again by running sudo ./RoboDK-Start-Debug.sh and have attached the complete output below.
The last two lines indicate that a segmentation fault occurs right after closing the splash screen.
Other things to note:
- The EC2I does not have a GPU, OpenGL is supported in software rendering mode using the Mesa drivers.
- I connect to the EC2I's desktop environment from my laptop using NICE DCV which is AWS's remote desktop tool.
- I'm struggling to understand how to install OpenGL drivers or how to make them work properly. I already have mesa-libGL and glx-utils. When I run glxinfo I get:
Quote:name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
which seems to indicate there is an issue with my OpenGL configuration.
I'm wondering if I'm running into these issues because I'm trying to run RDK on AL2 instead of Ubuntu or if itshouldwork but I need to resolve some other issues first. I appreciate any insight you may have to share.
Here is the output from running sudo ./RoboDK-Start-Debug.sh
Code:
QFactoryLoader::QFactoryLoader() checking directory path "/local/home/user/RoboDK/bin/plugins" ...
QFactoryLoader::QFactoryLoader() looking at "/local/home/user/RoboDK/bin/plugins/libAppLoader.so"
Found metadata in lib /local/home/user/RoboDK/bin/plugins/libAppLoader.so, metadata=
{
"IID": "RoboDK.IAppRoboDK",
"archreq": 0,
"className": "AppLoader",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ()
...
loaded library "/local/home/user/RoboDK/bin/plugins/libRobotPilot.so"
List of LOADED plugins:
"CollisionFreePlanner"
Done list of plugins
Statusbar: "Loaded 1 plugins"
Reading preferred layout settings...
Done
Closing splash window
./RoboDK-Start-Debug.sh: line 6: 28123 Segmentation fault ./RoboDK /DEBUG