ValveSoftware / Proton

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

Dishonored 2 (403640) #823

Open Kreyren opened 6 years ago

Kreyren commented 6 years ago

DISCLAIMER I coudn't find any other thread on ValveSoftware/Proton that reports this issue with Dishonored 2

ISSUE Dishonored 2 won't open on Gentoo Linux running kernel 4.17.14 (with Vulkan USE flag emerged).

INFO emerge --info - https://paste.pound-python.org/show/1jergtB0ZSBI88eH1PGI/ vulkaninfo - https://paste.pound-python.org/show/DvgUS21HaW0894bFtRnx/ Proton - 3.7-4 Beta System Informations - https://pastebin.com/jF0WcUuM PROTON_LOG - https://paste.pound-python.org/show/e4eervdOR0Pu2IZvWmCr/ let me know what else i can provide not familiar with Proton diagnostics.

STEPS TO REPRODUCE 1) Install (emerge) steam 2) log-in 3) install Dishonored 2 with Dishonored 2 Assassins Pack (PreOrder) DLC 4) Run the game 5) game won't open Suspect same issue on other distros.

EXPECTED 1) Install (emerge) steam 2) log-in 3) install Dishonored 2 with Dishonored 2 Assassins Pack (PreOrder) DLC 4) Run the game 5) game opens and works no issues.

Let me know if i can help :+1:

kisak-valve commented 6 years ago

Hello @KostWarCZE, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. Additionally, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

There's known issues with llvm 6, so you'll want to try llvm 7 or newer. However, there were some other reports hinting that GCN 1.0 cards are having more video driver trouble with Vulkan than others.

You may have some luck with testing Proton's runtime options.

Kreyren commented 6 years ago

@kisak-valve i used pastebin + wgetpaste is it acceptable?

System Informations - https://pastebin.com/jF0WcUuM PROTON_LOG - https://paste.pound-python.org/show/e4eervdOR0Pu2IZvWmCr/

doitsujin commented 6 years ago

Dishonored 2 generally works well with AMD GPUs, but requires wine-staging patches which are not present in Proton.

afettouhi commented 6 years ago

I tested Dishonored 2 with proton and the 3.7-5 beta. The game launched for me just fine but won't launch with 3.7-6 now.

tr37ion commented 5 years ago

Compatibility Report

System Information

I confirm

Proton Log

Gist - Proton Log

You may compare it with Proton Log of #1668

Symptoms

Game doesn't start at all. Not even the black startup screen I got with the first time crash of #1668. I didn't try to copy over the Prefix of #1668 to this this one here.

Might be worth a try. Also comparing both Gists might help finding the bug.

Both games have the same engine, therefore, the fix shouldn't that hard. Also I played Dishonored 2 with DXVK 0.7 + WineStaging for 20h before, so it is no Denouvo issue, too.

jollycar commented 5 years ago

The problem is denuvo, since the Demo version of Dishonored 2 works flawlessly with proton

tr37ion commented 5 years ago

@ivohuisjes How can it be Denuvo if I already played the game flawlessly with DXVK and Wine?

afettouhi commented 5 years ago

@ivohuisjes How can it be Denuvo if I already played the game flawlessly with DXVK and Wine?

Did you use vaniila wine or wine-staging?

Kreyren commented 5 years ago

might be relevant:

Based on informations from lutris https://lutris.net/games/install/6425/view Dishonored 2 require xact.

Based on my testing using staging-3.17-x86_64 with DXVK 0.81 and WINEESYNC=1 + xact game works on platinum, but has issues with popping/crackling sound.

Let me know if i can contribute to making configuration for games on proton.

afettouhi commented 5 years ago

might be relevant:

Based on informations from lutris https://lutris.net/games/install/6425/view Dishonored 2 require xact.

Based on my testing using staging-3.17-x86_64 with DXVK 0.81 and WINEESYNC=1 + xact game works on platinum, but has issues with popping/crackling sound.

Let me know if i can contribute to making configuration for games on proton.

Funny in all of my tests with Dishonored 2 both the full game and the demo. I didn't need to install xact or had any issues with sound. My issues with the game were related to not being able to turn 360 degrees. But this was fixed adding capture the mouse pointer in the wine settings.

flibitijibibo commented 5 years ago

@kisak-valve Requesting an XAudio2 label for this game... this is a Wwise title but they still use an XAudio2 context for the output stream.

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.

liberodark commented 5 years ago

For me not work on Proton 3.16-3 and 3.7 with 1050Ti won't open But work on lutris but slow fps with 1050Ti

