Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark Souls III performance regression with Proton 3.16 (374320) #478

Open
Bloodaxe95 opened this issue Aug 25, 2018 · 140 comments

Comments

Projects
None yet
@Bloodaxe95
Copy link

commented Aug 25, 2018

Game runs perfectly on my end, I notice no difference between Linux and Windows. Both standard mouse-keyboard and the Steam Controller work flawlessly!

  • OS: Xubuntu 18.04
  • GPU/driver-version: GTX 970 - nvidia-driver-396
  • Kernel: 4.15.0-32-generic
  • Proton: 3.7
@Bednar87

This comment has been minimized.

Copy link

commented Aug 25, 2018

crashes for me when I click new game.

`Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected

Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Family: 0x6
CPU Model: 0x3a
CPU Stepping: 0x9
CPU Type: 0x0
Speed: 3800 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported

Operating System Version:
"Arch Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 4.18.4-arch1-1-ARCH
X Server Vendor: The X.Org Foundation
X Server Release: 12001000
X Window Manager: Xfwm4
Steam Runtime Version:

Video Card:
Driver: NVIDIA Corporation GeForce GTX 970/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 396.54
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x10de
DeviceID: 0x13c2
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1200
Desktop Resolution: 1920 x 1200
Primary Display Size: 20.39" x 12.76" (24.02" diag)
51.8cm x 32.4cm (61.0cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 4096 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device: VIA VT2020

Memory:
RAM: 7938 Mb

Miscellaneous:
UI Language: English
LANG: en_GB.utf8
Total Hard Disk Space Available: 104481 Mb
Largest Free Hard Disk Block: 26759 Mb
VR Headset: None detected

Recent Failure Reports:
`

gist: https://gist.github.com/Bednar87/e71fb272481c8f64efc7ee1b614218e3

@Kiffmet

This comment has been minimized.

Copy link

commented Aug 25, 2018

@Bloodaxe95 please do further testing with a family shared dummy steam account. Playing Dark Souls 3 using DXVK might trigger the anti-cheat system and cause a softban.

@photex

This comment has been minimized.

Copy link

commented Aug 26, 2018

Gets to a point where I get a mouse cursor then exits without an error

@meowmeowfuzzyface

This comment has been minimized.

Copy link

commented Aug 26, 2018

This game was working flawlessly for me on Friday. Today, it is not launching either with 3.73 or 3.74 beta, with or without "PROTON_USE_WINED3D11=1 %command%".

I'm on Ubuntu 18.04 with the 18.3.0-devel - padoka PPA driver for Fury X, same as Friday.

Possibly related, Dark Souls 2 was also working on Friday, but today it crashes unless launched with "PROTON_USE_WINED3D11=1 %command%".

@Emanem

This comment has been minimized.

Copy link

commented Aug 27, 2018

Main issues for me:

  • In order to adjust the screen to 1440p in fullscreen, one has to go to window mode, then change to 1440p, then back to fullscreen - this setting doesn't get saved apparently
  • All maxed out with 1080 GTX (396.54) and latest Proton (3.7-4 beta) the FPS is only 37.5 in 3440x1440 full screen; if I run in 1080p or 1440p windowed it's 60 FPS
  • Sometimes the game doesn't exit properly and needs to be killed (when changing resolution form 1080p to 1440p)
  • Screensaver/lock gets activated when playing with pad only

Almost whitelist... the game is very playable with my PS3 pad and it's just fantastic... (Ubuntu 16.04.4 with HWE).

@kayosiii

This comment has been minimized.

Copy link

commented Aug 29, 2018

The issue I am having is that Steam controller will look but not move or attack, ditto for keyboard and mouse

@meowmeowfuzzyface

This comment has been minimized.

Copy link

commented Aug 29, 2018

Not sure what happened, but the game is now working flawlessly. I haven't changed anything so I guess there was a Proton update? I'm using the PROTON_USE_WINED3D11=1 %command% launch option.

