Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opengl]

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

19
votes
2answers
22k views

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 ...
15
votes
3answers
11k views

GLX extension not working properly with xvfb

I have an Ubuntu 14.04 system with the following packages installed: libegl1-mesa:amd64 libegl1-mesa-drivers:amd64 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-glx:...
14
votes
1answer
28k views

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 ...
12
votes
1answer
3k views

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=...
11
votes
3answers
4k views

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 ...
10
votes
1answer
10k views

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 ...
9
votes
1answer
1k views

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@...
8
votes
3answers
13k views

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....
8
votes
2answers
5k views

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. ...
8
votes
4answers
2k views

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 ...
7
votes
2answers
6k views

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 ...
6
votes
3answers
11k views

How can I tell what version of OpenGL my machine supports on Arch Linux?

How can I tell what OpenGL versions are supported on my (Arch Linux) machine?
6
votes
1answer
747 views

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: ...
5
votes
3answers
3k views

After update GLX works only for root (nvidia)

Today i did update and glx stopped working for non-root users: $ glxinfo name of display: :0 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of ...
4
votes
1answer
2k views

How do I tell if a Wine application uses hardware or software rendering?

I'm building an appliance/kiosk-type machine which is going to run a single fullscreen Wine application (Synthesia). I'm using Arch Linux running LXDE on an original 7-inch EeePC (well, souped up to ...
4
votes
1answer
469 views

Linux 3D graphic libraries

What libraries can be used for 3D graphics on Linux? Are there big differences for 3D graphics programming between Linux and Windows? I found about DirectX and OpenGl by searching, but I'm not sure ...
4
votes
1answer
191 views

How can I tell if a memory leak is in user space or kernel space?

I have a large multi-threaded open source application which uses proprietary OpenGL libraries, Wayland Weston, and a proprietary graphics driver in the Linux kernel. The drivers are currently under ...
4
votes
1answer
3k views

GLX doesn't work using xvfb-run

I'm on Ubuntu 14.04, and using it through ssh, which means I don't have local GUI for it. I need to run some command that requires GLX, but things aren't going well. Xvfb :80 -screen 0 1400x900x24 -...
4
votes
3answers
10k views

How to enable OpenGL rendering on Fedora 18 with an Intel Corporation 82852/855GM? [closed]

On an older laptop that runs Fedora 18, and has a Intel Corporation 82852/855GM Integrated Graphics Device, I cannot get OpenGL to run on it. In fact, I have no 3D acceleration whatsoever. I have ...
4
votes
1answer
187 views

X stuck when using OpenGL

On a stock Dell, RHEL 5.3, my X gets stuck when running any OpenGL program for more than a few seconds. After a few seconds, the screen freezes, and after another few seconds sometimes the screen ...
4
votes
0answers
2k views

NVIDIA GLX is not working under a Optimus Laptop

First I would emphasize that I am using a Linux From Scratch 7.7 Systemd (Now running kernel 3.14.39) I built these two days, so I don't want to touch anything about glibc/gcc and there is no package ...
3
votes
1answer
10k views

How to disable Hardware Acceleration in Linux?

How can I turn off Hardware Acceleration in Linux, also known as Direct Rendering. I wish to turn this off, as it messes with some applications like OBS Studio which can't handle capturing of hardware ...
3
votes
2answers
16k views

Getting OpenGL to work under Ubuntu

I have an Intel graphics card, of which I can't tell whether or not it's being recognized. When I go through GUI to the System Info section, it states that my graphics card is unknown. Despite this, ...
3
votes
3answers
8k views

Enabling graphics acceleration for OpenGL over remotely via VPN from Ubuntu client(my laptop)to Windows server(computation is here)

I have an access to Internet via a Wifi. Then, I have a VPN connection established from my Ubuntu laptop to a LAN network. My Windows Machine where computation happens using OpenGL is on the same ...
3
votes
3answers
4k views

How to get Evolution to run in VNC on Debian/Wheezy (or later)?

For many years I've been in the habit of, when away from home, VNC-ing (over ssh) back into my "home machine" and running Evolution (for email, contacts etc) in a tightvncserver environment there. ...
3
votes
1answer
7k views

Got the error `failed with VK_ERROR_INCOMPATIBLE_DRIVER` when I ran `vulkaninfo` after Installing vulkan

I installed Vulkan as mentioned in the instructions on their website. After installing, when I ran vulkaninfo in terminal , I get =========== VULKAN INFO =========== Vulkan API Version: 1.0.3 INFO:...
3
votes
3answers
2k views

Linux - rendering performance after switching from nvidia to nouveau drivers

I use UBuntu 14.04 LTS. I have purged all nvidia proprietary drivers and currently my system use Nouveau driver. Here is an output from glxinfo | grep OpenGL : when using nvidia propietary drivers ...
3
votes
2answers
4k views

Upgrading OpenGL Drivers

I'm trying to learn OpenGL and most tutorials on the internet only offer guidelines for OpenGL 3.0 and higher. So I looked for my OpenGL version and glxinfo | grep OpenGL yields this: OpenGL vendor ...
3
votes
1answer
646 views

What happened to the GLP OpenGL extension?

I need to do headless hardware accelerated server rendering using OpenGL and found out that this is possible with pbuffers and frame buffer objects (FBO). But today these approaches still need a ...
3
votes
2answers
325 views

Not getting 3d acceleration on one of two GeForce graphic cards

Running Debian 8. I have a GeForce 6600 GT and a GeForce GTX 460 SE. I was using the 340.65-2 driver, whatever the standard nvidia driver is in the repos, but that doesn't support the 6600. So I ...
3
votes
0answers
205 views

Any way to run multiple fullscreen EGL applications?

This came up while trying to launch Retroarch from Kodi on a Raspbian without X, both applications built to run on top of KMS/DRM with OpenGL ES2/EGL as the backend. While the first application (Kodi)...
3
votes
1answer
1k views

CUDA Context for NVENC not found after system suspend

Context I recently updated my nVidia drivers to 375.26 and recompiled FFmpeg N-83180-gcf3affa and OBS 17.0.2-5-g43e4a2e (sorry if these numbers don't mean anything, I'm not quite sure what version ...
3
votes
0answers
2k views

Installing Mali Drivers? (ArchLinuxARM)

I've recently gotten hold of an ARM-based Chromebook C100P. After successfully installing ArchLinuxARM, I've struggled to enable the Mali-T764 GPU. The recommended drivers for the device, (xf86-video-...
3
votes
0answers
404 views

Run OpenGl program on remote server

I often use X11 forwarding (occasionally VNC) to work on a remote machine, and this has worked great. But now I need to run a program that uses a specific version of OpenGL that means it doesn't work ...
3
votes
2answers
4k views

Hardware OpenGL rendering in MATLAB

I am unable to get hardware based OpenGL rendering to work in MATLAB R2015a or R2014b. Prior to R2014b, and the rewrite of the MATLAB graphics stack, everything worked fine. From MATLAB >> ...
3
votes
1answer
2k views

Buildroot OpenGL Capable Backend

I'm trying to configure QT 5 through buildroot and some options are not available with the message requires an OpenGL-capable backend. I'm using buildroot 2013.08-rc1 but the same message comes up ...
3
votes
0answers
279 views

What steps are involved in porting an Xorg OpenGL app to DirectFB?

I'm looking for a birds-eye view on porting a small app1 that uses some OpenGL functions from it's home on Xorg to run in a more stand-alone fashion using DirectFB. I am unfamiliar with both C and ...
2
votes
3answers
1k views

NixOS: OpenGL drivers missing

I made a clean installation of NixOS without X11. Then I ran nix-env -i wayland nix-env -i sway nix-env -i glu nix-env -i mesa-noglu reboot sway Yet I receive follwing error gbm: failed to open ...
2
votes
1answer
12k views

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 ...
2
votes
1answer
1k views

Does Qubes OS support opengl on discrete graphics?

How can I configure Qubes OS that a VM supports opengl for my nvidia graphics on my laptop (optimus)? The laptop has a integrated intel card and a quadro K2000M. At least the quadro 2000 seems to be ...
2
votes
1answer
3k views

Error: QOpenGLShader: could not create shader - while running through ssh

From my computer: $ cat /etc/issue && uname -a Ubuntu 14.04.1 LTS \n \l Linux abc-pc 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux I am using ...
2
votes
1answer
2k views

Valve games crashing on startup due to problem with OpenGL/SDL

Recently, my games made by valve, and I assume all source games, have been crashing on start up. This isn't affecting any of my other games, which primarily run on Unity3D. It seems to be a problem ...
2
votes
2answers
3k views

Error: GLX is not available on the system

After rebooting my Ubuntu 14.04 machine, I could not log into Unity again and I had to fall back on Gnome. I discovered that there is something wrong with GLX since when I run: /usr/lib/nux/...
2
votes
1answer
5k views

Having nVidia OpenGL 32bit driver on a 64bit Debian system in multiarch

I'm trying to install 32 bit nVidia drivers on my 64-bit system (to get wine working with OpenGL). So I tried: root@grzes:/lib# aptitude install libgl1-nvidia-glx:i386 libxvmcnvidia1:i386 The ...
2
votes
1answer
1k views

Slackware 14.0 upgrade OpenGL

I wanted to run a tutorial program for OpenGL in my Slackware 14.0. It compiled well, but when I try to run it, it quits with an error: error: GLSL 3.30 is not supported. Supported versions are: 1.00 ...
2
votes
3answers
237 views

Why isn't there a /usr/include/GL directory on OpenBSD?

I have just recently made the switched for Linux to OpenBSD. So far, I am really liking the philosophy of including the bare minimum needed to run the system, and the emphasis for clean and simple ...
2
votes
1answer
912 views

Cannot get glx to work after changing from Nvidia to Nouveau drivers FC24

I run FC 24 (just upgraded from FC 23). After the upgrade there were some issues with the X server, and so I decided to change from Nvidia proprietary drivers to Nouveau. Everything seems OK, except ...
2
votes
1answer
1k views

Start X11 server on CentOS 7 without screen but with a graphics card

I'd like to do OpenGL rendering from an application that talks to an X11 server. The application reads the value of the DISPLAY variable. I have access to a CentOS 7 box that has a nice graphics card ...
2
votes
1answer
233 views

optirun and ssh -X

I would like to run a remote OpenGL program through ssh tunneled with the -X option. My laptop has Optimus so anything using OpenGL has to go through optirun (bumblebee). This would explain why I ...
2
votes
1answer
2k views

Mesa EGL not working, not even initializing

Nearly a week now, and I can't figure out what's wrong! Any pointers would be appreciated (pun intended)! Ubuntu 12.04 x86_64 Mesa-8.0.4 ./configure --enable-64-bit --enable-pic -enable-opengl --...