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 23:05:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1567597880==" 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 323CF89467 for ; Fri, 14 Jun 2019 23:05:54 +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 --===============1567597880== Content-Type: multipart/alternative; boundary="15605535541.91cE6.2611" Content-Transfer-Encoding: 7bit --15605535541.91cE6.2611 Date: Fri, 14 Jun 2019 23:05:54 +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 Dieter N=C3=BCtzel changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maraeo@gmail.com, | |michel@daenzer.net --- Comment #38 from Dieter N=C3=BCtzel --- (In reply to Richard Thier from comment #37) > (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. >=20 > Good idea. >=20 > Can you test if HyperZ works for you without any changes? Sorry, I'haven't any system for r300 (PCI/AGP) handy. Latest here HD 4650, RV730 AGP (1 GB !), r600 (see older bug reports...;-) But not booted for nearly 2 years... Maybe I have an older r300 one (yep, 9550), but I have to dig in the baseme= nt for it, if you need. > The progress I > made basically only works on my machine but above cosiekvfj seems to have= no > issues despite having the same card. You made GREAT progress! We have to ping Michel D=C3=A4nzer and Marek Ol=C5=A1=C3=A1k for your open = questions. (see CC list) > 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. >=20 > Oh and keep in mind that I have no HiZ RAM! So if I measure speed gains > others might measure a higher gain if they have HiZ RAM too as I think th= is > way I have no hierarchical Z-buffer at all - when bigger tiles store min = or > max z values of theirs and first they are compared not pixels - but I have > this compressed Z-buffer or zmask_ram - latter which is a lossless > compression of the zbuffer. I read that they use tricks like storing the > one-two triangles directions basically for whole tiles to save some bandw= ith > and/or indicate if a tile is compressed or not at all. >=20 > 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.= --15605535541.91cE6.2611 Date: Fri, 14 Jun 2019 23:05:54 +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 Dieter N=C3=BCtzel changed bug 11089= 7
What Removed Added
CC   maraeo@gmail.com, michel@daenzer.net

Comme= nt # 38 on bug 11089= 7 from Dieter N=C3=BCtzel
(In reply to Richard Thier from comment #37)
> (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.
>=20
> Good idea.
>=20
> Can you test if HyperZ works for you without any changes?

Sorry,

I'haven't any system for r300 (PCI/AGP) handy.
Latest here HD 4650, RV730 AGP (1 GB !), r600 (see older bug reports...;-)
But not booted for nearly 2 years...
Maybe I have an older r300 one (yep, 9550), but I have to dig in the baseme=
nt
for it, if you need.

> The progress I
> made basically only works on my machine but above cosiekvfj seems to h=
ave no
> issues despite having the same card.

You made GREAT progress!

We have to ping Michel D=C3=A4nzer and Marek Ol=C5=A1=C3=A1k for your open =
questions.
(see CC list)

> Actually if the gb_pipes number is wrong then th=
e error is not even in the
> HyperZ code, but in the code that returns the wrong value from drm - t=
hat
> HyperZ code is just using.
>=20
> Oh and keep in mind that I have no HiZ RAM! So if I measure speed gains
> others 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 m=
in or
> max z values of theirs and first they are compared not pixels - but I =
have
> this compressed Z-buffer or zmask_ram - latter which is a lossless
> compression of the zbuffer. I read that they use tricks like storing t=
he
> one-two triangles directions basically for whole tiles to save some ba=
ndwith
> and/or indicate if a tile is compressed or not at all.
>=20
> This latter seems to help memory bandwith in case the triangles are bi=
gger
> than the tiles (typically: walls in a game maybe?).


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