# vtk rendering problem on embedded linux

**URL:** https://discourse.vtk.org/t/vtk-rendering-problem-on-embedded-linux/1229
**Category:** Support
**Tags:** proposal
**Created:** [June 28, 2019, 2:25am UTC](https://discourse.vtk.org/t/vtk-rendering-problem-on-embedded-linux/1229 "2019-06-28T02:25:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![1112](https://discourse.vtk.org/user_avatar/discourse.vtk.org/1112/32/576_2.png) [@1112](https://discourse.vtk.org/u/1112)
#### Post date: [June 28, 2019, 2:25am UTC](https://discourse.vtk.org/t/vtk-rendering-problem-on-embedded-linux/1229/1 "2019-06-28T02:25:39Z")

</div>

hello everyone

I build vtk8.2.0 by nanopi m4 (OS is ‘Armbian Bionic desktop legacy kernel 4.4.y’).  
At first time vtk was successfully, but rendering is very slow and FPS is only about 5

I use ‘glmark2-es2’ to evaluate performance,and the result is ok as shown in the figure below.  
 ![messageImage_1561544256073](https://discourse.vtk.org/uploads/default/original/1X/88476d8b8c08872c75ceaf3d49fe6765fff63794.jpeg)

Then I enable ‘VTK\_OPENGL\_HAS\_EGL’ to rebuild vtk.  
‘EGL\_INCLUDE\_DIR’ has a path to automatically find ‘egl.h’  
‘EGL\_LIBRARY’ has a path to automatically find ‘libOpenGL.so’  
No errors occurred using the following instructions ‘cmake’、‘make’、‘make install’

But vtkEGLRenderWindow has the following error message when rendering  
 ![messageImage_1561544268536](https://discourse.vtk.org/uploads/default/original/1X/bbd47fb7b906a274189c12a61f905bea10589ad1.jpeg)

How can I exclude this error or solve the problem of slow rendering?  
Thank you all.
