Bug 23230

Summary: [G45] X2 demo crashes at start
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://demofiles.linuxgamepublishing.com/x2/
Whiteboard:
i915 platform: i915 features:
Attachments: backtrace from crash

Description Sven Arvidsson 2009-08-09 14:53:08 UTC
Created attachment 28459 [details]
backtrace from crash

The demo of the game X2 crashes shortly after launching. I'm attaching a backtrace.

I haven't played it for quite a while so I'm not sure when it broke, but I will retry with Mesa 7.5 and bisect if possible when I have more time.

The demo can be downloaded here:
http://demofiles.linuxgamepublishing.com/x2/

System environment:
-- chipset: G45 / ICH10R
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- Machine or mobo model: Asus P5Q-EM
-- Display connector: DVI
-- KMS: enabled
-- xf86-video-intel: 50e2a6734de43a135aa91cd6e6fb5147e15ce315
-- xserver: 1.6.3
-- mesa: 11038989c197e92454ec0dd14e32acec6030e6b7
-- drm: 9aed44beeac4f250a58c792d64a4dee1dde3d086
-- kernel: 2.6.31-rc5 (debian)
Comment 1 Sven Arvidsson 2009-08-23 06:28:06 UTC
Bisected the problem. However, there is still rendering errors that was not present in 7.5. It can be seen directly in the menu, the asteroids are looking funky.

d7430d942f6c7950a92367aeb13b80cf76ccad78 is first bad commit
commit d7430d942f6c7950a92367aeb13b80cf76ccad78
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Aug 3 17:55:14 2009 -0700

    i965: Assert that the offset in the VBO is below the VBO size.
    
    This avoids sending a bad buffer address to the GPU due to programmer error,
    and is permitted by the ARB_vbo spec.  Note that we still have the opportunity
    to dereference past the end of the GPU, because we aren't clipping to a
    correct _MaxElement, but that appears to be harder than it should be.  This
    gets us the 90% solution.
    
    Bug #19911.

:040000 040000 88a060575bc610cad80af1d830886fbe82af0af0 b2967fc8ad3a140492460043acedce1db2a72234 M	src
Comment 2 Adam Jackson 2009-08-24 12:33:09 UTC
Mass version move, cvs -> git
Comment 3 Ian Romanick 2009-09-17 00:06:36 UTC

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

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.