Skip to content

32bit Direct3D 9 games via DXVK will not launch [AMD 7900XTX] #66

@sonic2kk

Description

@sonic2kk

I have been using mesa-tkg-git from the Chaotic AUR for some time, but recently it seems that 32bit Direct3D 9 applications running via DXVK will not run. Direct3D 11 applications seem to work fine as I've been playing some for a while. I have not noticed this as I have mainly been playing native Vulkan applications without issue.

I am using an AMD 7900XTX GPU.

The issues I am experiencing happen with "Borderlands 2 (49520)" and "Geometry Wars: Retro Evolved (8400)". These titles now run correctly after switching back to stable Mesa on Arch Linux.

Inspecting the Proton Log for these titles, they share the same error with Proton 10-based builds of compatibility tools. Using GE-Proton10-15, the error looks like this:

info:  Game: Borderlands2.exe
info:  DXVK: v2.7-46-gbcb0abde99af4c8
info:  Build: x86 gcc 10.3.0
info:  Found built-in config:
info:    d3d9.floatEmulation = Strict
info:    d3d9.supportDFFormats = False
info:    d3d9.lenientClear = True
info:  Effective configuration:
info:    d3d9.lenientClear = True
info:    d3d9.supportDFFormats = False
info:    d3d9.floatEmulation = Strict
156.551:0138:013c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winevulkan.dll" at 775B0000: builtin
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x775c20a0
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_KHR_win32_surface
156.551:0138:013c:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-9
err:   DxvkInstance::createInstance: Failed to create Vulkan instance

This is from Borderlands 2, but Geometry Wars had the same error. I tried both with Proton 9.0-4, and the error message was slightly different, but shared between the two titles. I sadly do not have the logs for those anymore; they were lost throughout my testing.

I am not a graphics expert but the last two lines, especially wine_vkCreateInstance Failed to create instance, res=-9, are what make me suspect this is an issue with either 32bit applications and DXVK (perhaps specifically when trying to play Direct3D 9 titles), or the 32bit Vulkan drivers with Mesa from git.

Perhaps this issue is worded incorrectly, or missing some key details, and maybe this is specifically an upstream problem for either Mesa, Chaotic-AUR, or DXVK, so please don't hesitate to direct me! I have a workaround for now by rolling back to a release of Mesa, and am perfectly happy to just stick with this for a bit if this is a temporary breakage elsewhere. But if there is a package or step I am missing to get mesa-tkg-git to work again or otherwise something I am doing wrong, I'm equally happy to fix it and go back to mesa-tkg-git :-)

Thanks!

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