BadRequest (invalid request code or no such operation)

Frequently asked questions - Please read before posting!

BadRequest (invalid request code or no such operation)

Postby » Tue Jan 09, 2007 5:36 pm

Applies To:

All P-series cards (Millenium P650, P750, Parhelia, APVe, QID, ...) using the
mtx driver set.


This error message is given by glxinfo and in a bit modified form from
glxgears. You get this message (or any derivate of it) when trying to run a
program that makes use of the GLX implementation.


OpenGL applications suddenly don't work anymore.
Usually, this problem ermerges after a reboot or system upgrade when
the Xorg version of the file gets updated as it is part
of the package "xserver-xorg-core" (at least on Debian systems).


Verify, that the installed file is the same as the one
provided by the mtx driver installer.

You will need to reinstall the Matrox file when the X server is not
running, otherwise you will definetly experience problems with your X
server and possibly render your system unusable until the next hardware

Make sure, that you have the latest
package available on your filesystem.

To do this, follow these few easy steps:

    1. Switch to a text console by pressing CTRL-ALT-F1
    2. Stop your login manager
Code: Select all
# Some examples:
# For kdm
/etc/init.d/kdm stop

# For gdm
/etc/init.d/gdm stop

# For xdm
/etc/init.d/xdm stop

# For enlightenment DR17
/etc/init.d/entrace stop

    3. Kill the running X server
Code: Select all
# if your X binary is called "X"
killall X

# if you are using Xorg
killall Xorg

    4. Verify, that X isn't running anymore
Code: Select all
ps ax | grep [X]

    5. Extract the Matrox mtx driver package to a temporary location
Code: Select all
sh --extract-only

    6. Change to the directory where you extracted the driver
Code: Select all
cd /tmp/matroxdriver_mtx-x86_AA-N.N.N

    7. Copy the correct file to Xorg's extension directory
Code: Select all
# For default Xorg installations
cp opengl6/ /usr/lib/xorg/modules/extensions

# If your Xorg installation uses different directories, provide the correct one!

    8. Start your login manager again
Code: Select all
# Some examples:
# For kdm
/etc/init.d/kdm start

# For gdm
/etc/init.d/gdm start

# For xdm
/etc/init.d/xdm start

# For enlightenment DR17
/etc/init.d/entrace start

Afterwards, OpenGL applications should work again.
User avatar
Supreme Commander
Supreme Commander
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Return to FAQ

Who is online

Users browsing this forum: No registered users and 1 guest