ValveSoftware / Proton

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

Hellblade: Senua's Sacrifice (414340) #943

Open lieff opened 6 years ago

lieff commented 6 years ago

Distro: Ubuntu 18.04 GPU: GTX 980, Nvidia proprietary driver 390.48 Resolution: 2560x1440 RAM: 16GB Proton 3.7-4 Beta

Played around hour, some audio stutter (not painful). Probably because of high resolution and max graphics settings. All other is fine.

Cevantime commented 6 years ago

Played today too (not the VR version).

Distro: Linux Mint 19 GPU: GTX 1060, Nvidia proprietary Driver: 396.54 Resolution: 1920x1080 RAM: 16GB Proton 3.7

Conclusions :

The game is playable as such but I won't call it perfect.

DesNZ commented 6 years ago

Also had a go today.

Distro: Kubuntu 18.04 GPU: GTX 1070, Nvidia proprietary Driver: 396.54 Resolution: 1920x1080 RAM: 16GB Proton 3.7-Beta

Conclusions : Haven't played on windows yet, so no comparisons here. I did have the occasional fps freeze (drops to two fps for a second then a couple more stuttering) then goes back to normal).

Sound doesn't seem right, whispers are (although they're whispers) too quiet and some sounds (like the flags waving and water fall) appear to cut in at full volume then cut out instantly. It feels like there's supposed to be a gradual volume increase and subsequent decrease (Faudio maybe??).

As mentioned above there can be some decent delay with audio playback. It appears as though it isn't a delay over the entire play time, but with each sound 'bite'.

There also appears to be some popping with the ambient sound, not sharp or too high pitched so could be a part of the original game, just doesn't feel right.

Apart from the fps drops, the game ran at ultra settings with my 1070 at 1080p 60fps -5fps and plus around 10fps. I'd consider this fps very playable especially for a game like this.

Stable but not completely, playable.

lieff commented 6 years ago

Yes, seems I was too haste about audio.

mysticfall commented 6 years ago

I had a similar problem with crackling audio, but overriding xaudio_2_7 to native, builtin with winecfg fixed it for me.

Cevantime commented 6 years ago

@mysticfall Thanks. That fixed audio problems for me too. For guys wondering how to complete this magic, let me give some explanations :

DesNZ commented 6 years ago

Very nice, thanks for the fix! Looking forward to Faudio being included, hopefully alleviating some issues like this in a much nicer way...

kisak-valve commented 6 years ago

Hellblade: Senua's Sacrifice Crashes When Starting New Game (414340)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1292. @Simmonz posted on 2018-09-06T23:02:40:

I tried running Hellblade: Senua's Sacrifice through Proton and it launches fine but when starting a new game it crashes seconds later before getting to any intro cinematic, level, etc. The Steam AppID of the game: 414340. I added PROTON_LOG=1 %command% to the game's launch options but no log was generated. I haven't found an existing compatibility report for this game and I have checked whether there are updates for my system available.

System Information

jarrard commented 6 years ago

To get audio working for my little issue(DRG), I had to install the whole xact via winetricks using the same method mentioned by Cevantime, but with winetricks xact instead.

Valve should probably consider xact as a default install ?

lieff commented 6 years ago

There already issue about this https://github.com/ValveSoftware/Proton/issues/54

DePingus commented 6 years ago

I also had to override xaudio2_7 to Native because the sound was clipping and the volume on the effects were way off. BUT that caused the game to crash after the opening cutscene or when loading my previous save game. To fix this crash I had to add the launch option:

PROTON_NO_ESYNC=1 %command%

After these two changes I was able to play for 45 minutes without issue. Though, my system couldn't handle max settings, even with Feral GameMode.

Fedora 28 / GTX 1060 6gb / NVIDIA 396.54 drivers / AMD FX-8320 8gb

jarrard commented 6 years ago

what does ulimit -aH say your open files limit is?

DePingus commented 6 years ago

@jarrard

core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 31624
max locked memory       (kbytes, -l) 16384
max memory size         (kbytes, -m) unlimited
open files                      (-n) 4096
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 31624
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Not sure if the soft limit matters. I'm running a fresh install of Fedora 28.

[user@pc ~] $ ulimit -Hn
4096
[user@pc ~] $ ulimit -Sn
1024
jarrard commented 6 years ago

Yep there is ya problem,

https://github.com/zfigura/wine/blob/esync/README.esync

Something that should be possibly fixed in protons documentation, its kinda critical for its function yet most people don't know about it (I didnt)

DePingus commented 6 years ago

@jarrard What should increase them to?

jarrard commented 6 years ago

I have all 3 files on my system mentioned in the esync readme so I just made the edit to all 3 of the files as suggested. (1048576 is what is suggested)

DePingus commented 6 years ago

@jarrard Excellent!

