From: bugzilla-daemon@freedesktop.org Subject: [Bug 110897] HyperZ is broken for r300 (bad z for some micro and macrotiles?) Date: Fri, 14 Jun 2019 22:11:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1201789239==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 632B68976D for ; Fri, 14 Jun 2019 22:11:07 +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 --===============1201789239== Content-Type: multipart/alternative; boundary="15605502670.0C7659E.19941" Content-Transfer-Encoding: 7bit --15605502670.0C7659E.19941 Date: Fri, 14 Jun 2019 22:11:07 +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=3D110897 --- Comment #37 from Richard Thier --- (In reply to Dieter N=C3=BCtzel from comment #35) > Hello Richard, >=20 > very NICE progress! >=20 > Maybe you can run 'glmark2' with/without HyperZ. Good idea. Can you test if HyperZ works for you without any changes? The progress I ma= de basically only works on my machine but above cosiekvfj seems to have no iss= ues despite having the same card. Actually if the gb_pipes number is wrong then the error is not even in the HyperZ code, but in the code that returns the wrong value from drm - that HyperZ code is just using. Oh and keep in mind that I have no HiZ RAM! So if I measure speed gains oth= ers might measure a higher gain if they have HiZ RAM too as I think this way I = have no hierarchical Z-buffer at all - when bigger tiles store min or max z valu= es of theirs and first they are compared not pixels - but I have this compress= ed Z-buffer or zmask_ram - latter which is a lossless compression of the zbuff= er. I read that they use tricks like storing the one-two triangles directions basically for whole tiles to save some bandwith and/or indicate if a tile is compressed or not at all. This latter seems to help memory bandwith in case the triangles are bigger = than the tiles (typically: walls in a game maybe?). --=20 You are receiving this mail because: You are the assignee for the bug.= --15605502670.0C7659E.19941 Date: Fri, 14 Jun 2019 22:11:07 +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

Comme= nt # 37 on bug 11089= 7 from = Richard Thier
(In reply to Dieter N=C3=BCtzel from comment #35)
> Hello Richard,
>=20
> very NICE progress!
>=20
> Maybe you can run 'glmark2' with/without HyperZ.

Good idea.

Can you test if HyperZ works for you without any changes? The progress I ma=
de
basically only works on my machine but above cosiekvfj seems to have no iss=
ues
despite having the same card.

Actually if the gb_pipes number is wrong then the error is not even in the
HyperZ code, but in the code that returns the wrong value from drm - that
HyperZ code is just using.

Oh and keep in mind that I have no HiZ RAM! So if I measure speed gains oth=
ers
might measure a higher gain if they have HiZ RAM too as I think this way I =
have
no hierarchical Z-buffer at all - when bigger tiles store min or max z valu=
es
of theirs and first they are compared not pixels - but I have this compress=
ed
Z-buffer or zmask_ram - latter which is a lossless compression of the zbuff=
er.
I read that they use tricks like storing the one-two triangles directions
basically for whole tiles to save some bandwith and/or indicate if a tile is
compressed or not at all.

This latter seems to help memory bandwith in case the triangles are bigger =
than
the tiles (typically: walls in a game maybe?).


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