From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102955] HyperZ related rendering issue in ARK: Survival Evolved Date: Sat, 23 Sep 2017 23:25:05 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0314661903==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 789FA6E0EA for ; Sat, 23 Sep 2017 23:25:05 +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 --===============0314661903== Content-Type: multipart/alternative; boundary="15062091050.cA92B.16721"; charset="UTF-8" --15062091050.cA92B.16721 Date: Sat, 23 Sep 2017 23:25:05 +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=3D102955 Bug ID: 102955 Summary: HyperZ related rendering issue in ARK: Survival Evolved Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: e.singularitycat@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 134449 --> https://bugs.freedesktop.org/attachment.cgi?id=3D134449&action=3Dedit The back buffer of apitrace frame 1017, showing red lines along what looks = like primitive edges. Hi, I've been poking "ARK: Survival Evolved", trying to get it playable. The game is notoriously buggy, particularly under Linux, however the biggest issue I've had seems to be a Mesa/Radeon bug. Blocky "pixelated" lines are drawn across what look like edges (see attache= d). These lines are most frequently red, black or cyan in colour, and seem to disappear when the scene complexity is lower (like when looking at the floo= r or an area with no foliage or rocks). Setting R600_DEBUG=3Dnohyperz resolves the issue. I've tested an apitrace of the game on both Mesa git, and 17.2.1 on a deskt= op with a POLARIS10 (RX580 8GiB), running the latest amd-staging-drm-next kern= el, and on a laptop with both Intel integrated graphics and a HAINAN (Sun XT? 8670M), running a stock Archlinux kernel. Both AMD cards have this rendering issue with HyperZ enabled. The Intel card renders without this particular problem (if slowly), and llvmpipe (eventual= ly) renders without issue too. Apitrace (~600MiB!): https://drive.google.com/open?id=3D0B6RX1ZACoaJ5UmhDWDM3ZC03eUk Desktop: Linux 4.13.0-rc5-43dd6fde5df4 #3 SMP PREEMPT Thu Sep 21 19:15:33 BST 2017 x86_64 GNU/Linux Mesa 17.3.0-devel (git hash #52ed3bca91ff13217378196d6800ca7113641a63) libdrm 2.4.83, LLVM 5.0.0 Laptop: Linux 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64 GNU/Linux Mesa 1.7.12, libdrm 2.4.83, LLVM 5.0.0 The corruption does look somewhat like that of this bug, but applied to ter= rain as well. https://bugs.freedesktop.org/show_bug.cgi?id=3D74784 --=20 You are receiving this mail because: You are the assignee for the bug.= --15062091050.cA92B.16721 Date: Sat, 23 Sep 2017 23:25:05 +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 102955
Summary HyperZ related rendering issue in ARK: Survival Evolved
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter e.singularitycat@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 134449<=
/a> [details]
The back buffer of apitrace frame 1017, showing red lines along what looks =
like
primitive edges.

Hi,

I've been poking "ARK: Survival Evolved", trying to get it playab=
le.
The game is notoriously buggy, particularly under Linux, however the biggest
issue I've had seems to be a Mesa/Radeon bug.

Blocky "pixelated" lines are drawn across what look like edges (s=
ee attached).
These lines are most frequently red, black or cyan in colour, and seem to
disappear when the scene complexity is lower (like when looking at the floo=
r or
an area with no foliage or rocks).

Setting R600_DEBUG=3Dnohyperz resolves the issue.

I've tested an apitrace of the game on both Mesa git, and 17.2.1 on a deskt=
op
with a POLARIS10 (RX580 8GiB), running the latest amd-staging-drm-next kern=
el,
and on a laptop with both Intel integrated graphics and a HAINAN (Sun XT?
8670M), running a stock Archlinux kernel.

Both AMD cards have this rendering issue with HyperZ enabled. The Intel card
renders without this particular problem (if slowly), and llvmpipe (eventual=
ly)
renders without issue too.

Apitrace (~600MiB!):
https://drive.google.com/open?id=3D0B6RX1ZACoaJ5UmhDWDM3ZC03eUk


Desktop:
Linux 4.13.0-rc5-43dd6fde5df4 #3 SMP PREEMPT Thu Sep 21 19:15:33 BST 2017
x86_64 GNU/Linux
Mesa 17.3.0-devel (git hash #52ed3bca91ff13217378196d6800ca7113641a63)
libdrm 2.4.83, LLVM 5.0.0

Laptop:
Linux 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64
GNU/Linux
Mesa 1.7.12,
libdrm 2.4.83, LLVM 5.0.0


The corruption does look somewhat like that of this bug, but applied to ter=
rain
as well. https://bugs.freedesktop.org/show_bug.c=
gi?id=3D74784


You are receiving this mail because:
  • You are the assignee for the bug.
= --15062091050.cA92B.16721-- --===============0314661903== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0314661903==--