You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing this game on Windows for another issue i noticed that it will crash with dxvk when you alt tab.
Default with dxvk without any configs the game will close down as soon as you alt tab out and it is minimized.
When using d3d9.deviceLossOnFocusLoss = True the game will not immediately crash upon a alt tab but it also doesn't work properly as the desktop mouse cursor will appear but the game Window will stay up on top of any other apps. You can force it down by doing a alt tab and then ctrl + alt + del and selecting task manager. When you then try to go back in to the game it will crash.
If d3d9.deviceLossOnFocusLoss = True is combined with d3d9.enableDialogMode = True you are able to alt tab out fine and if you don't touch anything else you can also alt tab back in. If you interact with anything while alt tabbed like clicking with the mouse the game will likely crash when you try to go back in. Same if you do it by clicking on the game icon in the taskbar.
So d3d9.deviceLossOnFocusLoss = True seems to improve the behavior as the game won't shut down immediately when you get to desktop, but it is still crash prone.
This have all been tested on Windows only so far. Linux testing pending but i was asked to make an issue
Software information
Assassin's Creed 2 fullscreen
System information
GPU: 7900xtx
Driver: 23.8.2
Wine version: Windows 11 only so far. Linux test pending See first comment
Two traces from Windows. One is native game where i alt tab out and in and second is with dxvk with d3d9.deviceLossOnFocusLoss = True and d3d9.enableDialogMode = True and it crashing when i try to go back in to the game.
Tested this on Linux with Proton Experimental now. The game will also crash here when i alt tab but a difference is that d3d9.deviceLossOnFocusLoss = True seems to make it work fully and i haven't gotten it to crash anymore using that unlike on Windows.
I have not checked how it behaves with regular upstream Wine yet to see if fshack or other Proton specific is making a difference here.
While testing this game on Windows for another issue i noticed that it will crash with dxvk when you alt tab.
Default with dxvk without any configs the game will close down as soon as you alt tab out and it is minimized.
When using
d3d9.deviceLossOnFocusLoss = True
the game will not immediately crash upon a alt tab but it also doesn't work properly as the desktop mouse cursor will appear but the game Window will stay up on top of any other apps. You can force it down by doing a alt tab and then ctrl + alt + del and selecting task manager. When you then try to go back in to the game it will crash.If
d3d9.deviceLossOnFocusLoss = True
is combined withd3d9.enableDialogMode = True
you are able to alt tab out fine and if you don't touch anything else you can also alt tab back in. If you interact with anything while alt tabbed like clicking with the mouse the game will likely crash when you try to go back in. Same if you do it by clicking on the game icon in the taskbar.So
d3d9.deviceLossOnFocusLoss = True
seems to improve the behavior as the game won't shut down immediately when you get to desktop, but it is still crash prone.This have all been tested on Windows only so far. Linux testing pending but i was asked to make an issue
Software information
Assassin's Creed 2 fullscreen
System information
Linux test pendingSee first commentApitrace file(s)
https://drive.proton.me/urls/QDG5P4RTB4#QDx3b0yg3NsK
Two traces from Windows. One is native game where i alt tab out and in and second is with dxvk with
d3d9.deviceLossOnFocusLoss = True
andd3d9.enableDialogMode = True
and it crashing when i try to go back in to the game.Log files
AssassinsCreedIIGame_d3d9.log
The text was updated successfully, but these errors were encountered: