Bug 23740

Summary: [i965] Performance regressions with mesa 7.5.1
Product: Mesa Reporter: Ivan Bulatovic <combuster>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: eric
Version: 7.5Keywords: NEEDINFO
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg.log

Description Ivan Bulatovic 2009-09-06 03:26:30 UTC
After upgrading to mesa 7.5.1 with compiz enabled, gnome desktop is almost unusable ie. gnome-terminal needs 10 seconds to start, gnome menu is drawing slowly on the screen, typing the key on the keyboard shows up on screen 5sec later.

kernel 2.6.30.5 [kms disabled]
xf86-video-intel 2.8.1
mesa 7.5.1
xserver 1.6.3.901

With kernel 2.6.31-rc9 with kms enabled everything works ok but there are some performance regressions like stuttering in games like urt and fretsonfire wich worked ok with mesa 7.5.0, glxgears shows 350 instead of 950fps

With git snapshots of intel drivers and mesa and the entire xorg tree + xserver 1.7rc there are no improvements in performance comparing to combination with 2.6.31-rc9 mentioned above.
Comment 1 Ivan Bulatovic 2009-09-06 11:43:02 UTC
Created attachment 29272 [details]
Xorg.log

Just to add this, when I boot into 2.6.30.5 I get following messages in error log

Sep  6 20:33:55 vostro kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Sep  6 20:33:55 vostro kernel: [drm:i915_gem_execbuffer] *ERROR* Execbuf while VT-switched.

I'm sending as an attachment Xorg.0.log
Comment 2 Tomas M. 2009-09-07 04:39:53 UTC
i can report this is the case too..

installing mesa 7.5.1 and all its deps for intel hardware drops from 800ish fps to about 400fps

downgrading to 7.5-2 and all packages linked to it fixes it..

packages which needed downgrading are

intel-dri 7.5.1-1 --> 7.5-2
mesa 7.5.1-1 --> 7.5-2
libgl 7.5.1-1 --> 7.5-2
xf86-video-intel 2.8.1-1 --> 2.7.99.902-1


intel gma945 here

xorg-server 1.6.3.901 nothing funky in its log.

Comment 3 Ivan Bulatovic 2009-09-10 03:00:48 UTC
With 2.6.31 [kms enabled] and mesa 7.7-devel (from git) performance is a bit better (extreme tux racer jumped by 5fps (around 30fps)) and glxgears show 450fps, still not on the level of mesa 7.5 but it's getting better comparing to 7.5.1.

I haven't noticed any bugs so far in 7.7-devel...

glxinfo:

OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 
OpenGL version string: 2.1 Mesa 7.7-devel
Comment 4 Eric Anholt 2009-10-09 12:04:21 UTC
best thing to do for performance regressions is to bisect to find the commit that caused the regression, and also to never use glxgears as a benchmark because it makes people ignore you.

So, waiting for regression bisect and numbers for a relevant app that is hurt by that commit.
Comment 5 Eric Anholt 2010-06-04 13:47:29 UTC
Never got a bisect or more info on reproducing a relevant issue (not glxgears).  compiz is running fine under gnome on my systems.

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.