2011/8/25 Chris Wilson <[email protected]>: > The Resource database is reset upon regeneration and so the dri2 module > needs to re-register its RESTYPE for the drawable or else it will > clobber the next unsuspecting user of the database. Fortunately, DRI2 is > loaded late in the initialisation sequence and was last up until > xf86-video-intel started using the Resource database to track > outstanding swaps... > > Signed-off-by: Chris Wilson <[email protected]> > --- > v2: Try registering the RESTYPE from InitExtensions(). > ---
Tested-by: Paulo Zanoni <[email protected]> How to reproduce the bug fixed by this patch: # X -retro :0 # DISPLAY=:0 glxinfo # DISPLAY=:0 glxinfo After the second glxinfo, X will crash. Notice that you can't have other X clients, so you can trigger new server generations. -- Paulo Zanoni _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
