Skip to content

Influence the behavior of DXVK_FILTER_DEVICE_NAME #1602

Description

@plasticbomb1986

Software information

For presentation: Call of Duty 2 Single Player (DX9, maximum settings.)

System information

  • GPU0:VEGA64 - connected Display, primary card in vulkan this get GPUid1
  • GPU1:VEGA64 - in vulkan this get GPUid0
  • Driver: MESA-git (Installed: 20.1.0_devel.122901.b4cc116339f-1)
  • Wine version: 5.6-staging (proton-tkg 5.6.1.hotfix.r0.g4c160ec8)
  • DXVK version: 1.6.0

Log files

The issue: The two GPu is identical, not counting the primary having the display connected to it. But in vulkan, the primary gpu get GPUid1 isntead of 0, and the secondary get 0 instead of 1, so when the DXVK_FILTER_DEVICE_NAME option looks for VEGA10, it finds both, and chooses 0, what is actually should be 1. However, there is a vulkan layer, to choose by GPUid, and not by name, and it works fine with 64bit games, but its not available for 32bit games, such as CoD2 ( WH40k:Space Marine, SWINE HD Remaster and a lot others). With the DXVK solution the problematic part is: "If the substring matches more than one device, the first device matched will be used."
What im asking for is an option, to instead of overriding by name and auto id choosing, give a similar option to override it by selecting GPUid right away. Since for checking device name, you need to use vulkaninfo anyway, at the same place you can check for GPUid too.

The mentioned vulkan layer is at: https://github.com/aejsmith/vkdevicechooser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions