Do these errors occur without VirtualGL?  Please test both locally, with
GPU acceleration, and using the software OpenGL implementation in your X
proxy.

Did these errors start occurring recently (for instance, due to a system
update)?

Do these errors occur with multiple underlying OpenGL stacks (for
instance, nVidia and AMD)?

As near as I can figure, the errors are being triggered by the following
OpenGL functions:


>   journal: driver/gl/gl/cogl-texture-driver-gl.c:494: GL error (1285):

glTexImage2D() or glGetTexLevelParameteriv()


>   journal: driver/gl/cogl-buffer-gl.c:87: GL error (1281): Invalid value

glGenBuffers()


>   journal: driver/gl/cogl-clip-stack-gl.c:463: GL error (1281):
Invalid value

glDisable (GL_STENCIL_TEST)


>   journal: driver/gl/cogl-framebuffer-gl.c:157: GL error (1281):
Invalid value

glViewport()


I can't conceive of any reason why VirtualGL would be causing those
errors.  Once VirtualGL redirects the rendering context to a Pbuffer on
the 3D X server, it steps out of the way.  The errors are much more
likely to be due to an application bug (in this case, a COGL bug) or a
bug in the underlying OpenGL stack.  However, do perform the diagnosis I
suggested above, and if it indicates that the bugs are indeed isolated
to VirtualGL, then send me more information about the specific
configuration that triggers them, and I can try to reproduce.


On 8/9/19 5:54 AM, Marcello Blancasio wrote:
> Accelerating Gnome 3.28 in RHEL 7.6 with VirtualGL works fine, excepted
> some GL errors found in /var/log/messages.
> 
> This message is issued once, at the beginning:
> 
>   journal: driver/gl/gl/cogl-texture-driver-gl.c:494: GL error (1285):
> Out of memory
> 
> then this one:
> 
>   journal: driver/gl/cogl-buffer-gl.c:87: GL error (1281): Invalid value
> 
> and a lot ot these two kinds:
> 
>   journal: driver/gl/cogl-clip-stack-gl.c:463: GL error (1281): Invalid
> value
>   journal: driver/gl/cogl-framebuffer-gl.c:157: GL error (1281): Invalid
> value
> 
> As I monitored message log with tail -f , I noticed that those last two
> kinds of messages are issued when some screen update occur (e.g. when
> caret blinks inside a gnome-terminal window).
> 
> Regards.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"VirtualGL User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/virtualgl-users/2e83478f-a997-160e-8ee9-b29f48dc57b2%40virtualgl.org.

Reply via email to