Questions tagged [opengl]

This tag should be used be used on questions related to the Open Graphics Library.

OpenGL

Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.

Learn more on Wikipedia.

174 questions
29
votes
2 answers

What does LIBGL_ALWAYS_INDIRECT=1 actually do?

KDE SC 4.5.0 has some problems with some video cards including mine. Upon Release Arch recommended several workarounds. One of which was export "LIBGL_ALWAYS_INDIRECT=1" before starting KDE I decided that it was the easiest, best method. But I don't…
xenoterracide
  • 57,918
  • 74
  • 184
  • 250
25
votes
3 answers

OpenGL rendering with X11 forwarding

I am trying to run an executable on a remote server, to which I connect via ssh -Y. I think the executable uses openGL The server runs Ubuntu and the local system runs OSX. ssh -Y normally opens a display on my local machine by X11. This works well…
Adam Gosztolai
  • 755
  • 2
  • 7
  • 10
20
votes
1 answer

X11 forwarding an OpenGL application from a machine running an NVIDIA card to a machine with an AMD card

I'm interested in forwarding an X11 session over SSH, in order to launch a remote process that utilizes OpenGL (specifically, gazebo for anyone familiar.) The problem that I seem to be running into is that gazebo crashes due to a mismatch in the…
Doug Stephen
  • 437
  • 1
  • 6
  • 11
20
votes
3 answers

Add VIRTUAL output to Xorg

I want to create a dummy, virtual output on my Xorg server on current Intel iGPU (on Ubuntu 16.04.2 HWE, with Xorg server version 1.18.4). It is the similiar to Linux Mint 18.2, which one of the xrandr output shows the following: Screen 0: minimum 8…
Paulus
  • 303
  • 1
  • 2
  • 5
19
votes
3 answers

GLX extension not working properly with xvfb

I have an Ubuntu 14.04 system with the following packages…
Giorgio
  • 797
  • 2
  • 13
  • 28
12
votes
3 answers

How to efficiently use 3D via a remote connection?

I have one weak PC (client) but with acceptable 3D performance, and one strong PC (server) which should be capable of running an application using OpenGL twice, i.e. once locally and once remotely for the client. Currently, I ssh -X into it, but the…
Tobias Kienzler
  • 9,184
  • 13
  • 65
  • 106
12
votes
1 answer

Why does `xvfb-run glxgears` fail with an swrast error?

xvfb is supposed to let me run X programs in a headless environment. But when I run xvfb-run glxgears, I get: libGL error: failed to load driver: swrast libGL error: Try again with LIBGL_DEBUG=verbose for more details. Error: couldn't get an RGB,…
Alex Henrie
  • 715
  • 1
  • 8
  • 13
10
votes
3 answers

Using software OpenGL rendering with X

I want to try the most basic OpenGL driver, in order to find out what's the problem of my X server with OpenGL. I want then to have X use software rendering for OpenGL, like windows do with opengl.dll with no driver installed. How can I do that?…
Elazar Leibovich
  • 3,131
  • 5
  • 27
  • 28
9
votes
3 answers

libGL error: No matching fbConfigs or visuals found | Glxgears error, Docker, CUDA, VirtualGL

when I run glxgears, I get following error. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Error: couldn't get an RGB, Double-buffered visual My system is ubuntu 16.04 as docker image -…
trainmaniak
  • 111
  • 1
  • 1
  • 4
9
votes
1 answer

Segmentation fault when trying to run glxgears via virtualGL

(Follow-up on How to efficiently use 3D via a remote connection?) I installed the amd64 package on the server and the i386 one on the client. Following the user's guide I run this on the client: me@client> /opt/VirtualGL/bin/vglconnect…
Tobias Kienzler
  • 9,184
  • 13
  • 65
  • 106
9
votes
2 answers

How can I run /usr/bin/Xorg without sudo?

This question is about executing /usr/bin/Xorg directly on Ubuntu 14.04. And I know there exists Xdummy, but I couldn't make the dummy driver work properly with the nvidia GPU so it's not an option. I copied the system-wide xorg.conf and…
noname
  • 274
  • 1
  • 3
  • 9
8
votes
4 answers

How could running strace be fixing my OpenGL issue?

Since a recent major upgrade to my distribution (PLD Linux), I have been having trouble with a whole slew of programs. As best I can tell, anything that touches OpenGL or PulseAudio segfaults. I'm using the proprietary nvidia drivers and a 3.2.x…
Caleb
  • 69,278
  • 18
  • 196
  • 226
8
votes
2 answers

Remote direct rendering for GLX (OpenGL)

I am trying to run an OpenGL 2.1+ application over SSH. [my computer] --- ssh connection --- [remote machine] (application) I use X forwarding to run this application and with that in mind I think there are a couple of ways for this application to…
Paul
  • 183
  • 1
  • 5
8
votes
1 answer

Run OpenGL application installed by Nix package manager

When I try to run application which uses OpenGL installed or built with Nix package manager, GLX errors shows up: $ /nix/store/p6fwy23nfcadxr4i780knajvmzga17aa-glxinfo-8.1.0/bin/glxinfo libGL error: failed to open drm device: No such file or…
MadRunner
  • 501
  • 4
  • 12
7
votes
1 answer

gcc /usr/bin/ld: cannot find -lglut32, -lopengl32, -lglu32, -lfreegut, but these are installed

I'm trying to compile a demo project, what is using OpenGL. I'm getting this error message: But I have everything: What is happening? If I have all of the dependencies, why does it not compile? I use Solus 3.
Bence László
  • 173
  • 1
  • 1
  • 4
1
2 3
11 12