OpenGL problem

5 réponses [Dernière contribution]
Hors ligne
A rejoint: 02/21/2014


I'm trying to run an OpenGL program from a tutorial and I get the following errors:

X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 34 ()
Serial number of failed request: 36
Current serial number in output stream: 35

Any ideas?

Hors ligne
A rejoint: 05/13/2010

Running mini? Try this

sudo apt-get install libgl1-mesa-dri
Hors ligne
A rejoint: 05/15/2011

Of course if you are still on Trisquel 6, this is better:

sudo apt-get install libgl1-mesa-dri-lts-trusty

Hors ligne
A rejoint: 02/21/2014

@lembas I'm not running mini. I installed 'libgl1-mesa-dri-lts-trusty' but still the same problem.

Hors ligne
A rejoint: 05/21/2011

You may need this: [1]

sudo apt-get -s install --install-recommends linux-generic-lts-trusty linux-image-generic-lts-trusty \
linux-headers-generic-lts-trusty xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty

If everything is ok --if and only if-- remove '-s' (stands for simulation).

Before reboot!!!, references must be updated:

sudo dpkg-reconfigure xserver-xorg-lts-trusty


Hors ligne
A rejoint: 02/21/2014

I didn't notice any errors with -s so I removed it and ran again the command with reconfigure after that, but after reboot the gui disappeared so I had to install some packages again to bring it back. Also this message appeared:

Your Current Hardware Enablement Stack (HME) is no loner supported since 2014-08-07. Security updates for critical parts (kernel and graphics stack) of your system are no longer available.

For more information, please see:

There is a graphics stack installed in this systems. An upgrade to a supported (or longer supported) configuration will become available on 2014-07-16 and can be invoked by running 'update-manager' in the Dash.

So now I am again in the same situation as before. Thanks anyway.