Skip to content

GPU Freeze if vkQueueSubmit contains no command buffers #114

@thynnmas

Description

@thynnmas

Hi,

Unless I am misreading the spec, vkQueueSubmit may contain no queues (submitCount of 0), which in combination with a fence & can be used implicit synchronization gruanatees can be useful in some cases.

In the latest versino of RGP, if a submit contains no command buffer, the following behavior is observed:

  1. The application crashes in vkQueueSubmit in the amd driver.
  2. RGP's connection times out and it shows an error that profiling failed.
  3. The computer's display freezes, and does not recover. A hard reset is required.

Submitting a single empty command-buffer works around the issue.

I've attached a small repro (adapted from this) which has an extra entirely empty submit. The issues reproduces with this program for my by running it with RDP open, and triggering a capture.
repro.zip

RGP Version v3.3.1.26
Driver version: 25.10.13.01-250526a-416003C-AMD-Software-Adrenalin-Edition
GPU: AMD Radeon RX 5700

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions