Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,882
    • Issues 2,882
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 905
    • Merge requests 905
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !13553

Merged
Created Oct 27, 2021 by Danylo Piliaiev@Danil🇺🇦Developer

tu: Implement VK_AMD_buffer_marker to support Graphics Flight Recorder

  • Overview 19
  • Commits 1
  • Pipelines 19
  • Changes 3

Graphics Flight Recorder is:

The Graphics Flight Recorder (GFR) is a Vulkan layer to help trackdown and identify the cause of GPU hangs and crashes. It works by instrumenting command buffers with completion tags.

See https://github.com/googlestadia/gfr

This is a nice little tool which could help quickly identify the call which hanged. Or if command buffer is executed for too long.

The tiling nature of our GPU shouldn't be a big issue aside from lower performance.

For non-segfault case, if:

  • Hang happens at the same place in cmdbuf and draw/dispatch is not finished at that point - it is likely that there is an infinite loop in some of the shaders in this draw.
  • Hang happens always in different place - likely there is nothing wrong and command buffer just takes too long to execute and you should try increasing hangcheck_period_ms. If it doesn't help it is likely a synchronization issue.

⚠ At the moment GFR unintentionally unconditionally requires VK_AMD_device_coherent_memory (https://github.com/googlestadia/gfr/issues/5), which should be patched out in order to use it on Turnip.

Edited Dec 03, 2021 by Danylo Piliaiev
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/turnip/VK_AMD_buffer_marker