Here is the esync readme for future readers... https://github.com/zfigura/wine/blob/esync/README.esync

I made the changes to the 3 files, restarted, then removed the PROTON_NO_ESYNC from my launch options. Now the game runs normally...actually even better. Thanks!

lavadrop commented 6 years ago

Installing xact doesn't fix anything regarding sound. I keep hearing a constant rythmic pulsating sound with distortions. During the intro, when there are more than 2 voices, all sorts of sounds start playing that make the voices incomprehensible and sound like wood crashing with rocks.

What actually works is overriding the xaudio_2_7 library

I don't understand why the suggestion to install xact; it doesn't do anything for Skyrim:SE or this game.

OS: Kubuntu 18.04.1 Kernel: 4.18.5-041805-generic Resolution: 2560x1080 DE: KDE / WM: KWin CPU: AMD Ryzen 5 1600 (12) @ 3.200GHz / GPU: AMD Radeon RX 580 8 Gb System Memory: 1748MiB / 7970MiB Proton 3.7.6 Beta

DePingus commented 6 years ago

@lavadrop You have to install xact and then open winecfg to create an override for xaudio2_7, set that to Native. Both @mysticfall and @Cevantime mentioned it in this thread.

lavadrop commented 6 years ago

Although they both mention the override, they never mention that you have to install xact and then do the override.

Gravemind commented 6 years ago

