Washington-University / workbench

Connectome Workbench
http://www.humanconnectome.org/software/get-connectome-workbench.html
GNU General Public License v2.0
183 stars 61 forks source link

wb_view openGL missing #45

Closed YaoMeng94 closed 3 years ago

YaoMeng94 commented 3 years ago

Hello wb developers, I suddenly cannot open the wb_view, which acting no error before. It says "OpenGL (3D Graphics System) is not available. This may be caused by missing or outdated OpenGL libraries.On Linux, this may be caused by a missing plugin library /xcbglintegrations/libqxcb-glx-integration.so." My operating system is Ubuntu 20.04

johnvelab commented 3 years ago

Hello,

If you get that message it probably means that OpenGL is not installed on your system.

Are you running wb_view from the “bin_linux64” directory?

What is the output of the command “glxinfo”?

Also, go into the workbench distribution’s “exe_linux64” directory and run the command “ldd ./wb_view”. It will list shared object libraries wb_view is trying to load.

John Harwell

From: Yao Meng notifications@github.com Reply-To: Washington-University/workbench reply@reply.github.com Date: Thursday, January 14, 2021 at 8:11 AM To: Washington-University/workbench workbench@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Washington-University/workbench] wb_view openGL missing (#45)

Hello wb developers, I suddenly cannot open the wb_view, which acting no error before. It says "OpenGL (3D Graphics System) is not available. This may be caused by missing or outdated OpenGL libraries.On Linux, this may be caused by a missing plugin library /xcbglintegrations/libqxcb-glx-integration.so." My operating system is Ubuntu 20.04

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Washington-University/workbench/issues/45, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALSGXFIR5AVMO2HSFQO2ULSZ33SPANCNFSM4WCPSJZQ.

YaoMeng94 commented 3 years ago

Hi John, Huge thanks for your quick response, I run the two commands you mentioned and it goes to

xxx:~$ glxinfo name of display: :1 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 99 Current serial number in output stream: 100

xxx:/usr/local/workbench-linux64-v1.4.2/exe_linux64$ ldd ./wb_view linux-vdso.so.1 (0x00007ffd65f39000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f3b3b3f9000) libQt5Concurrent.so.5 => not found libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f3b3b238000) libQt5OpenGL.so.5 => not found libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f3b3b1bf000) libQt5Test.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Test.so.5 (0x00007f3b3b16a000) libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f3b3aacd000) libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f3b3aa8b000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3b3aa6f000) libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f3b3a9fd000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f3b3a975000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f3b3a915000) libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f3b3a328000) libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f3b39ddf000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3b39bfe000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3b39aaf000) libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f3b39a6d000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3b39a52000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3b39a2d000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3b3983b000) libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f3b39803000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3b397fd000) libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f3b39745000) libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f3b3970f000) libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3b395e6000) libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 (0x00007f3b395da000) libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f3b394d5000) libicui18n.so.66 => /usr/lib/x86_64-linux-gnu/libicui18n.so.66 (0x00007f3b391d6000) libicuuc.so.66 => /usr/lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f3b38ff0000) libpcre2-16.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f3b38f6b000) libdouble-conversion.so.3 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007f3b38f55000) /lib64/ld-linux-x86-64.so.2 (0x00007f3b3b4d6000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f3b38e18000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f3b38da5000) libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f3b38d78000) libicudata.so.66 => /usr/lib/x86_64-linux-gnu/libicudata.so.66 (0x00007f3b372b5000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3b3728b000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3b37285000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3b3727d000) libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f3b37263000)

Yao Meng

johnvelab commented 3 years ago

If glxinfo fails, there is something wrong with either the X-server or the OpenGL libraries. Have any system updates been installed recently? Below are a couple of links with possible fixes for similar glxinfo errors. If you are logging in remotely and trying to send the display to another computer that could also be a problem.

John

https://stackoverflow.com/questions/40644455/x-error-of-failed-request-badvalue-integer-parameter-out-of-range-for-operatio

https://askubuntu.com/questions/893922/ubuntu-16-04-gives-x-error-of-failed-request-badvalue-integer-parameter-out-o

From: Yao Meng notifications@github.com Reply-To: Washington-University/workbench reply@reply.github.com Date: Friday, January 15, 2021 at 12:22 AM To: Washington-University/workbench workbench@noreply.github.com Cc: johnvelab john@brainvis.wustl.edu, Comment comment@noreply.github.com Subject: Re: [Washington-University/workbench] wb_view openGL missing (#45)

Hi John, Huge thanks for your quick response, I run the two commands you mentioned and it goes to

xxx:~$ glxinfo name of display: :1 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 99 Current serial number in output stream: 100

xxx:/usr/local/workbench-linux64-v1.4.2/exe_linux64$ ldd ./wb_view linux-vdso.so.1 (0x00007ffd65f39000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f3b3b3f9000) libQt5Concurrent.so.5 => not found libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f3b3b238000) libQt5OpenGL.so.5 => not found libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f3b3b1bf000) libQt5Test.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Test.so.5 (0x00007f3b3b16a000) libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f3b3aacd000) libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f3b3aa8b000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3b3aa6f000) libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f3b3a9fd000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f3b3a975000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f3b3a915000) libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f3b3a328000) libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f3b39ddf000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3b39bfe000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3b39aaf000) libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f3b39a6d000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3b39a52000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3b39a2d000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3b3983b000) libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f3b39803000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3b397fd000) libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f3b39745000) libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f3b3970f000) libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3b395e6000) libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 (0x00007f3b395da000) libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f3b394d5000) libicui18n.so.66 => /usr/lib/x86_64-linux-gnu/libicui18n.so.66 (0x00007f3b391d6000) libicuuc.so.66 => /usr/lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f3b38ff0000) libpcre2-16.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f3b38f6b000) libdouble-conversion.so.3 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007f3b38f55000) /lib64/ld-linux-x86-64.so.2 (0x00007f3b3b4d6000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f3b38e18000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f3b38da5000) libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f3b38d78000) libicudata.so.66 => /usr/lib/x86_64-linux-gnu/libicudata.so.66 (0x00007f3b372b5000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3b3728b000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3b37285000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3b3727d000) libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f3b37263000)

Yao Meng

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Washington-University/workbench/issues/45#issuecomment-760680203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALSGXATR254HBP7UDVTGATSZ7NILANCNFSM4WCPSJZQ.

YaoMeng94 commented 3 years ago

Hi John, It turns out is a auto-upgrade of graphics card driver, the simply reboot fixes this.😂 Huge thanks for you help.

Best, Yao Meng