On Thu, 2017-04-06 at 15:58 +0200, Kshitij Kulshreshtha wrote:
Hello,
applications using vtk-7.1.0-1.3 on Tumbleweed currently crash on my machine with NVidia GeForce 9300. The error message says that vtk requires OpenGL version 3.2 but glxinfo shows
OpenGL version string: 2.1.2 NVIDIA 375.39 OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
Is there any way of making vtk library work with older graphic cards that don't have OpenGL 3.2 support without having to recompile it from source?
Hi Kshitij, I don't think there is, unfortunately. As far as I understand, vtk defaults to compiling against OpenGL >= 3.0, but passing the following option -DOPENGL_ES_VERSION=2.0 \ to cmake should make it compile against GL = 2.0 and probably make it work on older graphics. Would you be kind enough to give the vtk package from my branch repository [1] a go, when it is ready (it is currently building)? I have modified the spec file to pass this option, so we will be able to find out if this makes it work on your system, and if it does, we might then try to get a vtk-gl2 package into science . Thanks a bunch. [1] http://download.opensuse.org/repositories/home:/badshah400:/branches:/scienc... or from obs https://build.opensuse.org/package/show/home:badshah400:branches:science/vtk -- Atri Bhattacharya Fri 7 Apr 21:52:35 CEST 2017 Sent from openSUSE Tumbleweed on my laptop. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org