X Error of failed request: BadRequest (invalid request code or no such operation)

57,075

I kept trying and used the combination of
this answer
this answer
this link

And it worked like a charm:

milind@Ubuntu11:~$ glxinfo | grep -i yes
direct rendering: Yes

At least as of now, I am able to run some basic OpenGL programs (source code link mentioned here).

Share:
57,075

Related videos on Youtube

iammilind
Author by

iammilind

"Among programming languages, I am C++ ..." — BG 10.19...

Updated on September 18, 2022

Comments

  • iammilind
    iammilind over 1 year

    Possible Duplicate:
    How to fix error with ATI driver “Error of failed request”?

    Though this question is asked before for 11.10, it's still unanswered. I am using ubuntu 12.04 (on Dell Inspiron 1525, 2008 model) and facing the same problem:

    milind@Ubuntu11:~$ glxinfo
    name of display: :0.0
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  136 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  12
      Current serial number in output stream:  12
    

    From internet, I tried several tricks, say removing/reinstalling some packages like Xorg or flglrx (ATI); but no luck.

    The "/var/log/Xorg.0.log" file gives:

    (EE) GLX error: Can not get required symbols.

    I have another newer laptop (lenovo thinkpad T420 2011 model) which also has Ubuntu 12.04, but there everything is working fine. But don't know what to compare between working and not working laptops!

    Any help will be really appreciated.

  • Akseli Palén
    Akseli Palén about 11 years
    The first link (askubuntu.com/a/218894/73423) was all it took to fix my problem (Ubuntu 12.04 on Acer TravelMate 5520, ATI Radeon HD 2400 XT). Thanks.
  • Mona Jalal
    Mona Jalal about 3 years
    why do I get this error? $ glxinfo | grep -i yes X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 41 Current serial number in output stream: 42