http://bugs.winehq.org/show_bug.cgi?id=13335
BlackStar BurnSpamAddress@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |BurnSpamAddress@gmail.com
--- Comment #69 from BlackStar BurnSpamAddress@gmail.com 2008-07-23 14:36:16 --- I've encountered the exact same libGL error with OpenGL programs outside Wine:
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.