Created attachment 19756 [details]
Updating the stuff (xorg-server, mesalib, libdrm, xf86-video-intel) from old (1.4.2, 7.0.4, 2.3.0, 2.3.2) to new (1.5.2, 7.2, 2.3.1, 2.4.2) killed the performance of all.
While launching glxgears I had ~900 fps with my card, now -- not more than 59.
I tried to play with the components: built git-based dri kernel module -- nothing's changed; tried to compile xorg-server 1.4.2 with mesalib 7.2 -- nothing's changed; compiled the latest xf86-video-intel driver (18.104.22.168) -- nothing's changed. Even with the different versions of xorg-server. I also
played with some driver's options in xorg.conf -- no changes at all.
I also noticed the filesize of /usr/lib/dri/i965_dri.so.
With mesalib 7.0.4 -- it's around 14 megabytes; with 7.2 -- only ~1.5 megabytes.
The most known "feature" of "7.0.4 => 7.2" process is full support of i965 chipsets afaik :) So it broke the performance too much.
Everything's tested with Linux kernels 22.214.171.124 and 126.96.36.199 -- no differences.
But only when I install mesalib 7.0.4 instead of 7.2 -- fps grow up to ~900.
p.s. xorg.conf that I've been using all the time (since nov'07 afaik) attached.
Created attachment 19781 [details]
I have the same problem on xorg-server-188.8.131.52-r6, mesa-7.2, libdrm-2.3.1, xf86-video-i810-2.4.2-r3 on gentoo.
Quake 3 Arena is down to 4fps from playable ~40-50fps.
Kernel is 2.6.25-gentoo-r8
Vlad, could you try setting vblank_mode to 0 in your ~/.drirc, such as
<device screen="0" driver="i965">
<option name="vblank_mode" value="0" />
Thanks for damn fast response, Gordon! :)
Yeah, it works! I've just rebuilt mesalib and the gxlgears' fps grow up from 55 to maximum 648 fps. But this is with xorg-server 1.4.2. Trying to build new xorg-server (1.5.2) with mesalib 7.2 atm.
Maximum is still ~650, while with xorg-server (1.4.2) + mesalib (7.0.4) I have ~890 fps.
Setting vblank_mode to 0 and upgrading to xorg-server-1.4.2 fixed the performance issue!
Thanks for the workaround!
So I'm closing this.
The explanation is the default vblank_mode value changed recently (the old default value is 0), so it's not a true performance downgrade, but a configuration change.
(In reply to comment #6)
> So I'm closing this.
> The explanation is the default vblank_mode value changed recently (the old
> default value is 0), so it's not a true performance downgrade, but a
> configuration change.
But what about ~900 -> ~650 ?
(In reply to comment #7)
> But what about ~900 -> ~650 ?
mesa-7.2 gets into TTM-classic mode. It doesn't make much sense to compare performance with classic mode. I'd suggest to hold on until GEM (a new memory manager) landed. Besides, glxgears is not a good benchmark.
(In reply to comment #8)
> mesa-7.2 gets into TTM-classic mode. It doesn't make much sense to compare
> performance with classic mode. I'd suggest to hold on until GEM (a new memory
> manager) landed.
> Besides, glxgears is not a good benchmark.
At least when I see the downgrade of FPS in glxgears -- I feel the same in Nexuiz :)
Thanks a lot for explanation!