[Mesa-dev] [Bug 29370] Crash when trying to enable 3D with KMS/DRI2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 4 05:51:07 PDT 2010


--- Comment #5 from Kristian Høgsberg <krh at bitplanet.net> 2010-08-04 05:51:07 PDT ---
(In reply to comment #0)
> KWin crashes when trying to activate OpenGL desktop effects.  I do not know if
> bug 29181 is related; could be.
> I'm on Mesa git master, kernel 2.6.35 using Radeon KMS, xorg-server 1.8.2,
> xf86-video-ati git master, Radeon HD4870.
> This is the backtrace:
> Application: KWin (kwin), signal: Segmentation fault
> [KCrash Handler]
> #6  dri2InvalidateBuffers (dpy=<value optimized out>, drawable=<value optimized
> out>) at dri2_glx.c:643
> #7  0x0000003008c5106d in dri2SwapBuffers (pdraw=<value optimized out>,
> target_msc=<value optimized out>, divisor=<value optimized out>,
> remainder=<value optimized out>) at dri2_glx.c:510

Ah, I see, this is the compatibility path for servers that don't send
invalidate events.  When dri2SwapBuffers call dri2Invalidate handle it passes
the GLX drawable XID, but that's wrong, it should pass the X drawable XID.  I
just committed:

commit 9da1c9da139327132dea57b18048a4eb386b6bad
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Wed Aug 4 08:43:08 2010 -0400

    glx: dri2InvalidateBuffers() needs the X drawable XID not the GLX one

    This never ceases to entertain.

to mesa master, please give it a try.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list