[Paraview] OpenGL inside VMWare virtual machine

Cornelis Bockemühl cornelis.bockemuehl at gmail.com
Wed Nov 15 12:54:28 EST 2017


Thanks for the hint: I will definitely try this!

Only one question: you write environment which sounds like an environment
variable, but maybe you mean a variable ti be set in the CMake
configuration!?!

Regards, Cornelis

Am 15.11.2017 17:40 schrieb "Ken Martin" <ken.martin at kitware.com>:

> This could  be a PV Qt interaction. Try setting MESA_GL_VERSION_OVERRIDE=3.2
> in your environment
>
> Basically there is a bug in Qt on windows where it refuses to see the 3.2
> context from Mesa because it is not a compatibility context.
>
> On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockemühl <
> cornelis.bockemuehl at gmail.com> wrote:
>
>> Dear all,
>>
>> I know that I cannot go for any performance record with this setup, but
>> having both systems available without reboot has advantages if it is about
>> testing some new development. WOULD have - if it fully worked! So far it
>> looks like I am "almost there" - however not knowing whether the last 10
>> meters will be feasible at all...
>>
>> This is my setup:
>>
>> Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the
>> following in the About dialog:
>> OpenGL Vendor: Intel Open Source Technology Center
>> OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5
>> OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
>>
>> On this system Paraview (latest version, self compiled) runs just fine.
>>
>> Guest system inside VMWare Player version 14: Windows 10, with Paraview
>> reporting the following:
>> OpenGL Vendor: VMware, Inc.
>> OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786)
>> OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;
>>
>> Here Paraview immediately complains on startup, reporting the following
>> in the message output dialog: see below.
>>
>> For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa
>> 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader
>> capabilities that are going a bit above my understanding...
>>
>> Anybody able to help with this?
>>
>> Any possibility to "cheat" somehow? Note that I am certainly not going to
>> render billions of data in this configuration!
>>
>> Or should I abandon this tricky setup altogether?
>>
>> Thanks and regards,
>> Cornelis
>>
>> Here the error output from the Windows Paraview inside the VMWare virtual
>> machine:
>>
>> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\O
>> penGL2\vtkOpenGLRenderWindow.cxx, line 831
>> vtkGenericOpenGLRenderWindow (000002438C350630): GL version 2.1 with the
>> gpu_shader4 extension is not supported by your graphics driver but is
>> required for the new OpenGL rendering backend. Please update your OpenGL
>> driver. If you are using Mesa please make sure you have version 10.6.5 or
>> later and make sure your driver in Mesa supports OpenGL 3.2.
>>
>> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx,
>> line 408
>> vtkShaderProgram (000002438C1B80C0): 1: #version 150
>> 2: #ifdef GL_ES
>> 3: #if __VERSION__ == 300
>> 4: #define attribute in
>> 5: #define varying out
>> 6: #endif // 300
>> 7: #else // GL_ES
>> 8: #define highp
>> 9: #define mediump
>> 10: #define lowp
>> 11: #if __VERSION__ == 150
>> 12: #define attribute in
>> 13: #define varying out
>> 14: #endif
>> 15: #endif // GL_ES
>> 16:
>> 17:
>> 18: /*==========================================================
>> ===============
>> 19:
>> 20:   Program:   Visualization Toolkit
>> 21:   Module:    vtkPolyDataVS.glsl
>> 22:
>> 23:   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
>> 24:   All rights reserved.
>> 25:   See Copyright.txt or http://www.kitware.com/Copyright.htm for
>> details.
>> 26:
>> 27:      This software is distributed WITHOUT ANY WARRANTY; without even
>> 28:      the implied warranty of MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR
>> 29:      PURPOSE.  See the above copyright notice for more information.
>> 30:
>> 31: ============================================================
>> =============*/
>> 32:
>> 33: attribute vec4 vertexMC;
>> 34:
>> 35: // frag position in VC
>> 36: //VTK::PositionVC::Dec
>> 37:
>> 38: // optional normal declaration
>> 39: //VTK::Normal::Dec
>> 40:
>> 41: // extra lighting parameters
>> 42: //VTK::Light::Dec
>> 43:
>> 44: // Texture coordinates
>> 45: //VTK::TCoord::Dec
>> 46:
>> 47: // material property values
>> 48: //VTK::Color::Dec
>> 49:
>> 50: // clipping plane vars
>> 51: //VTK::Clip::Dec
>> 52:
>> 53: // camera and actor matrix values
>> 54: uniform mat4 MCDCMatrix;
>> 55:
>> 56: // Apple Bug
>> 57: //VTK::PrimID::Dec
>> 58:
>> 59: // Value raster
>> 60: //VTK::ValuePass::Dec
>> 61:
>> 62: void main()
>> 63: {
>> 64:   //VTK::Color::Impl
>> 65:
>> 66:   //VTK::Normal::Impl
>> 67:
>> 68:   //VTK::TCoord::Impl
>> 69:
>> 70:   //VTK::Clip::Impl
>> 71:
>> 72:   //VTK::PrimID::Impl
>> 73:
>> 74:     gl_Position = MCDCMatrix * vertexMC;
>> 75:
>> 76:
>> 77:   //VTK::ValuePass::Impl
>> 78:
>> 79:   //VTK::Light::Impl
>> 80: }
>> 81:
>>
>>
>> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx,
>> line 409
>> vtkShaderProgram (000002438C1B80C0): 0:1(10): error: GLSL 1.50 is not
>> supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
> Clifton Park NY 12065
> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171115/0d1e75e6/attachment.html>


More information about the ParaView mailing list