Fixed
Created: Apr 20, 2016
Updated: Dec 19, 2017
Resolved Date: Jul 6, 2016
Found In Version: 5.0.1.26
Fix Version: 5.0.1.37
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.
None
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 libQtCore.so.4.8.4 libQtGui.so.4.8.4 libQtOpenGL.so.4.8.4 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 */
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDrawArrays.xml
The API documentation seems to indicate a limit of signed int, which should be 2 million.