<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>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?</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Warm Regards</p>
<p>Rakesh Patil</p>
<p><br>
</p>
</div>
</div>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ken Martin <ken.martin@kitware.com><br>
<b>Sent:</b> Monday, March 14, 2016 7:30 PM<br>
<b>To:</b> Rakesh Patil<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] Need information about "Invalid pixel format, no opengl support" message.</font>
<div> </div>
</div>
<div>
<div dir="ltr">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).
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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,</div>
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>I do not know much about Qt.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Ken</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 14, 2016 at 4:16 AM, Rakesh Patil <span dir="ltr">
<<a href="mailto:rakesh.p@tataelxsi.co.in" target="_blank">rakesh.p@tataelxsi.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Ken Martin,</p>
<p><br>
</p>
<p>I believe I understood the core reason as why this message is displayed. I need some more details.</p>
<p><br>
</p>
<p>1) In what way <span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px">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?</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px">2) What exactly do you mean, when you say
<u>"</u><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px"><u>one was provided to VTK that did not include opengl support"</u>. 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.</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px">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?</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px"><br>
</span></span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols; font-size:16px">Thank
You</span></span></p>
<p><br>
</p>
<div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Warm Regards</p>
<p>Rakesh Patil</p>
</div>
</div>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ken Martin <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>><br>
<b>Sent:</b> Saturday, March 12, 2016 1:03 AM<br>
<b>To:</b> Rakesh Patil<br>
<b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
<b>Subject:</b> Re: [vtkusers] Need information about "Invalid pixel format, no opengl support" message.</font>
<div> </div>
</div>
<div>
<div dir="ltr">I believe you gave the specs for your desktop as opposed to the laptop.
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>Thanks</div>
<div>Ken</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 9, 2016 at 7:22 AM, Rakesh Patil <span dir="ltr">
<<a href="mailto:rakesh.p@tataelxsi.co.in" target="_blank">rakesh.p@tataelxsi.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi VTK users,</p>
<p><br>
</p>
<p>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:</p>
<p><br>
</p>
<p>"Invalid pixel format, no opengl support"</p>
<p><br>
</p>
<p>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:</p>
<p><br>
</p>
<p></p>
<div>OS Name: Microsoft Windows 8.1 Pro<span style="white-space:pre-wrap"> </span>
</div>
<div>Version:<span style="white-space:pre-wrap"> </span>6.3.9600 Build 9600</div>
<div><span style="white-space:pre-wrap"></span></div>
<div>OS Manufacturer: Microsoft Corporation<span style="white-space:pre-wrap"> </span>
</div>
<div><span style="font-size:12pt">System Manufacturer: </span><span style="font-size:12pt">Dell Inc.</span><span style="font-size:12pt; white-space:pre-wrap">
</span><br>
</div>
<div>System Model: Precision T1700<span style="white-space:pre-wrap"></span></div>
<div>System Type: x64-based PC<span style="white-space:pre-wrap"></span></div>
<div><span style="font-size:12pt">Processor</span><span style="font-size:12pt; white-space:pre-wrap">
</span><span style="font-size:12pt">Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 3592 Mhz, 4 Core(s), 8 Logical Processor(s)</span><span style="font-size:12pt; white-space:pre-wrap">
</span></div>
<div><span style="font-size:12pt">Installed Physical Memory (RAM): </span><span style="font-size:12pt">32.0 GB</span><span style="font-size:12pt; white-space:pre-wrap">
</span><br>
</div>
<div><span style="font-size:12pt">Total Virtual Memory: </span><span style="font-size:12pt">36.7 GB</span></div>
<div><span style="font-size:12pt">Display adapter: NVIDIA Quadro K620</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">Note: I am not using QVTKWidget2. Kindly give some feedback as early as possible.</span></div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">Thank You</span></div>
<div><span style="white-space:pre-wrap"></span></div>
<div><br>
</div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">Warm Regards</span></div>
<span><font color="#888888">
<p></p>
<div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Rakesh Patil</p>
<p><br>
</p>
<p></p>
</div>
</div>
</font></span></div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br>
<span class="HOEnZb"><font color="#888888"></font></span></blockquote>
<span class="HOEnZb"><font color="#888888"></font></span></div>
<span class="HOEnZb"><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Ken Martin PhD
<div>Chairman & CFO<br>
Kitware Inc.<br>
28 Corporate Drive<br>
Clifton Park NY 12065<br>
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a>
<div><br>
</div>
<div><span style="font-size:10pt; font-family:Tahoma,sans-serif">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.</span></div>
</div>
</div>
</font></span></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Ken Martin PhD
<div>Chairman & CFO<br>
Kitware Inc.<br>
28 Corporate Drive<br>
Clifton Park NY 12065<br>
518 371 3971
<div><br>
</div>
<div><span style="font-size:10pt; font-family:Tahoma,sans-serif">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.</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>