[855GM] 3D programs crash withAssertion `target_fake->is_static || target_fake->size_accounted' failed

Bug #296020 reported by Filip Szczepanski
46
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Medium
mesa (Ubuntu)
Fix Released
High
Unassigned
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Programs using 3D crash with this message:
mupen64plus: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static || target_fake->size_accounted' failed.
(mupen64plus isn't the only program that crashes with this message)
This started happening after I upgraded from Xubuntu 8.04 to 8.10.
"lspci | grep Display" returns
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3580] (rev 02)
     Subsystem: IBM Device [1014:055c]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)
     Subsystem: IBM Device [1014:0562]

Revision history for this message
aquilinux (aquilinux) wrote :

same here when starting ioUrbanTerror:

[..]
UI menu load time = 22 milli seconds
13 crosshairs parsed
CL_InitCGame: 5.07 seconds
ut: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static || target_fake->size_accounted' failed.
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )

moreover, the mouse has a strange behaviour when inside the application.
to reproduce:
1) start ioUrbanTerror
2) notice that mouse is less responsive
3) application hangs when loading a map

i'm runnung an up-to-date Intrepid Ibex.
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
no compiz.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi jazz2rulez,

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
Revision history for this message
aquilinux (aquilinux) wrote :

here they are:

Revision history for this message
aquilinux (aquilinux) wrote :
Revision history for this message
aquilinux (aquilinux) wrote :
Revision history for this message
Filip Szczepanski (jazz2rulez) wrote :

Here it is:

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

aquilinux, Thank you for providing the log files, but 965GM is a different chipset from 855G, so it is probably not the same bug, even though they look similar. Please file a separate bug report, unless you find a bug where the same problem is reported for the 965GM chipset.

Revision history for this message
Filip Szczepanski (jazz2rulez) wrote :

Could be that the bug affects more than one chipset.

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

Usually bugs in the driver don't affect such different chipsets, but this actually looks like a bug in mesa, and not in the driver. The error comes from Mesa-7.2/src/mesa/drivers/dri/common/dri_bufmgr_fake.c in the source package mesa (http://packages.ubuntu.com/source/intrepid/mesa). It's line number 987 in http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/common/dri_bufmgr_fake.c?h=mesa_7_2_branch&id=75b8d0209c62e696714abf16782804c5a14159cf .

There has been one update to this file after mesa 7.2 was released (http://cgit.freedesktop.org/mesa/mesa/commit/?id=75b8d0209c62e696714abf16782804c5a14159cf) fixing a bug http://bugs.freedesktop.org/show_bug.cgi?id=17705 , but I don't know if that bug is related to this one.

Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel:
status: Incomplete → New
Revision history for this message
Daniel Bonniot de Ruisselet (bonniot-users) wrote : Re: 3D programs crash withAssertion `target_fake->is_static || target_fake->size_accounted' failed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
status: New → Confirmed
Bryce Harrington (bryce)
Changed in mesa:
status: New → Confirmed
Revision history for this message
Daniel Bonniot de Ruisselet (bonniot-users) wrote :

See bug #252094, at the bottom it contains instructions to upgrade several package, resulting in improved performance but also for me fixing the bugs reported here (requires a newer kernel and installing ppa packages, caveat emptor!).

Revision history for this message
Bryce Harrington (bryce) wrote :

[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://edge.launchpad.net/~intel-gfx-testing/+archive

 -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://cdimage.ubuntu.com/releases/9.04/ for ISOs

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://intellinuxgraphics.org/how_to_report_bug.html

Changed in xserver-xorg-video-intel:
status: Confirmed → Incomplete
Revision history for this message
stephan66 (kodo-nurfuerspam) wrote :

Bug still exists with intel driver 2.51 and intrepid 64bit
-----------------------------------------------------------------------
sm@smdt:~$ etracer
Extreme TuxRacer SVN Development -- http://www.extremetuxracer.com
(c) 2007 The ETRacer team
(c) 2004-2005 The PPRacer team
(c) 1999-2001 Jasmin F. Patry<email address hidden>
ETRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

%%% etracer warning: Attempt to bind to Texture unloaded texture: `b-herring_run_icon'

etracer: ../common/dri_bufmgr_fake.c:982: dri_fake_emit_reloc: Assertion `target_fake->is_static || target_fake->size_accounted' failed.
Aborted
-----------------------------------------------------------------------
Hardware is GMA3000 (Q965) onboard FSC Esprimo E
hth, Stephan

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for testing; this should go upstream. Setting to Triaged for now.

Changed in xserver-xorg-video-intel:
status: Incomplete → Triaged
Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

FWIW I ran into this exact error message on my Acer Aspire One (945GME) but in my case installing the intel-gfx-testing package fixed the error.

Revision history for this message
Bryce Harrington (bryce) wrote :

[No need to have this open against -intel since it's really a mesa bug.]

Changed in mesa:
importance: Undecided → High
status: Confirmed → Triaged
Changed in xserver-xorg-video-intel:
status: Triaged → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote :

According to the upstream bug, it is fixed with mesa-7.2 and the new GEM stuff. So please test against Jaunty, which I think should have all the requisite fixes now.

Bryce Harrington (bryce)
description: updated
Changed in xserver-xorg-video-intel:
status: Unknown → Fix Released
Revision history for this message
Chris (chris-yourdreamnet) wrote :

Which package actually provides mesa? I have looked on Intrepid at the packages libgl1-mesa-dri and libgl1-mesa-glx, both of which are version 7.2 and I still have this problem.

Revision history for this message
Chris (chris-yourdreamnet) wrote :

I have also updated to the files to those in the PPA and still no joy.

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

Mesa is a source package which provides the source for many binary packages, including the two you mentioned. http://packages.ubuntu.com/source/intrepid/mesa
Mesa 7.2 (or rather a RC IIRC) has been in Intrepid all along, but "the new GEM stuff" hasn't.

Which PPA have you updated to? I assume it's one of these two:
https://launchpad.net/~xorg-edgers/+archive/ppa
https://edge.launchpad.net/~intel-gfx-testing/+archive/ppa

At least the last of these two don't have the newest drivers that are currently in Jaunty. The easiest way to test is probably to download the alpha-4 Jaunty LiveCD from http://cdimage.ubuntu.com/releases/jaunty/

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Apparently this should be fixed in current jaunty. Reopen if untrue.

Changed in mesa (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Doug Goldstein (cardoe) wrote :

So this has been marked fixed but the only fix that appears to be available is "Upgrade the Jaunty alpha or compile the entire X.org stack by hand." Which really doesn't seem like a reasonable fix for someone interested in a stable system (i.e. Intrepid).

Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 296020] Re: [855GM] 3D programs crash withAssertion `target_fake->is_static || target_fake->size_accounted' failed

There is no easy way to fix this in intrepid, and yes, the developer
resources are now better spent stabilizing the upcoming release than
improving the soon-to-be-previous release. Btw, Jaunty is now in beta
and due to be released this month. Jaunty is probably much more stable
than Intrepid with a self-compiled Xorg stack, since a great amount of
work has been put into stabilizing the Jaunty version.

Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
Changed in xserver-xorg-video-intel:
importance: Medium → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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