[vtk-developers] [vtkusers] For those using OpenGL2 in the VTK build.

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Jun 24 10:35:07 EDT 2015


Hi,

I think there is some additional complication here too, my Linux Dell
Sputnik2 laptop has HD Graphics 4000 embedded graphics. On Ubuntu
14.04 (the last LTS) it only claims to support GL 3.0 (and fails to do
volume rendering on master at present, although this was working and
we are looking into it).

The Intel driver on Linux is built on the Mesa infrastructure, and it
seems to lag the chips capabilities (and is also held back by what
Ubuntu backport in the mesa version they ship I believe).

It does support a number of extensions, and I am trying to keep up
with testing as I want to see our rendering working on machines like
this if possible.

Marcus

On Tue, Jun 23, 2015 at 7:40 PM, Andrew Maclean
<andrew.amaclean at gmail.com> wrote:
> Hi Ken,
>    That is a useful link.
>
> My Laptop has an Intel HD Graphics 3000 and NVIDIA GeForceGT 540M. So the
> Intel card only supports OpenGL 3.1 whilst the NVidia card supports
> OpenGL4.5 and Open CL1.1
> It seems the NVidia card is supporting all the required extensions but not
> the Intel card.
>
> Regards
>    Andrew
>
> On Tue, Jun 23, 2015 at 10:37 PM, Ken Martin <ken.martin at kitware.com> wrote:
>>
>> Morning Andrew,
>>
>>
>>
>> Yes, for laptops with multiple graphics options you probably want to go
>> with the dedicated graphics chip. Having said that, recent Intel chips
>> should work with VTK. This page provides more detail if you expand the
>> 4th/3rd generation sections, etc.
>>
>>
>>
>> http://www.intel.com/support/graphics/sb/CS-033757.htm
>>
>>
>>
>> Intel 2500, 4000, 4200, 4400, 4600, 5000, 5100, 5200 and later should all
>> support OpenGL 3.2.  Intel 3000/2000/HD Graphics support 2.1 but not 3.2,
>> but I’m not sure if they provide the required extensions.
>>
>>
>>
>> Thanks
>>
>> Ken
>>
>>
>>
>> Ken Martin PhD
>>
>> Chairman & CFO
>>
>> Kitware Inc.
>>
>> 28 Corporate Drive
>>
>> Clifton Park NY 12065
>>
>> ken.martin at kitware.com
>>
>> 518 881-4901 (w)
>>
>> 518 371-4573 (f)
>>
>>
>>
>> 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.
>>
>>
>>
>> From: vtk-developers [mailto:vtk-developers-bounces at vtk.org] On Behalf Of
>> Andrew Maclean
>> Sent: Tuesday, June 23, 2015 3:00 AM
>> To: VTK Developers; vtk
>> Subject: [vtk-developers] For those using OpenGL2 in the VTK build.
>>
>>
>>
>> Hi All
>>
>>
>>
>> On my laptop which has an Intel and NVidiia card, I just discovered that
>> my VTK programs were crashing with this message:
>>
>>
>>
>> "Warning: In \VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 426
>>
>> vtkWin32OpenGLRenderWindow (0000000604268430): VTK is designed to work
>> with OpenGL version 3.2 but it appears it has been given a context that does
>> not support 3.2. VTK will run in a compatibility mode designed to work with
>> OpenGL 2.1 but some features may not work.
>>
>>
>>
>> ERROR: In\ VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 366
>>
>> vtkShaderProgram (0000000607E3F060): 1:
>>
>>
>>
>> ...
>>
>> ERROR: In \VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 367
>>
>> vtkShaderProgram (0000000607E3F060): ERROR: 0:20: '' :  extension
>> 'GL_EXT_gpu_shader4' is not supported
>>
>> "
>>
>>
>>
>> To get rid of this error you must set the NVidia graphics processor as
>> default.
>>
>>
>>
>> To do this:
>>
>> Go to the NVIDIA Control Panel (right-click on the desktop), then:
>> 3D Settings-> Manage 3D settings
>> The Tab "Preferred graphics processor " , select
>> High performance NVidia processor
>>
>>
>>
>> Regards
>>
>>    Andrew
>>
>> --
>>
>> ___________________________________________
>> Andrew J. P. Maclean
>>
>> ___________________________________________
>
>
>
>
> --
> ___________________________________________
> Andrew J. P. Maclean
>
> ___________________________________________
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtk-developers mailing list