Skip to content

[vk-video] Small video files produced on some AMD graphics cards #1745

@landaire

Description

@landaire

I'll say up front that I do not have sufficient information or reproduction steps, but wanted to file this issue to maybe get the ball rolling and see if this is maybe a known issue.

I have an application which supports reading some match replay files from a videogame and producing a video showing what happened in the match. The application is written using egui for the UI and wgpu for the rendering backend, albeit v27.

Two users with AMD graphics cards reported files <1MiB, which should typically be in the ~10-20MiB range. The cards are:

  • 6700XT
  • 6600XT

They also report seeing an AMD error:

Image

The video encoder can be found here: https://github.com/landaire/wows-replays/blob/5418f57d49f8c3085705233ed8cfb827697e36c4/minimap-renderer/src/video.rs#L48-L190. While Claude heavily assisted with this aspect of the application, the encoder looks quite similar to the encoder example and the encoder seems to work mostly fine on NVIDIA graphics cards.

Before I ask these users for video samples, is there any sort of information I should request which may be useful in debugging the issue further?

Metadata

Metadata

Assignees

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