Skip to content

Log readable AMD driver version string to avoid relying on GPUOpen amdversions.xml #18029

@AniLeo

Description

@AniLeo

Just something to keep in mind: AMD drivers on Windows have an internal Vulkan driver version that does not match the public driver version. We don't know what drivers users are running on based on their log file without manually checking amdversion.xml, or using the RPCS3 Bot's Log Analysis, which also relies on this file.

We can get the AMD driver version from registry from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}

This should be accessible even without administrator permissions, as regular users have read-only access to HKEY_LOCAL_MACHINE

With the "Display Adapters" GUID from this list: https://learn.microsoft.com/en-us/windows-hardware/drivers/install/system-defined-device-setup-classes-available-to-vendors

With this, we could have the public driver version on the log such as "25.12.1" instead of the "2.0.373" internal vulkan driver version, while also not relying on a hard-coded .xml that will not be future-proof as it does not contain newer drivers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions