Debug markers in PVRTraceGUI

This topic contains 4 replies, has 2 voices, and was last updated by  Dark_Photon 2 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #49363

    I just took the updated KHR_debug support in PowerVR SDK 3.5 (PVRVFrame + PVRTrace) for a spin. Thanks for the updates here!

    I do get debug markers showing up in my GL stream, but the string is truncated in PVRTraceGUI greatly reducing its utility.

    For example, this:

    glDebugMessageInsert[
                GL_DEBUG_SOURCE_APPLICATION_KHR,
                GL_DEBUG_TYPE_MARKER_KHR, 100,
                GL_DEBUG_SEVERITY_NOTIFICATION_KHR,
                -1, “TerrainRenderer::PrepareTaskBuildingShadows” ];

    ends up being displayed as:

    glDebugMessageInsert[ 0x824A, 0x8268, 100, 0x826B, -1, “TerrainRenderer::Prepare…” ]

    The string is just truncated so if you need the rest to disambiguate or get parameters that you’ve placed into the string (material name/index, view index, etc.), you’re somewhat out of luck.

    It looks like the entire string is being serialized by PVRTrace to the .pvrt file. So is there a way to change how much of the string is displayed in PVRTraceGUI?

    Thanks.

    #49382

    I just noticed that I can hover over the abbreviated string names in the GL call trace panel and it displays the whole string. So that’s a good work-around for now. Though it’d be nice to be able to see the full strings in the GL trace panel by default.

    #49384

    Getting a lot of PVRTraceGUI crashes with these trace logs too (SDK 3.5). I submitted ticket 461 with a .pvrt file so hopefully you’ll be able to reproduce there locally.

    #49390

    PaulL
    Admin

    The string is truncated to avoid potential issues with very long strings. The tooltip will always show the full string, as you’ve found. You could also try using the “File -> Export Data” option, see if that suits you better.

    It’s a bit of a compromise, so we’ll take it onboard as feedback, which is always welcome. Thanks!

    #49405

    Thank you!

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