Bug 23250

Summary: [Regression] OpenGL game is very slow with DRI2, was fast with DRI1
Product: Mesa Reporter: Achim Frase <achim.frase>
Component: Drivers/DRI/i915Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Achim Frase 2009-08-11 05:37:41 UTC
The OpenGL game Clonk Rage gets very slow if I throw flintstones at some trees. With DRI1 everything is very fast but with DRI2 it gets really slow.

http://www.clonk.de/cr.php?lng=en

I have tested this with intel g45 (X4500HD) and gm945 the show both the same behaviour.
This problem exists since the introduction of DRI2. I have tested it against latest kernel and xorg-edgers ppa.

I have created a little demo video where you can see how big the differers between DRI1 and DRI2 is.
http://rapidshare.com/files/266164313/clonk.ogv

Regards
Achim
Comment 1 Eric Anholt 2009-10-09 14:20:52 UTC
I think I've reproduced the problem but it took me a while to get to one of the exploding items to do it.  Is there an easy level full of them I can use for debugging?
Comment 2 Achim Frase 2009-10-10 00:42:51 UTC
(In reply to comment #1)
> I think I've reproduced the problem but it took me a while to get to one of the
> exploding items to do it.  Is there an easy level full of them I can use for
> debugging?

I think the map 'Monsterkill' is the right one.

Start Game → Easy Worlds → Monsterkill

In this map you have 50 Gold. You can buy some flintsontes in you house.

Regards
Achim
Comment 3 Eric Anholt 2010-10-14 15:51:41 UTC
The current version I got from the site doesn't appear to have that map.  I went around a couple of maps, grabbing small rocks and throwing them, and didn't see the performance hit.  Could you try and see how things are for you now?
Comment 4 Achim Frase 2010-10-15 01:54:47 UTC
The game runs much better these days.
I think I can mark this bug as fixed.

Regards
Achim

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.