protonscr

[d3d8] Chessmaster 9000 spams "VK_ERROR_INCOMPATIBLE_DRIVER" errors

dxvkclosed
doitsujin/dxvk#4597 · opened 2025-01-09 by WinterSnowfall · updated 2025-01-10 · 4 comments · github
WWinterSnowfall 2025-01-09 github

Chessmaster 9000 uses d3d8 partial presentation, so it ends up on the GDI path and constantly spews out:

err: D3D9SwapChainEx: Failed to recreate surface: VK_ERROR_INCOMPATIBLE_DRIVER

This doesn't appear to affect gameplay, at least it's not less functional than it is with WineD3D, so it's more of an inconvenience, but still would be great if we could fix whatever's causing this.

I've captured an apitrace, but it doesn't reproduce the problem, since it doesn't end up on the partial presentation path during replay (I guess).

Software information

Chessmaster 9000, retail copy

System information

  • GPU: RTX 4060
  • Driver: 535.183.01
  • Wine version: 9.17 Staging
  • DXVK version: 2.5.2+

Apitrace file(s)

Chessmaster.tar.xz

Log files

Chessmaster.log

Ddoitsujin maintainer 2025-01-09 github

Does this only happen on NV? VK_ERROR_INCOMPATIBLE_DRIVER isn't something that we should ever see during swapchain creation.

WWinterSnowfall 2025-01-09 github

Does this only happen on NV?

Nope, behaves the same on Intel/anv: Chesmaster_Intel.log

Ddoitsujin maintainer 2025-01-10 github

The only thing that returns INCOMPATIBLE_DRIVER in Proton seems to be this:

https://github.com/ValveSoftware/wine/blob/3e4edd34b6f571276272fa1d8dbbbb2a32e9d0a9/dlls/winex11.drv/vulkan.c#L638-L648

Seems to be some windowing nonsense that's outside our control.

WWinterSnowfall 2025-01-10 github

Oh, child window memery, got it - the situation on that front might even be worse in Wine Staging. I'll close this then since a) the game works fine anyway b) it's not related to dxvk.

Nothing extracted yet.