181 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
39
views
glxinfo visual ID with depth=32 and alphaSize=0
On my machine, I get the following output from glxinfo -v (only relevant items shown):
Visual ID: 22 depth=24 class=DirectColor, type=(none)
bufferSize=24 level=0 renderType=rgba doubleBuffer=1 ...
2
votes
1
answer
470
views
Laggy Android Studio revisited
I never had lag problems with Android Studio (AS) until last year, when I began to experience GUI lag problems: menus take around 2 seconds to open (freezing AS during that time). Also when hovering ...
2
votes
1
answer
869
views
'GLXPlatform' object has no attribute 'OSMesa'
I am testing whether OSMesa functions properly, but I encountered the following error. How can this error be resolved?
The full error message:
----------------------------------------------------------...
2
votes
1
answer
238
views
BadValue on X_ChangeProperty when calling glXChooseFBConfig() on XCB connection?
I'm trying to use my XCB implementation with OpenGL but I encountered an error.
The problem is in the code below:
#include <dlfcn.h>
#include <iostream>
#include <xcb/xcb.h>
#...
0
votes
0
answers
109
views
How to free memory returned by glxChooseFBConfig?
glxChooseFBConfig returns GLXFBConfig* and GLXFBConfig is defined this way:
typedef struct __GLXFBConfigRec *GLXFBConfig;
Here is an example function which uses glxChooseFBConfig and frees memory:
...
0
votes
1
answer
215
views
How to resize an existing pbuffer surface in GLX/OpenGL?
I am using GLX pbuffer surface to render OpenGL applications in Linux. Here is a sample:
GLOffscreenBuffer::GLOffscreenBuffer(unsigned width, unsigned height)
: m_width(width)
, m_height(...
2
votes
1
answer
2k
views
GLX offscreen rendering in headless system
I am try to render GLX appliations in a Linux headless system(such as Linux server version), with no display and no desktop.
However, when I run a GLX sample, I got the following errors:
XOpenDisplay ...
0
votes
0
answers
47
views
Why OpenGL library exports extended symbols?
I'm going to develop a wrapper of OpenGL library in linux, libGL.so.1, installed from NVIDIA driver. I found there are about 3000 symbols which OpenGL library exports:
$ nm -D /usr/lib/x86_64-linux-...
1
vote
0
answers
83
views
How to get a list of created GLX contexts for a process with command line
I want to compare how apps are creating their GLX contexts.
I can easily check window info using xwininfo - this gives me e.g visual info, but nothing about OpenGL contexts.
10
votes
0
answers
9k
views
X2Go Error: X server does not support XInput 2
I am using the remote desktop software X2Go to use an Ubuntu 20.04 linux workstation from remote. I am tunneling from an Ubuntu 20.04 laptop. Initially, everything seems to work fine. When I start ...
0
votes
1
answer
123
views
XCreateColormap giving segmentation fault
I have no idea what it going on.
I spent around 3 hours trying to fix it, but no luck.
My code is:
`
temp->wA.border_pixel = BlackPixel(temp->d, temp->sID);
temp->wA....
0
votes
1
answer
653
views
Getting the current GLXFBConfig in GLX
I can trivially get visuals, visual IDs, etc. when generating an OpenGL context using xlib, but OpenXR requires a GLXFBConfig in order to work. But I can't figure out how to get the GLXFBConfig for ...
1
vote
0
answers
1k
views
OpenGL: Major opcode of failed request: 150 (GLX)
win10 + wsl1 (ubuntu18.04)
I want to install opengl, here are my steps:
sudo apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev libglu1-mesa-dev
sudo apt-get install libglew-dev ...
1
vote
0
answers
72
views
GLX glXQueryVersion returns error of "wrong opcode". Unix socket connection
The connection to the X server is done with Unix sockets. I can confirm that the server has GLX extension with the following code:
const char *str_extension = "GLX";
/* X protocol requires ...
1
vote
0
answers
408
views
OpenGL display is not working without GPU on Mac?
I am very new to ROS simulations. So I need to run the existing project with Docker on Mac. I get the following error from glxgears:
~/catkin_ws$ LIBGL_DEBUG=verbose glxgears
libGL: MESA-LOADER: ...