Wind River Support Network


LIN5-21361 : Incorporate Hot fix for EMGD 1.18 into WRL5

Created: Apr 20, 2016    Updated: Dec 19, 2017
Resolved Date: Jul 6, 2016
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Kernel


Two problems were identified with the Intel graphics driver (EMGD 1.18). 
First issue addressed is a Crash with OpenGL Shader (#1). There is a test app and a ReadMe.txt attached.
Second issue is with EMGD glDrawArrays() size argument limitation. It was patched via Jira LIN5-20751 in RCPL 34. 
The Hotfix has been provided by Intel for both of these issues via a consolidated patch.



Steps to Reproduce

1) The attached test app has both the source and build directory, with 3 QT lib dependencies. This application should be capabile of running on qt4-x11-free supplied with WRL-5 

The application takes 6 seconds to run successfully and fails about 4 seconds in. I have seen the application occasionally not fail, but it fails nearly 80% of the time. Turning off hardware acceleration results in no failures. 

Copy over into /usr/lib/ 
The application can be run with the following command: 
> DISPLAY=:0.0 ./OpenGLCrash 

2) Using vertex shaders and while executing a draw using the following function, is operating fine up to a size = 32768. At size = 32770, we see the driver never return from the following function – 

glDrawArrays(GL_LINE_STRIP, 0, size); 

GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); 
typedef int GLsizei; /* 4-byte signed */ 

The API documentation seems to indicate a limit of signed int, which should be 2 million.

Other Downloads

Live chat