ValveSoftware / Proton

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

Yakuza Kiwami 2 (927380) #2659

Open RodoMa92 opened 5 years ago

RodoMa92 commented 5 years ago

Compatibility Report

System Information

I confirm:

steam-927380.log

Symptoms

Reproduction

smo0z commented 5 years ago

For me, the game works if I disable the compositor (KDE). But when editing the graphics settings, it crashes and does not save the settings.

steam-927380.log

RodoMa92 commented 5 years ago

For me, the game works if I disable the compositor (KDE). But when editing the graphics settings, it crashes and does not save the settings.

steam-927380.log

Tried the same trick, no luck here. Still a crash on a black screen.

ap4y commented 5 years ago

Game starts on vega 56 and rx580 after several tries but there are problems with lighting: all environments are really dark, had to adjust gamma in-game settings to max. Tried dxvk 1.0.3 and 1.1.1 with radv and amdvlk with mesa-git.

Changing graphics settings causes game to crash but you can adjust them manually in drive_c/users/steamuser/Application\ Data/Sega/YakuzaKiwami2/graphics.ini

Occasionally crashes will show d3d11.dll in the backtrace, so might be dxvk related. Log with d3d11 in the backtrace: steam-927380_d3d11.log

doitsujin commented 5 years ago

Crashes on startup should hopefully be fixed in DXVK as of doitsujin/dxvk@8784ed673bd1e45125af8ab05412776402767bd5.

ap4y commented 5 years ago

can confirm that gamma issues and crashes (on settings change included) are fixed with the current dxvk master. thanks @doitsujin

RodoMa92 commented 5 years ago

Same here, everything runs perfectly fine with the latest master from @doitsujin. All the crashes are gone; even if the gamma still looks like a little too dark for me, however it's an easy fix from the settings. Thanks again for your time.

kisak-valve commented 5 years ago

Yakuza Kiwami 2 GPU usage

Issue transferred from https://github.com/ValveSoftware/Proton/issues/3121. @Alpha-180 posted on 2019-10-03T21:19:44:

Compatibility Report

System Information

I confirm:

steam-927380.log

Symptoms

The game has low GPU usage when you are in game however in the menus the GPU usage spikes up normally. To test this I uncapped the frame rate and on both the main menu and when you pause the game the GPU can hit 100% load and is not being limited by the CPU. However once the menus go away and you are just in game GPU load drops dramatically and I have seen as low as 37% usage. Forcing SSAA increases GPU load but does not affect the frame rate at all. For example in one area I could be getting 46 FPS at 56% load, I enable SSAA and load jumps to 87% but the FPS remains the same.

Reproduction

Being in game and out of a menu reduces GPU load.

Below are some screenshots I took to showcase the increase/decrease in GPU load

menu

inGame

paused

doitsujin commented 5 years ago

@Alpha-180 that's a CPU limit, not really a Proton issue.

Alpha-180 commented 5 years ago

@doitsujin Just to make sure I'm understanding right you mean like a CPU bottleneck right? If that's the case it shouldn't be as the CPU isn't pinned at 100% load but rather at about 70% load (In game at least). In other proton games even with higher CPU usage on all cores the GPU is able to provide more frames granted the CPU is not at 100% load. Here's a screenshot from MH:W using proton to show what I mean if that's what you mean. In the screenshot the GPU is at 98% load and had hit 100% beforehand while on all cores usage was always above 80% on all cores, sometimes going into the 90+ range.

cpu_load

doitsujin commented 5 years ago

be as the CPU isn't pinned at 100% load

That's not how CPU limits work at all. Multicore scaling in this engine is limited, and your GPU is very strong considering that you're only running 1080p resolution and a game that can run at ~60 FPS even on a 1060. I'd honestly be surprised if you saw significantly higher GPU utilization on Windows in this game.

Alpha-180 commented 5 years ago

I don't know how the engine works but I do indeed have significantly higher GPU utilization in Windows. Over 50% difference in usage in the same area 47% in Linux using Proton vs 98% in Windows and the CPU is being used a bit more as well. Here are some screen shots with MSI Afterburner and Task manager showing the GPU/CPU usage.

inGame_Windows

inGame_Linux

AniLeo commented 4 years ago

System Information

Symptoms

Game crashes after completing a few bouncer missions Edit: Getting this after a couple minutes of normal gameplay too after completing a mission

Reproduction

Note: I tested this at 4K with every setting on Ultra (with Depth of Field and Blur disabled) and SMAA x1

I wasn't running with PROTON_LOG enabled, but I was running steam from console so I have a crashdump. Made it a dropdown to not disrupt the ticket because it's 206 lines.

