protonscr

Missing DXGI installation leads to "Couldn't switch to requested monitor resolution" on 2.1

dxvkclosed
doitsujin/dxvk#3394 · opened 2023-05-04 by Barracuda72 · updated 2023-05-04 · 1 comments · github
BBarracuda72 2023-05-04 github

Just like it always happens, in the process of bug reporting I found a cause of a problem and fixed it =D
But I decided to still post this because it may help someone facing the similar issue: I haven't seen this recipe in the process of searching for the solution.

Original report follows:

Just upgraded from 1.10.3 onto 2.1 and discovered a problem: games don't launch with the following error (can't copy-paste it, so here's a screenshot):

Снимок экрана_2023-05-04_16-25-49

Decided to downgrade to DXVK 2.0 and it works without any problems. Downgrading to 1.10.3 works too.

Software information

Not game-related (all apps are affected)

System information

  • GPU: NVidia RTX 3070 Laptop connected to external display
  • Driver: Tried 525.89.02 and 530.41.03, same behaviour
  • Wine version: 8.7 Staging
  • DXVK version: 2.1

Solution:

I was installing DXVK into my wineprefix with the key --without-dxgi (I remember that at some point in time it was recommended). In this case, a game log file when launching on DXVK 2.1 will have a following information at the end of it:

warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  53cb4ff0-c25a-4164-a891-0e83db0a7aac
warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  0ec870a6-5d7e-4c22-8cfc-5baae07616ed
warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  53cb4ff0-c25a-4164-a891-0e83db0a7aac
warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  0ec870a6-5d7e-4c22-8cfc-5baae07616ed

Looking for a GUIDs in Google I found a Wine patchset related to DXGI. So, I've decided to try reinstalling DXVK without the switch in question and it helped, everything is working fine now.

BBarracuda72 2023-05-04 github

Closing as solved.

Nothing extracted yet.