Public bug reported:

kernel: 2.6.24-20-generic
arch: x86_64
fglrx: 8.7

Most programs using Opengl for output acceleration, give me this error (like 
vlc when it usees Opengl as output method):
vlc
VLC media player 0.8.6e Janus
[00000350] main private error: option glx-shm does not exist
libGL error: drmGetMagic failed
libGL error: reverting to (slow) indirect rendering
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  163 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  58
  Current serial number in output stream:  58

Wine got this some versions beyond.. with fglrx 8.6 8.5 and other
kernels aswell.

A Quote from winhq bug which is about the exact same error:
libGL error: drmGetMagic failed
libGL error: reverting to (slow) indirect rendering

This is definitely an fglrx bug, and seems linked to opening more than one
display connection. I can easily reproduce the bug with code like this:

dpy = XOpenDisplay();
visual = glXChooseVisual(dpy);
XCloseDisplay(dpy);
...
dpy2 = XOpenDisplay();
ctx = glXCreateContext(dpy2, visual); /* fglrx reverts to indirect rendering */

I've tested the above code with fglrx versions up to 8.5, and it reproduces the
bug 100% of the times. If you do not close the first display connection the bug
still occurs, albeit not always.

Several applications seem affected by this, including VLC Media Player. It
might be worth it to check whether Wine uses multiple display connections.


These two bugs may be related:
http://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&questionID=35215
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462715

Btw, since 8.7, multiple games stop working (ETQW, Warsow, ...)

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
libGL error in vlc, wine and other programs
https://bugs.launchpad.net/bugs/251735
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to