OpenGL errors are present in nux

Bug #1084501 reported by Manuel de la Peña
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Incomplete
Undecided
Unassigned
Nux
Fix Released
Undecided
Unassigned
nux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The following occurs when running unity from trunk:

WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 12:04:27 nux.gl RenderingPipeGLSL.cpp:2997 [CheckGLError] OpenGL Error 1282 (invalid operation)

As well as:

WARN 2012-11-29 09:06:49 nux.gl IOpenGLTexture2D.cpp:83 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 09:06:51 nux.gl IOpenGLTexture2D.cpp:83 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 09:06:51 nux.gl IOpenGLTexture2D.cpp:83 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 09:06:53 nux.gl IOpenGLTexture2D.cpp:83 [CheckGLError] OpenGL Error 1282 (invalid operation)
WARN 2012-11-29 09:06:53 nux.gl IOpenGLTexture2D.cpp:83 [CheckGLError] OpenGL Error 1282 (invalid operation)

Following the docs from open gl:

Only a subset of GL commands can be used between glBegin and glEnd. The commands are glVertex, glColor, glIndex, glNormal, glTexCoord, glEvalCoord, glEvalPoint, glArrayElement, glMaterial, and glEdgeFlag. Also, it is acceptable to use glCallList or glCallLists to execute display lists that include only the preceding commands. If any other GL command is executed between glBegin and glEnd, the error flag is set and the command is ignored.

and the wraning occurs:

GL_INVALID_OPERATION is generated if a command other than glVertex, glColor, glIndex, glNormal, glTexCoord, glEvalCoord, glEvalPoint, glArrayElement, glMaterial, glEdgeFlag, glCallList, or glCallLists is executed between the execution of glBegin and the corresponding execution glEnd.

This means that there is something not correctly used within nux regarding the open gl api.

Revision history for this message
Eleni Maria Stea (hikiko) wrote :

this bug is old, it has been fixed by jaytaoko

Changed in nux:
status: New → Fix Released
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

the invalid operation was caused by compiz and was solved by dropping the immediate mode and switching to VBO.

Revision history for this message
Eleni Maria Stea (hikiko) wrote :
Changed in compiz:
status: New → Incomplete
Changed in nux (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.