Bug 106499 - [regression, bisected] Several games crash on start
Summary: [regression, bisected] Several games crash on start
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 08:59 UTC by Gregor Münch
Modified: 2018-05-23 17:17 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Gregor Münch 2018-05-13 08:59:53 UTC
Lately multiple games crash on start just showing lines like this:
ShadowOfMordor: addrlib/r800/siaddrlib.cpp:2972: virtual int Addr::V1::SiLib::HwlPostCheckTileIndex(const ADDR_TILEINFO*, AddrTileMode, AddrTileType, INT) const: Assertion `index < static_cast<int>(m_noOfEntries)' failed.
DirtRally: addrlib/r800/siaddrlib.cpp:2972: virtual int Addr::V1::SiLib::HwlPostCheckTileIndex(const ADDR_TILEINFO*, AddrTileMode, AddrTileType, INT) const: Zusicherung »index < static_cast<int>(m_noOfEntries)« nicht erfüllt.

Games affected: Dirt Rally, Dirt Showdown, Shadow of Mordor, Rocket League, Stellaris, Tomb Raider, The Witcher 2, Total War: Warhammer

Bisected to:
19a91841c347107d877bc750371c5fa4e9b4de19 is the first bad commit
commit 19a91841c347107d877bc750371c5fa4e9b4de19
Author: Mathias Fröhlich <mathias.froehlich@web.de>
Date:   Sun Apr 1 20:18:36 2018 +0200

    st/mesa: Use Array._DrawVAO in st_atom_array.c.
    
    Finally make use of the binding information in the VAO when
    setting up arrays for draw.
    
    v2: Emit less relocations also for interleaved userspace arrays.
    
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>

:040000 040000 b8f485c5bbd0557a70f87d6c42d3cb45e5401c11 cb727cae44836da83b87239b8d716e4cec1f487f M	src

glxinfo:
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD Radeon HD 7900 Series (TAHITI, DRM 3.26.0, 4.16.0-2-amd-staging-drm-next-git, LLVM 7.0.0) (0x6798)
    Version: 18.2.0
    Accelerated: yes
    Video memory: 3053MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon HD 7900 Series (TAHITI, DRM 3.26.0, 4.16.0-2-amd-staging-drm-next-git, LLVM 7.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.0-devel (git-c879011c72)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 18.2.0-devel (git-c879011c72)
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.0-devel (git-c879011c72)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
Comment 1 Gregor Münch 2018-05-13 09:10:44 UTC
Adding patch author and Marek because of the crash in addrlib
Comment 2 Gregor Münch 2018-05-14 11:42:22 UTC
There is another bug Report, bisecting to another commit (which might make more sense): https://bugs.freedesktop.org/show_bug.cgi?id=106511

Was in a hurry while bisecting it, cant test until Friday. Feel free to mark this as duplicate.
Comment 3 Bas Nieuwenhuizen 2018-05-21 14:42:33 UTC
This should be fixed with

https://patchwork.freedesktop.org/patch/224584/
Comment 4 Gregor Münch 2018-05-23 17:17:49 UTC
Can confirm.
Thanks for the fix


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.