OpenGL doesn't work

My attention was brought to this by the fact Desktop Effects work through XRender but not OpenGL (which gives this error). I then tried running some openGL command (forgot what) and that gave me an error as well, which confirmed to me OpenGL is broken on my OpenSuse 11.1 64bit.

Someone told me to erase the fglrx_dri.so in /usr/lib/dri and replace with the one from /usr/lib64/dri to the /usr/lib/dri. I have done that, re-ran “sax2 -r -m 0=fglrx” even and restarted but no good. The error I get when running glxgears to test is:

mircea@linux-wdzw:~> glxgears
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  14
  Current serial number in output stream:  14
mircea@linux-wdzw:~>

My video card is an ATI Radeon X3870 X2 with is official Linux drivers installed correctly. What must I do to get OpenGL working and Desktop Effects working through it as well?

I remembered what that second command was. It was a shortcut which initialized the command “kcmshell opengl”. Clicking that pops up a dialog saying “Could not initialize OpenGL”. Then when I answer to that window I get a new window called Configure - KDE Control Module with some list and when I answer it a KDE Crash window.

Writing that command in the console also gives me this line of errors:

mircea@linux-wdzw:~> kcmshell opengl
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  19
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  19
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  14
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  19
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  19
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  14
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  19
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  19
  Resource id:  0x17
X Error: BadRequest (invalid request code or no such operation) 1
  Major opcode:  143
  Minor opcode:  14
  Resource id:  0x17
KCrash: Application 'kcmshell' crashing...
mircea@linux-wdzw:~>

Same think here. did the same thing.
I’m using kde 4.1.96 (4.2 RC) and latest ATI’s driver with dual monitors.

If anyone has been able to setup ATI’s proprietary driver with opensuse 11.1 and 3d acceleration enabled on dual screen, I’d really appreciate some pointers.

Same on a Radeon 3200, video acceleration does seem to work though as previously while using the ‘xv’ output driver while playing a movie resultated in no image, I am getting an image after installing the driver and running the “sax2 -r -m 0=fglrx” command as root in init 3.
Think someone needs to send ATI an email ;), I wont since I only need a working display + hardware acceleration for video’s.

I guess I found the error, I just looked into the Xorg.0.log and found the following two lines:

(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: wrong ELF class: ELFCLASS32)
(EE) AIGLX: reverting to software rendering

So I guess someone packed the 32 bit .so into the package that gets installed on 64 bit systems.

Hello,

same problem with ATI HD 4850 (glxinfo errors).

i just rename /usr/lib/dri/fglrx_dri.so to fglrx_dri.so.bak
and link fglrx_dri.so with the 64bit fglrx_dri.so

# cd /usr/lib/dri
# mv fglrx_dri.so fglrx_dri.so.bak
# ln -s /usr/lib64/dri/fglrx_dri.so fglrx_dri.so

Kill the server x and now glxinfo is ok.

We must wait now for ATI update

Stan