Ubuntu 18.04 with the 18.3.0-devel - padoka PPA driver for Fury X.

@michaeltintiuc

This comment has been minimized.

Copy link

commented Aug 30, 2018

I get a crash each time I try to open the door after Iudex Gundyr, I am however running this on 390 nvidia drivers, this could be the issue 🤷‍♂

@Sw3eM

This comment has been minimized.

Copy link

commented Aug 31, 2018

@michaeltintiuc do you have nvidia-driver-396, i had the same issue but updating the nvidia driver fixed it for me. (with nvidia-390 i got the same crash)

@michaeltintiuc

This comment has been minimized.

Copy link

commented Aug 31, 2018

I'm running Solus OS and the devs are kind enough to give some extra testing to the 396 drivers 😆 and I'm waiting patiently, but that's awesome to know @Sw3eM , thanks for letting me know!

@Xeers

This comment has been minimized.

Copy link

commented Aug 31, 2018

Reborn OS (Arch Linux)
AMD FX, Nvidia Geforce GTX 950
The game works perfectly but I can not upload the resolution more than 1920x1080 (my monitor is 2560x1080)

The command PROTON_USE_WINED3D11 = 1% command% is not necessary, it breaks the game

@UndeadKernel

This comment has been minimized.

Copy link

commented Sep 3, 2018

@Bednar87, did you figure out a solution to your problem? I have the same specs and problem (game crashes if I choose "new game").
To solve the issue, I started the game in Windows and saved as soon as I had control. Afterwards,I copied the save game from windows to linux. This way, I don't have to choose "new game", just "continue" and the game works rather well.

@Bednar87

This comment has been minimized.

Copy link

commented Sep 3, 2018

@UndeadKernel, nope. I don't have access to a windows machine I can try this on, but thanks for reporting you have found a solution that works for you.

Going to google to see if save games are portable...

@meowmeowfuzzyface

This comment has been minimized.

Copy link

commented Sep 3, 2018

@Bednar87 Save games are portable. For both DS2 and 3, the save directory in Windows is under C:\Users<your user>\AppData\Roaming. The folder is called DarkSoulsIII.

You can copy paste that folder into /steamapps/compatdata/374320/pfx/drive_c/users/steamuser/Application Data/.

@patlefort

This comment has been minimized.

Copy link

commented Sep 4, 2018

I'm on Antergos. I have a problem with this game and my dualshock 4 controller: The right trigger isn't working properly. It does normal attacks and if I try to bind something to it, it's not detected. It works in DS1 and the left trigger work. Very strange problem. I tried to rebind it with steam controller settings but it doesn't work.

Next small problem is sometimes the cursor will become visible on the middle of the screen. To hide it, I have to press start, move the mouse, close the menus.

Another big problem: Sound. Sometimes, all the sounds will sound like it's coming from the front-left on my 5.1 setup. Restarting the game fix it until it does it again. The problem also occur in DS1.

@jonlap

This comment has been minimized.

Copy link

commented Sep 6, 2018

Seems to run very well (I only played 10-15 minutes though). Only issues were that problem with 1440p resolution mentioned earlier and Xbox 360 controller analog sticks and dpad being overly sensitive (working normally with every other game) to the point game is practically unplayable with it. Info here.

@GloriousEggroll

This comment has been minimized.

Copy link

commented Sep 9, 2018

Game runs fine here on DXVK:
Proton: 3.7 Beta 6
OS: Arch
Kernel: 4.19.0-rc2
Mesa: Mesa 18.3.0-devel (git-14fe9fa11b)
LLVM 7.0
GPU: AMD RX Vega 64
CPU: AMD Threadripper 1950x

@tamato

This comment has been minimized.

Copy link

commented Sep 10, 2018

@GloriousEggroll What do you mean "on DXVK"?

What would I need to do to get it running on DXVK?

@UndeadKernel

This comment has been minimized.

Copy link

commented Sep 10, 2018

