Problem installing, Ubuntu 18.04, Cannot create platform OpenGL context, neither GLX nor EGL

1,423 views
Skip to first unread message

jack....@gmail.com

unread,
Jun 12, 2018, 12:47:45 PM6/12/18
to ttk-users
Hi All,

I'm having problems getting TTK up and running, was wondering if someone could help out? 


I've followed the instructions at https://topology-tool-kit.github.io/installation.html, and get as far as launching paraview. I see the TTK splash screen, but the paraview window is black and paraview throws me the error messages:

----
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QOpenGLWidget: Failed to create context
composeAndFlush: makeCurrent() failed
----

I have no idea what this means - I'm Using Ubuntu 18.04 . Any help much appreciated!

Best,
Jack

Julien Tierny

unread,
Jun 12, 2018, 12:52:03 PM6/12/18
to ttk-...@googlegroups.com, jack....@gmail.com
hi jack,

thanks for your message.

> I've followed the instructions
> at https://topology-tool-kit.github.io/installation.html, and get as far as
> launching paraview. I see the TTK splash screen, but the paraview window is
> black and paraview throws me the error messages:
that looks like an opengl/qt issue with paraview.
are you installing ttk in a virtual machine by any chance?

cheers,
--
Dr Julien Tierny
CNRS Researcher
Sorbonne Universite
http://lip6.fr/Julien.Tierny

jack....@gmail.com

unread,
Jun 12, 2018, 12:56:33 PM6/12/18
to ttk-users
Hi Julien,

Nope, just on my own system. I don't know if its relevant, but during installation etc. the only warnings I saw during the Cmake config steps were that:

CMake Warning at CMake/ParaViewQt.cmake:83 (message):
Qt '5.6.2' found and will be used. Note, however, that the officially
supported version is 5.9.
Call Stack (most recent call first):
Qt/Widgets/CMakeLists.txt:203 (pv_find_package_qt)


I've attached the full output of the configure in step 5 of the tutorial. Thanks for the help

Best,
Jack
configure_output

Julien Tierny

unread,
Jun 12, 2018, 1:33:04 PM6/12/18
to ttk-...@googlegroups.com, jack....@gmail.com
hi jack,

> CMake Warning at CMake/ParaViewQt.cmake:83 (message):
> Qt '5.6.2' found and will be used. Note, however, that the officially
> supported version is 5.9.
hum, that seems to say it all.
can you type "qtdiag" in a terminal?
this command reports various version infos about qt.
on my test ubuntu system, the first line says Qt 5.9.5

if you get something different, you may want to consider updating your system
by typing in a terminal "sudo apt-get update && sudo apt-get upgrade" and then
restarting the build and install of paraview.

thanks for letting us know if that fixes your issue or not.

cheers,
--
Dr Julien Tierny
CNRS Researcher
Sorbonne Universite
http://lip6.fr/Julien.Tierny

> > On Tuesday, June 12, 2018 6:45:31 PM CEST jack....@gmail.com <javascript:>

jack....@gmail.com

unread,
Jun 13, 2018, 10:08:26 AM6/13/18
to ttk-users
Hi Julien,

Got things working - I had a conda installation that had Qt 5.6.2 in it, so qtdiag was telling me Qt5.6.2 even though I followed the websites instructions. Upon removing it, things seem to work. Thanks for the help!

Best,
Jack

Julien Tierny

unread,
Jun 13, 2018, 10:11:07 AM6/13/18
to ttk-...@googlegroups.com, jack....@gmail.com
> Upon removing it, things seem to work.
that's great to hear.
> Thanks for the help!
you're welcome.

thanks for letting us know if you run into any other trouble.

best,
--
Dr Julien Tierny
CNRS Researcher
Sorbonne Universite
http://lip6.fr/Julien.Tierny

On Wednesday, 13 June 2018 16:08:25 CEST jack....@gmail.com wrote:
> Hi Julien,
>
> Got things working - I had a conda installation that had Qt 5.6.2 in it,
so
> qtdiag was telling me Qt5.6.2 even though I followed the websites
> instructions. Upon removing it, things seem to work. Thanks for the help!
>
> Best,
> Jack
>
> On Tuesday, 12 June 2018 18:33:04 UTC+1, Julien Tierny wrote:
> > hi jack,
> >
> > > CMake Warning at CMake/ParaViewQt.cmake:83 (message):
> > > Qt '5.6.2' found and will be used. Note, however, that the officially
> > > supported version is 5.9.
> >
> > hum, that seems to say it all.
> > can you type "qtdiag" in a terminal?
> > this command reports various version infos about qt.
> > on my test ubuntu system, the first line says Qt 5.9.5
> >
> > if you get something different, you may want to consider updating your
> > system
> > by typing in a terminal "sudo apt-get update && sudo apt-get upgrade"
and
> > then
> > restarting the build and install of paraview.
> >
> > thanks for letting us know if that fixes your issue or not.
> >
> > cheers,
> >
> > On Tuesday, June 12, 2018 6:56:33 PM CEST jack....@gmail.com
<javascript:>
Reply all
Reply to author
Forward
0 new messages