ValveSoftware / Proton

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

Valkyria chronicles delays (294860) #491

Open tpedaste opened 6 years ago

tpedaste commented 6 years ago

The gameplay work just fine but when a chapter finishes there is a delay of several minutes while the screen is frozen.

During this period I have have notices some shooting sound effects, the shooting sound effects aren't heard during gameplay.

ghost commented 6 years ago

You need to disable esync in Properties > Set Launch Options PROTON_NO_ESYNC=1 %command%

d10sfan commented 6 years ago

Running NO_ESYNC fixed the audio issues for me. Beautiful, thanks!

kisak-valve commented 6 years ago

Valkyria Chronicles audio distortion (294860)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/792. @Toasty27 posted on 2018-08-27T23:48:13:

When playing VC, I get audio distortion (as if audio frames are being dropped).

I'm running this in a VM (Ubuntu 18.04.1) on QEMU-KVM (v1.5.3 on Centos 7.5.1804) with VGA pass-through (GTX 960, driver 396.54), but I'm using the GPU's HDMI output for audio, so the game isn't (to my knowledge) using the virtual ICH9 audio chipset. I've tried other games installed natively without Proton (e.g. Rocket League) in this VM without any audio issues.

I don't have any officially whitelisted games to try, so I can't confirm if this is more of a general problem related to my setup, or if it's specific to VC.

ghost commented 6 years ago

@kisak-valve

I was having no audio for sound effects like gunfire or footsteps, but the music and cutscenes were playing fine.

Setting PROTON_NO_ESYNC=1 fixed it. I believe this game would work without issue now.

The audio worked in normal wine, however my PS4 controller does not. My PS4 controller however works perfectly in Steam Play/Proton, so I am very happy. I am extremely appreciative of this effort to support Wine and Linux gaming.

Somewhat unrelated, but there is a very large amount of Windows 10 users reporting possibly the same bug on the Steam discussion forums, which causes no SFX audio. This makes the game basically unplayable for those effected. I have compiled a list of links with people reporting this bug:

https://steamcommunity.com/app/294860/discussions/0/1621724915768575268/ https://steamcommunity.com/app/294860/discussions/0/1693785035819617629/ https://steamcommunity.com/app/294860/discussions/0/2949168687311530445/ https://steamcommunity.com/app/294860/discussions/0/1697169163408557168/ https://steamcommunity.com/app/294860/discussions/0/1729828401702635940/ https://steamcommunity.com/app/294860/discussions/0/1696043806555532510/ https://steamcommunity.com/app/294860/discussions/0/1693785035825102803/

Cxpher commented 5 years ago

These are what i've noticed..

With Proton 3.16.4

  1. Music works with distortion
  2. SFX does not work at all
  3. Exit to Desktop from the game menu does not kill the process (have to kill manually)
  4. Alt+F4 does not kill the process (have to kill manually)

With Proton 3.16-5 Beta - (WITHOUT PROTON_NO_ESYNC=1)

  1. Music works with distortion
  2. SFX does not work at all
  3. Exit to Desktop from the game menu exits cleanly (Takes longer though)
  4. Alt+F4 does not kill the process (have to kill manually)

With Proton 3.16-5 Beta - (WITH PROTON_NO_ESYNC=1)

  1. Music works with distortion
  2. SFX works but suffering from the same distortion as the music
  3. There seems to be some form of SFX lag. Very slight but noticeable. Is the game itself usually like that?
  4. Exit to Desktop from the game menu exits cleanly
  5. Alt+F4 does not kill the process (have to kill manually)

So without esync, it's clearly improving with the latest FAudio implementation.

Cxpher commented 5 years ago

Hi all,

I've done further testing.

The audio works wine with 3.16-5 Beta with PROTON_NO_ESYNC=1 on speaker.

The cackling only occurs via bluetooth audio. Same for input lag.

Other games work fine however via bluetooth so i suppose this is an issue with this game only.