@Bednar87, I believe I've figured out why the game crashes when selecting "New Game".
The backtrace of the crash shows that a problem lies in the Bink video player:
0 0x00000000002ded63 in binkw64 (+0xed63) (0x00007fb815988da0)

To fix the "New Game" crashing issue, in the folder Steam/steamapps/common/DARK SOULS III/Game/movie rename the file fdp_opening.bik to fdp_opening.bik.bkp. This way, the bink libraries won't find the video and will just skip it, allowing you to play the game.

Of course this means that you won't see the introduction video. If you want to see it, just open the renamed video file with VLC. To listen to the narrator, change the audio channel.

Anybody knows what is needed to adequately run bink videos in wine? It seems that the DLL file binkw64.dll is causing problems.

@darkpumpkins

This comment was marked as off-topic.

Copy link

commented Sep 13, 2018

It does crash for me to at startup.
I was previously able to play it outside steam linux on wine + dxvk 0.63.

Proton: 3.7
OS: Ubuntu 18.04.1
Kernel: 4.15.0-34-generic
Mesa: Nvidia 396.54
GPU: Nvidia MSI GTX 970 Gaming 4G
CPU: Intel core i5-2500k

steam-524220.log

@kisak-valve

This comment has been minimized.

Copy link
Member

commented Sep 13, 2018

Hello @darkpumpkins, your log doesn't match this game. Was this issue report where you intended to post?

@darkpumpkins

This comment has been minimized.

Copy link

commented Sep 13, 2018

Crash on startup ( this time with the correct log :P ), well the game does not start at all.

Proton: 3.7-6
OS: Ubuntu 18.04.1
Kernel: 4.15.0-34-generic
Mesa: Nvidia 396.54
GPU: GeForce GTX 970/PCIe/SSE2
CPU: Intel® Core™ i5-2500K CPU @ 3.30GHz × 4

steam-374320.log

@kisak-valve

This comment has been minimized.

Copy link
Member

commented Sep 13, 2018

err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased is the line of interest in the log.

@darkpumpkins

This comment has been minimized.

Copy link

commented Sep 13, 2018

great !
Dark souls III run !
Thanks for the tutorial, ulimit also was a pain for my samba ... -_-
where should i put my old windows saves into steam proton to restore my old saved games ?

@krompus

This comment has been minimized.

Copy link

commented Sep 16, 2018

Game is running stable here, but performance takes a hit compared to Windows; my FPS is halved (30ish on Linux, smooth 60 on Windows):

  • Arch Linux
  • i5 4670K @3.8GHz
  • GTX 770 Nvidia 396.54-4
  • Proton 3.7-6

Hopefully future updates will improve performance. I'm about due for a new rig, though. :)

@michaeltintiuc

This comment has been minimized.

Copy link

commented Sep 16, 2018

It seems to have gotten worse, it no longer works, unless I rename the video files and the framerate took a hit.

@darkpumpkins

This comment has been minimized.

Copy link

commented Sep 16, 2018

if someone else does encounter problems with ulimit here is a solution : https://phpsolved.com/ubuntu-16-increase-maximum-file-open-limit-ulimit-n/

@krompus

This comment has been minimized.

Copy link

commented Sep 17, 2018

@darkpumpkins ah, thanks; I didn't know this game was affected by that issue. I discovered this when testing Downwell a few weeks ago: crashed after about 60 seconds before, stable as a rock after raising the limit.

@darkpumpkins

This comment has been minimized.

Copy link

commented Sep 17, 2018

@krompus kisak-valve mention me a point that i did not notice about steam play into the requirements => https://github.com/ValveSoftware/Proton/blob/proton_3.7/PREREQS.md#fd-limit-requirements
I had the ulimit error into Nioh and Dark souls III but for Nioh seems wine related problem ^^.

