cairo-gl-sdl2 icon indicating copy to clipboard operation
cairo-gl-sdl2 copied to clipboard

GLXBadDrawable using gl_texture

Open stuaxo opened this issue 9 years ago • 1 comments

Finally worked out how to make a PPA so I can test cairo-gl on Ubuntu :)

When using gl_texture I get:

X Error of failed request: GLXBadDrawable Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 217 Current serial number in output stream: 217

stuaxo avatar Feb 24 '16 18:02 stuaxo

Confirming this on my nVidia box (GeForce GTX 260 core 216, proprietary drivers version 340.101). It works fine on my AMD box (Radeon HD 7790, open-source AMDGPU driver) and laptop (Intel HD Graphics 530, open source drivers).

The error is triggered on the first cairo operation that modifies the surface; the steps leading up to that (device creation etc.) are OK.

Unfortunately I know very little about OpenGL, so I don't have any useful input on any possible causes.

Zombie-Feynman avatar Apr 08 '17 08:04 Zombie-Feynman