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
0
votes
0 answers

X window from an OpenGL (glx) thread to Qt

I'm doing heavy texture streaming (multiple live video streams) with OpenGL using pixel puffer objects (using QtOpenGL/QGLWidget is not an option here) in Linux. The texture streaming is done by a separate, custom OpenGL cpp module and thread…
El Sampsa
  • 1,673
  • 3
  • 17
  • 33
0
votes
2 answers

How to declare a class whose name is already defined in external library?

I'm working in a multiplatform project using OpenGL and get to the point where I needed to query the current context. In windows I used wglGetCurrentContext() including windows.h that worked fine. On the other hand, when tried to compile in linux…
BRabbit27
  • 6,333
  • 17
  • 90
  • 161
0
votes
1 answer

which version of openGL I can use?

I am trying to execute openGL program(specifically gazebo) on remote ubuntu server with putty and Xming Server. I use Xming cause VNC does not support OpenGL. (Related : How can I run an OpenGL application installed on a linux machine from my…
Jaeyoon Yoo
  • 171
  • 1
  • 2
  • 9
0
votes
1 answer

Unreachable glXMakeCurrent crashes c++ application

usually I am able to solve almost all my programming questions on my own, but this one really amazes me and I guess you will also find it very interesting. So I am working on a low level OpenGL application using GLX and it crashes with a…
Algoman
  • 1,905
  • 16
  • 16
0
votes
1 answer

OpenGL over SSH (GLX)

I run a X server on a Windows 7 machine with OpenGL 4.4. From there I ssh -Y to a remote machine where I start an OpenGL application. (for what it matters, the network connection is very fast, I have turned off compression and use…
Paul
  • 766
  • 9
  • 28
0
votes
0 answers

GLX double buffering only working after two swaps

I have a program, using opengl and GLX. At the beginning I choose a framebuffer configuration with the following attributes: const int attributes[] = {GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DOUBLEBUFFER, True, None}; fb_configs =…
martinkunev
  • 1,364
  • 18
  • 39
0
votes
1 answer

Debugging GLX app - sluggish window doesn't repaint

I am porting an OpenGL application to Linux (Debian Jesse core, using GLX, X11 and Xfree86, GL 3.0 via Mesa 10.3.2). I'm stuck on a rendering problem that I don't fully understand (description follows), and I have exhausted the methods of debugging…
user5803074
0
votes
0 answers

How to achieve Transparency with OpenGL GLX, X11 and python on linux

Been working on this for ages, I can finally select a frame buffer, visual and pict format and setup a glx context and draw a triangle. The only thing I still can not figure out is why the background is black instead of transparent. Can anyone spot…
Oly
  • 370
  • 5
  • 16
0
votes
1 answer

Sharing Texture between two opengl contexts

I have created a window using GLFW3. I have created a child window using another thread with GLX. During GLX opengl context creation, I am passing the main windows opengl context (achieved by glXGetCurrentContext), as sharelist parameter to the…
mmostajab
  • 1,937
  • 1
  • 16
  • 37
0
votes
1 answer

`glGetString(...)` Returning null on Valid Linux Context in VM

I am calling glGetString(GL_VERSION) to get the OpenGL version supported by the context I requested (I tried requesting GL 2 and GL 3 contexts, core and compatibility). However, it constantly returns null. This should be okay for all types of…
geometrian
  • 14,775
  • 10
  • 56
  • 132
0
votes
1 answer

dyld Missing glX* from libX11

​While attempting to run [executable], a program I wrote under Linux and am attempting to test under XQuartz on OSX, I get: dyld: lazy symbol binding failed: Symbol not found: _glXChooseVisual Referenced from: [executable] Expected in:…
geometrian
  • 14,775
  • 10
  • 56
  • 132
0
votes
0 answers

GLX window creation works when called from statically compiled code, but crashes from shared lib

I'm trying to strip some GLX window/context creation code out of a statically-compiled binary and into a shared lib. The same code which works fine in the static version crashes in the shared lib version on the first call to any glX-prefixed…
Ben
  • 843
  • 8
  • 21
0
votes
1 answer

OpenGL 3/GLFW Blank Viewport

I'm going through the second "chapter" on http://www.open.gl and running into a drawing issue which I can't figure out. int main() { //Initialize GLFW, create the window and the context glfwInit(); …
pdm
  • 1,027
  • 1
  • 9
  • 24
0
votes
1 answer

Different opengl versions when sshing to remote computer

I'm having trouble running an opengl(3.3) program through ssh. When I run: glxinfo | grep -i opengl on my own computer (ubuntu 12.04) I get: OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Quadro FX 580/PCIe/SSE2 OpenGL version…
kith
  • 5,486
  • 1
  • 21
  • 21
0
votes
1 answer

Windowless OpenGL Context in Apache2 Module

I'm trying to develop an Apache2 module that utilizes OpenGL to perform off-screen rendering and dynamically generate images that I can then send back to the client. Apache2 is running on an Ubuntu 12.04 machine and I created a test module that…
informer2000
  • 399
  • 6
  • 20
1 2 3
11
12