Anyone noticed better performances with lastest nvidia beta driver ( 396.54.05 ) ? ( here is the repository : https://launchpad.net/~graphics-drivers/+archive/ubuntu/dev )

@megatog615

This comment has been minimized.

Copy link

commented Nov 20, 2018

Yeah that definitely doesn't work for me. GTX 960 here. Your instructions were pretty much how I did it the first time.

This also solves performance issue for me on GTX 960 2G

How many times did you try warping? It seemed to work fine the first warp, but the second dropped my fps to 8.

@doitsujin

This comment has been minimized.

Copy link
Collaborator

commented Nov 20, 2018

This should be fixed in DXVK as of doitsujin/dxvk@ad56887.
Here's a build: dxvk-master.tar.gz

@Brisse89

This comment has been minimized.

Copy link

commented Nov 20, 2018

This should be fixed in DXVK as of doitsujin/dxvk@ad56887.

Sorry if this is off topic, but I would like to test and see if it works but I am encountering errors while trying to build DXVK. I've never done it before so I'm probably just doing some silly mistake.

Build log

From the log I would guess that I am missing a dependency, which I guess would be libwine-development-dev but the thing is that It's already installed so I must be doing something wrong.

@doitsujin

This comment has been minimized.

Copy link
Collaborator

commented Nov 20, 2018

Build requirements and the error you are experiencing are documented here, but that's off-topic to this issue.

I updated my prebuilt comment with pre-built binaries.

@Brisse89

This comment has been minimized.

Copy link

commented Nov 20, 2018

Applied it to Proton 3.16-4 beta and it seems to have fixed the bonfire warping issue.

@megatog615

This comment has been minimized.

Copy link

commented Nov 23, 2018

When will the patch make it into official Proton builds for Steam?

@indeedwatson

This comment has been minimized.

Copy link

commented Nov 23, 2018

I'm not sure if I'm doing something wrong, because it seems to work for everyone else, but I tried everything from here and nothing is working.

I copied and overwrote the files in ~/.steam/steam/steamapps/common/Proton 3.16/dist/lib/wine/dxvk/ with the ones that @doitsujin just posted. I'm running arch, i5 4590 cpu and AMD R9 270x GPU.

In game normally I get around 30-40fps with min graphics at 1080p (in windows I got 50-60fps), but when I die it drops, sometimes to ~20fps (and then if I die again, down to <10fps) or directly to <10fps.

@megatog615

This comment has been minimized.

Copy link

commented Nov 23, 2018

You overwrote the 32-bit libs and forgot the 64-bit ones. Dark Souls 3 is 64-bit.

@doitsujin

This comment has been minimized.

Copy link
Collaborator

commented Nov 23, 2018

@indeedwatson you need to replace the files in dist/lib64/wine/dxvk as well.

@indeedwatson

This comment has been minimized.

Copy link

commented Nov 23, 2018

I knew it was an error on my part, thank you for spotting that, it seems to work now :)

@arendjr

This comment has been minimized.

Copy link

commented Dec 16, 2018

I'm using SteamOS and when I try to launch the game I see a white screen for about 20 seconds and then I suddenly get thrown back to Steam, so presumably the game crashed. The machine has an Intel i5 processor and an NVidia 1060 GPU and is hooked to the TV with HDMI. I'm using a Steam Controller with it.

I can log into it with ssh, so if I can gather some additional info that would be valuable I'd be happy to help.

@michaeltintiuc

This comment has been minimized.

Copy link

commented Dec 26, 2018

@Emanem since you're the only one that posted his resolution and it's ultra-wide, are you getting side borders or is it truly fullscreen? none of the ultra-wide resolutions really work for me

@Emanem

This comment has been minimized.

Copy link

commented Dec 27, 2018

@michaeltintiuc I think I get the black borders, but since a recent release and recent drivers, I get 60 FPS stable all the way.

@robbert-vdh

This comment has been minimized.

Copy link

commented Jan 8, 2019

