Paul,
I am not the admin of this machine, but here's what I can get for you
by way of better information.
$ dpkg -l tells me that these are installed.
ii libegl1-mesa:amd64 18.0.5-0ubuntu0~16.04.1
ii libgl1-mesa-dri:amd64 18.0.5-0ubuntu0~16.04.1
ii libgl1-mesa-glx:amd64 18.0.5-0ubuntu0~16.04.1
ii libglapi-mesa:amd64 18.0.5-0ubuntu0~16.04.1
ii libglu1-mesa:amd64 9.0.0-2.1
ii libwayland-egl1-mesa:amd64 18.0.5-0ubuntu0~16.04.1
ii mesa-utils 8.3.0-1
ii mesa-va-drivers:amd64 18.0.5-0ubuntu0~16.04.1
The only library that TigerVNC comes with is swrast_dri.so.
When I export the Matlab OpenGL directory, glxgears -info tells me
that it is using
GL_VERSION = 2.1 Mesa 17.13
This is the order in which libraries appear in the linker path.
$ ldconfig -p | grep GL
libQt5OpenGL.so.5 (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5
libGLU.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLU.so.1
libGLEWmx.so.1.13 (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.13
libGLEW.so.1.13 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13
libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
libEGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
As near as I can tell, there are no proprietary or hardware drivers
for the graphics card installed.
Thanks, -- bennet
On Mon, Apr 15, 2019 at 12:00 PM paul mccarthy <[log in to unmask]> wrote:
>
> Hi Bennet,
>
> Is there a chance that TigerVNC has been bundled with its own
> (possibly older) version of libGL, and is linking against that?
>
> Do you know what system version of mesa you have installed, and what
> version is bundled with matlab?
>
> Cheers,
>
> Paul
>
> On 15/04/2019, Bennet Fauber <[log in to unmask]> wrote:
> > No, it doesn't. Not from VNC. I believe that both it and fsleyes
> > work fine from the console and from ssh -X.
> >
> > I tried exporting and LD_LIBRARY_PATH that pointed to the MESA library
> > directory, and putting a symlink to libGL.so.1 into $FSLDIR/bin, but
> > no joy in Mudville.
> >
> > I realize this is a VNC/Ubuntu problem, but I was hoping someone had
> > encountered it and would have the secret sauce to make it Just Work.
> >
> > -- bennet
> >
> >
> > On Sun, Apr 14, 2019 at 7:48 AM paul mccarthy <[log in to unmask]>
> > wrote:
> >>
> >> Hi Bennett,
> >>
> >> Does glxgears work when you use te system mesa libs?
> >>
> >> Cheers,
> >>
> >> Paul
> >>
> >> On 13/04/2019, Bennet Fauber <[log in to unmask]> wrote:
> >> > We have an Ubuntu 16.04 machine running Gnome 3. We have installed
> >> > TigerVNC 1.9.0 from their binary distirbution.
> >> >
> >> > We start VNC with the following xstartup,
> >> >
> >> > -----
> >> > #!/bin/sh
> >> > xrdb $HOME/.Xresources
> >> > xsetroot -solid grey
> >> > export XKL_XMODMAP_DISABLE=1
> >> > export XDG_CURRENT_DESKTOP="GNOME-Flashback:Unity"
> >> > export XDG_MENU_PREFIX="gnome-flashback-"
> >> > gnome-session --session=gnome-flashback-metacity
> >> > --disable-acceleration-check &
> >> > -----
> >> >
> >> > When running fsleyes, it displays the splash screen, then produces the
> >> > following messages.
> >> >
> >> > -----
> >> > $ fsleyes
> >> > ERROR main.py 527: initialise - Unable to
> >> > initialise OpenGL!
> >> > wx._core.wxAssertionError: C++ assertion "ok" failed at
> >> > /home/vagrant/wxPython-4.0.3/ext/wxWidgets/src/unix/glx11.cpp(589) in
> >> > GetGLXVersion(): GLX version not found
> >> > The above exception was the direct cause of the following exception:
> >> > Traceback (most recent call last):
> >> > File "fsleyes/gl/__init__.py", line 710, in __createWXGLCanvas
> >> > SystemError: <class 'wx._glcanvas.GLCanvas'> returned a result with an
> >> > error
> >> > set
> >> > During handling of the above exception, another exception occurred:
> >> > Traceback (most recent call last):
> >> > File "fsleyes/main.py", line 524, in initialise
> >> > File "fsleyes/gl/__init__.py", line 459, in getGLContext
> >> > File "fsleyes/gl/__init__.py", line 601, in __init__
> >> > File "fsleyes/gl/__init__.py", line 719, in __createWXGLCanvas
> >> > wx._core.wxAssertionError: C++ assertion "m_widget" failed at
> >> > /home/vagrant/wxPython-4.0.3/ext/wxWidgets/src/gtk/window.cpp(2857) in
> >> > DoSetSize(): invalid window
> >> > -----
> >> >
> >> > I was not able to find a way to get it to run using the installed MESA
> >> > libraries, but I was able to get it to run using
> >> >
> >> > $ export
> >> > LD_LIBRARY_PATH=/usr/local/MATLAB/R2018b/sys/opengl/lib/glnxa64:
> >> > $ fsleyes
> >> > WARNING __init__.py 339: bootstrap - One of these
> >> > OpenGL extensions is not available: [GL_EXT_framebuffer_object,
> >> > GL_ARB_instanced_arrays, GL_ARB_draw_instanced]. Falling back to an
> >> > older OpenGL implementation.
> >> >
> >> > Any thoughts on what we might need to do to use the system installed
> >> > MESA libraries instead?
> >> >
> >> > Thanks, -- bennet
> >> >
> >> > ########################################################################
> >> >
> >> > To unsubscribe from the FSL list, click the following link:
> >> > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
> >> >
> >>
> >> ########################################################################
> >>
> >> To unsubscribe from the FSL list, click the following link:
> >> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
> >
> > ########################################################################
> >
> > To unsubscribe from the FSL list, click the following link:
> > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
> >
>
> ########################################################################
>
> To unsubscribe from the FSL list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|