Bug 14456 - [i965GM] Assertion failed in intel_region_data
Summary: [i965GM] Assertion failed in intel_region_data
Status: RESOLVED DUPLICATE of bug 14221
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 16029
  Show dependency treegraph
 
Reported: 2008-02-11 00:13 UTC by Knister
Modified: 2008-05-28 01:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
regnum-online backtrace (2.06 KB, text/plain)
2008-02-11 00:13 UTC, Knister
Details

Description Knister 2008-02-11 00:13:47 UTC
Created attachment 14268 [details]
regnum-online backtrace

When starting the linux client of regnum-online on Ubuntu Hardy (xorg 7.3 + Intel 2.2) I'll get the following assertion error (backtrace is attached):

game: intel_regions.c:231: intel_region_data: Assertion `dst_offset + dstx + width + (dsty + height - 1) * dst->pitch * dst->cpp <= dst->pitch * dst->cpp * dst->height' failed.

This has to do with the mimmap tree calculation.
Comment 1 Eric Anholt 2008-02-13 11:55:16 UTC
The regnum-online installer segfaults for me, so I can't reproduce it.  I wish I could, since this is the second tripping of this assertion I've seen.  However, mesa master may have fixed it, as the other report of this assertion was in mesa 7.0-branch only.
Comment 2 Knister 2008-02-14 00:24:16 UTC
If there is anything I could do to get better data for this bug let me know.
I'll tried some debug env-vars, but I don't have many success. I'm not a c developer...
Comment 3 Gordon Jin 2008-02-14 00:53:55 UTC
Could you provide more info, as mentioned in http://intellinuxgraphics.org/how_to_report_bug.html ?
Comment 4 Knister 2008-02-14 01:08:06 UTC
System environment:
-- chipset: i965GM
-- system architecture: i686
-- xf86-video-intel: xserver-xorg-video-intel 2:2.2.0.90-2ubuntu2
-- xserver: xserver-xorg 1:7.3+10ubuntu4
-- mesa: ??? 7.0.2-4ubuntu2
-- drm: libgl1-mesa-dri 7.0.2-4ubuntu2
-- kernel: 2.6.24-7-generic
-- Linux distribution: Ubuntu Hardy-Alpha4
-- Machine or mobo model: Lenovo x61s

Additional info:
Using LIBGL_DEBUG=verbose does not print any related information for the failed assertion.
Comment 5 Eric Anholt 2008-02-19 11:35:19 UTC
Could you try mesa master (requires DRM master and server master as well) and see if you still get the error?  We changed a lot of code related to this assertion, and the other report of this assertion isn't reproducible in master.
Comment 6 Knister 2008-02-19 11:48:18 UTC
Can you explain to me what mesa, drm and server master are?
I've tried apt-cache in ubuntu but that does not give me any result. There is no install candidate as I can see.
Comment 7 Eric Anholt 2008-02-19 14:07:12 UTC
"master" refers to the branch name in the upstream development repositories.  http://wiki.x.org/wiki/ModularDevelopersGuide explains how to build it (and I apologize for the quality of those instructions)
Comment 8 Gordon Jin 2008-03-31 01:08:44 UTC
I'm closing as no response for long. Please reopen when you have update.
http://wiki.x.org/wiki/Development/git may help.
Comment 9 Knister 2008-04-06 02:48:32 UTC
I just want to add that this bug also occurs when I try to start World of Warcraft with wine in opengl mode.
I've tried to build a new ubuntu package with a newer driver but I failed to do so. Sorry I can't help you much with this.
Comment 10 Marcus Granado 2008-04-14 06:00:29 UTC
I'm having the same problem running AstroMenace 1.2:

AstroMenace: intel_regions.c:231: intel_region_data: Assertion `dst_offset + dstx + width + (dsty + height - 1) * dst->pitch * dst->cpp <= dst->pitch * dst->cpp * dst->height' failed.

This 3D scroller can be obtained at http://www.viewizard.com/astromenace/index_linux.php ,the source code is at http://www.viewizard.com/download.php?forceos=source

Many others have reported the same issue in many other games, e.g.: http://www.phoronix.com/forums/showthread.php?t=8347

System environment:
-- chipset: i965GM
-- system architecture: i686 - 32bit
-- xf86-video-intel: xserver-xorg-video-intel 2:2.2.1-1ubuntu12
-- xserver: xserver-xorg 1:7.3+10ubuntu8
-- libgl1-mesa-glx: 7.0.3~rc2-1ubuntu3
-- libgl1-mesa-drm: 7.0.3~rc2-1ubuntu3
-- kernel: Ubuntu 2.6.24-16-generic
-- Linux distribution: Ubuntu Hardy as of 2008-04-14
-- Machine or mobo model: Dell Inspiron 1720 with X3100
  GL_VERSION:  1.4 Mesa 7.0.3-rc2
  GL_VENDOR:   Tungsten Graphics, Inc
  GL_RENDERER: Mesa DRI Intel(R) 965GM 4.1.3002 x86/MMX/SSE2

I also have this problem in other 3D games, such as Enemy Territory.
Comment 11 haihao 2008-05-28 01:37:02 UTC

*** This bug has been marked as a duplicate of bug 14221 ***


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.