It looks like this has something to do VRAM not being freed properly. I've been playing the game on a GTX 970 at 1440p and while the game initially runs at a smooth 60 FPS, the frame rate will drop to either 32 or 12 FPS after dying or warping to another bonfire. This gets paired with an increase in VRAM usage from 67% to 97% or higher. That leads me to believe that either the game or (hopefully) DXVK is leaking memory by not freeing resources properly. This combined with the fact that the GTX 970 had that weird 3.5 + 0.5 GB VRAM setup with the last 0.5 GB being slower memory would explain the slowdowns at higher resolutions. For some reason though this behaviour even occurs when the game is loading the same area (i.e. when dying right next to a bonfire).

@Brisse89

This comment has been minimized.

Copy link

commented Jan 8, 2019

@robbert-vdh It should be fixed by now, at least on the 3.16-branch. If you're still at 3.7 then try switching to 3.16.

@robbert-vdh

This comment has been minimized.

Copy link

commented Jan 8, 2019

@Brisse89
It's definitely still happening for me on the 3.16-6 beta! Though I did notice just now that DXVK_HUD somehow reports that its running version 0.90 and not 0.94 like it's supposed to. I'll switch to the stable branch to see if the problem persists there.

I've wiped <steamapps>/common/Proton 3.16 Beta and somehow everything's working again like it should! I ran a quick fd d3d11.dll --type f --print0 | xargs -0 md5sum just before that and it looked like the warframe-linux script had somehow managed to overwrite Proton's own DXVK library with an older version. Thanks!

@tonijarjour

This comment was marked as off-topic.

Copy link

commented Jan 20, 2019

Game does not start at all. Have tried with both Nvidia and Nouveau drivers.

@Emanem

This comment was marked as off-topic.

Copy link

commented Jan 20, 2019

Game does not start at all. Have tried with both Nvidia and Nouveau drivers.

@tonijarjour please print the logs, mate - the game runs perfectly for all of us...

@kisak-valve

This comment has been minimized.

Copy link
Member

commented Jan 20, 2019

Hello @tonijarjour, please open a separate issue report.

@xexpanderx

This comment has been minimized.

Copy link

commented Feb 8, 2019

Gets to a point where I get a mouse cursor then exits without an error

Exactly the same problem!

@KorinFlakes

This comment has been minimized.

Copy link

commented Apr 6, 2019

After updating to Ubuntu 18.10 Cosmic Cuttlefish I've been getting really bad stuttering on any version of Proton (even though the FPS is 60). When I restart my PC after playing the game I get a warning saying Buffer Overflow detected and it points to the Dark Souls III exe file.

Not sure why this started after upgrading my Ubuntu but would love a fix for it. Sick of restarting my PC just to stop it from lagging.

@HonkingGoose

This comment has been minimized.

Copy link

commented Apr 6, 2019

When I restart my PC after playing the game I get a warning saying Buffer Overflow detected and it points to the Dark Souls III exe file.

@KorinFlakes I've been having buffer overflow messages on exit for all Dark Souls games (except maybe Dark Souls Remastered, I don't have that game, so I can't test that game.).

My buffer overflows just happen on exit, they don't seem to hamper anything, as far as I can tell. But you can look at my report, and maybe verify my findings? That way at least we know the buffer overflow is not caused by my specific configuration.

My report can be found here: #1962

@hhyyrylainen

This comment has been minimized.

Copy link

commented Apr 14, 2019

Crashes on new game for me as well. Renaming fdp_opening.bik works. After getting past that I'm getting quite a bit of lag.

Proton log file: https://gist.github.com/hhyyrylainen/8801236fe770a3ea38f6da72959e5a01.

@kisak-valve

This comment has been minimized.

Copy link
Member

commented Apr 14, 2019

Hello @hhyyrylainen, please open a separate issue report.

@vegerot

This comment has been minimized.

Copy link

commented May 18, 2019

@michaeltintiuc do you have nvidia-driver-396, i had the same issue but updating the nvidia driver fixed it for me. (with nvidia-390 i got the same crash)

How did you fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.