Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d3d9] The First Templar has lighting issues, not present with wined3d #4291

Closed
Leopard1907 opened this issue Sep 24, 2024 · 2 comments · Fixed by #4292
Closed

[d3d9] The First Templar has lighting issues, not present with wined3d #4291

Leopard1907 opened this issue Sep 24, 2024 · 2 comments · Fixed by #4292
Labels

Comments

@Leopard1907
Copy link
Contributor

Leopard1907 commented Sep 24, 2024

Software information

The First Templar, GOG copy, all settings set to maximum possible

System information

  • GPU: 7900 XTX
  • Driver: Mesa 24.2.3
  • Wine version: Proton Experimental
  • DXVK version: Whatever Experimental has as of now

Apitrace file(s)

wined3d trace:

https://drive.google.com/file/d/1Et4a9dbP9nOk7I3Nfkv8muZcozK26lhh/view?usp=sharing

dxvk trace:

https://drive.google.com/file/d/1PSOT1wePe9PWaDDG6_iLywewEsvOpWmp/view?usp=sharing

Log files

Proton log:
steam-heroic-The First Templar.log

Shows a bunch of:

err:   DxvkContext: copyImageFb: Unsupported operation:
err:     srcFormat = VK_FORMAT_D32_SFLOAT_S8_UINT (aspect 6)
err:     dstFormat = VK_FORMAT_D32_SFLOAT (aspect 2)

Screenshots that shows the issue

Ekran Görüntüsü_20240924_213851
Ekran Görüntüsü_20240924_214014
Ekran Görüntüsü_20240924_214027

@K0bin K0bin added the d3d9 label Sep 24, 2024
@K0bin
Copy link
Collaborator

K0bin commented Sep 24, 2024

90 @0 IDirect3DDevice9::CreateDepthStencilSurface(this = 0xd4240f0, Width = 2560, Height = 1440, Format = D3DFMT_D24S8, MultiSample = D3DMULTISAMPLE_NONE, MultisampleQuality = 0, Discard = TRUE, ppSurface = [0xd4c6430], pSharedHandle = NULL) = D3D_OK
89 @0 IDirect3DDevice9::CreateTexture(this = 0xd4240f0, Width = 2560, Height = 1440, Levels = 1, Usage = D3DUSAGE_DEPTHSTENCIL, Format = D3DFMT_DF24, Pool = D3DPOOL_DEFAULT, ppTexture = [0xd4c92e8], pSharedHandle = NULL) = D3D_OK

10533570 @0 IDirect3DDevice9::SetDepthStencilSurface(this = 0xd4240f0, pNewZStencil = 0xd4c6430) = D3D_OK
10561899 @0 IDirect3DDevice9::SetTexture(this = 0xd4240f0, Stage = 0, pTexture = 0xd4c92e8) = D3D_OK // RESZ

@Leopard1907
Copy link
Contributor Author

Referenced PR fixes the issue. Thanks for the quick fix.
Ekran Görüntüsü_20240925_014059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants