From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts Date: Fri, 12 Oct 2018 13:11:19 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1368273027==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 520916E49B for ; Fri, 12 Oct 2018 13:11:19 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1368273027== Content-Type: multipart/alternative; boundary="15393498790.d5EBfc.31156" Content-Transfer-Encoding: 7bit --15393498790.d5EBfc.31156 Date: Fri, 12 Oct 2018 13:11:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108340 Bug ID: 108340 Summary: Ambient Occlusion in Two Point Hospital shows black spot artifacts Product: Mesa Version: 18.2 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: christos.kotsaris@gmail.com QA Contact: dri-devel@lists.freedesktop.org Two point hospital works pretty well on my Archlinux system using Mesa 18.2= .2, LLVM 7.0, kernel 4.18.12 with max graphical settings. The only setting that= has an issue is Ambient Occlusion. With that enabled, when you move the camera around it produces a lot of black spots around the edges of walls and items. With that setting disabled everything displays fine.=20 >>From what little search i did, i saw other people reporting this issue on t= he steam forums of the game but it is not reported here and i think it is an i= ssue with Mesa. For the record i am using an R9 380 card and i saw people report= ing the same problem on Polaris cards. --=20 You are receiving this mail because: You are the assignee for the bug.= --15393498790.d5EBfc.31156 Date: Fri, 12 Oct 2018 13:11:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 108340
Summary Ambient Occlusion in Two Point Hospital shows black spot arti= facts
Product Mesa
Version 18.2
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter christos.kotsaris@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Two point hospital works pretty well on my Archlinux system us=
ing Mesa 18.2.2,
LLVM 7.0, kernel 4.18.12 with max graphical settings. The only setting that=
 has
an issue is Ambient Occlusion. With that enabled, when you move the camera
around it produces a lot of black spots around the edges of walls and items.
With that setting disabled everything displays fine.=20

>>From what little search i did, i saw other people reporting this issue on t=
he
steam forums of the game but it is not reported here and i think it is an i=
ssue
with Mesa. For the record i am using an R9 380 card and i saw people report=
ing
the same problem on Polaris cards.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15393498790.d5EBfc.31156-- --===============1368273027== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1368273027==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts Date: Thu, 18 Oct 2018 23:28:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0381729499==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D0AE6E129 for ; Thu, 18 Oct 2018 23:28:16 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0381729499== Content-Type: multipart/alternative; boundary="15399052960.0dd96.5531" Content-Transfer-Encoding: 7bit --15399052960.0dd96.5531 Date: Thu, 18 Oct 2018 23:28:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108340 Timothy Arceri changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #1 from Timothy Arceri --- Getting an apitrace [1] of the problem would be useful. [1] https://github.com/apitrace/apitrace/wiki/Steam --=20 You are receiving this mail because: You are the assignee for the bug.= --15399052960.0dd96.5531 Date: Thu, 18 Oct 2018 23:28:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Timothy Arceri changed bug 10834= 0
What Removed Added
Status NEW NEEDINFO

Commen= t # 1 on bug 10834= 0 from Timothy Arceri
Getting an apitrace [1] of the problem would be useful.

[1] https://git=
hub.com/apitrace/apitrace/wiki/Steam


You are receiving this mail because:
  • You are the assignee for the bug.
= --15399052960.0dd96.5531-- --===============0381729499== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0381729499==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts Date: Fri, 28 Dec 2018 14:41:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0083451068==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id EE6C26EAA4 for ; Fri, 28 Dec 2018 14:41:17 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0083451068== Content-Type: multipart/alternative; boundary="15460080771.87bccD.20028" Content-Transfer-Encoding: 7bit --15460080771.87bccD.20028 Date: Fri, 28 Dec 2018 14:41:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108340 --- Comment #2 from wietse.jorissen@gmail.com --- I am noticing the same issue, also running on max graphical settings. Ubuntu 18.10 Kernel 4.18.0-13-generic AMD RX 480 OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.2.2 Steps followed: 1. Installed apitrace (sudo apt-get install apitrace) 2. Looked up the ID of Two Point Hospital (535930) 3. Ran the following command in terminal (DEBUGGER=3D"apitrace trace" steam steam://rungameid/535930) 4. Once ingame with the Ambient Occlusion option active, I zoomed in and out and moved the camera around as this seems to exacerbate the black spots. 5. The trace file is stored next to the game executable (/home/username/.local/share/Steam/steamapps/common/TPH/TPH.x86_64.trace) 6. I compressed the trace file with 7z https://mega.nz/#!y3IzRY6A!ksUZcYGjgeHnBk9XtZb3J7pnIb5meZV8TxB-T27XmPs The file is hosted on MEGA, and I used 7z compression to make the uploaded = file somewhat smaller. --=20 You are receiving this mail because: You are the assignee for the bug.= --15460080771.87bccD.20028 Date: Fri, 28 Dec 2018 14:41:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10834= 0 from wiet= se.jorissen@gmail.com
I am noticing the same issue, also running on max graphical se=
ttings.

Ubuntu 18.10
Kernel 4.18.0-13-generic
AMD RX 480
OpenGL version string: 4.4 (Compatibility Profile) Mesa 18.2.2

