Bug 26598 - __DRI2flushExtension has no member named flushinvalidate
Summary: __DRI2flushExtension has no member named flushinvalidate
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 26620 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-16 19:19 UTC by Alec Ari
Modified: 2010-02-24 10:02 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Compiling error (1.18 KB, text/plain)
2010-02-16 19:21 UTC, Alec Ari
no flags Details

Description Alec Ari 2010-02-16 19:19:40 UTC
Hi. I cannot compile xserver from git master due to a compiling error on glxdri2.c line 222. please see attachment for more details.
Comment 1 Alec Ari 2010-02-16 19:21:26 UTC
Created attachment 33349 [details]
Compiling error

Added attachment (didnt work the first time)
Comment 2 Julien Cristau 2010-02-18 02:36:28 UTC
*** Bug 26620 has been marked as a duplicate of this bug. ***
Comment 3 Shuang He 2010-02-20 17:34:51 UTC
I also met this issue. and seems it's caused by this commit in mesa:
commit 61d26bc82e7c4100acfb551cbb0ba9d84bbc4ba5
Author: Francisco Jerez <currojerez@riseup.net>
Date:   Mon Feb 8 19:27:56 2010 +0100

    dri2: Event driven buffer validation.

    When a buffer invalidation event is received from the X server, the
    "invalidate" hook of the DRI2 flush extension is executed: A generic
    implementation (dri2InvalidateDrawable) is provided that just bumps
    the "pStamp" sequence number in __DRIdrawableRec.

    For old servers not supporting buffer invalidation events, the
    invalidate hook will be called before flushing the fake front/back
    buffer (that's typically once per frame -- not a lot worse than the
    situation we were in before).

    No effort has been made on preserving backwards compatibility with
    version 2 of the flush extension, but I think it's acceptable because
    AFAIK no released stack is making use of it.

    Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Comment 4 Francisco Jerez 2010-02-21 08:25:23 UTC
This is fixed in Kristian's X server tree ([1]), a pull request was already sent so this will be working again soon, hopefully.

[1] http://cgit.freedesktop.org/~krh/xserver/log/?h=dri2-invalidate
Comment 5 Matt Turner 2010-02-24 10:02:03 UTC
Fixed (worked around...) by

http://cgit.freedesktop.org/xorg/xserver/commit/?id=018b177591c9fade6d065e31858cc6e054d33eff

Marking as fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.