FWIW, I play with a custom wine build and custom wineprefix, and winetricks xact+native xaudio did not fix the audio for me either (actually it's worst), but installing prerequisites provided by Steam Hellblade fixed it:

export WINEPREFIX=...my/hellblade/wine/prefix...
cd ...my/steam/library.../steamapps/common/Hellblade/_CommonRedist
wine "vcredist/2012/vcredist_x86.exe" /quiet /norestart
wine "vcredist/2012/vcredist_x64.exe" /quiet /norestart
wine "vcredist/2013/vcredist_x86.exe" /quiet /norestart
wine "vcredist/2013/vcredist_x64.exe" /quiet /norestart
wine "vcredist/2015/vc_redist.x86.exe" /quiet /norestart
wine "vcredist/2015/vc_redist.x64.exe" /quiet /norestart
wine "DirectX/Jun2010/DXSETUP.exe" /silent

Then still adding xaudio2_7 as native, builtin (WINEDLLOVERRIDES="xaudio2_7=n,b"), and it's fixed, no more constant audio rhythmic crackling/fluttering. I'm thinking winetricks' and steam's vcredist/directx installers might differs ?! ... or missed something...

(Found this by looking at appmanifest_414340.acf and its installscript.vdf. Someday could be automated...)

So @lavadrop, if you use a custom wineprefix, or not afraid of command-lines, this might help... or try to "verify integrity of game files" and/or somehow re-install the prerequisites from steam (still in addition to setup xaudio2_7 as native)...

EDIT: It seems winetricks xact does not install 64-bit dlls since winetricks 20180513 (https://github.com/Winetricks/winetricks/commit/f2b3d268d941120d13b4c3c3960b78a879d37761)

lavadrop commented 6 years ago

Yesterday I tested my theory with The Turing test: Valve includes libraries for unreal engine games. You just need to do the xaudio_2_7. It worked. No need to install xact.

ibrokemypie commented 5 years ago

even with xact installed and the override set to xaudio2_7, the mixing is terrible (six plays way too loud even on the minimum volume) and in cinematic the audio is out of sync from the video by a good 5 seconds or so. Playable, but annoying

lavadrop commented 5 years ago

I’ll have to revisit the game. Fortunately Ethan Lee now works with Codeweavers and should contribute to solving these kinds of audio issues.

NTMan commented 5 years ago

AMD GPU open source stack needs this patch https://gitlab.freedesktop.org/xorg/xserver/merge_requests/48 for working this game.

ibrokemypie commented 5 years ago

is there some problem with it on wayland? graphically it is fine on xorg for me on amdgpu

NTMan commented 5 years ago

is there some problem with it on wayland? graphically it is fine on xorg for me on amdgpu

On my Vega 56 and Vega 64 many Games under steam play stuck immediately after start no matter which gnome session was launched by X or Wayland. This patch fixes this. For Wayland have another big benefit because make picture smoothness same as X session if enable Vsync in game. This make possible play in 4K in games such as Shadow of the Tomb Rider on Linux via steam play on my PC.

LuFlo commented 5 years ago

@mysticfall Thanks. That fixed audio problems for me too. For guys wondering how to complete this magic, let me give some explanations :

* run winecfg with the right prefix :
  ```shell
     env WINEPREFIX="~/.steam/steam/steamapps/compatdata/[HELLBLADE_PREFIX]/pfx" WINEPATH="~/.steam/steam/steamapps/common/Proton 3.7/dist/bin/wine64" winecfg
  ```

  You may have to install your own wine to make `winecfg` available.

* Go to `Library` tab and in the first dropdown, select `xaudio_2_7` and click on `Add`

* Relaunch the game

* Enjoy a now very playable game !

How do I determine the right HELLBLADE Prefix? I have 3 prefixes and I don't see any possibility in steam to determine the right one EDIT: I "guessed" it by the "last edited" attribute in the OS and the game is now indeed very playable, thanks a lot! It would be quite handy to determine somehow where the right prefix is though :)

Cevantime commented 5 years ago

The prefix is often given in the issue title, and this one is no exception! :)

LuFlo commented 5 years ago

I installed the title via Steam, so the prefixes are just numbers :( But I've just realized that you can determine the right one by scrapping the appmanifest files in the steamapps folder :)

ibrokemypie commented 5 years ago

the faudio patch fixes the audio mixing, though it is still out of time with the cutscenes, a second or so faster than the visual now

Geradot commented 5 years ago

@mysticfall Thanks. That fixed audio problems for me too. For guys wondering how to complete this magic, let me give some explanations :

  • run winecfg with the right prefix :

     env WINEPREFIX="~/.steam/steam/steamapps/compatdata/[HELLBLADE_PREFIX]/pfx" WINEPATH="~/.steam/steam/steamapps/common/Proton 3.7/dist/bin/wine64" winecfg

    You may have to install your own wine to make winecfg available.

  • Go to Library tab and in the first dropdown, select xaudio_2_7 and click on Add
  • Relaunch the game
  • Enjoy a now very playable game !

I did it, but the issue still exists... why? I keep hearing the crisp sound

Geradot commented 5 years ago

FWIW, I play with a custom wine build and custom wineprefix, and winetricks xact+native xaudio did not fix the audio for me either (actually it's worst), but installing prerequisites provided by Steam Hellblade fixed it:

export WINEPREFIX=...my/hellblade/wine/prefix...
cd ...my/steam/library.../steamapps/common/Hellblade/_CommonRedist
wine "vcredist/2012/vcredist_x86.exe" /quiet /norestart
wine "vcredist/2012/vcredist_x64.exe" /quiet /norestart
wine "vcredist/2013/vcredist_x86.exe" /quiet /norestart
wine "vcredist/2013/vcredist_x64.exe" /quiet /norestart
wine "vcredist/2015/vc_redist.x86.exe" /quiet /norestart
wine "vcredist/2015/vc_redist.x64.exe" /quiet /norestart
wine "DirectX/Jun2010/DXSETUP.exe" /silent

Then still adding xaudio2_7 as native, builtin (WINEDLLOVERRIDES="xaudio2_7=n,b"), and it's fixed, no more constant audio rhythmic crackling/fluttering. I'm thinking winetricks' and steam's vcredist/directx installers might differs ?! ... or missed something...

(Found this by looking at appmanifest_414340.acf and its installscript.vdf. Someday could be automated...)

So @lavadrop, if you use a custom wineprefix, or not afraid of command-lines, this might help... or try to "verify integrity of game files" and/or somehow re-install the prerequisites from steam (still in addition to setup xaudio2_7 as native)...

EDIT: It seems winetricks xact does not install 64-bit dlls since winetricks 20180513 (Winetricks/winetricks@f2b3d26)

I did as you wrote, but the sound still crunches...

ibrokemypie commented 5 years ago

xaudio does not solve the issue, however faudio does. Try TKG's pkgbuild to get wine with faudio

mysticfall commented 5 years ago

I did it, but the issue still exists... why? I keep hearing the crisp sound

Actually, the issue came back to me as well after some time, possibly with an WINE update. So it's possible the suggested fix wouldn't work anymore.

Maybe you could have a better luck with what ibrokemypie suggested above.

Geradot commented 5 years ago

xaudio does not solve the issue, however faudio does. Try TKG's pkgbuild to get wine with faudio

Can you write, how to use it or some good details about it?

RussianNeuroMancer commented 5 years ago

How this game works in Proton 3.16-5 if no workarounds applied?

Edit: oh, seems like my question is already answered: https://www.protondb.com/app/414340

NTMan commented 5 years ago

How this game works in Proton 3.16-5 if no workarounds applied?

For me it already work without any tricks with Proton 3.16-4, but I am on AMD.

Geradot commented 5 years ago

How this game works in Proton 3.16-5 if no workarounds applied?

For me it already work without any tricks with Proton 3.16-4, but I am on AMD.

Can you have any issues with sound?

Geradot commented 5 years ago

How this game works in Proton 3.16-5 if no workarounds applied?

For me it already work without any tricks with Proton 3.16-4, but I am on AMD.

Can you have any issues with sound?

ziabice commented 5 years ago

This game works perfectly with Proton 3.16-5. I played at very high graphic detail and everything was perfect. There are some slowdowns here and there due to the shaders compilation, but apart from that I can rate this game as Platinum: it just works out of the box!

Audio was perfect and impressive: I played with earphones as suggested and it was fantastic.

My specs: https://gist.github.com/ziabice/8c19008e58f82b16a62f7ab65ba235d4

Geradot commented 5 years ago

This game works perfectly with Proton 3.16-5. I played at very high graphic detail and everything was perfect. There are some slowdowns here and there due to the shaders compilation, but apart from that I can rate this game as Platinum: it just works out of the box!

Audio was perfect and impressive: I played with earphones as suggested and it was fantastic.

My specs: https://gist.github.com/ziabice/8c19008e58f82b16a62f7ab65ba235d4

Thanks, it works for me!

ziabice commented 5 years ago

the faudio patch fixes the audio mixing, though it is still out of time with the cutscenes, a second or so faster than the visual now

I'm experiencing the same problem, only in cutscenes. But I see also a FPS drop, so maybe on my end the problem is due to my PC specs

seeeeew commented 5 years ago

Installing the latest FAudio build (currently 19.02) from Kron4ek/FAudio-Builds fixed the audio lag in cutscenes for me.

AwesamLinux commented 5 years ago

Problem: The game crashes before getting to the main menu, during the splash screens a window with error message pops up "fatal error!" and when clicking ok the game exits.

I have tried this game with every Proton version available through the Steam client since release. With the very first Proton version I was able to get into gameplay (but audio and video had issues). Ever since then I can no longer even get so far as to get to the main menu. This problem occurs also on different dists, like tried it on elementary and budgie.

Distro: Linux Mint 19.1 Tessa (64 bit) GPU: Vega 56 Driver/LLVM version: Mesa 19.1.0-devel/9.0.0 Kernel version: 5.0.5-050005-generic Proton version: 4.2-2

Included log of when launching the game, getting the error message window to pop up, and then just clicking Ok on the window and the game exits. steam-414340_Proton2.log system_info.txt

DFOXpro commented 5 years ago

Before white list this game: 1) (With proton 3.16-9 & AMD) found some funny(colour changes), weird(light changes) and annoying(geometry corruption) glitches

2) (With proton 4.2-4 & AMD) --The game crash-- Update: with latest lunar-vulkan driver the game runs with 4.2-4 but still have the funny(colour changes) glitch with postprocess medium or higher.

So, what info/logs do you need to improve this post? steamSystemInfo.txt hellbladeError.txt

AwesamLinux commented 5 years ago

The game works for me now out of the box, and no longer crashes during launch.

It started working after I upgraded my system from 2x8GB to 4x8GB. Also, this fixed Tekken 7 that always crashed during launch for me too, but works without issues after the RAM upgrade. Also one thing these games have in common is that they run on Unreal 4.

I doubt the games require more than 16GB to play. so I suspect that this is a Threadripper specific issue that only occurs when using dual-channel memory instead of quad-channel. Most people with Threadripper CPU's would be using quad-channel memory.

Including logs of launching the game and playing for a bit.

steam-414340-proton-3.16-9.log steam-414340-proton-4.2-7.log

sebastian-de commented 5 years ago

For anyone with an AMD card, I can highly recommend to test ACO: https://steamcommunity.com/app/221410/discussions/0/1640915206474070669/

Using ACO instead of LLVM fixes the stuttering and audio-sync issues on my end. Finally, Hellblade runs completely flawless on Linux for me (applies to the GOG version as well).

puleglot commented 4 years ago

WINEDLLOVERRIDES="xaudio2_7=n,b" have fixed audio in cutscenes for me (Proton 4.11.x)

jeroenev commented 4 years ago

I can't even get audio crackling to stop on Windows weird you guys manage to fix it on Linux

emmecii commented 4 years ago

Problem: The game crashes with grahpic artifact seems due to resettting of the GPU.

During the crash i entered in a TTY to see dmesg with [drm:amdgpu_cs_ioctl [amdgpu]] ERROR Failed to initialited parser -125 in a great number of lines. Reserching this issue i found this bug with my same exactly issue stating about resetting of GPU with a certain kernel version here, resolved with a newer kernel version (actually not included on Ubuntu 18.04.4 HWE stack, 5.4 it's for now on 20.04 but for 18.04 users upgrade will be available withing a month) https://bugzilla.kernel.org/show_bug.cgi?id=205089

My hw: Distro: Ubuntu 18.04.4 LTS with HWE GPU: Radeon RX560 Driver/LLVM version: Mesa 19.2.8 (padoka PPA stable)/9.0.0 Kernel version: 5.3.0-61-generic Proton version:5.0-9