Skip to contentSkip to conversation

r600_blit.c:281: r600_decompress_depth_textures: Assertion `tex->is_depth && !tex->is_flushing_texture' failed.

Bug 94388 [email protected] 1 participant 4 messages Mar 3, 2016 – Mar 12, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94388

            Bug ID: 94388
           Summary: r600_blit.c:281: r600_decompress_depth_textures:
                    Assertion `tex->is_depth && !tex->is_flushing_texture'
                    failed.
           Product: Mesa
           Version: git
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

am\steamapps\common\Crysis\bin32\crysis.exe: r600_blit.c:281:
r600_decompress_depth_textures: Assertion `tex->is_depth && !tex->is_flushing_texture' failed. fixme:faultrep:ReportFault 0x738120 0x0 stub

This is a regression and bisect narrowed it down to:
---
commit 757071ca7cdda12d2974614f9a9d02d5a834f38c

Author: Fredrik H�glund <[email protected]>
Date:   Fri Jan 8 16:31:14 2016 -0500

st/mesa: Accelerate PBO uploads
---

Unfortunately I was not able to get backtrace or apitrace (d3d9 or opengl).

For me the bug is triggered when using the wine native d3d9 to opengl wrapper, running the steam version of Crysis 1. The game starts, shows intros and menus, loading screen, but crashes when level is started.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94388

Nicolai H�hnle <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Nicolai H�hnle <[email protected]> --- Created attachment 122214
--> https://bugs.freedesktop.org/attachment.cgi?id=122214&action=edit
Possible fix based on problem description

Thanks for the report. Based on a quick inspection of the code, I noticed a logic bug in compressed depthtex tracking.

Could you please try the attached patch and report whether it fixes the problem? If it *doesn't* fix the problem, it would be helpful to get a backtrace.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Marek Olšák
#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94388

--- Comment #2 from Marek Olšák <[email protected]> --- (In reply to Nicolai Hähnle from comment #1)

Quoted 9 lines

Created attachment 122214 [details] [review]
Possible fix based on problem description

Thanks for the report. Based on a quick inspection of the code, I noticed a logic bug in compressed depthtex tracking.

Could you please try the attached patch and report whether it fixes the problem? If it *doesn't* fix the problem, it would be helpful to get a backtrace.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94388

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from [email protected] ---
The patch have been committed to Mesa3D git and
I can confirm that the issue is fixed.

To test that, I reverted the e502801d98 commit and the bug returned, so I'm sure this is the patch that fixed it.

Good Work.

(Don't forget to apply it to the 11.2 branch.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel