Cannot create GLX context (Ubuntu 20.04)
I cannot run our nightly modelbuilder builds on an old Dell machine running Ubuntu 20.04. On startup, the app crashes with this error message
( 0.698s) [paraview ]vtkXOpenGLRenderWindow.:650 ERR| vtkXOpenGLRenderWindow (0x1831200): Cannot create GLX context. Aborting.
I can run paraview builds on this machine, so I am wondering what might be different in our graphics settings compared to paraview.
I'll paste the full stack trace in case that matters.
Stack Trace:
34 0x40c4b7 ./bin/modelbuilder() [0x40c4b7] 33 0x7f2e448bb0b3 __libc_start_main + 243 32 0x40bfdd ./bin/modelbuilder() [0x40bfdd] 31 0x416188 ./bin/modelbuilder() [0x416188] 30 0x7f2e4f2b8a61 pqApplicationCore::_paraview_client_environment_complete() + 97 29 0x7f2e47e165aa QMetaObject::activate(QObject*, int, int, void**) + 1850 28 0x40e2a5 ./bin/modelbuilder() [0x40e2a5] 27 0x7f2e4fd37cd9 pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) + 1049 26 0x7f2e4fca1526 pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) + 310 25 0x7f2e4fca13ae pqAlwaysConnectedBehavior::serverCheck() + 174 24 0x7f2e4f310acd pqObjectBuilder::createServer(pqServerResource const&, int) + 605 23 0x7f2e4d47fa6a vtkSMSession::ConnectToSelf(int) + 106 22 0x7f2e4dbb2a78 vtkProcessModule::RegisterSession(vtkSession*) + 376 21 0x7f2e45c3ff92 /home/john/temp/production/nightly/210324/modelbuilder-6.99.0-20210324-Linux-64bit/bin/../lib/libvtkCommon-pv5.9.so.1(+0x792f92) [0x7f2e45c3ff92] 20 0x7f2e45b3abc9 vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) + 25 19 0x7f2e4eac3d50 /home/john/temp/production/nightly/210324/modelbuilder-6.99.0-20210324-Linux-64bit/bin/../lib/libvtkGUISupportQt-pv5.9.so.1(+0x39d50) [0x7f2e4eac3d50] 18 0x7f2e4eab007b /home/john/temp/production/nightly/210324/modelbuilder-6.99.0-20210324-Linux-64bit/bin/../lib/libvtkGUISupportQt-pv5.9.so.1(+0x2607b) [0x7f2e4eab007b] 17 0x7f2e47e165aa QMetaObject::activate(QObject*, int, int, void**) + 1850 16 0x7f2e4f2a6a89 /home/john/temp/production/nightly/210324/modelbuilder-6.99.0-20210324-Linux-64bit/bin/../lib/libpqCore-pv5.9.so.1(+0x7aa89) [0x7f2e4f2a6a89] 15 0x7f2e4f2a37b2 pqServerMjohn@turtleland:~/temp/production/nightly/210324/modelbuilder-6.99.0-20210324-Linux-64bit$ anagerObserver::connectionCreated(long long) + 50 14 0x7f2e47e165aa QMetaObject::activate(QObject*, int, int, void**) + 1850 13 0x7f2e4f35d64c pqServerManagerModel::onConnectionCreated(long long) + 652 12 0x7f2e4f2a2362 pqServerManagerModel::serverAdded(pqServer*) + 50 11 0x7f2e47e165aa QMetaObject::activate(QObject*, int, int, void**) + 1850 10 0x7f2e4fcfd873 pqDefaultViewBehavior::onServerCreation(pqServer*) + 67 9 0x7f2e4d382352 vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) + 34 8 0x7f2e4d382194 vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) + 36 7 0x7f2e4d2b6be9 vtkPVRenderingCapabilitiesInformation::CopyFromObject(vtkObject*) + 9 6 0x7f2e4d2b6bac vtkPVRenderingCapabilitiesInformation::GetLocalCapabilities() + 412 5 0x7f2e4c916075 vtkOpenGLRenderWindow::SupportsOpenGL() + 1029 4 0x7f2e4c9b3a32 vtkXOpenGLRenderWindow::WindowInitialize() + 18 3 0x7f2e4c9b764a vtkXOpenGLRenderWindow::CreateAWindow() + 1834 2 0x7f2e448b9859 abort + 299 1 0x7f2e448da18b gsignal + 203 0 0x7f2e460c13c0 /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f2e460c13c0] ( 0.698s) [paraview ] :0 FATL| Signal: SIGABRT Aborted (core dumped)