MOV-AI / movai-flow

MOV.AI Flow™ - The IDE that brings visualization and structure to ROS
Other
119 stars 14 forks source link

Can't launch simulator #235

Open tobyloki opened 8 months ago

tobyloki commented 8 months ago

Have you checked our docs before proceeding?

Issue Description

When I try to launch the simulator using movai-flow-simulator, but it fails to launch. Here are the log outputs:

simulator-robot1  | 
simulator-robot1  | APT autoinstall: skipped
simulator-robot1  | MOV.AI IGN Simulator - qa
simulator-robot1  | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
simulator-robot1  | Loading worlds from Owner: movai
simulator-robot1  | libGL error: No matching fbConfigs or visuals found
simulator-robot1  | libGL error: failed to load driver: swrast
simulator-robot1  | [GUI] [Err] [Application.cc:757] [QT] Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
simulator-robot1  | Stack trace (most recent call last):
simulator-robot1  | #31   Object "/usr/lib/x86_64-linux-gnu/libruby-2.5.so.2.5", at 0x7f9adf6490b3, in 
simulator-robot1  | #30   Object "/usr/lib/x86_64-linux-gnu/libruby-2.5.so.2.5", at 0x7f9adf76ead3, in 
simulator-robot1  | #29   Object "/usr/lib/x86_64-linux-gnu/libruby-2.5.so.2.5", at 0x7f9adf768cf4, in 
simulator-robot1  | #28   Object "/usr/lib/x86_64-linux-gnu/libruby-2.5.so.2.5", at 0x7f9adf772862, in 
simulator-robot1  | #27   Object "/usr/lib/x86_64-linux-gnu/libruby-2.5.so.2.5", at 0x7f9adf764338, in 
simulator-robot1  | #26   Object "/usr/lib/x86_64-linux-gnu/ruby/2.5.0/fiddle.so", at 0x7f9add71168c, in 
simulator-robot1  | #25   Object "/usr/lib/x86_64-linux-gnu/libruby-2.5.so.2.5", at 0x7f9adf73dc1a, in 
simulator-robot1  | #24   Object "/usr/lib/x86_64-linux-gnu/ruby/2.5.0/fiddle.so", at 0x7f9add7118f7, in 
simulator-robot1  | #23   Object "/usr/lib/x86_64-linux-gnu/libffi.so.6", at 0x7f9add50a71e, in ffi_call
simulator-robot1  | #22   Object "/usr/lib/x86_64-linux-gnu/libffi.so.6", at 0x7f9add50adad, in ffi_call_unix64
simulator-robot1  | #21   Object "/usr/lib/x86_64-linux-gnu/libignition-gui6.so", at 0x7f9adc30ddcb, in cmdStandalone
simulator-robot1  | #20   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f9ad87ee983, in QCoreApplication::exec()
simulator-robot1  | #19   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f9ad87e58d9, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
simulator-robot1  | #18   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f9ad884085e, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
simulator-robot1  | #17   Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f9ad66827fb, in g_main_context_iteration
simulator-robot1  | #16   Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f9ad668276f, in 
simulator-robot1  | #15   Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f9ad6682536, in g_main_context_dispatch
simulator-robot1  | #14   Object "/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5", at 0x7f9ad249525f, in 
simulator-robot1  | #13   Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7f9ad8d8233a, in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
simulator-robot1  | #12   Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7f9ad8dab13c, in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
simulator-robot1  | #11   Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7f9ad8daa4fe, in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)
simulator-robot1  | #10   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f9ad87e78a7, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
simulator-robot1  | #9    Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f9adbbd4103, in QApplication::notify(QObject*, QEvent*)
simulator-robot1  | #8    Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f9adbbcc83b, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
simulator-robot1  | #7    Object "/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5", at 0x7f9ad9c0e6c4, in QQuickWindow::event(QEvent*)
simulator-robot1  | #6    Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7f9ad8db5434, in QWindow::event(QEvent*)
simulator-robot1  | #5    Object "/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5", at 0x7f9ad9b99e99, in 
simulator-robot1  | #4    Object "/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5", at 0x7f9ad9b99274, in 
simulator-robot1  | #3    Object "/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5", at 0x7f9ad9b982a6, in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool)
simulator-robot1  | #2    Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f9ad85f3fb6, in QMessageLogger::fatal(char const*, ...) const
simulator-robot1  | #1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f9adf20d7f0, in abort
simulator-robot1  | #0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f9adf20be87, in gsignal
simulator-robot1  | Aborted (Signal sent by tkill() 1 0)
simulator-robot1  | watf? exit
simulator-robot1 exited with code 1

I have installed movai-flow=3.0.1-5. I have my NVIDIA GeForce RTX 3060 Ti set up per the pre-req installation guide. I am able to run movai-flow-launch and movai-flow-rviz succesfully.

How do I fix this problem?

Steps to Reproduce

  1. Run movai-flow-simulator in the terminal

Versions

guide-bot[bot] commented 8 months ago

Thanks for opening this Issue! We need you to:

  1. Fill out the description.

    Action: Edit description and replace <!- ... --> with actual values.

AlexFernandes-MOVAI commented 8 months ago

Hi @tobyloki , what is your Ubuntu version ?

If you are running on Ubuntu 18.04, it looks like this: https://askubuntu.com/questions/834254/steam-libgl-error-no-matching-fbconfigs-or-visuals-found-libgl-error-failed-t

tobyloki commented 8 months ago

I am running on Ubuntu 22.04.