Generate trace.pvrt on Windows not sucess…

This topic contains 3 replies, has 3 voices, and was last updated by  Ellison 5 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30906

    Ellison
    Member

    I have put UtilitiesPVRTraceRecorderOGLES2WindowsX86 libEGL.dll, libGLESv2.dll, PVRTrace.dll  to DemosSkybox2OGLES2BuildWindowsVC2008Debug

    And then I execute OGLES2Skybox2.exe, it generates pvrtrace.cfg and trace.pvrt. But trace.pvrt doesn’t be recoded successfully, The execution file is closed quickly.

    The content in the pvrtrace.cfg is:
    [host]
    EglLibraryPath = libEGL.dll
    Es1LibraryPath = libGLES_CM.dll
    Es2LibraryPath = libGLESv2.dll
    Es3LibraryPath =

    [record]
    TraceFile = trace.pvrt
    RecordData = 1
    StartFrame = 0
    EndFrame = 100

    Network = 0

    I think whether there is a problem on the *.dll files.

    #35940

    Joe Davis
    Member

    Hi Ellison,

    The pvrtrace,cfg file [host] paths must point to the PVRVFrame emulation libraries when recording on Windows. If, for example, you created a PVRVFrame folder in your Debug directory, copied the PVRVFrame libEGL, libGLES_CM & libGLESv2 libraries to the PVRVFrame folder and then updated your pvrtrace.cfg file with the following, then the recording should work 🙂

    EglLibraryPath = PVRVFramelibEGL.dll
    Es1LibraryPath =
    PVRVFramelibGLES_CM.dll
    Es2LibraryPath =
    PVRVFramelibGLESv2.dll
    [/CODE]

    [CODE]
    EglLibraryPath = PVRVFramelibEGL.dll
    Es1LibraryPath =
    PVRVFramelibGLES_CM.dll
    Es2LibraryPath =
    PVRVFramelibGLESv2.dll
    [/CODE]

    #35941

    DGonzalez
    Member

    Hi Ellison,

    PVRTraceRecord libraries is not an instrumental driver, you need to provide PVRTrace with the location of the driver in the [host] section.

    For windows, PVRVFrame, our ES emulator, provide the driver for PVRTrace Record Library so the only small change you have to do is pointing to the location of your current PVRVFrame’s folder.

    Example:

    [host]
    EglLibraryPath = c:PowerVRSDKUtilitiesPVRVFrameOGLES-2.0Windows_x86_32libEGL.dll
    Es1LibraryPath = c:PowerVRSDKUtilitiesPVRVFrameOGLES-1.1Windows_x86_32libGLES_CM.dll
    Es2LibraryPath = c:PowerVRSDKUtilitiesPVRVFrameOGLES-2.0Windows_x86_32libGLESv2.dll

    Please, remove the Es3LibraryPath entry from your pvrtrace.cfg.

    Regards,

    David

    #35942

    Ellison
    Member

    Thanks. I solve my issue after modifying the library path in pvrtrace.cfg with PVRVFrame. However, I found another problem,  if I use RecordData = 1 in pvrtrace.cfg, PVRTraceGUI.exe in WindowsXP won’t display normally and sometime will occur run-time error, but it is fine in Windows7.

    Ellison2012-07-02 10:40:46

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.