doitsujin / dxvk

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

No sound from the Watch Dogs game #400

Closed debiangamer closed 6 years ago

debiangamer commented 6 years ago

Software information

Watch Dogs from Uplay

System information

The sound was working before I installed DXVK. Winecfg can play a test sound. Can not find dxvk log files.

Kerrung commented 6 years ago

@debianxfce dxvk log files this is in the same folder as the game.exe file.

debiangamer commented 6 years ago

Thanks, a couple of graphics related warnings and errors there. Nothing about sound. The sound works in Unreal Gold and Galactic Civilisations II games. Watch_Dogs_d3d11.log Watch_Dogs_dxgi.log

Kerrung commented 6 years ago

@debianxfce, can you write apitrace?

doitsujin commented 6 years ago

I'm aware that Watch Dogs doesn't output sound, but DXVK has nothing to do with sound at all. Not sure why it would cause such an issue.

@Kerrung apitrace does not help at all in this case.

Yar4e commented 6 years ago

@debianxfce Try to set sound output to ALSA in WINE: winetricks sound=alsa. Or if you already set it to ALSA before then set it to PULSE: winetricks sound=pulse. I had similar issues in the past and this solution solves the problem.

caiot5 commented 6 years ago

I have the same issue here but I've not tested it before I installed the wine-staging so it might rather be related to wine-staging than dxvk since dxvk has nothing to do with audio whatsoever.

caiot5 commented 6 years ago

I can confirm now that it is NOT related in any way to DXVK. I created a new wine prefix with wine3d and the problem persists, @debianxfce I think it is really the wine-staging version which broke the sound. Try again with an older wine version and see if the problem persists (and you will not have a working dxvk setup with that old wine, of course, but it is just for testing purposes)

Alllgator343 commented 6 years ago

One of visitors of forum "Lutris" (tuxtergames) said:

"Unfortunatly, not working, but I found a way, just add a “dwrite” dll in wine Library and desactivated, some games here plays without sound, like GTA V, then I need to check disable runtime and reduce pulse audio latence, then everything works".

I didn't try it, because i don't understand this instruction.

rwnicholas commented 6 years ago

image

For pulseaudio latency you can use environment variable -> PULSE_LATENCY_MSEC=60

Alllgator343 commented 6 years ago

MarechalLima thank you very much. But with disabled "dwrite" dll "uplay" doesn't work.

caiot5 commented 6 years ago

@MarechalLima tried with PULSE_LATENCY_MSEC=60 and dwrite disabled, I was able to launch the game (cracked version doesn't relies on Uplay to launch) but also there's no sound =(

xpander69 commented 6 years ago

if you have the non legit version then try setting windows xp mode from winecfg, i hear some people got the sound working like that, but for me in win xp mode uplay doesn't launch. the weird thing is at one point my sound worked fine for this (when i recorded a youtube video). the sound dissapeared once i alt+tabbed the game and it never came back and now it doesnt work at all. I have no idea whats the issue, some focus thingy maybe? like its trying to mute audio when loosing focus and maybe when its launched in wine it somehow thinks thats its not in the focus.. just maybe... random speculation.

anyway this bug has nothing to do with dxvk afaik.

caiot5 commented 6 years ago

changing from windows xp / windows 7 / windows 7 doesn't do anything with the audio for me =(

caiot5 commented 6 years ago

I think we can move this topic to subreddit /linuxgames or wine bug tracker and let @doitsujin and dxvk team work with real dxvk issues.

debiangamer commented 6 years ago

There is sound in the main menu but not in while gaming. Subtitles are also missing. Those would help get pass the Not That Pizza Boy escape chapter. Tried to set to win10 and winetricks sound=alsa. I use Alsa in my Debian system, pulseaudio is shit. Using dxvk 0.54 binary release.

Missing subtitles is a rendering issue and could be fixed with dxvk.

Sound works with wine-staging but rendering not.

pingubot commented 6 years ago

Is it possible to close that issue if it is not dxvk related at all ? Many thx !

strycore commented 6 years ago

You can use the WinXP mode with the Uplay version too. You need to set the Windows version for the specific Watch_Dogs executable and leave the default version to Win7 / Win10.

Also, this is unrelated to DXVK and can probably be closed.

doitsujin commented 6 years ago

Right.