[opensuse-factory] vtk requires OpenGL version 3.2 even on older graphic cards
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? Thanks Kshitij Kulshreshtha -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On 07.04.2017 21:59, Atri Bhattacharya wrote:
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
Hello Atri, Your package seems to have a build failure. I have successfully compiled and tested the package in my own branch [1]. The CMake option is a little bit different thant the one you suggested. Strangely the vtk package uses OpenGL version 3.2 if the rendering backend is "OpenGL2" but uses OpenGL version 2.1 if the rendering backend name is "OpenGL". The package at [1] works well on my system. How should we go about making a vtk-gl2 package [1] http://download.opensuse.org/repositories/home:/polyconvex:/branches:/scienc... or https://build.opensuse.org/package/show/home:polyconvex:branches:science/vtk Thanks. Kshitij -- Dr. Kshitij Kulshreshtha Institut für Mathematik, Universität Paderborn, Warburger Straße 100, 33098 Paderborn. Büro: TP21.1.21 Besucheradresse: Technologiepark 21 33098 Paderborn. Privatanschrift: Arnikaweg 62 33100 Paderborn. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07.04.2017 21:59, Atri Bhattacharya wrote:
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
Hello Atri, Your package seems to have a build failure. I have successfully compiled and tested the package in my own branch [1]. The CMake option is a little bit different thant the one you suggested. Strangely the vtk package uses OpenGL version 3.2 if the rendering backend is "OpenGL2" but uses OpenGL version 2.1 if the rendering backend name is "OpenGL". The package at [1] works well on my system. How should we go about making a vtk-gl2 package [1] http://download.opensuse.org/repositories/home:/polyconvex:/branches:/scienc... or https://build.opensuse.org/package/show/home:polyconvex:branches:science/vtk Thanks. Kshitij -- Dr. Kshitij Kulshreshtha Institut für Mathematik, Universität Paderborn, Warburger Straße 100, 33098 Paderborn. Büro: TP21.1.21 Besucheradresse: Technologiepark 21 33098 Paderborn. Privatanschrift: Arnikaweg 62 33100 Paderborn. -- Dr. Kshitij Kulshreshtha Institut für Mathematik, Universität Paderborn, Warburger Straße 100, 33098 Paderborn. Büro: TP21.1.21 Besucheradresse: Technologiepark 21 33098 Paderborn. Privatanschrift: Arnikaweg 62 33100 Paderborn. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 2017-04-11 at 13:05 +0200, Kshitij Kulshreshtha wrote:
On 07.04.2017 21:59, Atri Bhattacharya wrote:
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:/bra nches:/science/openSUSE_Tumbleweed/ or from obs https://build.opensuse.org/package/show/home:badshah400 :branches:science/vtk
Hello Atri,
Your package seems to have a build failure. I have successfully compiled and tested the package in my own branch [1]. The CMake option is a little bit different thant the one you suggested. Strangely the vtk package uses OpenGL version 3.2 if the rendering backend is "OpenGL2" but uses OpenGL version 2.1 if the rendering backend name is "OpenGL". The package at [1] works well on my system. How should we go about making a vtk-gl2 package
[1] http://download.opensuse.org/repositories/home:/polyconvex:/branches: /science/openSUSE_Tumbleweed/ or https://build.opensuse.org/package/show/home:polyconvex:branches:scie nce/vtk
Many thanks for figuring this out and getting the package built. I think the way to have this up in the science, and indeed in Factory, is to have a linked package called vtk-opengl2. Typically one would have two spec files for the vtk package, one called vtk, as now, and the other called vtk-opengl2. The other spec file may be generated from the vtk.spec by applying a diff to it, just to keep the versions of the two consistent etc. See, e.g. how webkitgtk vs webkitgtk3 is handled: https://build.opensuse.org/package/show/openSUSE:Factory/webkitgtk Hope that helps. If you need any help doing this, or indeed if you would rather I do this for the vtk package, please feel free to let me know. Best wishes. -- Atri Bhattacharya Wed 12 Apr 00:12:45 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
On 2017-04-12 00:18, Atri Bhattacharya wrote:
On Tue, 2017-04-11 at 13:05 +0200, Kshitij Kulshreshtha wrote:
On 07.04.2017 21:59, Atri Bhattacharya wrote:
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:/bra nches:/science/openSUSE_Tumbleweed/ or from obs https://build.opensuse.org/package/show/home:badshah400 :branches:science/vtk
Hello Atri,
Your package seems to have a build failure. I have successfully compiled and tested the package in my own branch [1]. The CMake option is a little bit different thant the one you suggested. Strangely the vtk package uses OpenGL version 3.2 if the rendering backend is "OpenGL2" but uses OpenGL version 2.1 if the rendering backend name is "OpenGL". The package at [1] works well on my system. How should we go about making a vtk-gl2 package
[1] http://download.opensuse.org/repositories/home:/polyconvex:/branches: /science/openSUSE_Tumbleweed/ or https://build.opensuse.org/package/show/home:polyconvex:branches:scie nce/vtk
Many thanks for figuring this out and getting the package built. I think the way to have this up in the science, and indeed in Factory, is to have a linked package called vtk-opengl2. Typically one would have two spec files for the vtk package, one called vtk, as now, and the other called vtk-opengl2. The other spec file may be generated from the vtk.spec by applying a diff to it, just to keep the versions of the two consistent etc. See, e.g. how webkitgtk vs webkitgtk3 is handled: https://build.opensuse.org/package/show/openSUSE:Factory/webkitgtk
Hope that helps. If you need any help doing this, or indeed if you would rather I do this for the vtk package, please feel free to let me know.
Best wishes.
Thank you for the pointer to webkitgtk3. I'll try to emulate that, however I believe we might also need to make the two packages conflict with each other. Since they provide the same shared libraries, one calling OpenGL 3.2 and the other calling OpenGL 2.1 functionality, so that any application can either link to one or the other. However both should not be present on a system simultaneously. Do you agree? Best wishes Kshitij. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2017-04-13 00:25, Kshitij Kulshreshtha wrote:
On 2017-04-12 00:18, Atri Bhattacharya wrote:
On Tue, 2017-04-11 at 13:05 +0200, Kshitij Kulshreshtha wrote:
On 07.04.2017 21:59, Atri Bhattacharya wrote:
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:/bra nches:/science/openSUSE_Tumbleweed/ or from obs https://build.opensuse.org/package/show/home:badshah400 :branches:science/vtk
Hello Atri,
Your package seems to have a build failure. I have successfully compiled and tested the package in my own branch [1]. The CMake option is a little bit different thant the one you suggested. Strangely the vtk package uses OpenGL version 3.2 if the rendering backend is "OpenGL2" but uses OpenGL version 2.1 if the rendering backend name is "OpenGL". The package at [1] works well on my system. How should we go about making a vtk-gl2 package
[1] http://download.opensuse.org/repositories/home:/polyconvex:/branches: /science/openSUSE_Tumbleweed/ or https://build.opensuse.org/package/show/home:polyconvex:branches:scie nce/vtk
Many thanks for figuring this out and getting the package built. I think the way to have this up in the science, and indeed in Factory, is to have a linked package called vtk-opengl2. Typically one would have two spec files for the vtk package, one called vtk, as now, and the other called vtk-opengl2. The other spec file may be generated from the vtk.spec by applying a diff to it, just to keep the versions of the two consistent etc. See, e.g. how webkitgtk vs webkitgtk3 is handled: https://build.opensuse.org/package/show/openSUSE:Factory/webkitgtk
Hope that helps. If you need any help doing this, or indeed if you would rather I do this for the vtk package, please feel free to let me know.
Best wishes.
Thank you for the pointer to webkitgtk3. I'll try to emulate that, however I believe we might also need to make the two packages conflict with each other. Since they provide the same shared libraries, one calling OpenGL 3.2 and the other calling OpenGL 2.1 functionality, so that any application can either link to one or the other. However both should not be present on a system simultaneously. Do you agree?
Best wishes Kshitij.
In fact in order to avoid confusion for users, whether they should install the vtk or the vtk-opengl2 package, why not we be consistent and call the two packages vtk-opengl3 and vtk-opengl2? Best wishes Kshitij -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
2017-04-12 19:33 GMT-03:00 Kshitij Kulshreshtha
On 2017-04-13 00:25, Kshitij Kulshreshtha wrote:
On 2017-04-12 00:18, Atri Bhattacharya wrote:
On Tue, 2017-04-11 at 13:05 +0200, Kshitij Kulshreshtha wrote:
On 07.04.2017 21:59, Atri Bhattacharya wrote:
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:/bra nches:/science/openSUSE_Tumbleweed/ or from obs https://build.opensuse.org/package/show/home:badshah400 :branches:science/vtk
Hello Atri,
Your package seems to have a build failure. I have successfully compiled and tested the package in my own branch [1]. The CMake option is a little bit different thant the one you suggested. Strangely the vtk package uses OpenGL version 3.2 if the rendering backend is "OpenGL2" but uses OpenGL version 2.1 if the rendering backend name is "OpenGL". The package at [1] works well on my system. How should we go about making a vtk-gl2 package
[1] http://download.opensuse.org/repositories/home:/polyconvex:/branches: /science/openSUSE_Tumbleweed/ or https://build.opensuse.org/package/show/home:polyconvex:branches:scie nce/vtk
Many thanks for figuring this out and getting the package built. I think the way to have this up in the science, and indeed in Factory, is to have a linked package called vtk-opengl2. Typically one would have two spec files for the vtk package, one called vtk, as now, and the other called vtk-opengl2. The other spec file may be generated from the vtk.spec by applying a diff to it, just to keep the versions of the two consistent etc. See, e.g. how webkitgtk vs webkitgtk3 is handled: https://build.opensuse.org/package/show/openSUSE:Factory/webkitgtk
Hope that helps. If you need any help doing this, or indeed if you would rather I do this for the vtk package, please feel free to let me know.
Best wishes.
Thank you for the pointer to webkitgtk3. I'll try to emulate that, however I believe we might also need to make the two packages conflict with each other. Since they provide the same shared libraries, one calling OpenGL 3.2 and the other calling OpenGL 2.1 functionality, so that any application can either link to one or the other. However both should not be present on a system simultaneously. Do you agree?
Best wishes Kshitij.
In fact in order to avoid confusion for users, whether they should install the vtk or the vtk-opengl2 package, why not we be consistent and call the two packages vtk-opengl3 and vtk-opengl2?
Hi! You has probed to migrate all the multimedia packages from OSS to Packman? Two months ago I reinstalled Leap 42.2, and it was no possible to play any mp4 file, and to edit this file in any video editor. The VLC player crashed to play mp3 or mp4 files. The solution was: zypper dup --from Packman After this, I can play and edit the mp4 files and VLC don´t crash any more. You probed to use the package of the build service? https://software.opensuse.org/package/vtk Regards, Juan -- USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES: http://www.opensuse.org/es/ Puedes visitar mi blog en: http://jerbes.blogspot.com.ar/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 2017-04-13 at 00:33 +0200, Kshitij Kulshreshtha wrote:
On 2017-04-13 00:25, Kshitij Kulshreshtha wrote:
Thank you for the pointer to webkitgtk3. I'll try to emulate that, however I believe we might also need to make the two packages conflict with each other. Since they provide the same shared libraries, one calling OpenGL 3.2 and the other calling OpenGL 2.1 functionality, so that any application can either link to one or the other. However both should not be present on a system simultaneously. Do you agree?
Best wishes Kshitij.
In fact in order to avoid confusion for users, whether they should install the vtk or the vtk-opengl2 package, why not we be consistent and call the two packages vtk-opengl3 and vtk-opengl2?
I think we should leave the pkgname vtk as it is (given this is the recommended default build for vtk), and call the gl2 supporting package vtk-gl2-compat (or vtk-gl2). Best wishes. -- Atri Bhattacharya Fri 14 Apr 15:21:10 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
participants (4)
-
Atri Bhattacharya
-
Juan Erbes
-
Kshitij Kulshreshtha
-
Kshitij Kulshreshtha