[i945] (Needs UXA) 1 fps in 3d apps like neverball with EXA (UXA fixes all but GoogleEarth,Earth3D)

Bug #357290 reported by Graham Watson
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Before upgrading to Jaunty, I could run games and 3d apps like neverball at a high framerate (>50fps). After upgrading to Jaunty, these same applications run at around 1 fps.

Details attached.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu5
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #40-Ubuntu SMP Fri Apr 3 17:39:51 UTC 2009
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-11-generic i686

[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: Toshiba America Info Systems Device [1179:ff31]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
 Subsystem: Toshiba America Info Systems Device [1179:ff31]

Revision history for this message
Graham Watson (grahamwatson) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for reporting this bug. Could you have a look at https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance and report if any of the workarounds there improves things. Also, please verify that the device file /dev/dri/card0 exists on your system.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Also, you have some options in your xorg.conf. Do you have the same performance if you rename xorg.conf so that the default options are used?

description: updated
tags: added: 945gm intel jaunty performance xorg
summary: - intel 945gm graphics card no 3d acceleration when running 3d games and
- apps
+ [i945] intel 945gm graphics card no 3d acceleration when running 3d
+ games and apps
Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
Graham Watson (grahamwatson) wrote : Re: [Bug 357290] Re: intel 945gm graphics card no 3d acceleration when running 3d games and apps

Hello,

I have renamed by xorg.conf to xorg.conf.bak and the problem remains.

I am about to try the other suggestions you sent through.

Regards
Graham

Geir Ove Myhr wrote:
> Also, you have some options in your xorg.conf. Do you have the same
> performance if you rename xorg.conf so that the default options are
> used?
>
> ** Summary changed:
>
> - intel 945gm graphics card no 3d acceleration when running 3d games and apps
> + [i945] intel 945gm graphics card no 3d acceleration when running 3d games and apps
>
> ** Description changed:
>
> Binary package hint: xserver-xorg-video-intel
>
> Before upgrading to Jaunty, I could run games and 3d apps like neverball
> at a high framerate (>50fps). After upgrading to Jaunty, these same
> applications run at around 1 fps.
>
> Details attached.
>
> ProblemType: Bug
> Architecture: i386
> DistroRelease: Ubuntu 9.04
> Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu5
> ProcEnviron:
> LANG=en_GB.UTF-8
> SHELL=/bin/bash
> ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #40-Ubuntu SMP Fri Apr 3 17:39:51 UTC 2009
> SourcePackage: xserver-xorg-video-intel
> Uname: Linux 2.6.28-11-generic i686
> +
> + [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: Toshiba America Info Systems Device [1179:ff31]
> + 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
> + Subsystem: Toshiba America Info Systems Device [1179:ff31]
>
> ** Tags added: 945gm intel jaunty performance xorg
>
>

Revision history for this message
Graham Watson (grahamwatson) wrote :

I can verify that the card0 file exists:

graham@graham-ubuntu:/dev/dri$ dir -l
total 0
crw-rw----+ 1 root video 226, 0 2009-04-10 00:12 card0

Regards
Graham

Geir Ove Myhr wrote:
> Thank you for reporting this bug. Could you have a look at
> https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance and report if
> any of the workarounds there improves things. Also, please verify that
> the device file /dev/dri/card0 exists on your system.
>
>

Revision history for this message
Graham Watson (grahamwatson) wrote :

Hi,

My report on the given wiki page:

Problem: /dev/dri/card0 is missing.
Problem: /dev/dri/card0 permissions are incorrect.

    - The file exists on my install as follows:
        crw-rw----+ 1 root video 226, 0 2009-04-10 00:12 card0

graham@graham-ubuntu:/dev/dri$ getfacl /dev/dri/card0
getfacl: Removing leading '/' from absolute path names
# file: dev/dri/card0
# owner: root
# group: video
user::rw-
user:graham:rw-
group::rw-
mask::rw-
other::---

Problem: Falling back to OpenGL software rendering

graham@graham-ubuntu:/dev/dri$ glxinfo | grep render
get fences failed: -1
param: 6, val: 0
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20090326 2009Q1 RC2
x86/MMX/SSE2

Problem: UXA gives better performance than EXA - why not move to UXA?

    - This seems to have fixed the problem for me. Neverball and the
other 3d apps I use are now running silky smooth even with th desktop
effects set to full. Google Earth however is still maintaining 1fps.

Many thanks, and I'll keep you posted if I find any further problems
with this experimental driver.

If you have any ideas why Google Earth still likes 1fps I'd appreciate
it. It runs very smooth on my 'other' OS on the same PC (are we allowed
to say that?).

Regards
Graham

Geir Ove Myhr wrote:
> Thank you for reporting this bug. Could you have a look at
> https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance and report if
> any of the workarounds there improves things. Also, please verify that
> the device file /dev/dri/card0 exists on your system.
>
>

Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [i945] intel 945gm graphics card no 3d acceleration when running 3d games and apps

Thank you for the information. I know very little about 3d rendering, but I'm sure the information you provided is useful for those who know more. Usually, performance bugs are hard to deal with, but this may be easier since it has a very low performance (1fps) and you have provided a lot of useful information.

It seems that you have some output on STDERR from glxinfo:
get fences failed: -1
param: 6, val: 0
That may (or may not) be a key...

I have set the status to confirmed, and this is pretty much all I can do for you now (and I'll update the title to be a bit more specific in a sec).

summary: - [i945] intel 945gm graphics card no 3d acceleration when running 3d
- games and apps
+ [i945] 1 fps in 3d apps like neverball with EXA (UXA fixes all but
+ GoogleEarth)
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 357290] Re: [i945] intel 945gm graphics card no 3d acceleration when running 3d games and apps

On Fri, Apr 10, 2009 at 01:37:28AM -0000, Geir Ove Myhr wrote:
> It seems that you have some output on STDERR from glxinfo:
> get fences failed: -1
> param: 6, val: 0
> That may (or may not) be a key...

No, those are innocuous warnings (I'd love to suppress them).

> I have set the status to confirmed, and this is pretty much all I can do
> for you now (and I'll update the title to be a bit more specific in a
> sec).

Thanks for doing this.

Bryce

Revision history for this message
Albert Damen (albrt) wrote : Re: [i945] 1 fps in 3d apps like neverball with EXA (UXA fixes all but GoogleEarth)

Given you have a GM945 and Xorg.0.log contains the lines
(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

you are most likely seeing the "a17 swizzling" bug.

Could you please install the package xserver-xorg-video-intel-dbg, then run the command:
sudo intel_reg_dumper | grep interleaved

and paste the result here?

Revision history for this message
Graham Watson (grahamwatson) wrote : Re: [Bug 357290] Re: [i945] 1 fps in 3d apps like neverball with EXA (UXA fixes all but GoogleEarth)

Hello,

Thanks for your reply. I will do as you ask as soon as possible however
my installation has completely died. When I updated to the latest kernel
release and rebooted I am left with a command-prompt that says something
about initramfs. I cannot proceed in to Gnome at all and have very
limited command-line knowledge on this OS.

I intend to download an installation disc to see if there is a repair
option on it and will also have a look on the forums for if anyone else
has experienced this before I will be able to respond to your request,
so please bear with me!

Regards
Graham

Albert Damen wrote:
> Given you have a GM945 and Xorg.0.log contains the lines
> (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
>
> you are most likely seeing the "a17 swizzling" bug.
>
> Could you please install the package xserver-xorg-video-intel-dbg, then run the command:
> sudo intel_reg_dumper | grep interleaved
>
> and paste the result here?
>
>

Bryce Harrington (bryce)
summary: - [i945] 1 fps in 3d apps like neverball with EXA (UXA fixes all but
- GoogleEarth)
+ [i945] (Needs UXA) 1 fps in 3d apps like neverball with EXA (UXA fixes
+ all but GoogleEarth)
Revision history for this message
Graham Watson (grahamwatson) wrote : Re: [i945] (Needs UXA) 1 fps in 3d apps like neverball with EXA (UXA fixes all but GoogleEarth)

As requested:

graham@graham-laptop:~$ sudo apt-get install xserver-xorg-video-intel-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xulrunner-1.9.1 xulrunner-1.9.1-gnome-support
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed
  xserver-xorg-video-intel-dbg
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1886kB of archives.
After this operation, 3781kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com jaunty/main xserver-xorg-video-intel-dbg 2:2.6.3-0ubuntu9 [1886kB]
Fetched 1886kB in 1s (1065kB/s)
Selecting previously deselected package xserver-xorg-video-intel-dbg.
(Reading database ... 116847 files and directories currently installed.)
Unpacking xserver-xorg-video-intel-dbg (from .../xserver-xorg-video-intel-dbg_2%3a2.6.3-0ubuntu9_i386.deb) ...
Setting up xserver-xorg-video-intel-dbg (2:2.6.3-0ubuntu9) ...
graham@graham-laptop:~$ sudo intel_reg_dumper | grep interleaved
graham@graham-laptop:~$

Bhupendra (bst-28)
summary: [i945] (Needs UXA) 1 fps in 3d apps like neverball with EXA (UXA fixes
- all but GoogleEarth)
+ all but GoogleEarth,Earth3D)
tags: added: 945gccr
Bryce Harrington (bryce)
tags: added: 3d
Revision history for this message
DFOXpro (dfoxpro) wrote :

Only with 9.04:

All 3d applications (Like stepmania, wow with wine) show-me the same error before crash:

 get fences failed: -1
 param: 6, val: 0

but the glxinfo and gears show- me 3d enable ~~:

 direct rendering: Yes
 OpenGL renderer string: Mesa DRI Intel(R) 945GME GEM 20090326 2009Q1 RC2 x86/MMX/SSE2

glxgears (with UXA):

 Running synchronized to the vertical refresh. The framerate should be
 approximately 1/12 the monitor refresh rate.
 810 frames in 5.0 seconds = 161.932 FPS
 728 frames in 5.0 seconds = 145.378 FPS

glxgears (with EXA):

 2000 frames in 5.0 seconds = 400 FPS
 3000 frames in 5.0 seconds = 600 FPS

Revision history for this message
Bhupendra (bst-28) wrote :

UXA is very unstable for I945.It somtimes freezes my system completely and I have to reboot manually by turning the power off.
One thing I noticed that whenever I boot windows first and then restart system and select ubuntu on my dual boot system I get this error.My CPU box has a memory indicator which gets turned off completely and I can see only freeze screen.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-intel - 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu1

---------------
xserver-xorg-video-intel (2:2.7.99.1+git20090602.ec2fde7c-0ubuntu1) karmic; urgency=low

  * Update to git 20090602 (master branch) up to commit ec2fde7c
    - xvmc is disabled since DRI1 no longer supported
    - LP: #96991 - 3D stuff breaks with Compiz: Redirected Direct Rendering
      is needed in DRI
    - LP: #120834 - X freezes with I830WaitLpRing error when running OpenGL apps
    - LP: #337608 - X crashes in fbBlt() when using Sun Java Plugin 6 + firefox3.0
    - LP: #339555 - compiz slowmotion after Jaunty upgrade
    - LP: #363900 - X.org freezes with intel driver, no apparent trigger
    - LP: #331719 - VT switching doesn't work on Intel 915GM
    - LP: #339091 - X freezes a few minutes after resuming
    - LP: #348436 - Kubuntu: X server crash when screensaver is started (4500MHD)
    - LP: #279727 - Kubuntu: Display Corruption w/ Intel 4700MHD
    - LP: #357851 - Kubuntu: Distorted display after switching virtual desktops w/ exa
    - LP: #158415 - Front buffer dynamic resize not supported
    - LP: #324998 - x server restarts itself w/ compiz on Intel 945GM
    - LP: #355593 - after upgrade to 9.04, rotating desktop cube ran slow
    - LP: #357290 - 1 fps in 3d apps like neverball with EXA
    - LP: #360774 - Graphical Corruption with EXA on X4500
    - LP: #364126 - screensaver prefs dialog in 9.04 RC livecd leaves dirt
    - LP: #375712 - Native resolution for dell "2005fpw" monitor not listed
    - LP: #375264 - Choppy flash video and poor performance with compiz
    - LP: #349568 - Jaunty / Compiz slow and tearing on GMA 4500MHD
    - LP: #356056 - window tearing during movement on 965 (no compiz)
    - LP: #330460 - xorg shows black image/hangs with jpg in firefox
    - LP: #347587 - X asserts on pI830->batch_ptr != 0 on resume from suspend
  * Merge with Debian experimental. Remaining Ubuntu changes:
    - Add lpia architecture
    - Re-enable the patch system, add quilt to build-deps.
    - 110_quirk_hp_mini.patch: quirk (sent upstream)
    - 117_quirk_thinkpad_x30.patch: quirk (sent upstream)
  * Drop 116_8xx_disable_dri.patch. There have been fixes for 3d on 8xx
    chipsets upstream, so drop the DRI disablement so the fixes can be
    re-tested.
  * Drop 103_quirk_intel_mb890.patch. Better quirk available upstream.
    (LP: #305269)

 -- Bryce Harrington <email address hidden> Tue, 02 Jun 2009 10:47:32 -0700

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.