Steps followed:
1. Installed apitrace (sudo apt-get install apitrace)
2. Looked up the ID of Two Point Hospital (535930)
3. Ran the following command in terminal (DEBUGGER=3D"apitrace trace&q=
uot; steam
steam://rungameid/535930)
4. Once ingame with the Ambient Occlusion option active, I zoomed in and out
and moved the camera around as this seems to exacerbate the black spots.
5. The trace file is stored next to the game executable
(/home/username/.local/share/Steam/steamapps/common/TPH/TPH.x86_64.trace)

6. I compressed the trace file with 7z

https://mega.nz/#!y3IzRY6A!ksUZcYGjgeHnBk9XtZb3J7pnIb5meZV8TxB-T27X=
mPs
The file is hosted on MEGA, and I used 7z compression to make the uploaded =
file
somewhat smaller.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15460080771.87bccD.20028-- --===============0083451068== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0083451068==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts Date: Sat, 29 Dec 2018 17:51:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0210838024==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id BC77B6E57F for ; Sat, 29 Dec 2018 17:51:34 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0210838024== Content-Type: multipart/alternative; boundary="15461058940.2091543.24589" Content-Transfer-Encoding: 7bit --15461058940.2091543.24589 Date: Sat, 29 Dec 2018 17:51:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108340 --- Comment #3 from wietse.jorissen@gmail.com --- Created attachment 142915 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142915&action=3Dedit Recurring error in trace file replay in qapitrace I've now installed qapitrace (sudo apt-get install apitrace-gui) and can now look into what errors are being listed after I replay the trace therein.=20 Then I tried delving deeper into the error messages and think I may have at least found something relevant. But I'm quite out of my element here. In the attached screenshot, you can see it lists 4 errors regarding "array index must be a scalar". These errors seem to refer to a glShaderSource call for a GL_FRAGMENT_SHADER, shader string 0, at lines 65,98,99 and 100. What these four lines have in common is that they all use the same value to address a certain index in an array:=20 ivec4(u_xlati12) For line 65 it's unity_Builtins0Array and for 98,99 and 100 it's unity_Builtins0Array. So now the question is, what is the value of ivec4(u_xlati12) and what generates it, to find out what is causing it. The error is repeated quite often, and it's always that index. The fact that I can also see variables named _OcclusionStrength and _OcclusionMap at least makes me think I'm looking in the right direction. --=20 You are receiving this mail because: You are the assignee for the bug.= --15461058940.2091543.24589 Date: Sat, 29 Dec 2018 17:51:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 10834= 0 from wiet= se.jorissen@gmail.com
Created attachment 142915 [=
details]
Recurring error in trace file replay in qapitrace

I've now installed qapitrace (sudo apt-get install apitrace-gui) and can now
look into what errors are being listed after I replay the trace therein.=20

Then I tried delving deeper into the error messages and think I may have at
least found something relevant. But I'm quite out of my element here.

In the attached screenshot, you can see it lists 4 errors regarding "a=
rray
index must be a scalar". These errors seem to refer to a glShaderSourc=
e call
for a GL_FRAGMENT_SHADER, shader string 0, at lines 65,98,99 and 100.

What these four lines have in common is that they all use the same value to
address a certain index in an array:=20

ivec4(u_xlati12)

For line 65 it's unity_Builtins0Array and for 98,99 and 100 it's
unity_Builtins0Array.

So now the question is, what is the value of ivec4(u_xlati12) and what
generates it, to find out what is causing it.

The error is repeated quite often, and it's always that index.

The fact that I can also see variables named _OcclusionStrength and
_OcclusionMap at least makes me think I'm looking in the right direction.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15461058940.2091543.24589-- --===============0210838024== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0210838024==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts Date: Mon, 11 Feb 2019 05:25:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1614021731==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1544F6E14D for ; Mon, 11 Feb 2019 05:25:27 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1614021731== Content-Type: multipart/alternative; boundary="15498627260.bbD1.32412" Content-Transfer-Encoding: 7bit --15498627260.bbD1.32412 Date: Mon, 11 Feb 2019 05:25:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108340 --- Comment #4 from Thomas R. --- Parkitect has the same issue, it seems to be a general Unity thing. --=20 You are receiving this mail because: You are the assignee for the bug.= --15498627260.bbD1.32412 Date: Mon, 11 Feb 2019 05:25:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 4 on bug 10834= 0 from Thomas R.
Parkitect has the same issue, it seems to be a general Unity t=
hing.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15498627260.bbD1.32412-- --===============1614021731== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1614021731==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108340] Ambient Occlusion in Two Point Hospital shows black spot artifacts Date: Wed, 25 Sep 2019 18:28:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0837959471==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B7A2A6ED74 for ; Wed, 25 Sep 2019 18:28:01 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0837959471== Content-Type: multipart/alternative; boundary="15694360812.7346EF.5438" Content-Transfer-Encoding: 7bit --15694360812.7346EF.5438 Date: Wed, 25 Sep 2019 18:28:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108340 GitLab Migration User changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |MOVED --- Comment #5 from GitLab Migration User --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/133= 6. --=20 You are receiving this mail because: You are the assignee for the bug.= --15694360812.7346EF.5438 Date: Wed, 25 Sep 2019 18:28:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated GitLab Migration User changed bug 10834= 0
What Removed Added
Status NEEDINFO RESOLVED
Resolution --- MOVED

Commen= t # 5 on bug 10834= 0 from GitLab Migration User
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1336.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15694360812.7346EF.5438-- --===============0837959471== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0837959471==--