[i945] 2.5.1 driver poor performance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-video-intel |
Fix Released
|
High
|
|||
xserver-xorg-video-intel (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bug Description
Binary package hint: xserver-
The new 2.5.1 release of the Intel driver gives horrible performance.
Screenshot with fps marker, under compiz: http://
As seen in the screenshot, the standard cube view in Compiz runs at a headache-inducing 2 frames per second. With 2.4, the framerate was easily ten times faster.
Jaunty, newest updates as of 11/27/2008, 10:00 EST.
Package version: 2.5.1-1ubuntu1
What I expected to happen: A frame rate of at least 10fps.
What happened instead: Poor framerates in Compiz, glxgears, and my own OpenGL applications.
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0090]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:0090]
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #1 |
K. Lange (k-lange) wrote : 2.5.1 driver release is outrageously slow | #2 |
Binary package hint: xserver-
The new 2.5.1 release of the Intel driver is horribly slow.
Screenshot with fps marker, under compiz: http://
As seen in the screenshot, the standard cube view in Compiz runs at a headache-inducing 2 frames per second. With 2.4, the framerate was easily ten times faster.
Jaunty, newest updates as of 11/27/2008, 10:00 EST.
Package version: 2.5.1-1ubuntu1
What I expected to happen: A frame rate of at least 10fps.
What happened instead: Slowness. Lots and lots of slowness.
Timo Aaltonen (tjaalton) wrote : | #3 |
Try installing libdrm-intel1. Does it help?
Changed in xserver-xorg-video-intel: | |
status: | New → Incomplete |
K. Lange (k-lange) wrote : | #4 |
Had to do that just to get the driver working in the first place, so no, it doesn't help.
Forgot that I was also going to report the unmarked dependency...
Changed in xserver-xorg-video-intel: | |
status: | Incomplete → New |
Bryce Harrington (bryce) wrote : | #5 |
[This is an automated message]
Hi oasisgames,
Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.
Changed in xserver-xorg-video-intel: | |
status: | New → Incomplete |
K. Lange (k-lange) wrote : | #6 |
K. Lange (k-lange) wrote : | #7 |
K. Lange (k-lange) wrote : | #8 |
Changed in xserver-xorg-video-intel: | |
status: | Incomplete → New |
Changed in xserver-xorg-video-intel: | |
status: | New → Confirmed |
Trip Ericson (rovfan) wrote : | #9 |
I don't use compositing on the desktop but I'm having the same lousy performance after upgrading to the Jaunty alpha. My system has Intel's 965 graphics.
I attempted to run Sauerbraten which normally gets about 45 fps and got less than 1 fps. I also attempted to run Google Earth which threw an error about running OpenGL in software but, while slow as all hell, at least didn't lock up when I attempted to open my image overlays and shows all the letters and numbers it's supposed to. (See the other bug report I have active)
Do you want copies from my computer of the information that Kevin Lange gave you?
Albert Damen (albrt) wrote : | #11 |
Can you please check the file permissions of /dev/dri/card* ?
libdrm in jaunty uses udev to create the device node, and I found /dev/dri/card0 now gets mode 660 (crw-rw----), instead of 666. If you get mode 660, please try to change the mode to 666 with sudo chmod 666 /dev/dri/card* and test performance again. For me, that gives a huge performance difference in sauerbraten.
(Kevin's xorg.conf sets dri mode to 666, but I am not sure if that still works now the device node is created via udev).
Changed in xserver-xorg-video-intel: | |
status: | Confirmed → Incomplete |
Trip Ericson (rovfan) wrote : | #12 |
That corrected it. My performance is now about 18 fps, still lower than I used to get, but it's now playable.
Google Earth now no longer complains, but I accidentally left an image overlay on it while in software mode and now it freezes a few seconds after the program starts, as indicated in my bug report here when image overlays are used.
https:/
K. Lange (k-lange) wrote : | #13 |
Seems someone screwed something up in X, as there's an options that's supposed to be able to set this for me:
Section "DRI"
Mode 0666
EndSection
Yet still:
crw-rw---- 1 root video 226, 0 2008-12-04 19:46 /dev/dri/card0
Thanks for the tip, I'll see if it helps.
K. Lange (k-lange) wrote : | #14 |
And it appears to have not made any difference.
Albert Damen (albrt) wrote : | #15 |
Thanks for testing. As this didn't help for Kevin, I have filed the permissions issue as bug 306014.
Changed in xserver-xorg-video-intel: | |
status: | Incomplete → Confirmed |
Jeffrey Baker (jwbaker) wrote : | #16 |
This isn't just a compositing/compiz problem or a 3D problem. I get horrible performance with just plain old xterms under metacity. Whatever is in 2.5.1 (-ubuntu5) driver is a huge step backwards from Intrepid. Tested on a GM965 at 1400x1050.
Bryce Harrington (bryce) wrote : Re: 2.5.1 driver framerate below 10fps running the cube view in compiz | #17 |
Let's focus this bug just on the compiz performance issue. Please file non-compiz performance issues separately, else this bug is likely to turn into a "me-too" storm. ;-)
In recent days a new xserver 1.6 has been uploaded, which contains code designed to improve -intel performance. Please re-test the compiz cube view and report the framerate seen. Also please attach a fresh Xorg.0.log from running with the 1.6 server.
Changed in xserver-xorg-video-intel: | |
status: | Confirmed → Incomplete |
K. Lange (k-lange) wrote : Re: [i945] 2.5.1 driver framerate below 10fps running the cube view in compiz | #18 |
No, because I run Compiz from Git, and therefore can't file bug reports on it. I simply used it as an example of poor performance.
description: | updated |
Jacob Peddicord (jpeddicord) wrote : | #19 |
- Xorg.0.log (jpeddicord) Edit (31.7 KiB, text/plain)
I can confirm that Compiz (along with everything else 3D) still runs very slowly, with glxgears running at around 200FPS (or about 300FPS with card0 permissions set properly). This is after applying the latest updates.
Attached my X log, though I was unable to find anything out of the ordinary in it.
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #20 |
The error message was cleaned up, but fixing the performance regression is out of scope for this release cycle.
Oleksij Rempel (olerem) wrote : | #21 |
If im Correct this is a bug for both kernel and intel driver.
With ubuntu kernel i get 130 fps on glxgears
With vanilla 2.6.28-rc9 i get 380fps
this i have with ubuntu kernel too:
mtrr: no MTRR for d0000000,10000000 found
now i will try to bisect intel driver. Or some body doing this?
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #22 |
*** Bug 19199 has been marked as a duplicate of this bug. ***
Bryce Harrington (bryce) wrote : | #23 |
[This is an automatic notice.]
We'd like to forward your bug upstream, however upstream requires
that you first test it against their newer driver code.
To save you the effort of building the driver from source, we've built
packages for the driver and its new dependencies.
So you have a couple options:
1. Download and test .debs for intrepid, from:
https:/
-or-
2. Download and test the Jaunty alpha-2 (or newer) Live CD,
(which includes a beta of the new xserver 1.6 as well).
See http://
Thanks ahead of time! You can simply reply to this email to report your
findings.
P.S., if you wish to forward your bug upstream yourself, please follow
these directions to do so:
http://
Changed in xserver-xorg-video-intel: | |
status: | Incomplete → New |
status: | New → Incomplete |
Oleksij Rempel (olerem) wrote : Re: [Bug 303011] Re: [i945] 2.5.1 driver poor performance | #24 |
Bryce Harrington schrieb:
> [This is an automatic notice.]
>
> We'd like to forward your bug upstream, however upstream requires
> that you first test it against their newer driver code.
>
> To save you the effort of building the driver from source, we've built
> packages for the driver and its new dependencies.
>
> So you have a couple options:
>
> 1. Download and test .debs for intrepid, from:
> https:/
>
@Bryce
why xserver-
version for jaunty?
Changed in xserver-xorg-video-intel: | |
status: | Unknown → In Progress |
K. Lange (k-lange) wrote : | #25 |
I will test the newest updates, which I'm installing now. I'll report back later today.
K. Lange (k-lange) wrote : | #26 |
Problem persists in newest updates; in fact, it seems to be even worse. Further, we still don't GEM support in our DRM drivers. I'd also like to report that earlier I had tested the drivers and X server from Xorg-edgers, which did have this problem at all (though it did have another big issue with pipe underruns, but that had an easy fix...)
Changed in xserver-xorg-video-intel: | |
importance: | Undecided → High |
status: | Incomplete → Triaged |
K. Lange (k-lange) wrote : | #27 |
Missing a few things in my last comment:
don't *have* GEM support...
... which did*n't* have this problem at all...
Don't know how that happened. I guess I type these in a hurry.
In freedesktop.org Bugzilla #16835, M-komarovsky (m-komarovsky) wrote : | #28 |
Created an attachment (id=21440)
1GB setup / 2GB setup diff
Belisarivs (v-pelcak) wrote : | #29 |
I experience this bug, too.
# lspci -vvnn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:30d5]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:30d5]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f0400000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 3000 [size=8]
Region 2: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at f0480000 (32-bit, non-prefetchable) [size=256K]
Belisarivs (v-pelcak) wrote : | #30 |
Upgrading from edgers repository helped a bit.
Now I have hw acceleration on.
$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20080716 x86/MMX/SSE2
But performance is still quite a low (half compared to opensuse 11.1).
With exa, glxgears had ~300 fps, with uxa ~500fps. In openSUSE ~1000fps.
xorg.conf in attachment.
mrvanes (mrvanes) wrote : | #31 |
I'm not sure if this is the same problem as I has but I recently stumbled on a dead-slow compiz after getting DRI2/UXA to work on my jaunty install using a intel 965 and xorg-edgers ppa.
I nailed to problem down to the compiz-wrapper (/usr/bin/compiz) not using -indirect-rendering when UXA/DRI2 is active and that is due to this test:
if [ $($GLXINFO 2>/dev/null | grep GLX_EXT_
With EXA/DRI this results in 2 occurrences of "GLX_EXT_
If this totally unrelated, I'm sorry... should I file a different bug concerning dead-slow compiz using DRI2?
Peter Clifton (pcjc2) wrote : | #32 |
mrvanes: I shouldn't be commenting on this, since its not in its own bug, but with the DRI2 drivers, I believe you'll find there is a problem with syncing to VBlank. Try turning off sync to vblank in the compiz settings. For me, this made a difference of 1frame every 3 seconds -> complety usable.
Milan Oravec (moravec-ukf) wrote : | #33 |
I'm also suffering under this issues. My hw is i945GM in sony vaio sz1xp, distribution is ubuntu interpid with Jaunty xorg-edgers ppa packages. I always compile my own kernel which exactly suits my hw, and have tux on ice support.
When I'm on 2.6.28 kernel, I'm able to enable GEM via UXA option in xorg.conf. Performance is very low compared to standard libs and drivers coming with stock Intepid (300 FPS to ~1200FPS in glxgears) and beryl is very unresponsive. Intel xorg driver is compiled against latest ppa source package too, and is 2.5.99.1 version. X server is stock Interpid version 1.5.3. With latest package update (yesterday) from xorg-edgers ppa is it even worse only ~50 FPS.
Today I'm switched back to 2.6.27 kernel, with no package change. Glxgears performance is same about 50FPS but beryl runs perfectly smooth. Glxinfo says:
Failed to initialize GEM. Falling back to classic.
...
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20080716 x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 7.3-rc1
...
which is OK on 2.6.27 kernel. With 2.6.28 is there GEM version of DRI exposed.
Is there anybody who haven't this issues?
description: | updated |
Andrew King (anders-king-00) wrote : | #34 |
Same here. X is almost unusable in the current configuration. Mouse pointer does not keep up with movements.
Dell Vostro 1400
Intel X3100 GM965
...
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20080716 x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 7.3-devel
OpenGL shading language version string: 1.10
...
glxgears gets <20FPS
I can give lspci/Xorg.
Regards,
Andrew
Belisarivs (v-pelcak) wrote : Re: [Bug 303011] Re: [i945] 2.5.1 driver poor performance | #35 |
Guys, try "glxinfo | grep render". Most probably you have sw rendering.
For no obvious reason, I couldn't get hw acceleration working. That is
reason of performance drop.
I didn't try compiz with it, gut in glxgears I experienced drom from
~1000 fps to ~300 fps.
However, upgrading by edgers repository brought hw acceleration back,
glxgears improved to ~450 fps and Compiz runs pretty smoothly to me.
Although some minor glitches are visible as performance is still below
that I had in Intrepid.
So, try to upgrade packages with edgers repository. It should help.
But don't expect too much.
Milan Oravec (moravec-ukf) wrote : | #36 |
I'm sure I've HW acceleration on all the tests:
Failed to initialize GEM. Falling back to classic.
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20080716 x86/MMX/SSE2
and
root@migo-vaio:~/# glxgears
Failed to initialize GEM. Falling back to classic.
293 frames in 5.0 seconds = 58.540 FPS
299 frames in 5.0 seconds = 59.647 FPS
298 frames in 5.0 seconds = 59.444 FPS
it is list form 2.6.27 kernel therefore is GEM disabled.
With update to mesa 7.3 and other dependent packages from edgers repository I'm down to ~50 FPS in glxgears (from ~300).
Under 2.6.28 is GEM enabled and HW accel. is ON but 3D performance is same low and compiz is useles. For example, connecting to remote desktop (terminal server client) uses 50% CPU time nonstop.
With 2.6.27 kernel is GEM disabled, 3D performance is horrible (according glxgears), but desktop performance is OK, as used to be before my experiments with edgers repository and GEM.
Jeffrey Baker (jwbaker) wrote : | #37 |
On Wed, Jan 14, 2009 at 12:53 AM, Milan Oravec <email address hidden> wrote:
> I'm sure I've HW acceleration on all the tests:
>
> Failed to initialize GEM. Falling back to classic.
> direct rendering: Yes
> OpenGL renderer string: Mesa DRI Intel(R) 945GM 20080716 x86/MMX/SSE2
>
> and
>
> root@migo-vaio:~/# glxgears
> Failed to initialize GEM. Falling back to classic.
> 293 frames in 5.0 seconds = 58.540 FPS
> 299 frames in 5.0 seconds = 59.647 FPS
> 298 frames in 5.0 seconds = 59.444 FPS
It looks like you have vblank sync enabled.
Milan Oravec (moravec-ukf) wrote : | #38 |
Thank's Jeffrey. Yes, you are right. Glxgers performance was limited due vsync settings. In 2.6.27 kernel with disabled vsync and unchanged conf. form my previous posts is now glxgers performance:
root@migo-
Failed to initialize GEM. Falling back to classic.
3280 frames in 5.0 seconds = 655.962 FPS
3652 frames in 5.0 seconds = 730.313 FPS
3638 frames in 5.0 seconds = 727.565 FPS
Directrix1 (directrix1) wrote : | #39 |
In the file: /lib/udev/
KERNEL=
to this:
KERNEL=
That got DRI at least partially "working" but it is still dog slow (but not as slow at least). I'm using Jaunty with Intel i943 graphics.
Ivan Stetsenko (stetzen) wrote : | #40 |
Directrix1 wrote 11 hours ago: (permalink)
In the file: /lib/udev/
KERNEL=
to this:
KERNEL=
That got DRI at least partially "working" but it is still dog slow (but not as slow at least). I'm using Jaunty with Intel i943 graphics.
If MODE="0666" is enabled, I'm getting about 700 fps at glxgears and GEM is marked as working in glxinfo, but bug #96991 appears (3d apps become broken). If this option is not enabled, I'm getting about 70 fps, but #96991 is gone and there is no GEM in glxinfo.
Carey Underwood (cwillu) wrote : | #41 |
https:/
...which leaves me in a somewhat foul mood.
Rebooting into 2.6.27 works for me I guess.
Carey Underwood (cwillu) wrote : | #42 |
http://
commit a7f014f2de04893
Author: Eric Anholt <email address hidden>
Date: Tue Nov 25 14:02:05 2008 -0800
drm/i915: Respect GM965/GM45 bit-17-
This fixes readpixels and buffer corruption when swapped out and in by
disabling tiling on them.
Now that we know that the bit 17 mode isn't just a mistake of older chipsets,
we'll need to work on a clever fix so that we can get the performance of
tiling on these chipsets, but that will require intrusive changes targeted
at the next kernel release, not this one.
Signed-off-by: Eric Anholt <email address hidden>
Signed-off-by: Dave Airlie <email address hidden>
Carey Underwood (cwillu) wrote : | #43 |
Noted a patch above the above one, that disabled gem when pae is enabled due to some interaction. Our -server kernel has pae enabled. This suggests a workaround...
And having installed the -server kernel (2.6.27-4-server), I can confirm that it works around this issue.
Kevin, can you install linux-server (and possibly linux-restricte
Carey Underwood (cwillu) wrote : | #44 |
- xorg.0.log from a _working_ intel, otherwise identical Edit (33.6 KiB, text/plain)
Also, syockit off #ubuntu+1 seems to have an identical chipset, but without this issue (notably, his xorg.0.log file doesn't show the "(EE) intel(0): Failed to set tiling on depth buffer: rejected by kernel" lines that mine and kevin's does)
Carey Underwood (cwillu) wrote : | #45 |
Carey Underwood (cwillu) wrote : | #46 |
Carey Underwood (cwillu) wrote : | #47 |
(which leaves me in a somewhat less foul mood)
Oleksij Rempel (olerem) wrote : | #48 |
i can't confirm it. With server kernel i have less performance.
generick kernel glxgears ~350fps
server kernel glxgears ~160fps
Carey Underwood (cwillu) wrote : | #49 |
fishor, attach your /var/log/
Oleksij Rempel (olerem) wrote : | #50 |
- xorg-server Edit (32.0 KiB, text/plain; name="xorg-server")
- dmesg-server Edit (40.9 KiB, text/plain; name="dmesg-server")
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
| fishor, attach your /var/log/
| issues.
Hmm... other performance drop was realy coused by other issu, i915 was
loaded but /dev/dri/card0 not existed. I reloaded this module and now it
work with 360fps. But i can't confirm workaround with server kernel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkl
r98An13YXC7znW+
=6BG5
-----END PGP SIGNATURE-----
Carey Underwood (cwillu) wrote : | #51 |
Hah, right. You're on 64 bit, and therefore don't have pae on the server kernel, and therefore don't have gem disabled due to pae being enabled, and therefore still have the issue.
> Current Operating System: Linux zwerg 2.6.28-4-server #11-Ubuntu SMP Fri Jan 16 22:38:58 UTC 2009 x86_64
> ...
> (EE) intel(0): Failed to set tiling on front buffer: rejected by kernel
> (EE) intel(0): Failed to set tiling on back buffer: rejected by kernel
> (EE) intel(0): Failed to set tiling on depth buffer: rejected by kernel
Milan Oravec (moravec-ukf) wrote : | #52 |
Today I have tested intel 2.6 drivers and 2.6.28 kernel. I can't report any improvement in 2D compiz performance setup is same as in my previous posts. I've tried kernel with PAE enabled and disabled, system is i386 (32 bit), acceleration UXA and the same error in log:
(EE) intel(0): Failed to set tiling on front buffer: rejected by kernel
(EE) intel(0): Failed to set tiling on back buffer: rejected by kernel
(EE) intel(0): Failed to set tiling on depth buffer: rejected by kernel
Oleksij Rempel (olerem) wrote : | #53 |
After latest update from 26.01.09 (jaunty amd64) the performance with
glxgearx dropped to 40 fps.
before it was 300 fps with vanilla linux-next kernal and 150 fps with
2.6.28-5-generic.
I just testet UXA acceleration and gat 870 fps with linux-next and 750
fps with 2.6.28-5-generic
Belisarivs (v-pelcak) wrote : | #54 |
2009/1/26 fishor <email address hidden>:
> After latest update from 26.01.09 (jaunty amd64) the performance with
> glxgearx dropped to 40 fps.
> before it was 300 fps with vanilla linux-next kernal and 150 fps with
> 2.6.28-5-generic.
>
> I just testet UXA acceleration and gat 870 fps with linux-next and 750
> fps with 2.6.28-5-generic
Could you, please, provide your xorg.conf which helped you to improve
performance?
Which graphics accelerator do you have? GMA950?
--
Vit Pelcak
Oleksij Rempel (olerem) wrote : | #55 |
Belisarivs (v-pelcak) wrote : | #56 |
2009/1/26 fishor <email address hidden>:
>
>> Could you, please, provide your xorg.conf which helped you to improve
>> performance?
>>
>> Which graphics accelerator do you have? GMA950?
>
> Yes this is GMA950 on i945g
>
> Here is my xorg.conf
Thanks.
--
Vit Pelcak
Belisarivs (v-pelcak) wrote : | #57 |
I just wanted to tell you that during boot udev complains about
missing /dev/card0 (or /dev/dri/card0?).
I'm still at ~ 450 fps in glxgears on GMA950, Core Duo and 2 GB RAM.
Regards
Vit Pelcak
Oleksij Rempel (olerem) wrote : | #58 |
Belisarivs schrieb:
> I just wanted to tell you that during boot udev complains about
> missing /dev/card0 (or /dev/dri/card0?).
>
> I'm still at ~ 450 fps in glxgears on GMA950, Core Duo and 2 GB RAM.
>
> Regards
> Vit Pelcak
probobly your i915 module will be loaded from initrd or not loaded at all.
check it with: lsmod | grep i915
or remove it from this list /etc/initramfs-
Belisarivs (v-pelcak) wrote : | #59 |
> probobly your i915 module will be loaded from initrd or not loaded at all.
> check it with: lsmod | grep i915
$ lsmod | grep i915
i915 65412 1
drm 96424 2 i915
> or remove it from this list /etc/initramfs-
It wasn't there.
--
Vit Pelcak
Emilio (turl) wrote : | #60 |
- Xorg.0.log Edit (79.6 KiB, text/plain)
I also experience this problem. I tried disabling sync to VBlank in compiz, but it's still slow. Also, OpenGL games are painfully slow :( I attach my Xorg.0.log, and my xorg.conf is empty
My FPS:
289 frames in 5.0 seconds = 57.687 FPS
309 frames in 5.0 seconds = 61.761 FPS
My Card:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
My glxinfo:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_
GLX_
GLX_
GLX_
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX version: 1.2
GLX extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20090114
OpenGL version string: 2.1 Mesa 7.3-rc3
OpenGL shading language version string: 1.10
OpenGL extensions:
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_
GL_
GL_
GL_
GL_
Matt Zimmerman (mdz) wrote : | #61 |
Interestingly, I noticed that the performance is OK if I use an external display and disable the internal LCD with "xrandr --output LVDS --off". If I switch the LVDS output back on, performance becomes awful again (regardless of whether an external display is connected).
Matt Zimmerman (mdz) wrote : | #62 |
I've just upgraded to the latest Jaunty and can no longer reproduce this. xserver-
Jacob Peddicord (jpeddicord) wrote : | #63 |
mdz:
You cannot reproduce your xrandr workaround, or cannot reproduce the performance issues? I just updated everything and I still get poor results.
Belisarivs (v-pelcak) wrote : | #64 |
Hey people.
Read the thread, please. I'm almost certain that your problem was
discussed here.
Run driconf and In "Synchronization with vertical refresh" select to
never synchronize.
FPS should go up. It went for me. But I'm still 50% below performance
of 2.4 driver.
2009/1/30 Jacob Peddicord <email address hidden>:
> mdz:
>
> You cannot reproduce your xrandr workaround, or cannot reproduce the
> performance issues? I just updated everything and I still get poor
> results.
>
> --
> [i945] 2.5.1 driver poor performance
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
Vit Pelcak
Matt Zimmerman (mdz) wrote : | #65 |
On Fri, Jan 30, 2009 at 09:59:59PM -0000, Jacob Peddicord wrote:
> mdz:
>
> You cannot reproduce your xrandr workaround, or cannot reproduce the
> performance issues? I just updated everything and I still get poor
> results.
After a suspend/resume cycle, the problem is back, and changing the xrandr
settings has no effect. There's something more subtle going on here.
--
- mdz
Timo Aaltonen (tjaalton) wrote : | #66 |
Matt, that's bug 320813 and the workaround is to disable vblank.
Michele Mordenti (micmord) wrote : | #67 |
I can confirm this bug on all my systems upgrading from Kubutnu intrepid to Kubuntu jaunty.
glxgears fall from 600 fps down to 60 fps.
Belisarivs (v-pelcak) wrote : | #68 |
2009/2/10 Michele Mordenti <email address hidden>:
> I can confirm this bug on all my systems upgrading from Kubutnu intrepid to Kubuntu jaunty.
> glxgears fall from 600 fps down to 60 fps.
Please, read thread and you'll find the answer. Performance shouldn't
drop lower than to 50%.
--
Vit Pelcak
Emilio (turl) wrote : | #69 |
- Xorg.0.log Edit (45.2 KiB, text/plain)
Well, I disabled VBlank and got a boost, but it's still real slow:
4312 frames in 5.0 seconds = 862.341 FPS
4288 frames in 5.0 seconds = 857.482 FPS
4141 frames in 5.0 seconds = 828.042 FPS
4223 frames in 5.0 seconds = 844.442 FPS
Switching desktops with compiz on is unusable most of the time, same thing with OpenGL Games. I have disabled compiz for now until this is fixed. I'm attaching my Xorg.0.log once again
Biji (biji) wrote : | #70 |
confirmed in jaunty alpha 4.... even though using GEM and DRI2 even worser
tested using wine running warcraft3 ft fps drops to 11 from 20 in intrepid
my chipset:
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 I
ntegrated Graphics Controller [8086:2a02] (rev 03)
In freedesktop.org Bugzilla #16835, Ofir Klinger (klinger-ofir) wrote : | #71 |
Eric Anholt:
When do you think this bug will be fixed?
It is very annoying to work when all the graphic interface is working slow.
Ofir Klinger (klinger-ofir) wrote : | #72 |
Do you think this bug will be fixed until the next alpha? or beta? and what about the final release?
I am asking because the desktop (I have tested kubuntu 9.04 alpha 4) is not usable with these bad performance, and in the freedesktop bug (https:/
"... but fixing the performance regression is out of scope for this release cycle."
(https:/
Matthias Himber (nomar) wrote : | #73 |
Also confirming this on jaunty alpha 4. Compositing (both compiz and KDE) is unusable.
Åskar (olskar) wrote : | #74 |
xf86-video-intel 2.6.2 is released, perhaps this fixes our issues?
Here is the changes:
http://
And according to a blog post by Eric Anholt, it looks like we may still see an xf86-video-intel 2.7.0 release by the end of March, pehaps that will make it into Jaunty?
Michele Mordenti (micmord) wrote : | #75 |
Today my KDE4 session runs smoothly with about 900fps in glxgears.
Then I update the distro (kernel and intel driver) and it falls down to 90fps.
What happen?
In attach the /var/log/
I apologize for my bad English.
Silviu Grijincu (silviu.grijincu) wrote : | #76 |
By installing xserver-
I get 1019.751 FPS on glxgears.
To install the 2.6.2 version you need to install libdrm-2.4.5 first(prerequisite)
Sources:
[1] http://
[2] http://
Ofir Klinger (klinger-ofir) wrote : | #77 |
With xserver-
Silviu Grijincu:
How can I install the 2.6.2 version? (I guess it is not from the repositories since only 2.6.1 is in there).
Belisarivs (v-pelcak) wrote : Re: [Bug 303011] Re: [i945] 2.5.1 driver poor performance | #78 |
I guess, he compiled it from source.
2009/2/26 Ofir Klinger <email address hidden>:
> With xserver-
> still slow.
>
> Silviu Grijincu:
> How can I install the 2.6.2 version? (I guess it is not from the repositories since only 2.6.1 is in there).
>
> --
> [i945] 2.5.1 driver poor performance
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
Vit Pelcak
Ofir Klinger (klinger-ofir) wrote : | #79 |
Does anyone knows when 2.6.2 will come to Jaunty?
Will the driver be updated to 2.6.2 until the final release in April?
Michele Mordenti (micmord) wrote : | #80 |
"Update to 2.6.3?" Wishlist bug 337301
Lionel Dricot (ploum-deactivatedaccount) wrote : | #81 |
Could it be related that in Jaunty with kernel 2.6.28 WorldOfGoo is unplayable due to poor performances ? Strangely enough, glxgears is at 250 fps and it looks like Compiz runs smoothly (I didn't try the cube but other effects were just fine)
With kernel 2.6.27 on the same system, worlofgoo works just fine but glxgears is under 200 (and compiz works well, just as with 2.6.28)
As I have an intel graphic card, I wonder if it's related to this bug or not. Is there a tool to measure 3D performances ?
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #82 |
*** Bug 19738 has been marked as a duplicate of this bug. ***
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #83 |
Could you set Option "ModeDebug" "true" in xorg.conf and attach a new log (hopefully with 2D driver master)? I need some details on your memory configuration to make sure we're not incorrectly disabling tiling.
nowardev (nowardev) wrote : | #84 |
kubuntu 9.04 alpha6
intel 945gm
compiz sucks kwin idem
In freedesktop.org Bugzilla #16835, Ofir Klinger (klinger-ofir) wrote : | #85 |
Eric:
Just add:
Option "ModeDebug" "true"
to the end of /etc/X11/xorg.conf ?
In freedesktop.org Bugzilla #16835, Fdo (fdo) wrote : | #86 |
(In reply to comment #8)
> Eric:
> Just add:
> Option "ModeDebug" "true"
> to the end of /etc/X11/xorg.conf ?
Place this option inside the Device section e.g.:
Section "Device"
Identifier "device1"
VendorName "Intel Corp."
BoardName ""
Driver "intel"
Option "ModeDebug" "true"
EndSection
Ofir Klinger (klinger-ofir) wrote : | #87 |
I updated the driver from the repositories from 2.6.1 to 2.6.3 and got no improvements.
glxgears gives around 200 FPS.
Maybe KDE4 needs better hardware then the one in my laptop (lenovo 3000 N100)? or it is a bug in the driver?
Michele Mordenti (micmord) wrote : | #88 |
On one of my systems with 4Gb of RAM I use the "-server" kernel and the performance is still slow.
Using the "-generic" kernel all works fine, but I use only a part of memory.
Achim (ach1m) wrote : | #89 |
Could it be that this problem is related to systems were the graphic chip is connected through AGP?
Performance is still very slow for me.
In Ioquake3 I get in Intrepid 87 FPS and in Jaunty 11 FPS w/o DRI2. (Resolution 640x480)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
$ lshw | grep agp
xserver-
Installed: 2:2.6.3-0ubuntu2
Candidate: 2:2.6.3-0ubuntu2
Version table:
*** 2:2.6.3-0ubuntu2 0
500 http://
100 /var/lib/
linux-generic:
Installed: 2.6.28.11.11
Candidate: 2.6.28.11.11
Version table:
*** 2.6.28.11.11 0
500 http://
100 /var/lib/
libdrm2:
Installed: 2.4.5-0ubuntu2
Candidate: 2.4.5-0ubuntu2
Version table:
*** 2.4.5-0ubuntu2 0
500 http://
100 /var/lib/
Ivan Stetsenko (stetzen) wrote : | #90 |
>Could it be that this problem is related to systems were the graphic chip is connected through AGP?
I think, it may be. with
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
configuration: driver=
I'm having relatively low performance as well compared to other Intel GM965 users, and UXA decreases my 3D performance, when it is shown to increase it. Well. we definitely need a little bit more statistic info about it...
nowardev (nowardev) wrote : | #91 |
mah i don't think so ,
i used an -server kernel and it was nice then...
so i think it's a problem with the new driver or something like that
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #92 |
*** Bug 19873 has been marked as a duplicate of this bug. ***
Carey Underwood (cwillu) wrote : | #93 |
I went from smoothly dragging transparent windows around the screen a week ago (but only when running the -server kernel, -generic got 1fps) to one-frame-
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
Matthias Blaicher (blaicher) wrote : Re: [Bug 303011] Re: [i945] 2.5.1 driver poor performance | #94 |
@ Cerey: Maybe your problem is related to bug 340578. For me it helped
to disable v-sync in compiz.
Belisarivs (v-pelcak) wrote : | #95 |
I found this article. Maybe that explains it.
For me numbers fit as they say. Drom from ~1000 fps to 440 fps in glxgears.
Achim (ach1m) wrote : | #96 |
No I don't think so.
Jaunty has no KMS and DRI2 will not be enabled by default.
Haven't you seen my comment with the results of ioquake3?
Carey Underwood (cwillu) wrote : | #97 |
@Matthias: that bug is unrelated, different hardware. Also, UXA just hardlocks the machine.
Carey Underwood (cwillu) wrote : | #98 |
I lied, it's actually just X that locks up with a corrupted display. chvt'ing, restoring vbestate and posting the display brings back a terminal session.
In freedesktop.org Bugzilla #16835, Freedesktop-sievertsen (freedesktop-sievertsen) wrote : | #99 |
Created an attachment (id=24152)
Xorg.0.log with Option "ModeDebug" "true"
In freedesktop.org Bugzilla #16835, Gergely Csépány (cheoppy) wrote : | #100 |
I was wondering if there is an option to disable GEM support on 2.6.28 kernels? This way the intel driver would fall back to the traditional mode and would be usable on dual channel systems until the tiling problem is fixed.
In freedesktop.org Bugzilla #16835, Freedesktop-sievertsen (freedesktop-sievertsen) wrote : | #101 |
Do you need any additional information to fix the bug?
Ivan Sagalaev (isagalaev) wrote : | #102 |
Confirming poor performance comparing to Intrepid with xserver-
lispy (janietz) wrote : | #103 |
I can confirm this bug too on my Dell M1330.
In freedesktop.org Bugzilla #16835, anarsoul (anarsoul) wrote : | #104 |
Created an attachment (id=24416)
i915-gem-
With this patch applied on 2.6.29 you'll be able to disable gem with module parameter. Just load i915.ko with gem_enable=0.
This patch is only a workaround and is not intended to be clean.
In freedesktop.org Bugzilla #16835, anarsoul (anarsoul) wrote : | #105 |
Created an attachment (id=24417)
i915-gem-
Fixed wrong path in patch.
taiebot65 (taiebot65) wrote : | #106 |
I would like to confirm this bug too and would like to say that i had to disable all the compositing manager in both UXA/EXA... because after few hours when i'm using them switching between applications makes my computer becoming really slow because there is a lots of writing on my hard drive..
Wesley Velroij (velroy1) wrote : | #107 |
2 years ago I was recommending for everyone to use intel vga, but now it seems vga are horrible :( hope this will improve.
Ofir Klinger (klinger-ofir) wrote : | #108 |
Upstream has submitted a patch which disables gem in the kernel 2.6.29.
Will this patch solve the performance issues, or at least 'solve' them for the final release?
Is this patch needed to be applied manually, or it will be bundled in ubuntu's official deb?
In freedesktop.org Bugzilla #16835, Fdo (fdo) wrote : | #109 |
(In reply to comment #15)
> Created an attachment (id=24417) [details]
> i915-gem-
Thanks for this patch. While a proper fix would obviously be preferred this should at least let me start using a newer kernel than the .27 one I'm stuck on just now.
In freedesktop.org Bugzilla #16835, Gergely Csépány (cheoppy) wrote : | #110 |
(In reply to comment #14)
> Created an attachment (id=24416) [details]
> i915-gem-
>
> With this patch applied on 2.6.29 you'll be able to disable gem with module
> parameter. Just load i915.ko with gem_enable=0.
>
> This patch is only a workaround and is not intended to be clean.
>
Thank you for providing this patch. May it be applied to 2.6.28 too? (Comparing the .28 and .29 sources, I found the same pieces of code and I intend to use the ubuntu kernel source, which is based on .28 for jaunty.)
I'll try it when I have some time to compile the kernel(s), presumably early next week, and I'll report the results.
Carey Underwood (cwillu) wrote : Re: [Bug 303011] Re: [i945] 2.5.1 driver poor performance | #111 |
> Upstream has submitted a patch which disables gem in the kernel 2.6.29.
Ofir, can you link it here?
K. Lange (k-lange) wrote : | #112 |
It seems I've let this report run wild: The issue in this bug is EXA being "damn slow" on some Intel graphics chipsets. While the issue has yet to be fixed, the things being discussed here have nothing to do with it.
I'm removing myself from the mailing list for the report because it no longer affects me: I've been using UXA for months with great results.
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #113 |
Half of the required fix:
http://<email address hidden>
This will give you tiling on A17-affected machines at the expense of glReadPixels. Next up will be fixing Mesa to recover glReadPixels. Additionally, testing has revealed that DRI2 tiling on 915-class machines may result in 2D corruption when creating DRI2 buffers due to bo reuse. We're looking into that as well.
Carey Underwood (cwillu) wrote : | #114 |
This is not a duplicate of bug #252094:
This is referring specifically to a performance regression in jaunty, on chipsets that worked fine under intrepid.
Gregory Oschwald (osch0001) wrote : | #115 |
Carey, using UXA does not fix your problem? These issues are known regressions in EXA, which is why I marked it as a dupe of #252094.
In freedesktop.org Bugzilla #16835, Fdo (fdo) wrote : | #116 |
(changing title back to original: I presume that wasn't intended Eric)
Carey Underwood (cwillu) wrote : | #117 |
As far as jaunty is concerned, is it not established that UXA isn't a fix?
The existence of a similar workaround doesn't imply that the bug is the same, and the bug in question states specifically that bugs with the generic symptoms but known particular causes should be in their own bug reports.
In particular, the EXA regression on 945 is due to an oversight in GEM, as noted in an above comment (which in turn isn't linked on the bug that this was dup'd against.
Carey Underwood (cwillu) wrote : | #118 |
(... not noted on the other bug because the other bug is generic issues, and the oversight is particular to the 945)
Ivan Sagalaev (isagalaev) wrote : | #119 |
> As far as jaunty is concerned, is it not established that UXA isn't a fix?
I have a hard time understanding this particular double negation :-). But I just tested setting
Option "AccelMethod" "UXA"
in my xorg.conf and it looks like it fixed the speed issue. There are other small issues though that weren't here without the option:
- menus open with non-antialiased fonts and then are quickly redrawn with antialiasing
- gksudo prompt seem to not shadow the background
Carey Underwood (cwillu) wrote : | #120 |
UXA will not be enabled by default in jaunty, and so enabling it by hand is a workaround, not a fix.
Ivan Sagalaev (isagalaev) wrote : | #121 |
This is unfortunate... Seems like a serious regression from Intrepid.
Can you suggest any link to read some introduction about what are EXA and UXA and why the latter is not possible for Jaunty?
Carey Underwood (cwillu) wrote : | #122 |
The various intel bugs currently on launchpad have extensive commentary on the problems and the rationales. Unfortunately, many of the bugs recently marked as duplicate contained that commentary, and so won't show up in the search results by default.
Hence, my underwhelming response for with people marking bugs as duplicate without making sure the new bug contains all the information of the old. :p
Bryce Harrington (bryce) wrote : | #123 |
I agree with Kevin this bug has wandered from the original issue.
I'm closing this bug for the following reasons:
* It has the same upstream bug link as our bug #349992, so at heart is a dupe of that. Bug 349992 is further along, shorter, and already assigned and targeted, so it's the better report to focus on.
* Most comments in this report are due to vblank settings, which is an unrelated issue now solved in Jaunty
* The original reporter is satisfied with the workaround of using UXA, and has unsubscribed
* For general "performance sucks" complaints, we already have bug 252094
* This bug has a poorly selected title, and will accumulate more incorrect 'me-too's (even if we fix it)
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Triaged → Invalid |
In freedesktop.org Bugzilla #16835, anarsoul (anarsoul) wrote : | #124 |
(In reply to comment #18)
> Half of the required fix:
>
> http://<email address hidden>
>
> This will give you tiling on A17-affected machines at the expense of
> glReadPixels. Next up will be fixing Mesa to recover glReadPixels.
> Additionally, testing has revealed that DRI2 tiling on 915-class machines may
> result in 2D corruption when creating DRI2 buffers due to bo reuse. We're
> looking into that as well.
Any news about mesa patch? It's quite annoying to have no _complete_ workaround for this issue for half of an year.
In freedesktop.org Bugzilla #16835, Fdo (fdo) wrote : | #125 |
We have a patch in Mandriva that seems to work as an automatic workaround.
http://
Obviously a proper fix is better :)
In freedesktop.org Bugzilla #16835, anarsoul (anarsoul) wrote : | #126 |
(In reply to comment #21)
> We have a patch in Mandriva that seems to work as an automatic workaround.
> http://
>
> Obviously a proper fix is better :)
>
Thanks! Why not to include this patch into the mainline kernel? Non-gem 3D is better than no 3D at all. Please submit it to the dri-devel maillist
In freedesktop.org Bugzilla #16835, Eric Anholt (eric-anholt) wrote : | #127 |
commit 280b713b5b0fd84
Author: Eric Anholt <email address hidden>
Date: Thu Mar 12 16:56:27 2009 -0700
drm/i915: Allow tiling of objects with bit 17 swizzling by the CPU.
queued to linus
In freedesktop.org Bugzilla #16835, Fdo (fdo) wrote : | #128 |
Eric, you mentioned in c18 that this patch is only half of the required fix.... any news on the other half?
Changed in xserver-xorg-video-intel: | |
status: | In Progress → Fix Released |
In freedesktop.org Bugzilla #16835, Gergely Csépány (cheoppy) wrote : | #129 |
It's already in 2.6.30-rc2, works like a charm, thank you very much for this fix!
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → High |
Changed in xserver-xorg-video-intel: | |
importance: | High → Unknown |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → High |
That error message should probably only include the error string if ret != 0. I'm guessing that ret == 0 for you and you've got the same 945 setup we've got, where the cpu's interleaving makes swappable tiled objects (basically) impossible. To allow tiling on those systems we'll have to either play some tricks with the memory allocation and pin them, or get a lot more integrated into the paging system.