Questions tagged [glx]

GLX (initialism for "OpenGL Extension to the X Window System") provides the interface connecting OpenGL and the X Window System: it enables programs wishing to use OpenGL to do so within a window provided by the X Window System.

179 questions
2
votes
0 answers

ffplay over X11 throws BadRequest GLX error on Ubuntu system

I'm using XLaunch Windows X server on my Win10 box to reach the Ubuntu 18 box with ssh -Y. The computer is remote and inaccessible. No keyboard and screen attached. lshw dump below. Does the video hardware even matter when using X11? xclock,…
MAXdB
  • 115
  • 2
  • 10
2
votes
1 answer

Compositor is blending OpenGl even when fragments alpha's are 1.0

The following code (a bare minimal example) produces a triangle on top of a plain color screen. The triangle and the screen colors have alpha values of 1.0, but still when the program is run with compositor enabled (X11/KDE system settings) the…
Pablo Yaggi
  • 1,061
  • 5
  • 14
2
votes
0 answers

My Nvidia drivers are not used for OpenGL rendering?

I am trying to execute a c++ code which is using OpenGL(4.x is needed) on Red-hat linux OS. it is throwing the below error. X Error of failed request: GLXBadFBConfig Hardware info: OS: Linux POWER LE RHEL 7 Accessing the screen through VNC…
Satya Harish
  • 88
  • 1
  • 10
2
votes
2 answers

How to run Gazebo on Google Compute Engine with GPU?

I am attempting to run Gazebo in an Ubuntu 16.04 Google Compute Engine instance with 1 NVIDIA Tesla K80 GPU. The GPU is configured using the following drivers, which are necessary because I am also using Tensorflow in my application. A solution to…
Jon S
  • 23
  • 4
2
votes
0 answers

GLX manual pages under OS X

I am running OS X 10.11 and am doing some X11 OpenGL programming. I can access X11 man pages as well as OpenGL man pages using commands like this: man XCreateWindow man glVertex However, when I try to access man pages for GLX, nothing comes up. I…
user109923
  • 65
  • 7
2
votes
1 answer

When rendering OpenGL to offscreen framebuffer, is windowing system support still needed?

If all I want to do is to do some rendering with OpenGL functions, without even creating a window. Do I still need to use libraries like glx to bind OpenGL with platform windowing system? If I don't need to, then where is OpenGL context created? As…
A.Stone
  • 137
  • 1
  • 9
2
votes
1 answer

How to create OpenGL-enabled window with transparent background using xlib and glx

I'd like to create a window with transparent background and then render something onto it using OpenGL. I don't want to use the trick where whatever is behind the window is captured and then painted as a background - I want real transparency (I have…
2
votes
1 answer

GLX context framebuffer reading

I'm trying to read pixels from GLX context. here is how I'm creating context int Attributes[] = { GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DOUBLEBUFFER, GL_TRUE, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, …
Alatriste
  • 527
  • 2
  • 6
  • 21
2
votes
2 answers

multiple definition of `glwMDrawingAreaWidgetClass'

I'm porting an application to Linux, written on IRIX (and successfully ported to AIX (years ago)). One of the issues I found was glwMDrawingAreaWidgetClass is not supported on Linux (use glwDrawaingAreaWidgeClass no 'M'). So I switched it. I…
Thaddeus
  • 84
  • 6
2
votes
1 answer

GLX/GLEW order of initialization catch-22: GLXEW_ARB_create_context, glXCreateContextAttribsARB, glXCreateContext

Currently I'm working on an application that uses GLEW and GLX (on X11). The logic works as follows... glewInit(); /* <- needed so 'GLXEW_ARB_create_context' is set! */ if (GLXEW_ARB_create_context) { /* opengl >= 3.0*/ .. get fb_config .. …
ideasman42
  • 42,413
  • 44
  • 197
  • 320
2
votes
0 answers

Trying to compile GTK+3 without GLX

I am trying to use GTK+3 on an embedded system that has OpenGLES, and there is no GLX on that platform. My test program is as simple as : main() { gtk_init(); } As soon as I start this test program, I have a runtime error : glXQueryExtension()…
Nabil
  • 21
  • 2
2
votes
1 answer

How do I find the glx library name?

I am trying to use a glX function (glXSwapIntervalMESA()) but the compiler is returning an undefined reference error. I have tried linking with X11 and Xext, and glx, though the last library apparently does not exist. libGL includes some entry…
sebf
  • 2,831
  • 5
  • 32
  • 50
2
votes
1 answer

OpenGL + GLUT over SSH seg faulting

I am trying to run an OpenGL+GLUT program over SSH with X forwarding. The program provides the following errors, then seg faults. Xlib: extension "NV-GLX" missing on display "localhost:10.0". It seems that this is being caused because my "server"…
Jomnipotent17
  • 451
  • 7
  • 23
2
votes
1 answer

Multiprocess headless OpenGL processing on EC2 GPU instances

My core problem is that I need to run multiple OpenGL executables concurrently on an EC2 GPU instance; I'm observing non-deterministic segfaults when trying to do this. The same program runs fine (with concurrency) on my Macbook Pro. The…
2
votes
1 answer

Why does my simple GLX app leak memory?

The code below shows a small 48 byte leak in valgrind. #include #include #include int main( int argc, char* argv[] ) { Display* _display; Window _windowHandle; XVisualInfo* _visual; GLXContext…
dicroce
  • 45,396
  • 28
  • 101
  • 140