protonscr

Far Cry 3: text and UI elements not visible with d3dx:D3DX11GetImageInfoFromMemory

dxvkclosed wine bugd3d9
doitsujin/dxvk#3669 · opened 2023-09-23 by Fabxx · updated 2024-01-07 · 6 comments · github
FFabxx 2023-09-23 github

Please describe your issue as accurately as possible.

If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Far Cry 3, running from farcry3_d3d11.exe
running from farcry3.exe, which should be d3d9 makes
the game go blackscreen.
on DX11 mode, text and some UI menu elements are not visible.

System information

  • GPU: RTX 3060 Dual OC 12GB
  • Driver: 535.98
  • Wine version: 8-14
  • DXVK version: lastes one from winetricks.

Apitrace file(s)

  • If i try to use Apitrace without dxvk i cannot reproduce this issue, instead i get a different behavior.

Log files

log.txt

BBlisto91 2023-09-23 github

The d3d11 issue is a Wine bug since dxvk doesn't implement the d3dx dll's. Installing the native d3dx11_43 dll through winetricks should work around it.

The d3d9 issue i will poke a bit at thanks

BBlisto91 2023-09-23 github
Aaxet 2024-01-05 github

Seems like D3DX11GetImageInfoFromMemory has been implemented by wine, but not implemented by dxvk (I could be mistaken)

https://www.phoronix.com/news/Wine-Staging-6.16

Mmbriar 2024-01-05 github

D3DX11 will not be implemented by DXVK, D3DX works on top of D3D and wine's implementation (and also microsoft's implementation that can be installed with winetricks) should work with DXVK.

Aaxet 2024-01-07 github

Thanks mbriar. Indeed installing d3dx11_43 fixing the issue. I guess phoronix article about D3DX11GetImageInfoFromMemory has been implemented in wine 6.16 isn't correct. I'm using wine 8.21 and this method still throws an exception "Not implemented"

KK0bin maintainer 2024-01-07 github

The patch probably just hasn't made it from Staging into regular Wine yet.

Nothing extracted yet.