protonscr

DC Universe Online alt tab render freeze

dxvkclosed d3d9
doitsujin/dxvk#3314 · opened 2023-03-27 by Blisto91 · updated 2023-05-03 · 2 comments · github
BBlisto91 2023-03-27 github

When you alt tab out and in in DC Universe Online with dxvk the renderer will freeze (or jiggle back and forth between last couple of frames) with the game still going on behind. This doesnt happen with wined3d but does happen when using dxvk on Windows.

Software information

DC Universe Online (fullscreen, haven't tried windowed yet)

System information

  • GPU: 7900xtx
  • Driver: mesa-git
  • Wine version: Proton bleeding edge
  • DXVK version: Every version that can launch the game.

Apitrace file(s)

Two traces, both made on Windows. One with dxvk and one with native.
When replaying both afterwards on Windows without dxvk it can be seen that the games renderer freezes when alt tabbed out of focus (intended i guess,) but in the one that was recorded with dxvk it never resumes the rendering after going in again, unlike native recorded version.
https://mega.nz/file/4oAV3RpJ#ddYibN84ACeM-j753TLRTtfYCvDClllY8FV4972z7f8

Log files

DCGAME_d3d9.log

KK0bin maintainer 2023-03-27 github

This seems to come down to the fact that DXVK doesn't emulate the D3D9 device lost behavior when losing focus in fullscreen.

BBlisto91 2023-03-27 github

Can confirm the above PR fixes the issue.

Nothing extracted yet.