Since 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 sauerbraten shows triangles popping around on some frames. My card:
r300: DRM version: 2.7.0, Name: ATI RV530, ID: 0x71c5, GB: 1, Z: 2
r300: GART size: 509 MB, VRAM size: 256 MB
r300: AA compression: NO, Z compression: NO, HiZ: NO
That commit is also causing problems with Google Earth running in a VM when using the Gallium svga driver. If this can't be fixed soon, we may have to revert this patch (and the follow-ons).
Assigning to Marek. Marek, do you have any ideas about what might be going on?
Created attachment 43487 [details] [review]
I guess we might be changing vertex attribs somewhere and not updating
the appropriate dirty flags, therefore we can't rely on them for now.
Or maybe we need to make the vertex array state dependent on some other flags too. I have no idea currently.
I have an ugly workaround which fixes sauerbraten. Please see the attached patch. It basically reverts my commit and gives a clue on what's going on.
Update: This bug only shows up if shaders are used. The fixed-function pipeline is unaffected.
Commit 2a904fd6a0cb80eec6dec2bae07fd8778b04caf3 also breaks the cairo-gl backend.
FWIW, the attached workaround fixes the problem.
Note that the workaround was applied in:
Fixed with commits ef58598c1cf2ac689f67c75b2f477f2c404fce98 and 12fa91b6753dccbd3aa12c570d1f1e55c7dc0582. Closing.
on Jan 20, 2017 at 22:12:21.
(provided by the Example extension).