[vtkusers] Need information about "Invalid pixel format, no opengl support" message.

Róbert Špir spir.robert at gmail.com
Sat Sep 17 09:57:54 EDT 2016


try updating the nvidia driver. One of my students has similar problem with nvidia drivers 350 series, after upgrading to 360 series everything works.

 

Robert

 

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Ken Martin
Sent: Saturday, September 17, 2016 3:29 PM
To: Rakesh Patil <rakesh.p at tataelxsi.co.in>
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Need information about "Invalid pixel format, no opengl support" message.

 

Ohh sorry, that system is fine in terms of OpenGL1 or OpenGL2 support (both on the intel GPU and the quadro) as long as the drivers are up to date. I suspect your issue may be related to which Qt widget is being used. There are folks on this list that have a lot of experience with Qt graphics issues and probably know the answer.  Just not me :-)

 

On Sat, Sep 17, 2016 at 1:45 AM, Rakesh Patil <rakesh.p at tataelxsi.co.in <mailto:rakesh.p at tataelxsi.co.in> > wrote:

Hi,

 

I have currently built VTK with OpenGL1 backend itself. On one of the system it is producing this error. So is there any other way to make sure that it works on that system? Following is the system configuration of that machine:

 

OS Name: Microsoft Windows 8.1 Pro

Version: 6.3.9600 Build 9600

 

OS Manufacturer: Microsoft Corporation

System Manufacturer: Dell Inc. 

System Model: Precision T1700

System Type: x64-based PC

Processor Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592 Mhz, 4 Core(s), 8 Logical Processor(s)

Installed Physical Memory (RAM): 32.0 GB 

Total Virtual Memory: 36.7 GB

Display adapter: NVIDIA Quadro K620

 

The mailing list suggests to use QVTKWidget2 instead of QVTKWidget. Will this help me to solve the issue? 

 

Thanks for your quick reply. 

 

Warm Regards

Rakesh Patil

  _____  

From: Ken Martin <ken.martin at kitware.com <mailto:ken.martin at kitware.com> >
Sent: Friday, September 16, 2016 6:21:28 PM
To: Rakesh Patil
Cc: vtkusers at vtk.org <mailto:vtkusers at vtk.org> 
Subject: Re: [vtkusers] Need information about "Invalid pixel format, no opengl support" message. 

 

Any system with any configuration is pretty broad :-) If you want maximum portability at the cost of performance then make sure you build with the OpenGL1 backend. It will not run on every system, but it should work on most systems that are currently in use.  

 

 

 

On Fri, Sep 16, 2016 at 5:03 AM, Rakesh Patil <rakesh.p at tataelxsi.co.in <mailto:rakesh.p at tataelxsi.co.in> > wrote:

Hi,

 

How do I make sure that my VTK based application will work on any system with any configuration, without throwing this error message? Upgrading VTK 6.3 to the latest version will solve the issue, or should we try upgrading the NVidia driver card?

 

Warm Regards

Rakesh Patil

 


  _____  


From: Ken Martin <ken.martin at kitware.com <mailto:ken.martin at kitware.com> >
Sent: Monday, March 14, 2016 7:30 PM
To: Rakesh Patil
Cc: vtkusers at vtk.org <mailto:vtkusers at vtk.org> 
Subject: Re: [vtkusers] Need information about "Invalid pixel format, no opengl support" message. 

 

The old OpenGL backend will work with OpenGL version 1.1, while the new OpenGL backend requires something closer to OpenGL version 2.1 to 3.2 (or later). 

 

Windows only comes with OpenGL version 1.4 (a software renderer). It is up to the hardware providers to supply hardware drivers. Pretty much anything released by Nvidia/AMD/Intel in the past 5 years will support  OpenGL 3.2 or later. Earlier than that and it becomes a bit more hit or miss.

 

Yes it depends on the graphics card. But since Intel started building in OpenGL support into their CPUs you can generally count on all recent (IvyBridge maybe SandyBridge or later) systems having sufficient OpenGL support for  the new backend.  There is a method renderWindow->SupportsOpenGL() that will test if a system meets the minimum requirements for the new backend,

 

