<div dir="ltr">Hi Elvis,<div><br></div><div>One way of checking the OpenGL driver is the "glxinfo" command.</div><div>The "OpenGL renderer" is usually Mesa if it is a software renderer,</div><div>but if it gives the name of a specific card or chip, then you probably</div><div>have hardware rendering, e.g. here's what my laptop reports:<br><div><br></div><div><div>OpenGL vendor string: NVIDIA Corporation</div><div>OpenGL renderer string: NVIDIA GeForce 9400M OpenGL Engine</div><div>OpenGL version string: 2.1 NVIDIA-8.24.17 310.90.9.05f01</div><div>OpenGL shading language version string: 1.20</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't know much about the Raspberry Pi, but google found this</div><div class="gmail_extra">page that describes how to enable hardware OpenGL:</div><div class="gmail_extra"><a href="https://www.raspberrypi.org/blog/another-new-raspbian-release/">https://www.raspberrypi.org/blog/another-new-raspbian-release/</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"> - David</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 16, 2016 at 6:06 PM, Elvis Chen <span dir="ltr"><<a href="mailto:elvis.chen@gmail.com" target="_blank">elvis.chen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Greetings,<br><br></div>I've recently acquired a Raspberry Pi 3. To my surprise, the latest raspbian (Jessie) comes with a complete development environment, including gcc (4.9), cmake, and vtk (both vtk5 and vtk6).<br><br></div>I wrote a small program that reads a polydata and display it as a test bed. The pipeline is:<br><br></div>vtkpolydatareader->vtkpolydatamapper->vtkactor<br><br></div>nothing fancy.<br><br></div>However, the rendering is surprisingly SLOW. It looks if the graphics is not hardware accelerated.<br><br></div>My questions are:<br><br></div>1) How do I check if the video (which I assume to be OpenGL) is hardware accelerated?<br></div>2) any suggestion on how to optimize the performance?<br><br></div>My next step is to comple vtk myself to see if it makes any difference.<br><br></div>any help is very much appreciated,</div></blockquote></div></div></div></div></div>