-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aborted (core dumped) when test installation #1063
Comments
That looks like a problem with your GPU. What GPU do you have? Do you run in any kind of virtualization? |
My GPU id geforce rtx 2060 and I do not run in virtualization. |
|
This error indicates that your GPU doesn't support some requested texture format. With 2060, that's weird. One cause could be drivers. Do you use the latest Nvidia binary driver? Please, post the terminal output of So you got the simulation running with X3 robot, but not X1? Anyways, SubT simulator is not a 3D shooter game. Do not expect real-time performance. Not even on a high-end GPU. The simulator is not optimized for that. It is constructed for simulation of autonomous behaviors and you have to be prepared that the simulations will take their time. Just to give you a glimpse, in contrary to traditional 3D shooters which render 1 FullHd or 4K camera, each robot in SubT simulator needs about 4-10 cameras rendered. That's just one of the many reasons why SubT simulator will hardly ever run real-time. The RTF also depends on the loaded world and robot (its sensors and number of terrain contact points). |
Thank you so much. Here are the output of glxgears -info and nvidia-smi. It is strange that X3 and X4 can work, but other robots do not work. It seems that only the drone is available on my computer, but my research needs to worked on wheeled robots or legged robots. |
The interesting info is actually at the beginning of glxgears -info, not at its end. Please scroll up and send it again. Even better, send the whole output as text. I guess the reason why some robots work and some don't would be the sensors. Depth cameras and lidars require some less traditional texture types. You can experiment with some other sensor configs for the ground robots. |
Also there should be file ~/.ignition/rendering/ogre.log . It can also contain important information. Please, copy paste it here. |
|
|
Ok, now it starts to be clearer. Gazebo does not use the NVidia card, but the integrated GPU. But your processor is too new for this version of Ubuntu (released 2021, vs. Ubuntu released 2018). So most probably, the version of Ubuntu cannot utilize all features of the CPU and its integrated GPU. Here are your options:
|
Thank you so much! The problem has been solved by method 3. Method 1 does not work. When trying method 2, I installed VirtualGL using the source code installation method. However, the installation was not successful, because the cmake .. failed. Then I tried the method 3, it worked. Could you please help me for another question? Have you tried deploying Subt on Ubuntu 20.04? As you say, my GPU is too new for ubuntu 18, I think Ubuntu 18 is a bit old for this era. Actually, this computer was bought 5 days ago in the second market, just for this project. Afterwards, I started installing from the system according to Subt's requirements. If Subt can be deployed on 20.04, it will bring great convenience to my subsequent development. If it can be deployed, I will try to test it on Ubuntu 20.04. If not, I will keep this system unchanged. Your answer will effectively help me spend less time on testing the system. |
VirtualGL is easy to install via the provided DEB archives, e.g. https://github.com/VirtualGL/virtualgl/releases/download/3.1.1/virtualgl_3.1.1_amd64.deb (after you download, just
There is an experimental guide that can help you set up SubT on Ubuntu 20.04: https://github.com/osrf/subt/wiki/Installation-for-ROS-Noetic . Please, if you try it, post feedback (ideally into a new issue). |
Thank you for your reply! The link helps me a lot. I'll be sure to get feedback to you when I test it on ubuntu 20. (I'll test it on Ubuntu 20 after buying a solid-state drive during the Double 12 sale, the current system is still kept to ensure that the research can proceed smoothly.) |
Hello, I am using a Docker image to start up, and when running ./run.bash osrf/subt-virtual-testbed competition.ign worldName:=tunnel_circuit_practice_01 circuit:=tunnel robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1, I encounter the same issue. I have tried the first and third methods without resolution, and I do not know how to run the second method when using Docker. My system is Ubuntu 24.04, and the graphics card is similar to the previous issue, which is an RTX 2060 Max-Q. |
@kudouxiao Please, provide the same debugging info I requested the the original issue author and specify your CPU. And please, provide the output of the debug commands both outside docker and inside. |
My CPU is i7-10750H. glxgears -info: nvidia-smi: +-----------------------------------------------------------------------------------------+ The debugging information inside docker is not available, because such a problem when executing a |
The debugging values from inside Docker are important. Please, edit your
Then run just |
There is no corresponding version of ROS1 for 24.04. Could you please tell me how you solve this problem while using Subt? |
Thanks for your attention, I forgot to reply you. Finally, I decided to install one more ubuntu18.04 to start the project locally, which is more convenient for me to modify and deploy the project. |
There are 2 options:
No other options seem possible (unless you want to help porting subt to ROS 2). Option 1 comes with the problems that new hardware will have problems with the old operating systems. So it's best to run it on hardware from ~2020. Another option, as already mentioned in this issue, is installing mainline kernel and Mesa from kisak-mesa PPA. This could help on newer hardware, but it might be harder to maintain. |
I try this project recently, but when I run the code " ign launch -v 4 competition.ign worldName:=tunnel_circuit_practice_01 circuit:=tunnel robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1 levels:=false" to test installation, the terminal will shut down.
here are the error
terminate called after throwing an instance of 'Ogre::InvalidParametersException'
what(): OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with this texture internal format unsupported in GL3PlusFrameBufferObject::initialise at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusFrameBufferObject.cpp (line 229)
Stack trace (most recent call last) in thread 4326:
#29 Object "", at 0xffffffffffffffff, in
[GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [St6vectorIdSaIdEE], which doesn't have
operator>>
. Component will not be deserialized.[GUI] [Dbg] [EntityComponentManager.cc:767] Using components of type [5681045647686850796] / [ign_gazebo_components.SlipComplianceCmd ].
#28 Source "/build/glibc-CVJwZb/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S", line 95, in [0x7f38956dd61e]
#27 Source "/build/glibc-CVJwZb/glibc-2.27/nptl/pthread_create.c", line 463, in start_thread [0x7f38953a46da]
#26 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3892f866de, in std::error_code::default_error_condition() const
#25 Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-4/plugins/libignition-gazebo-sensors-system.so", at 0x7f385642ec6f, in ignition::gazebo::v4::systems::SensorsPrivate::RenderThread()
#24 Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-4/plugins/libignition-gazebo-sensors-system.so", at 0x7f385642e737, in ignition::gazebo::v4::systems::SensorsPrivate::RunOnce()
#23 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f452bf6f, in ignition::rendering::v4::Ogre2Scene::PreRender()
#22 Object "/usr/lib/x86_64-linux-gnu/libignition-rendering4.so.4", at 0x7f385581ad7b, in ignition::rendering::v4::BaseScene::PreRender()
#21 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44ac5a5, in ignition::rendering::v4::BaseVisualignition::rendering::v4::Ogre2Node::PreRender()
#20 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44b1561, in ignition::rendering::v4::BaseVisualignition::rendering::v4::Ogre2Node::PreRenderChildren()
#19 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44ac5a5, in ignition::rendering::v4::BaseVisualignition::rendering::v4::Ogre2Node::PreRender()
#18 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44b1561, in ignition::rendering::v4::BaseVisualignition::rendering::v4::Ogre2Node::PreRenderChildren()
#17 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44ac5a5, in ignition::rendering::v4::BaseVisualignition::rendering::v4::Ogre2Node::PreRender()
#16 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44b1561, in ignition::rendering::v4::BaseVisualignition::rendering::v4::Ogre2Node::PreRenderChildren()
#15 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44e7278, in ignition::rendering::v4::Ogre2GpuRays::CreateGpuRaysTextures()
#14 Object "/usr/lib/x86_64-linux-gnu/ign-rendering-4/engine-plugins/libignition-rendering-ogre2.so", at 0x7f37f44e2cab, in ignition::rendering::v4::Ogre2GpuRays::Setup1stPass()
#13 Object "/usr/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0", at 0x7f37d840da64, in Ogre::TextureManager::createManual(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Ogre::TextureType, unsigned int, unsigned int, unsigned int, int, Ogre::PixelFormat, int, Ogre::ManualResourceLoader*, bool, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, bool)
#12 Object "/usr/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0", at 0x7f37d840954c, in Ogre::Texture::createInternalResources()
#11 Object "/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so", at 0x7f36941a74b7, in Ogre::GL3PlusTexture::createInternalResourcesImpl()
#10 Object "/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so", at 0x7f36941a69ef, in Ogre::GL3PlusTexture::_createSurfaceList()
#9 Object "/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so", at 0x7f36941aaedd, in Ogre::v1::GL3PlusTextureBuffer::GL3PlusTextureBuffer(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, unsigned int, int, int, Ogre::v1::HardwareBuffer::Usage, bool, unsigned int)
#8 Object "/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so", at 0x7f3694180eb1, in Ogre::GL3PlusFBOManager::createRenderTexture(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Ogre::GL3PlusSurfaceDesc const&, bool, unsigned int)
#7 Object "/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so", at 0x7f3694180e25, in Ogre::GL3PlusFBORenderTexture::GL3PlusFBORenderTexture(Ogre::GL3PlusFBOManager*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Ogre::GL3PlusSurfaceDesc const&, bool, unsigned int)
#6 Object "/usr/lib/x86_64-linux-gnu/OGRE-2.1/OGRE/RenderSystem_GL3Plus.so", at 0x7f369418408e, in Ogre::GL3PlusFrameBufferObject::initialise()
#5 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3892f5bd53, in __cxa_throw
#4 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3892f5bb20, in std::terminate()
#3 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3892f5bae5, in std::rethrow_exception(std::__exception_ptr::exception_ptr)
#2 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3892f55956, in
#1 Source "/build/glibc-CVJwZb/glibc-2.27/stdlib/abort.c", line 79, in __GI_abort [0x7f38955fc7f0]
#0 Source "/build/glibc-CVJwZb/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c", line 51, in __GI_raise [0x7f38955fae87]
Aborted (Signal sent by tkill() 3408 1000)
Aborted (core dumped)
Thanks for everyone who can give me some advice for this problem.
The text was updated successfully, but these errors were encountered: