From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88561] [radeonsi][regression, bisected] Depth test/buffer issues in Portal Date: Sun, 18 Jan 2015 17:34:27 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0671505543==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 326AE6E02A for ; Sun, 18 Jan 2015 09:34:27 -0800 (PST) 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 --===============0671505543== Content-Type: multipart/alternative; boundary="1421602467.AC04C0.11340"; charset="UTF-8" --1421602467.AC04C0.11340 Date: Sun, 18 Jan 2015 17:34:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88561 Bug ID: 88561 Summary: [radeonsi][regression,bisected] Depth test/buffer issues in Portal 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 Created attachment 112428 --> https://bugs.freedesktop.org/attachment.cgi?id=3D112428&action=3Dedit Bad frame With current Mesa master (commit 461103ef64858e9d81073fad1bd8222b70b2754b), (some) background geometry will be randomly drawn above foreground for some frames in Portal (also observed in the Portal mod Rexaura). It does not hap= pen often and the same scene may be fine depending on what was loaded before or just randomness. Bisecting blames commit 02ba7334d35cf8182048c17a149b16f18104c6bf Author: Marek Ol=C5=A1=C3=A1k Date: Sun Jan 4 22:16:53 2015 +0100 radeonsi: don't use TC L2 for updating descriptors on SI It's causing problems, because we mix uncached CP DMA with cached WRITE_DATA when updating the same memory. The solution for SI is to use uncached access here, because CP DMA does= n't support cached access. CIK will be handled in the next patch. Reviewed-by: Michel D=C3=A4nzer Simply reverting this commit on master causes other rendering issues. GPU: Radeon HD 7950 (OpenGL renderer string: Gallium 0.4 on AMD TAHITI) LLVM compiled from svn last week (r225584) GCC: 4.8.4 Kernel: Linux 3.18.2-gentoo Distro: Gentoo --=20 You are receiving this mail because: You are the assignee for the bug. --1421602467.AC04C0.11340 Date: Sun, 18 Jan 2015 17:34:27 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bug ID 88561
Summary [radeonsi][regression,bisected] Depth test/buffer issues in P= ortal
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

Created attachment 112428 [deta=
ils]
Bad frame

With current Mesa master (commit 461103ef64858e9d81073fad1bd8222b70b2754b),
(some) background geometry will be randomly drawn above foreground for some
frames in Portal (also observed in the Portal mod Rexaura). It does not hap=
pen
often and the same scene may be fine depending on what was loaded before or
just randomness.

Bisecting blames commit 02ba7334d35cf8182048c17a149b16f18104c6bf
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Sun Jan 4 22:16:53 2015 +0100

    radeonsi: don't use TC L2 for updating descriptors on SI

    It's causing problems, because we mix uncached CP DMA with cached
WRITE_DATA
    when updating the same memory.

    The solution for SI is to use uncached access here, because CP DMA does=
n't
    support cached access.

    CIK will be handled in the next patch.

    Reviewed-by: Michel D=C3=A4nzer <michel.daenzer@amd.com>

Simply reverting this commit on master causes other rendering issues.

GPU: Radeon HD 7950 (OpenGL renderer string: Gallium 0.4 on AMD TAHITI)
LLVM compiled from svn last week (r225584)
GCC: 4.8.4
Kernel: Linux 3.18.2-gentoo
Distro: Gentoo


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1421602467.AC04C0.11340-- --===============0671505543== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0671505543==--