Cannot install Paraview through the binaries on Ubuntu 18.04

Hi!
So I had previously installed Paraview 5.4.1 through apt install Paraview on my Ubuntu. I wanted to update to the 5.8.0 RC version due to some issues with some macros not working properly. But whenever I try to install Paraview through the binaries provided ( I have also tested with several versions such as 5.4.1 or 5.7 ) and I try to run the /home/ParaView-5.8.0-RC1-MPI-Linux-Python3.7-64bit/bin/paraview executable I find the following error.

(   0.322s) [paraview        ]vtkXOpenGLRenderWindow.:705    ERR| vtkXOpenGLRenderWindow (0x34a9720): Cannot create GLX context.  Aborting.

Loguru caught a signal: SIGABRT
Stack trace:
32            0x40771d ./paraview() [0x40771d]
31      0x7fbd0ffa2b97 __libc_start_main + 231
30            0x407530 ./paraview() [0x407530]
29            0x40c10b ./paraview() [0x40c10b]
28            0x4085d9 ./paraview() [0x4085d9]
27      0x7fbd0fc2e2e8 pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) + 2760
26      0x7fbd0fbaf682 pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) + 226
25      0x7fbd0fbaf535 pqAlwaysConnectedBehavior::serverCheck() + 117
24      0x7fbd0dbf0167 pqObjectBuilder::createServer(pqServerResource const&, int) + 199
23      0x7fbd0b890179 vtkSMSession::ConnectToSelf(int) + 105
22      0x7fbd0a15d43e vtkProcessModule::RegisterSession(vtkSession*) + 142
21      0x7fbcfcd662a6 /home/u164110/Downloads/ParaView-5.7.0-MPI-Linux-Python3.7-64bit/bin/../lib/libvtkCommonCore-pv5.7.so.1(+0x4302a6) [0x7fbcfcd662a6]
20      0x7fbcfcbb9889 vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) + 25
19      0x7fbd0d3c3d4c /home/u164110/Downloads/ParaView-5.7.0-MPI-Linux-Python3.7-64bit/bin/../lib/libvtkGUISupportQt-pv5.7.so.1(+0x39d4c) [0x7fbd0d3c3d4c]
18      0x7fbd0d3b0527 /home/u164110/Downloads/ParaView-5.7.0-MPI-Linux-Python3.7-64bit/bin/../lib/libvtkGUISupportQt-pv5.7.so.1(+0x26527) [0x7fbd0d3b0527]
17      0x7fbd0e9cac47 QMetaObject::activate(QObject*, int, int, void**) + 1511
16      0x7fbd0db91b59 /home/u164110/Downloads/ParaView-5.7.0-MPI-Linux-Python3.7-64bit/bin/../lib/libpqCore-pv5.7.so.1(+0x76b59) [0x7fbd0db91b59]
15      0x7fbd0db8d2d2 pqServerManagerObserver::connectionCreated(long long) + 50
14      0x7fbd0e9cac47 QMetaObject::activate(QObject*, int, int, void**) + 1511
13      0x7fbd0dc3be12 pqServerManagerModel::onConnectionCreated(long long) + 770
12      0x7fbd0db8c142 pqServerManagerModel::serverAdded(pqServer*) + 50
11      0x7fbd0e9cac47 QMetaObject::activate(QObject*, int, int, void**) + 1511
10      0x7fbd0fbf8f63 pqDefaultViewBehavior::onServerCreation(pqServer*) + 67
9       0x7fbd0b50cfc2 vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation*, unsigned int) + 34
8       0x7fbd0b50ce53 vtkPVSessionCore::GatherInformationInternal(vtkPVInformation*, unsigned int) + 115
7       0x7fbd0c53e999 vtkPVRenderingCapabilitiesInformation::CopyFromObject(vtkObject*) + 9
6       0x7fbd0c53e955 vtkPVRenderingCapabilitiesInformation::GetLocalCapabilities() + 405
5       0x7fbd0235d2dd vtkOpenGLRenderWindow::SupportsOpenGL() + 989
4       0x7fbd023f91e2 vtkXOpenGLRenderWindow::WindowInitialize() + 18
3       0x7fbd023fcbf1 vtkXOpenGLRenderWindow::CreateAWindow() + 1873
2       0x7fbd0ffc1801 abort + 321
1       0x7fbd0ffbfe97 gsignal + 199
0       0x7fbd0ffbff20 /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fbd0ffbff20]
(   0.322s) [paraview        ]                       :0     FATL| Signal: SIGABRT

Looks like a graphic driver issue.

What is your linux distribution ? Is it up-to-date ?
What is your GPU ? What is your graphic driver and which version ?
Do you have any specific setup (virtual box, remote desktop) ?
Do you have multiple GPUs on you system ?

A quick solution would be to use mesa :
./bin/paraview-mesa paraview

1 Like

This ./bin/paraview-mesa paraview worked perfectly and funny enough ./bin/paraview also works now. Iā€™m running Paraview on Ubuntu 18.04 with a GeForce GT 740 Nvidia card if that info is of some help to you. Thanks for your aid!!