Bug 111162

Summary: iris: Gallium nine crashes on iris_resource.c assertion
Product: Mesa Reporter: Matías Zúñiga <matias.nicolas.zc>
Component: Drivers/Gallium/IrisAssignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: Linux (All)   
i915 platform: i915 features:

Description Matías Zúñiga 2019-07-17 21:13:12 UTC
The dx9_2d_demo_game demo from http://www.codesampler.com crashes (with wine) starting from commit e8139286

Testing with 28a808a1 i get this message

izuca/Descargas/dx9_2d_demo_game/dx9_2d_demo_game.exe: ../src/gallium/drivers/iris/iris_resource.c:859: iris_resource_get_handle: Assertion `aux_state == ISL_AUX_STATE_RESOLVED || aux_state == ISL_AUX_STATE_PASS_THROUGH' failed.

Reverting commit e8139286 makes it work again

I get the following backtrace from winedbg:

Unhandled exception: assertion failed in 32-bit code (0xf7faa112).
=>0 0xf7faa112 length_mismatch+0xffffffff() in ld-linux.so.2 (0x0034f27c)
  1 0xf7c0e796 int_mallinfo+0xffffffff() in libc.so.6 (0x0034f27c)
  2 0xf7bf837b int_mallinfo+0xffffffff() in libc.so.6 (0xf7d83ce0)
  3 0xf7bf827b int_mallinfo+0xffffffff() in libc.so.6 (0xf7d83ce0)
  4 0xf7c0657f int_mallinfo+0xffffffff() in libc.so.6 (0x0034f5d8)
  5 0x7cc03f87 in d3dadapter9.so.1 (+0x74ff86) (0x0034f5d8)
  6 0x7c6374df D3DAdapter9GetProc+0x1459ee() in d3dadapter9.so.1 (0x0034f5d8)
  7 0x7c63a9e2 D3DAdapter9GetProc+0x148ef1() in d3dadapter9.so.1 (0x7c112860)
  8 0x7c63c2f6 D3DAdapter9GetProc+0x14a805() in d3dadapter9.so.1 (0x7b9657fc)
  9 0x7c63c3eb D3DAdapter9GetProc+0x14a8fa() in d3dadapter9.so.1 (0x00010060)
  10 0x7c5b6255 D3DAdapter9GetProc+0xc4764() in d3dadapter9.so.1 (0x7d67bdf0)
  11 0x7c5b6fc8 D3DAdapter9GetProc+0xc54d7() in d3dadapter9.so.1 (0x00000000)
  12 0x7c5a1cd6 D3DAdapter9GetProc+0xb01e5() in d3dadapter9.so.1 (0x0034fb38)
  13 0x7e4e1521 d3dadapter9_CheckDeviceFormat+0x1e90() in d3d9 (0x0034fbc8)
  14 0x004010be EntryPoint+0xffffffff() in dx9_2d_demo_game (0x0034ff20)
  15 0x7b481459 call_process_entry+0x18() in kernel32 (0x0034ff48)
  16 0x7b4843d3 TerminateProcess+0x1c2() in kernel32 (0x0034ffd8)
  17 0x7b48146a call_process_entry+0x29() in kernel32 (0x0034ffec)
0xf7faa112 length_mismatch+0xffffffff in ld-linux.so.2: ret
Comment 1 Matías Zúñiga 2019-07-17 21:15:39 UTC
My GPU is an Iris Pro Graphics 6200 (Broadwell)
Comment 2 Nanley Chery 2019-07-17 22:06:56 UTC

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

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.