Skip to contentSkip to conversation

r600_texture.c:562: r600_texture_get_htile_size: Assertion `0' failed

Bug 94025 [email protected] 1 participant 7 messages Feb 6, 2016 – Feb 7, 2016

lore
Share & tools
lore

[email protected]

author Reviewed-by Michel Dänzer
#0 lore raw

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

Bug ID: 94025
Summary: [bisected] r600_texture.c:562:
r600_texture_get_htile_size: Assertion `0' failed
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 121557
--> https://bugs.freedesktop.org/attachment.cgi?id=121557&action=edit
backtrace

Since yesterday night, I've been unable to get a window manage running (see attached backtrace). After bisecting Mesa (was the only thing recompiled), I found out that the following commit was the culprit. Any application being launched while bisecting from and after that commit ends up with a "r600_texture.c:562: r600_texture_get_htile_size: Assertion `0' failed" error.

294ec530c9829aead97487b1feb06361ef97cc2d is the first bad commit commit 294ec530c9829aead97487b1feb06361ef97cc2d

Author: Marek Olšák <[email protected]>
Date:   Sat Jan 30 01:52:58 2016 +0100

gallium/radeon: just get num_tile_pipes from the winsys

:040000 040000 71cb2da01a5912443f2ca74f97e46533f50f50d8
964978b8372e95f18eb09db4158b032bf25611fb M src

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=94025

--- Comment #1 from Alexandre Demers <[email protected]> --- I added a line to output the value of "num_pipes" when it can't be matched to the defined values in the switch:
fprintf(stderr, "Driver was unable to determine num_pipes (value = %i)\n", num_pipes);

I ended up outputting "Driver was unable to determine num_pipes (value = 12)", which is not coverded in the switch... Expected?

In commit 294ec530, r600_get_gb_tiling_config() was removed. num_pipes was defined there and a comment was telling:
"/* Convert Sea Islands register values GB_ADDR_CFG and MC_ADDR_CFG
* into GB_TILING_CONFIG register which is only present on R600-R700. */"

I'm using and R9 290X, which is a Sea Islands, covered by this comment.

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Alexandre Demers <[email protected]> --- (In reply to Alexandre Demers from comment #1)

Quoted 1 line

I'm using and R9 290X, which is a Sea Islands, covered by this comment.

I meant R9 280X (Tahiti family, thus Southern Islands). So, was it included in the removed r600_get_gb_tiling_config()? It seems so, but then the comment would have been slightly wrong.

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=94025

--- Comment #3 from Alexandre Demers <[email protected]> --- With the code prior to the bad commit, num_pipes was defined as 8 (while now it is 12, thus hitting default and asserting)...

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

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Nick Sarnie <[email protected]> --- Likely duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=94019

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

#5 lore raw
In reply to [email protected]

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

Alexandre Demers <[email protected]> changed:

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

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=94019
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

#6 lore raw
In reply to [email protected]

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

Alexandre Demers <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from Alexandre Demers <[email protected]> ---

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

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