Search Unity

Nvidia PerfHUD

Discussion in 'Editor & General Support' started by cybie, Nov 11, 2010.

  1. cybie

    cybie

    Joined:
    Sep 17, 2010
    Posts:
    91
    I have read people using Nvidia PerfHUD to profile Unity applications. But how is that possible? PerfHUD requires code changes to the application.

    Can someone verify that it is possible to use PerfHUD in Unity, and how?

    Thanks
    David
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Unity has the code in place to detect if it is fired through perfhud and switches to the corresponding perfhud dx device to work
     
  3. cybie

    cybie

    Joined:
    Sep 17, 2010
    Posts:
    91
    Additional information: when I run PerfHUD with my Unity player, the PerfHUD graphs on the screen displays "Data unavailable - Failed to Initialize NVIDIA PerfSDK".
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    hmm interesting in that case the support must either have dropped out in U3 (haven't tested, the project I'm on is 2.6.1) or you used the wrong one (for unity you must install the one that perfs 32bit ones. if you are on Win 64bit you must install the perf hud one that lets you test 32bit on 64bit or it will fail)
     
  5. cybie

    cybie

    Joined:
    Sep 17, 2010
    Posts:
    91
    I did make sure I download the Win7 64bit OS and 32bit app. I am updating my video driver to see if that will make it work.

    Thanks
     
  6. cybie

    cybie

    Joined:
    Sep 17, 2010
    Posts:
    91
    Still not working even with the latest driver :(
     
  7. cybie

    cybie

    Joined:
    Sep 17, 2010
    Posts:
    91