Announcement

Collapse
No announcement yet.

Radeon HyperZ In Open-Source On Older Hardware

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

  • phoronix
    started a topic Radeon HyperZ In Open-Source On Older Hardware

    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

  • oibaf
    replied
    Originally posted by marek View Post
    oibaf> To turn off Hyper-Z, set: RADEON_DEBUG=nozmask,nohiz
    I tested 0 A.D. and openarena but with my RV530 I wasn't able to notice any performance difference at all. openarena also didn't print the 'radeon: Acquired Hyper-Z.' message.

    Leave a comment:


  • agd5f
    replied
    Originally posted by oibaf View Post
    Unfortunately xorg wiki editing is disabled at the moment due to the amount of spam.

    Leave a comment:


  • oibaf
    replied
    Thanks for the reply, I'll test tomorrow.

    Interestingly it looks this started with a problem detected by Coverity, so leaving bugged features merged but disabled has some usefulness.

    This pages should also be updated:

    Leave a comment:


  • marek
    replied
    keivan> Firefox won't benefit from Hyper-Z unless you are running some WebGL app. Hyper-Z only improves perfomance in the 3D apps which use a zbuffer and only if the bottleneck is bandwidth.

    oibaf> To turn off Hyper-Z, set: RADEON_DEBUG=nozmask,nohiz

    Leave a comment:


  • keivan
    replied
    Originally posted by marek View Post
    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.
    First of all, let me tell you that I really appreciate your works. In my case performance boost was more than what is shown in this benchmarks.

    However, I think it would be more appropriate to have some options other than what you think should be the default options for the most of the users. We live in the GNU word. There is always some specific conditions that a user, like me, wants to have non-default settings.

    In my case, I have turned on the power management options, and because of that performance of Firefox's smooth scrolling is poor.

    Leave a comment:


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

    Leave a comment:


  • marek
    replied
    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.

    Leave a comment:


  • smitty3268
    replied
    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.

    Leave a comment:


  • keivan
    replied
    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?

    Leave a comment:

Working...
X