osleg commented 5 years ago

Proton 3.7-2, 3.7-4 and 3.16 not starting the app gForce 1050Ti

Kreyren commented 5 years ago

Not sure if it's patched, sharing PROTON_LOG: https://pastebin.com/i2KidYs7

Still won't open.

Kreyren commented 5 years ago

Sharing my research here in case it helps: https://github.com/RXT067/Research/tree/master/WINE-Dishonored2

afettouhi commented 5 years ago

After the removal DRM from Dishonored 2 it launches fine now with proton 3.16-5 even the steam controller works out of the box.

poVoq commented 5 years ago

I can't find any news that Denuvo was removed officially. Do you mean it works with a cracked executable?

kisak-valve commented 5 years ago

Hello @poVoq, there's a related forum thread at https://steamcommunity.com/app/403640/discussions/0/3561682879998.

jtux270 commented 5 years ago

After the removal DRM from Dishonored 2 it launches fine now with proton 3.16-5 even the steam controller works out of the box.

Confirm that, but lags are terrible compared to Windows. (Mint 18.2, i5, GTX 1050Ti )

CSahajdacny commented 5 years ago

I can't find any news that Denuvo was removed officially. Do you mean it works with a cracked executable?

https://www.rockpapershotgun.com/2018/12/14/dishonored-2-removes-drm-adds-goodies/

Confirm that, but lags are terrible compared to Windows. (Mint 18.2, i5, GTX 1050Ti )

Are you using a traditional HDD or an SSD?

jtux270 commented 5 years ago

Are you using a traditional HDD or an SSD?

Traditional HDD

CSahajdacny commented 5 years ago

Are you using a traditional HDD or an SSD?

Traditional HDD

Maybe that is the problem.. When I tried the DEMO from a traditional HDD, I had a lot of lags... So, I installed it to on an SSD and no more lags... a cheapest 120gb SSD can do the job.

I have my native Linux steam games in one SSD, and Proton steam games on another SSD.

Kreyren commented 5 years ago

Are you using a traditional HDD or an SSD?

Traditional HDD

Maybe that is the problem.. When I tried the DEMO from a traditional HDD, I had a lot of lags... So, I installed it to on an SSD and no more lags... a cheapest 120gb SSD can do the job.

I have my native Linux steam games in one SSD, and Proton steam games on another SSD.

I would say unlikely i tried to change the cache using DXVK_STATE_CACHE to /tmp which had no effect on it + i can reproduce the issue just by swinging a sword to a texture which i believe it issue with shaders.

