Announcement

Collapse
No announcement yet.

Radeon HyperZ In Open-Source On Older Hardware

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Radeon HyperZ In Open-Source On Older Hardware

    Phoronix: Radeon HyperZ In Open-Source On Older Hardware

    Recently there has been a lot of talk about Hierarchical-Z/HyperZ support for R600g since its set to provide a measurable performance benefit the open-source Radeon driver for modern GPUs. This support has still not been mainlined and there are still a few issues to work out, but at least the support is stable for the older "R300g" driver and has been around for quite a while at this point. For those wondering what to expect from HiZ/HyperZ performance boosts, here is a preview.

    http://www.phoronix.com/vr.php?view=17084

  • #2
    That's the good thing in free software. Even users of older chip get some new cookies from time to time.
    And it shows that Hyper Z in use makes sense not only in theory.

    Is known what caused the strange behaviour in Nexuiz?

    Comment


    • #3
      Were there cards PCIExpress 2?

      Comment


      • #4
        Originally posted by FireBurn View Post
        Were there cards PCIExpress 2?
        i think PCIe2.0 begins somwhere with HD3400 cards (see wikipedia)

        actually calling it new cookies is... dunno...

        its just reinventing the wheel. closed drivers had this feature since the r100 days.

        yet im very thankful and happy for my old cards to work an a new OS with my old hardware. thanks to the devs!

        Comment


        • #5
          Originally posted by jakubo View Post
          its just reinventing the wheel. closed drivers had this feature since the r100 days.
          Sort of... if the old wheel had its tire slashed and then was thrown in the dump.

          Comment


          • #6
            Originally posted by Adarion View Post
            That's the good thing in free software. Even users of older chip get some new cookies from time to time.
            And it shows that Hyper Z in use makes sense not only in theory.

            Is known what caused the strange behaviour in Nexuiz?
            Let me start by saying that I do not want to diminish the efforts and contributions of the developers that worked on adding support of this feature to the FOSS drivers, nor do I disagree with the content or spirit of your post. Their effort is to be applauded, and I agree that it is nice that users of older hardware can now benefit from this tech once again. I would like to clarify that the only thing "new" about this particular cookie is it's inclusion into these particular FOSS drivers for these older chips. The tech is by no means new and it's usage in conjunction with these chips is not new (even in terms of FOSS drivers).

            Bravo.

            F

            Comment


            • #7
              HyperZ bugs

              I find it hard to believe that there were no corruptions or visual glitches in the tests. My RV530 is buggy as hell when RADEON_HYPERZ is set. However its possible that R520 works fine.
              BTW why testing two almost identical cards?

              Comment


              • #8
                Originally posted by Paulie889 View Post
                I find it hard to believe that there were no corruptions or visual glitches in the tests. My RV530 is buggy as hell when RADEON_HYPERZ is set. However its possible that R520 works fine.
                BTW why testing two almost identical cards?
                On my RV570 it was a sort of mixed bag. A lot of games worked fine, others only with major glitches and some with only occasional problems.

                Also, it should be pointed out that this is not exactly a new feature, I think most of the hyperz work in r300g was done by marek early/middle of last year?

                Comment


                • #9
                  Originally posted by whizse View Post
                  On my RV570 it was a sort of mixed bag. A lot of games worked fine, others only with major glitches and some with only occasional problems.

                  Also, it should be pointed out that this is not exactly a new feature, I think most of the hyperz work in r300g was done by marek early/middle of last year?
                  Yeah, and he gave up on ever turning it on by default because he couldn't get to the bottom of the glitches across all the different hardware that's supported.

                  Hopefully r600g has better luck.

                  Comment


                  • #10
                    How to enable HyperZ?

                    I have one of those r300 cards and I want to test HyperZ. Is there anybody knows how to enable it?
                    Thanks in advance

                    Comment


                    • #11
                      Originally posted by keivan View Post
                      I have one of those r300 cards and I want to test HyperZ. Is there anybody knows how to enable it?
                      Thanks in advance
                      Edit: first make sure you have the latest git code, as there are known bugs otherwise.

                      set the env var RADEON_HYPERZ and run piglit with parameters: -c 0

                      r500 hardware defaults on, r300/r400 need the environment variable set.

                      To double check it's on, watch stdout of the GL application for "radeon: Acquired Hyper-Z." And apparently the hardware only supports 1 app at a time with HyperZ, so make sure you aren't running more than 1. (compositors for desktop graphics are blacklisted).
                      Last edited by smitty3268; 12-02-2012, 11:28 PM.

                      Comment


                      • #12
                        Edit: first make sure you have the latest git code, as there are known bugs otherwise.

                        set the env var RADEON_HYPERZ and run piglit with parameters: -c 0

                        r500 hardware defaults on, r300/r400 need the environment variable set.

                        To double check it's on, watch stdout of the GL application for "radeon: Acquired Hyper-Z." And apparently the hardware only supports 1 app at a time with HyperZ, so make sure you aren't running more than 1. (compositors for desktop graphics are blacklisted).
                        RADEON_HYPERZ = 1
                        It was amazing!! Thanks. WAW!!
                        I'm not a gammer. I just need to enable this for unity or firefox. Is there a workaround for this?

                        Comment


                        • #13
                          Originally posted by keivan View Post
                          RADEON_HYPERZ = 1
                          It was amazing!! Thanks. WAW!!
                          I'm not a gammer. I just need to enable this for unity or firefox. Is there a workaround for this?
                          Well, you can rename the executable to avoid the blacklist, or you can edit the list directly here: http://cgit.freedesktop.org/mesa/mes...dcf0e0c3680688

                          Marek seemed to think desktop compositors didn't even trigger the z clears that hyperz gets activated on, but that Firefox did.

                          Comment


                          • #14
                            The motivation behind the blacklist is that Hyper-Z should be turned on for games and benchmarks while there is firefox and a compositor running in the background.

                            I think Hyper-Z for firefox is useless if you don't use WebGL.

                            Comment


                            • #15
                              Is there a way to disable it, just for benchmarking? RADEON_HYPERZ=0 seems to not work.

                              Comment

                              Working...
                              X