* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
@ 2016-08-14 1:09 bugzilla-daemon
2016-08-14 1:10 ` bugzilla-daemon
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-08-14 1:09 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1724 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
Bug ID: 97338
Summary: Black squares in the Spec Ops: The Line chapter select
screen
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: daniel@constexpr.org
QA Contact: dri-devel@lists.freedesktop.org
Created attachment 125773
--> https://bugs.freedesktop.org/attachment.cgi?id=125773&action=edit
Screenshot showing the bug (frame 89)
With radeonsi the chapter select screen in Spec Ops: The Line has black squares
that should not be there. I have not observed this bug elsewhere in the game
(but haven't played through the whole game using radeonsi).
The number of squares increases with a higher texture quality setting. The
number and positions of the squares only changes when the camera moves.
The chapter select screen renders fine using the amdgpu-pro driver - tested
with version 16.30.3.306809 running on the upstream amdgpu kernel module.
Apitrace:
http://constexpr.org/tmp/SpecOps-radeonsi.trace.xz (70 MiB)
This bug seems to be caused by pixels with NaN values that make it into the
framebuffer and are extended to larger squares by a later post-processing pass:
After draw call 1441551, pixel (875, 573) of the COLOR0 attachment has RGB
components set to NaN.
GPU: R9 380X (tonga)
Kernel: 4.7.0-gentoo
Mesa: git-561fd22
LLVM: r278309
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3320 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
@ 2016-08-14 1:10 ` bugzilla-daemon
2016-09-02 10:21 ` bugzilla-daemon
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-08-14 1:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 436 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #1 from Daniel Scharrer <daniel@constexpr.org> ---
Created attachment 125774
--> https://bugs.freedesktop.org/attachment.cgi?id=125774&action=edit
Screenshot showing the bug (frame 91)
May or may not be related to bug #90481 - I haven't seen any gpu lockups or
crashes in the menu.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
2016-08-14 1:10 ` bugzilla-daemon
@ 2016-09-02 10:21 ` bugzilla-daemon
2016-09-02 12:54 ` bugzilla-daemon
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-09-02 10:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #2 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hi Daniel, thank you for the detailed report and the initial investigation! I
can indeed reproduce this (including the NaN values) on Polaris.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1146 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
2016-08-14 1:10 ` bugzilla-daemon
2016-09-02 10:21 ` bugzilla-daemon
@ 2016-09-02 12:54 ` bugzilla-daemon
2016-09-02 13:10 ` bugzilla-daemon
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-09-02 12:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 919 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #3 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 126172
--> https://bugs.freedesktop.org/attachment.cgi?id=126172&action=edit
Problematic fragment shader
Okay, so here's a bit more detail of what is happening: the attached fragment
shader (shader object 31) samples a 2D vector from PSampler2 (texture object
3153) and does some computations on it involving inversesqrt, under the
assumption that the dot product of the vector is <= 1. This is false: looking
at level 0 of texture 3153 reveals e.g. a unorm value (142, 255) at texel
155,263.
The likely cause here is that this is a port from D3D, which specifies that rsq
should take the absolute value of its argument, to GLSL, which says that
inversesqrt is undefined for values <= 0.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1878 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (2 preceding siblings ...)
2016-09-02 12:54 ` bugzilla-daemon
@ 2016-09-02 13:10 ` bugzilla-daemon
2016-11-23 21:45 ` bugzilla-daemon
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-09-02 13:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 244 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #4 from Nicolai Hähnle <nhaehnle@gmail.com> ---
I've raised this issue with Virtual Programming.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1051 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (3 preceding siblings ...)
2016-09-02 13:10 ` bugzilla-daemon
@ 2016-11-23 21:45 ` bugzilla-daemon
2017-01-05 16:48 ` bugzilla-daemon
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2016-11-23 21:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #5 from Marek Olšák <maraeo@gmail.com> ---
If it's undefined, doing abs is probably a good idea to at least reduce the
number of bug reports.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1094 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (4 preceding siblings ...)
2016-11-23 21:45 ` bugzilla-daemon
@ 2017-01-05 16:48 ` bugzilla-daemon
2017-01-10 22:36 ` bugzilla-daemon
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-01-05 16:48 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 297 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #6 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
A possible fix here:
https://lists.freedesktop.org/archives/mesa-dev/2017-January/139686.html
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (5 preceding siblings ...)
2017-01-05 16:48 ` bugzilla-daemon
@ 2017-01-10 22:36 ` bugzilla-daemon
2017-01-23 8:48 ` bugzilla-daemon
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-01-10 22:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 296 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #7 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
People might be interested by
https://github.com/virtual-programming/specops-linux/issues/20
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1187 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (6 preceding siblings ...)
2017-01-10 22:36 ` bugzilla-daemon
@ 2017-01-23 8:48 ` bugzilla-daemon
2017-01-23 10:47 ` bugzilla-daemon
2017-03-22 21:08 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-01-23 8:48 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 844 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #8 from Aaron Paden <aaronbpaden@gmail.com> ---
(In reply to Samuel Pitoiset from comment #6)
> A possible fix here:
> https://lists.freedesktop.org/archives/mesa-dev/2017-January/139686.html
I get a build failure after applying this patch:
si_shader_tgsi_alu.c: In function ‘emit_rsq’:
si_shader_tgsi_alu.c:759:43: error: ‘TGSI_OPCODE_ABS’ undeclared (first use in
this function)
abs = lp_build_emit_llvm_unary(bld_base, TGSI_OPCODE_ABS,
^~~~~~~~~~~~~~~
si_shader_tgsi_alu.c:759:43: note: each undeclared identifier is reported only
once for each function it appears in
make[4]: *** [Makefile:701: si_shader_tgsi_alu.lo] Error 1
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1810 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (7 preceding siblings ...)
2017-01-23 8:48 ` bugzilla-daemon
@ 2017-01-23 10:47 ` bugzilla-daemon
2017-03-22 21:08 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-01-23 10:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 398 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #9 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Makes sense. TGSI_OPCODE_ABS has been removed after this patch, but it fixes
the issue (I tested myself). The patch is still pending for some reasons, I
will let you know when something change.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1212 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
` (8 preceding siblings ...)
2017-01-23 10:47 ` bugzilla-daemon
@ 2017-03-22 21:08 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-03-22 21:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 624 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=97338
Samuel Pitoiset <samuel.pitoiset@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Should be fixed with
https://cgit.freedesktop.org/mesa/mesa/commit/?id=e11049f2c367192dfb1540855f6571a5e29b77ec.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2280 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-03-22 21:08 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-14 1:09 [Bug 97338] Black squares in the Spec Ops: The Line chapter select screen bugzilla-daemon
2016-08-14 1:10 ` bugzilla-daemon
2016-09-02 10:21 ` bugzilla-daemon
2016-09-02 12:54 ` bugzilla-daemon
2016-09-02 13:10 ` bugzilla-daemon
2016-11-23 21:45 ` bugzilla-daemon
2017-01-05 16:48 ` bugzilla-daemon
2017-01-10 22:36 ` bugzilla-daemon
2017-01-23 8:48 ` bugzilla-daemon
2017-01-23 10:47 ` bugzilla-daemon
2017-03-22 21:08 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.