ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.86k stars 1.04k forks source link

Medieval Dynasty (1129580) #4219

Open wofferl opened 3 years ago

wofferl commented 3 years ago

Compatibility Report

System Information

I confirm:

steam-1129580.log

Symptoms

Cut scenes only work with the Proton-GE build. No Audio at all. Installed Faudio, but didn't help.

protontricks 1129580 faudio protontricks 1129580 xact

14661.341:00e4:00e8:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\FAudio.dll" at 0x6d840000: native
14661.341:00e4:00e8:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\X3DAudio1_7.dll" at 0x668c0000: native
14664.329:00e4:00e8:trace:loaddll:load_native_dll Loaded L"Z:\\data\\steam\\steamapps\\common\\Medieval Dynasty\\Engine\\Binaries\\ThirdParty\\Windows\\XAudio2_9\\x64\\xaudio2_9redist.dll" at 0x33d0000: native
14664.378:00e4:00e8:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\XAudio2_7.dll" at 0x15eb0000: native

Reproduction

Start the game.

kisak-valve commented 3 years ago

Hello @wofferl, does running the game with Proton 4.11, then with Proton 5.0 have an effect?

wofferl commented 3 years ago

Hello @wofferl, does running the game with Proton 4.11, then with Proton 5.0 have an effect?

Thanks,

I tested this with a fresh prefix and audio works with 4.11, when xact and faudio is NOT installed. When then switching to 5.0 the audio doesn't work again.

This is the log with working audio and proton 4.11: steam-1129580.log

I also forgot, that with original proton, the cut scenes are black. They work with the GE proton build.

wofferl commented 3 years ago

Sorry, it also works with 5.0 then. Unfortunately the game has set the main volume to 0 when switching to 5.0 in the first try.

It now also works with the Proton-5.9-GE-6-ST build.

It seems that the XAudio2_7.dll is not loading now and only the audio2_9redist.dll is used.

Here the log with the working Proton-5.9-GE-6-ST build. steam-1129580.log

kisak-valve commented 3 years ago

So, what I suspect is happening here is that there's a situation where XAudio isn't playing nicely with win10 wine prefixes (most notably with Halo MCC). Proton 4.11 forces a win7 wine prefix while Proton 5.0 leaves existing prefixes alone, but also sets the wine prefix to win10 on fresh setups.

This isn't technically a Proton regression because the game is choosing to exercise a different audio path based on what OS it thinks it's running on. (It's still an issue, but something that was hidden in older Proton builds.)

wofferl commented 3 years ago

You are right, I tried with a fresh 5.0 prefix and set the it to win7 (protontricks 1129580 win7) and it also works.

Fantu commented 2 years ago

Before install the first time the game I apply this workaround found on protondb:

With proton version 6.3-7 always freeze on after second logo With Proton-GE version 6.21-GE-1 works but have occasional input lag (I not found exactly what trigger it), someone have a method or workaround to solves also the input lag please?

I have/use: Ubuntu 20.04.3 CPU: AMD Ryzen 5 5600x GPU: Nvidia GTX 1650 with Nvidia 470 (from ubuntu repository)

kleener commented 2 years ago

Hi, my only problem at the moment is that the game starts only once after installation or after an update. It remains after the logos the screen black. The problem is also only on the Nvidia GTX 1070, on my laptop with an internal AMD card it works without problems to start several times. Do you have any clues?

I use: Kubuntu 21.10 GPU: Nvidia GTX 1070 with Nvidia 495

kleener commented 2 years ago

So I have no more problems, it runs stable and without problems. I guess you can close the ticket.