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
1 answer

Upgrading GLX to version 1.3 on Ubuntu 18.04

I have the following question: for the purpose of visualisation of some point clouds with GLFW library and Open3D, I would like to upgrade GLX to version 1.3 on Ubuntu 18.04. Having done some research on the Internet, I applied the most commonly…
0
votes
1 answer

Run mlagents_envs UnityEnvironment from remote ssh login

I have a script in which I build a mlagents_envs.environments.UnityEnvironment that successfully launches and works when I run the script from terminal sessions started on my ubuntu machine (that has a GUI). And if I ssh into the machine, I can run…
saetch_g
  • 1,427
  • 10
  • 10
0
votes
1 answer

Set a image(jpeg | png) backgound using GLX ( opengl and Xlib)

I create a x11 window with opengl functionality, i need to load a image(jpeg | png) on its background where size of window be bigger than image, it doesn't matter. I surfed to get resylts like use DevIL or free image. I dont know which one to use. I…
HariHaraSudhan
  • 1,330
  • 3
  • 15
  • 24
0
votes
0 answers

How to upgrade opengl to 3.3 in vmware

Here is my glxinfo showing: OpenGL vendor string: VMware, Inc. OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits) OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.7 OpenGL core profile shading language version string:…
Obsessive
  • 69
  • 2
  • 9
0
votes
1 answer

In C, how do I install GL/glx.h , GL/gl.h and GL/glu.h on Mac OS

I have some code which includes the headers GL/glx.h , GL/gl.h and GL/glu.h . I do not even know what these are, and Google is not a lot of help because there is so much noise in the search results. So (optionally) what are they, but more…
Peter B
  • 453
  • 4
  • 15
0
votes
1 answer

Does glx and xrandr version belong to client \'s hardware on remote desktop environment?

I am in an environment where computer use is ristricted. So I rented a computer on the internet(Like Aamazon EC2) to bypass restriction, develop software. I tried Install Ubuntu 18.04 LTS 64bit Install xfce4, tightvnc for build remote desktop…
user13497562
0
votes
1 answer

Xlib's `Window` vs. GLX's `GLXWindow` confusion

I'm looking through all sorts of example codes for OpenGL context creation with GLX and I'm confused about the two types of window objects: Window used by Xlib and GLXWindow used by GLX, because in some example codes they use Xlib's windows directly…
SasQ
  • 14,009
  • 7
  • 43
  • 43
0
votes
1 answer

glClear before XMapWindow (prevent undefined graphical buffer)

I'm struggling to handle the case where upon XMapWindow with glX, the buffer is undefined and as such the glx buffer will show undefined data before the first glXSwapBuffers is drawn. I vaguely remember gl operations being meaningless before…
ThorSummoner
  • 16,657
  • 15
  • 135
  • 147
0
votes
0 answers

How to change current window for openGL drawing (linux & GLX)

I try to make multi-window app for linux. I tried to make like in code below, but in windows it's show only black screen. What could it be? struct argList{ Display *dpy; XID *root; GLint …
0
votes
2 answers

fatal error: GL/glx.h: No such file or directory libgl1-mesa-dev already installed

I'm trying to compile skia to compile aseprite on Ubuntu 19.10, I keep getting the error c++ -MMD -MF obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o.d -DNDEBUG -DSK_SAMPLES_FOR_X -DSK_GAMMA_APPLY_TO_A8 -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0…
Noah Burck
  • 1
  • 1
  • 1
0
votes
0 answers

X Error of failed request: BadMatch on X_ShmPutImage | Major opcode 130 | Minor opcode 3

Since my last system upgrade on Gentoo, I'm not able to run some code of mine: window_management.c which was working without any warnings nor errors before the upgrade. #include #include #include #include…
Denis
  • 21
  • 5
0
votes
1 answer

X11/GLX window above desktop

I want create opengl application for desktop, but icons and wallpaper are break down. Window should be under icons: code for create window: XSetWindowAttributes swa; swa.background_pixmap = ParentRelative; swa.background_pixel =…
0
votes
0 answers

What does a GLX equivalent of eglBindTexImage look like?

On making an in-process compositor for embedded use the EGL eglBindTexImage looks like a promising solution for enabling the compositor to use OpenGL itself without messing with any client OpenGL context. It'd be serving clients a pbuffer and…
Andreas
  • 5,086
  • 3
  • 16
  • 36
0
votes
2 answers

glXChooseFBConfig w/ GLX_BIND_TO_TEXTURE_*_EXT returning no FBConfigs on Nvidia driver

I have an application that uses the GLX extension texture_from_pixmap, which requires a color buffer created using an FBConfig with GLX_BIND_TO_TEXTURE_RGB_EXT, or GLX_BIND_TO_TEXTURE_RGBA_EXT, per the spec. Only a color buffer of a GLX pixmap…
jakogut
  • 4,409
  • 6
  • 29
  • 41
0
votes
1 answer

Multithreaded game program suddenly locks up on glXSwapBuffers

I'm polishing up a Linux game program I wrote, and after about 10 minutes of playing, it suddenly slows down to 1 frame per thirty seconds or so, slowing the entire system down as well. Even after interrupting the process, the system continues to be…
Linearity
  • 358
  • 3
  • 7