I mentioned  "one provided to VTK" because sometimes developers create their own opengl context (the context determines what level of OpenGL is provided)  and then tell VTK to use it. That will only work  if they give VTK a context that includes support for 3.2. Normally VTK  creates its own context so it makes sure to create the right one. 

 

I  do not know much about Qt.

 

Thanks

Ken

 

 

On Mon, Mar 14, 2016 at 4:16 AM, Rakesh Patil <rakesh.p at tataelxsi.co.in <mailto:rakesh.p at tataelxsi.co.in> > wrote:

Hi Ken Martin,

 

I believe I understood the core reason as why this message is displayed. I need some more details.

 

1) In what way OpenGL backend is different from the OpenGL2 backend for VTK 6.3. Knowing that QVTKWidget will be deprecated, what pre-requisite conditions needs to be considered to stick myself working with QVTKWidget on various system?

2) What exactly do you mean, when you say "one was provided to VTK that did not include opengl support". I guess all the latest Windows OS do come with OpenGL version greater than 1.1. So I think all the drivers must have OpenGL support right? Correct me if I am wrong.

3) Does this functionality really vary from one graphics card to another? I mean does it depend on the graphics card also? If so, how will I know whether my graphics card supports OpenGL backend or OpenGL2 backend?

 

Thank You

 

Warm Regards

Rakesh Patil


  _____  


From: Ken Martin <ken.martin at kitware.com <mailto:ken.martin at kitware.com> >
Sent: Saturday, March 12, 2016 1:03 AM
To: Rakesh Patil
Cc: vtkusers at vtk.org <mailto:vtkusers at vtk.org> 
Subject: Re: [vtkusers] Need information about "Invalid pixel format, no opengl support" message. 

 

I believe you gave the specs for your desktop as opposed to the laptop. 

 

That message occurs on windows on the old OpenGL backend (and the OpenGL2 backend for VTK 6.3)  It indicates that VTK tried to setup a device context for rendering but the device did not support opengl, either because VTK failed to find a suitable device or because on was provided to VTK that did not include opengl support. 

 

Thanks

Ken

 

 

 

On Wed, Mar 9, 2016 at 7:22 AM, Rakesh Patil <rakesh.p at tataelxsi.co.in <mailto:rakesh.p at tataelxsi.co.in> > wrote:

Hi VTK users,

 

I am facing a strange issue. I am using QVTKWidget in my application and it works very well on my desktop computer. The same code when I try to compile on my laptop it throws me this error message:

 

"Invalid pixel format, no opengl support"

 

I would like to know what are the scenarios in which VTK throws this message. Whether there is any dependency on various versions of Windows OS? I believe it should not be.  Below is the system information where I get this error:

 

OS Name: Microsoft Windows 8.1 Pro 

Version: 6.3.9600 Build 9600

OS Manufacturer: Microsoft Corporation 

System Manufacturer: Dell Inc. 

System Model: Precision T1700

System Type: x64-based PC

Processor Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592 Mhz, 4 Core(s), 8 Logical Processor(s) 

Installed Physical Memory (RAM): 32.0 GB 

Total Virtual Memory: 36.7 GB

Display adapter: NVIDIA Quadro K620

 

Note: I am not using QVTKWidget2. Kindly give some feedback as early as possible.

 

Thank You

 

Warm Regards

Rakesh Patil

 


_______________________________________________
Powered by www.kitware.com <http://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





 

-- 

Ken Martin PhD 

Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971 <tel:518%20371%203971>  

 

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.





 

-- 

Ken Martin PhD 

Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971 <tel:518%20371%203971>  

 

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.





 

-- 

Ken Martin PhD 

Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971 <tel:518%20371%203971>  

 

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.





 

-- 

Ken Martin PhD

Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

 

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/vtkusers/attachments/20160917/154bb516/attachment.html>


More information about the vtkusers mailing list