Skip to content

Vulkan: fixes driver name concatenation on multi-GPU systems - #2620

Merged
CarterLi merged 2 commits into
fastfetch-cli:devfrom
ihsandeniz:fix/vulkan-driver-name
Sep 27, 2026
Merged

CarterLi merged 2 commits into
fastfetch-cli:devfrom
ihsandeniz:fix/vulkan-driver-name

Conversation

@ihsandeniz

Copy link
Copy Markdown
Contributor

Summary

applyDriverName appends to the result buffer without clearing it. When a later device reports a higher API version, its driver name is appended to the name of the earlier device instead of replacing it, as the comment in detectVulkan intends. Details in #2619.

Related issue (required for new logos for new distros)

Closes #2619

Changes

Screenshots

Not a visual change. Same machine (AMD Raphael iGPU with radv + NVIDIA RTX 5060 with the proprietary driver):

unmodified (10/10 runs):  Vulkan  1.4.354 - NVIDIA [615.71.09]radv [Mesa 26.2.2-arch1.1]
this PR     (10/10 runs):  Vulkan  1.4.354 - radv [Mesa 26.2.2-arch1.1]

Checklist

  • I have tested my changes locally.

Built on dev @ 9801d89. ctest passes (19/19) with -DBUILD_TESTS=ON, and clang-format-diff reports nothing for the changed lines.

applyDriverName appended to the result buffer without clearing it. When
a later device reported a higher API version, its driver name was
appended to the name of the earlier device instead of replacing it, as
the comment in detectVulkan intends.
fastfetch-cli#2616 was opened after 2.69.0 had been released, but its entry was
written under 2.69.0 Bugfixes, so the changelog listed the fix as part
of 2.69.0.
@CarterLi
CarterLi merged commit 676dbcf into fastfetch-cli:dev Sep 27, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Vulkan: driver name of a previous device is concatenated on multi-GPU systems

2 participants