Crashdump ``` Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x000000006a38b1ab). Register dump: rip:000000006a38b1ab rsp:0000000002bdfc90 rbp:00007ffffb8b4804 eflags:00010202 ( R- -- I - - - ) rax:000000006a526180 rbx:000000001bfc9060 rcx:000000001bfc9120 rdx:0000000002bdfc7c rsi:0000000000000000 rdi:0000000000000000 r8:0000000000000000 r9:6e0e7ffffbb7e500 r10:0000000000a7c348 r11:00007ffffbdbaf00 r12:000000001bfc9060 r13:0000fffffffffff0 r14:0000000140000000 r15:0000000000000000 Stack dump: 0x0000000002bdfc90: 0000000140000000 0000ffffffffffff 0x0000000002bdfca0: 0000000142a17580 0000000141c5493b 0x0000000002bdfcb0: 00007ffffa028300 0000000000000000 0x0000000002bdfcc0: 000000001bfc9060 000000006a38b1de 0x0000000002bdfcd0: 0000000002bdfce0 0000000800000010 0x0000000002bdfce0: 00007ffffbcb22b0 00017ffffbb66230 0x0000000002bdfcf0: 0000ffffffffffff 000000006a45e39b 0x0000000002bdfd00: 00017ffffbd23d30 00007ffffbce8ab0 0x0000000002bdfd10: 00017ffffb881230 00017ffffb8b84b0 0x0000000002bdfd20: 00007ffffb8b4800 0000000041b8a074 0x0000000002bdfd30: 00007ffffb8b4800 0000000141c663ed 0x0000000002bdfd40: fffffffffffffffe 0000000141c9bda0 Backtrace: =>0 0x000000006a38b1ab EntryPoint+0x49e5b() in d3d11 (0x00007ffffb8b4804) 1 0x000000006a38b1de EntryPoint+0x49e8d() in d3d11 (0x00007ffffb8b4804) 2 0x000000006a45e39b EntryPoint+0x11d04a() in d3d11 (0x00007ffffb8b4804) 3 0x0000000141c663ed EntryPoint+0xfda090dc() in yakuzakiwami2 (0x00007ffffb8b4804) 4 0x0000000141c51a67 EntryPoint+0xfd9f4756() in yakuzakiwami2 (0x00007ffffb8b4804) 5 0x0000000141c5b20d EntryPoint+0xfd9fdefc() in yakuzakiwami2 (0x000000000002ee98) 6 0x0000000141c9203d EntryPoint+0xfda34d2c() in yakuzakiwami2 (0x000000000002ee98) 7 0x0000000141ba1127 EntryPoint+0xfd943e16() in yakuzakiwami2 (0x0000000000000000) 8 0x000000007bc62776 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000) 0x000000006a38b1ab EntryPoint+0x49e5b in d3d11: calll *0x0000000000000008(%rax) Modules: Module Address Debug info Name (63 modules) PE ce0000- ce8000 Deferred api-ms-win-core-localization-l1-2-1 PE 1f80000- 1fb3000 Deferred libpxdpad_dynamic PE 2bf0000- 2c87000 Deferred openvr_api_dxvk PE c070000- c18f000 Deferred actxprxy PE 3b400000- 3b441000 Deferred steam_api64 PE 61900000- 6192b000 Deferred sechost PE 62140000- 62170000 Deferred uxtheme PE 62600000- 6263c000 Deferred usp10 PE 637c0000- 6387a000 Deferred winmm PE 64940000- 64959000 Deferred shcore PE 64b80000- 64b8f000 Deferred hid PE 64d40000- 64d4f000 Deferred vulkan-1 PE 65000000- 65143000 Deferred ole32 PE 65680000- 65688000 Deferred api-ms-win-core-sysinfo-l1-2-1 PE 65780000- 6578e000 Deferred version PE 66200000- 66262000 Deferred dbghelp PE 66440000- 66461000 Deferred msacm32 PE 67500000- 67510000 Deferred xinput9_1_0 PE 68a40000- 68a94000 Deferred shlwapi PE 69040000- 6916c000 Deferred dxvk_config PE 69900000- 69968000 Deferred d3dcompiler_47 PE 6a100000- 6a231000 Deferred oleaut32 PE 6a340000- 6a609000 Export d3d11 PE 6a700000- 6a77f000 Deferred setupapi PE 6b3c0000- 6b3e3000 Deferred explorerframe PE 6b6c0000- 6b7c2000 Deferred comdlg32 PE 6b880000- 6b887000 Deferred api-ms-win-core-fibers-l1-1-1 PE 6bd00000- 6bd0d000 Deferred schannel PE 6bec0000- 6bed9000 Deferred imm32 PE 6dc00000- 6dc08000 Deferred api-ms-win-appmodel-runtime-l1-1-1 PE 6e340000- 6e348000 Deferred api-ms-win-core-synch-l1-2-0 PE 6e6c0000- 6e803000 Deferred comctl32 PE 6fbc0000- 6fc46000 Deferred rpcrt4 PE 70140000- 70166000 Deferred mmdevapi PE 7a850000- 7a854000 Deferred opengl32 PE 7b000000- 7b0d0000 Deferred kernelbase PE 7b610000- 7b7cd000 Deferred kernel32 PE 7bc00000- 7bca4000 Export ntdll PE 138000000- 139374000 Deferred steamclient64 PE 140000000- 144289000 Export yakuzakiwami2 PE 180000000- 1801e2000 Deferred gameoverlayrenderer64 PE 7f97342c0000- 7f97342c3000 Deferred kerberos PE 7f97342d0000- 7f97342d4000 Deferred dnsapi PE 7f9734300000- 7f9734304000 Deferred iphlpapi PE 7f9734330000- 7f9734333000 Deferred netapi32 PE 7f97343e0000- 7f97343e3000 Deferred secur32 PE 7f9734640000- 7f9734643000 Deferred winepulse PE 7f97afda0000- 7f97afda4000 Deferred winex11 PE 7f97b07b0000- 7f97b07b4000 Deferred winevulkan PE 7f97b0820000- 7f97b0824000 Deferred msvcrt PE 7f97b0910000- 7f97b0914000 Deferred wined3d PE 7f97b0ab0000- 7f97b0ab4000 Deferred dxgi PE 7f97b2400000- 7f97b2440000 Deferred dinput8 PE 7f97b2480000- 7f97b249b000 Deferred wldap32 PE 7f97b24c0000- 7f97b24c4000 Deferred ws2_32 PE 7f97b2500000- 7f97b250b000 Deferred winspool PE 7f97b2550000- 7f97b2554000 Deferred bcrypt PE 7f97b2580000- 7f97b25c4000 Deferred crypt32 PE 7f97b26a0000- 7f97b2782000 Deferred user32 PE 7f97b2920000- 7f97b2927000 Deferred gdi32 PE 7f97b2ae0000- 7f97b33b6000 Deferred shell32 PE 7f97b3530000- 7f97b3534000 Deferred ucrtbase PE 7f97b3750000- 7f97b3754000 Deferred advapi32 Threads: process tid prio (all id:s are in hex) 00000020 steam.exe 00000024 0 000000b0 0 00000030 services.exe 00000034 0 00000038 0 00000044 0 00000060 0 0000006c 0 0000009c 0 000000a8 0 0000003c plugplay.exe 00000040 0 0000004c 0 00000050 0 00000054 0 00000074 0 00000078 0 00000174 0 00000058 winedevice.exe 0000005c 0 00000064 0 00000068 0 00000070 0 0000007c 0 00000080 0 00000088 0 0000008c 0 00000090 0 00000094 winedevice.exe 00000098 0 000000a0 0 000000a4 0 000000ac 0 000000b4 explorer.exe 000000b8 0 000000bc 0 000000c8 0 000000cc 0 000000d8 (D) Z:\mnt\games\SteamLibrary\steamapps\common\Yakuza Kiwami 2\YakuzaKiwami2.exe 000000dc 0 000000e0 0 000000e4 0 000000e8 0 000000ec 0 000000f0 0 000000f4 15 000000f8 0 <== 000000fc -2 00000100 -2 00000104 -2 00000108 -2 0000010c -2 00000110 -2 00000114 -2 00000118 -2 0000011c -2 00000120 -2 00000124 0 00000128 0 0000012c 0 00000130 0 00000134 0 00000138 0 0000013c 0 00000140 0 00000144 0 00000148 0 0000014c 0 00000150 0 00000154 0 00000158 0 0000015c 0 00000160 1 00000164 1 00000168 0 0000016c 0 00000170 0 0000017c 0 00000180 0 00000184 2 00000188 2 0000018c -2 00000190 -2 00000194 2 00000198 15 0000019c 0 000001a0 0 000001a4 0 000001a8 0 000001ac 0 000001b0 0 000001b4 -1 000001b8 0 000001bc 0 000001c0 0 000001c4 0 000001c8 0 000001cc 0 000001d0 0 000001dc 0 000001e4 0 000001f0 0 System information: Wine build: wine-5.13-634-gd6646652a2f Platform: x86_64 Version: Windows 10 Host system: Linux Host version: 5.10.0-1-MANJARO ```

If someone is interested in looking into this let me know if you need more information, perhaps another go at it with PROTON_LOG=1 or some other env variables