doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.41k stars 866 forks source link

[d3d9] No menu sounds on GTA IV after alt-tabbing #2089

Closed zanesix closed 2 years ago

zanesix commented 3 years ago

There is a minor issue with GTA IV Complete edition where if you alt-tab out of the game, all menu sounds will disappear until you restart the game. This can be easily reproduced in the main menu, just start up the game, alt-tab in and back out, and move around in the menus and hear no sound. I have tested this on 2 PCs with one other person reporting it as well.

Software information

Grand Theft Auto IV Complete Edition, version 1.2.0.43, with these setting changed in dxgi.conf: dxgi.maxFrameLatency = 1 d3d9.maxFrameLatency = 1

System information

Apitrace file(s)

N/A

Log files

Squall-Leonhart commented 3 years ago

don't use the dxgi file for GTA IV

I have no replication of this issue.

K0bin commented 3 years ago

GTA IV does weird stuff when you alt-tab, especially on Windows. There should be no way that DXVK ever influences sound and I have no idea what is going on.

Squall-Leonhart commented 3 years ago

I have a reproduction, its probably window handle related.

Markie98 commented 3 years ago

Also having this issue, replicated it in the first attempt. Loading screen music and a few other small sounds in-game seem like they might break too.

CrezyDud commented 3 years ago

on linux too also when using wine d3d

CrezyDud commented 3 years ago

not on older versions of the game (i tested 1.0.7.0.)

CrezyDud commented 3 years ago

the older versions seem to be more stable with alt tabbing

K0bin commented 3 years ago

Yes, other people have found that out before. It's some change in the update that removed GFWL.

Adiker commented 2 years ago

The issue doesn't happen for me on newest game version (1.0.8.0) on Linux but it exists on Windows 10. For me it seems it's related to the freeze during loading missions after alt-tabbing out of the game.

Markie98 commented 2 years ago

Just tested it, this problem no longer happens with DXVK 1.9.3.

Adiker commented 2 years ago

Just tested it, this problem no longer happens with DXVK 1.9.3.

Just tested now with 1.9.4 and really this is fixed ! I wonder what was the issue there...