I seem to be able to reproduce the issue on gallium9 which indicates that it's not DXVK's issue (tried to set lauch argument in steam, but i'm not sure if it worked..

tr37ion commented 5 years ago

The game runs now.

ISSUES

image image image

doitsujin commented 5 years ago

@tr37ion what's your hardware and driver? I don't think I have ever seen that rendering issue on RADV/Polaris.

I don't see how a D3D11 game runnig on Vulkan would suffer from half-pixel offset issues that are exclusive to D3D9.

tr37ion commented 5 years ago

@doitsujin I just test it with the new Proton Proton 3.16-6 beta. Loading times seem to be fixed now. Graphics issues (white shades) persist, while performance feels smoother now.

I played Dishonored 2 with DXVK 0.7 + WineStaging for 20h before. Afaik, there were no such graphics issues.

doitsujin commented 5 years ago

If this is a DXVK regression, please try to find the first version that introduced the issue.

tr37ion commented 5 years ago

I can't say it is DXVK itself, but I got it working perfectly well (with Denuvo) at ultra graphics settings at the time DXVK 0.6.50 or 0.7 was present. Afterwards I never got it working again. Those white shades got into the game by that time, too. Maybe it is Mesa, Vulkan driver, Wine prefix settings or Nvidia driver, which broke it for me.

At least I can say it wasn't Denuvo related from my perspective. All my later attempts getting it up and running again, even with using DXVK 0.6.50 or 0.7.x showed those graphics bugs mentioned here.

With this post I wanted to confirm, that I have the same graphics issues with current Proton versions as I experienced with newest DXVK versions for months, too. Maybe someone else can confirm those issues, too.

tr37ion commented 5 years ago

The same scene from another perspective. It looks like it has something to do with scene light and background objects - Fresnel effect? image Well, I may test the issue with a fresh Arch installation, too.

Kreyren commented 5 years ago

@doitsujin I believe that it's DXVK issue sending log here: https://paste.pound-python.org/show/SI0Jg1rWizEhuDys0A9l/

Installed deps - xact corefonts which includes xact andale arial comicsans courier georgia impact times trebuchet verdana webdings corefonts w_workaround_wine_bug-22053 w_workaround_wine_bug-39403 steam.

Steam is set on Win7

Steam seems to install directX, vcrun

game won't open.

trying to install d3dx9

game won't open

trying to install dxvk

game opens

freezes and performance issues are present

more info: https://github.com/RXT067/Research/blob/master/WINE-Dishonored2/README.md Line 140

Trying on gallium9 + will provide video.

Installed d3dx9 = same result

Disabled gallium9 in winecfg

installed dxvk

Same issue https://youtu.be/ZnQMfh3RBMs

Trying to trace back DXVK version

Added +com_showLoadingScreen 0 to avoid loading screens

Trying DXVK92 = Same issue, but seems less laggy (probably not)

trying DXVK90 = same issue

trying DXVK81 = same issue

DXVK80 = same issue

DXVK72 = Same issue, laggs are much worse

VIDEO: https://youtu.be/FS4MJXt_OxQ

Willing to do more testing on demand, provide me variables to fill. ^^

osleg commented 5 years ago

Having stuttering too but that's half a problem, the other big problem is some kind of issue with lights, eg sunlight and shadow. Not sure how to explain, here are some screenshots

20181223232137_1

20181223232157_1

20181223232441_1

At first two screenshots it's hard to see but the third one, as soon as I get out to "sunny" streets the issue is fully visible.

My sysinfo:

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

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    CPU Family:  0x6
    CPU Model:  0x9e
    CPU Stepping:  0xa
    CPU Type:  0x0
    Speed:  4100 Mhz
    12 logical processors
    6 physical processors
    HyperThreading:  Supported
    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:
    Linux 4.x (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.19.12-arch1-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12003000
    X Window Manager:  awesome
    Steam Runtime Version:  <Runtime disabled>

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 1050 Ti/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 390.87
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x1c8c
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 23.94" x 13.58" (27.52" diag)
                                            60.8cm x 34.5cm (69.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 4096 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC3266

Memory:
    RAM:  15678 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Total Hard Disk Space Available:  423678 Mb
    Largest Free Hard Disk Block:  139688 Mb
    VR Headset: None detected
Kreyren commented 5 years ago

For me the main issue is with freezes i didn't notice any issues with light => might be fixed in wine/affecting nvidia GPU?

omicron-b commented 5 years ago

@osleg maybe updating Nvidia driver would help, 396.54 is minimum for using Proton, and 415.22 has some important Vulkan fixes

osleg commented 5 years ago

Indeed, switching to 415.25 fixed the lighting issues. So the only problem remains is the micro-freezes

Kreyren commented 5 years ago

Lets pray for our DXVK-god together then. dishonored2_regression

Kreyren commented 5 years ago

@doitsujin Is this sufficient for issue report on DXVK or do you want me to issue it on DXVK github?

zvbarev commented 5 years ago

My problem with Dishonored 2 is different. Sometimes it loads and crash after loading save, sometimes it crashes before message "Please wait". Seems it checks for compatibility PC or blocking some files. Because you can play without problem 2 hours or more or you can't simply enter the game.

Ubuntu 18.10 Proton 3.16 beta Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz NVIDIA GeForce GT 735M Driver Nvidia 415.25

Kreyren commented 5 years ago

@Sebastian1978 You don't have issues with freezes (https://youtu.be/ZnQMfh3RBMs?t=178) ?

More info to "please wait" screen"

More info to "Sometimes it loads and crash after loading save"

zvbarev commented 5 years ago

@Kreyren I didn't have any issues with freezes. But after some changes in Dishonored 2 I can't launch it at all( I don't know the reason. I tryed to change Nvidia and game settings. Delete Dishonored2 cfg. Still no progress. Crash at the start. Some days ago I easy got Void engine screen and sometimes Please wait screen.

Kreyren commented 5 years ago

@Sebastian1978 Interesting.. Please provide output of winetricks list-installed.

Crash at the start is usually symptom of DXVK not installed on the system (on this game), make sure that in winecfg > Libraries d3d10, d3d10_1, d3d10core, d3d11 and dxgi set on Native. (Based on my experience winetricks dxvk installs them as Native by default, trying Builtin might also bring up some results)

What DXVK version are you using?

WINE version? (wine --version)

Nvidia diver version? (proprietary?/opensource?)

It's also possible that it's something funky in ubuntu What version of ubuntu and kernel are you using (output of uname -a)?

What WINE version are you using? Wine? Wine-staging? PBA? Esync?

Are you able to see DXVK_HUD in game? DXVK_HUD="1" wine <path_to_executable>

zvbarev commented 5 years ago

@Kreyren I use proton 3.16-6 beta. When I change it to 3.16-4 nothing changes. Nvidia 415.25 proprietary.

Ubuntu 18.10, Linux 4.18.0-13-generic #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I use wine-4.0-rc5 (Staging) but run game via Steam Proton

Is it possible that proton doesn't start for Dishonored but run other games?

My PC info from Steam->System Info https://gist.github.com/Sebastian1978/39ee20ace2e5ada5d0b8614914e7334b

My steam-403640.log divided to 2 pastebin: https://pastebin.com/zYqSb4ER https://pastebin.com/SzsJN8zG

Here is my ldconfig -p output: https://pastebin.com/KKzReCud

Kreyren commented 5 years ago

@Sebastian1978 I'm still having the issue on 4.18.18-gentoo-r1, wine-4.0-rc5, AMD7870 using AMDGPU on proton

Proton 3.16-6 is on silver/garbage freezes are frequent, Proton 3.16-6 Beta is gold/pre-platinum.

Aldo the game is much better in comparison to my last testing, but i'm still having freezes while player enters new location or smashes some destructible objects namely glass cabinet in the secret room with a gun and a mask at the entrance on the right and some glasses on the table.

Would rate it as pre-platinum, playeble with minor-ish issues.

System info

https://paste.pound-python.org/show/t7uGaixcx79eLtwxhOMO/

Kreyren commented 5 years ago

@Sebastian1978 Can you confirm on your side? If the issue is present share output of ldconfig -p i suspect that ubuntu has some dependencies that might affect the result.

Can't confirm on Nvidia GPU atm.

zvbarev commented 5 years ago

@Kreyren here is my ldconfig -p output: https://pastebin.com/KKzReCud

I didn't have freezes via proton as I remember.

doitsujin commented 5 years ago

@Kreyren The stutter issue is not a bug, it's due to shader compilation. This game unfortunately comes with a lot of complex shaders.

Kreyren commented 5 years ago

@doitsujin Noted, can you suggest a solution?

zvbarev commented 5 years ago

@Kreyren @doitsujin Do you have any ideas to my situation? https://github.com/ValveSoftware/Proton/issues/823#issuecomment-452261189

Kreyren commented 5 years ago

@Sebastian1978 Well it's proton the only thing you can do is to try different versions of proton, nvidia drivers, LLVM, vulkan or wait for Valve and contributors to fix it.

I would also try using +com_showLoadingScreen 0 in steam launch options. This skips intros at the start of the game in case there is an issue with reading blink videos.

Using DXVK_STATA_CACHE might also help.. Assuming issue with shaders.


My approach would be to make new wineprefix with dependencies from WineHQ and winesteam, installed Dishonored 2 and openned it in windowed, then i would look at terminal output to see what's happening at the moment of failure and using different WINEDEBUG if needed.

Changing DLL overrides and wine versions from bobwya overlay as needed and write the results in markdown documment to help me realize what is happening and to file an issue with fixes.

making patches to wine is also an options assuming there is some fixme which is mandatory for the wineapp, seh that is making an illegal move and so on..

Currently i have in plan to try Dishonored 2 on PBA and esync or different DXVK configuration.

You can also import the DLLs from Windows assuming that your local laws allows it for your usecase.

Or you can make franken-proton with custom patches.


Or wait for me to figure it out and push it to phoenicis as refferenced above assuming that i make it faster then Valve and contributors.

dandishonored commented 5 years ago

Works well in Debian Buster, KDE desktop, Nvidia GTX960(proprietary driver 410.48). Proton 3.7-8 beta (current in Steam) Howto: I finished Dinshonored: Death of the Outsider and tried to run this. Same problem as was with Dishonored: DotO, it crashed to desktop after Arkane logo. I ran it again with +com_showLoadingScreen 0 and did Alt+Tab to KDE when loading progress bar was shown. Then I was waiting a while for game to load in background. Then I did Alt+Tab back to game. It was in menu running slow, like 2fps. I set all visuals to very low and quit to desktop. Next it started normal, no Alt+Tab needed. I have settings on High. Works same as Dinshonored: DotO. When gaming session is longer (cca 5 hours), it starts cracking with sounds. Just save and restart to get over it. This works for me for both games and I think it is caused by automatic initial settings. Somehow Alt+Tab works and it will let me go in menu and set all manually.I hope it will help you to run game and play, before it will be solved. screenshot_20190119_050657