ValveSoftware / Proton

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

World War Z: Aftermath (699130) #6505

Open cbs228 opened 1 year ago

cbs228 commented 1 year ago

Compatibility Report

System Information

I confirm:

Symptoms

This game worked well in vulkan mode prior to the January 31 2023 Hotfix. After the hotfix, vulkan mode results in a black screen on startup. The game loads and plays audio, and input devices appear to work, but the video is black.

The game will start normally in DX11 mode, but performance is unplayably bad on my hardware. The hardware in this compatibility report is nearly a decade old.

I have a more powerful / more recent computer that can run this game in DX11 mode. This newer hardware also used to run this game in vulkan mode, but now only DX11 is selectable. A Compatibility Report for my newer hardware is available on request.

Logs:

Reproduction

  1. From the main menu, choose Settings→Video→Graphics API, and toggle the selector from DIRECTX11 to VULKAN. Accept the dialogue box and restart the game.

  2. Note that the video display is black. Exit with ALT-F4.

  3. There is no option to switch back to DIRECTX11 mode. Setting a Steam Launch Option of

    PROTON_USE_WINED3D=1 %command%

    will cause the game to fall back to DX11.

Related Issues

Recent comments in other Compatibility Reports indicate trouble with vulkan mode on Steam Deck: https://github.com/ValveSoftware/Proton/issues/5174#issuecomment-1413177184. @FerLuisxd, would you care to elaborate on your report?

Fix / Workaround

Vulkan support appears to be mostly fixed in "Proton - Experimental" version experimental-8.0-20230606, but some users continue to report graphical glitches during gameplay.

FerLuisxd commented 1 year ago

Yes, though my case is not for the steam version of the game, I was using the heroic game launcher to play the epic version. Is there a way I can send logs of this version of the game?

cbs228 commented 1 year ago

Is there a way I can send logs of this version of the game?

@FerLuisxd, just add PROTON_LOG=1 to the environment variables for your game. There are some instructions on reddit, but I cannot vouch for them. Log files are written to $HOME/steam-$APPID.log. For further reading, see Heroic-Games-Launcher/HeroicGamesLauncher#1355.

If you can obtain a log file, please attach it to a comment.

EDIT: It would also help to know if this game ever worked in vulkan mode for you on your device.

marco-calautti commented 1 year ago

I can confirm that the game worked perfectly fine some months ago using the vulkan API on my Fedora 37 machine. With recent updates to the game, Vulkan now gives me a black screen, with sound and input working. Switching to DX11 seems to be the only option to make the game run.

noctis150 commented 1 year ago

I can confirm I have the same issue and December from 2022 this game was working perfectly on Vulkan API.

Right now, it's not working due to blank screen. You can't see anything, but you can hear it and navigate onto menu.

In my case, if I press in "win" key and I select again the World War Z window I can see slooowly the game. Steam's fps hud says it runs to 60 but visually seems like to 10 fps.

Tested in Proton 7.0.6 and Proton-GE7.50.

System. OS: Ubuntu 22.04 - Linux 5.19 CPU: AMD Ryzer 7 4000. GPU: AMD Radeon RX 5600m.

Legion495 commented 1 year ago

I can confirm this behaviour but a little bit more insight. The game when it starts with Vulkan appears to run the rendered window out of bounds. It does not confine to the window set for the game.

I happen to have a Ultrawide and above a smaller 1080p display. On the 1080p display I clearly see the game rendering the menu and everything. Even if moving the upper display I can see the menu and all but the game does not appear to update correctly. I am unable to access the settings in this state.

Did open a bug report on the Saber Support Website seeing if they will take any action here. Edit: Figures they state to not support it despite SteamDeck verification.

System: OS: Fedora 37 CPU: 58003DX GPU: Radeon 6800XT

marco-calautti commented 1 year ago

The issue still persists... Directx11 performance is abysmal compared to Vulkan for this game.

noctis150 commented 1 year ago

I saw AMD fixed something about this in their drivers for Windows. https://www.amd.com/en/support/kb/release-notes/rn-rad-win-23-4-3 But don't know if that implies the official drivers and if it would fix this issue in Linux.

marco-calautti commented 1 year ago

I have latest mesa, and the issue is still present, so I guess they are unrelated.

Hadrianneue commented 1 year ago

So i was going to try getting some useful log messages yesterday night, because in the morning i did a quick test and the game was still presenting the same issues mentioned above by other users, and to my surprise the game was running fine... with dx11, here's my log: wwz-dx11.log

it runs with vulkan with good fps but it crashes on the benchmark: wwz-vulkan.log

tried installing vcrun 2010 to 2022, still crashing: Runtime Error

its the EGS version running with legendary with WINE-GE 7.43 and dxvk 2.2 - mesa-git as of testing.

i hope i'm wrong but seems like trying again and again + rebooting may cause different results...

EDIT Running fine with AMDVLK (Q2.1-2) still waiting for next release since git is broken on aur..., got about the same log message as the ones above: wwz-amdvlk.log.txt

cbs228 commented 1 year ago

@Hadrianneue, it has always run OK in DX11 for me, but the performance was not as good as in Vulkan. (When Vulkan used to work.)

Have the Mesa updates improved DX11 performance?

Hadrianneue commented 1 year ago

@Hadrianneue, it has always run OK in DX11 for me, but the performance was not as good as in Vulkan. (When Vulkan used to work.)

Have the Mesa updates improved DX11 performance?

i'm not sure since i havent been playing this game in the last few months, still very CPU bound on DX11 and since im GPU bottlenecked (rx 6500 xt - ryzen 5 5600) it performs slight better in DX11 in my limited testing since RADV is crashing...

AMDVLK is the winner here though, you should give it a try.

Noctis-Bennington commented 1 year ago

There's an update in my part, apparently now Vulkan is working properly. There's no a blank screen anymore.

OS: Ubuntu 22.04 Kernel 6.2.16

CPU: AMD Ryzen 7 GPU: AMD Radeon RX 5600m

Proton GE8.4

marco-calautti commented 1 year ago

What driver are you using? RADV?

marco-calautti commented 1 year ago

I also confirm that now vulkan is working:

Arch Linux Kernel 6.3 GPU: RX 6800 ProtonGE8-4

Noctis-Bennington commented 1 year ago

Seems a fix in Proton part. PS: I'm using Mesa.

cbs228 commented 1 year ago

The main menu screen:

BUT, on my system, there are still rendering issues with actual gameplay. Textures involving transparency and some particles don't render correctly—they are very blue:

20230610120723_1_tooblue

I additionally see a great deal of bluish flickering horizontal lines, which cover 20 – 30% of the screen. These are somewhat intermittent and mostly appear during character movement. They do not appear in screenshots.

The texture issues do not occur in DX11 mode on either experimental-8.0-20230606 or ProtonGE8-4.

@marco-calautti, @Noctis-Bennington, did you test actual gameplay?

My system:

A remaining issue I have with the game, on both DX11 and Vulkan with all of the above Protons, is that the fullscreen window does not spawn correctly. After each launch, I have to:

  1. Wait for the game to load
  2. Use Alt-Enter to convert the fullscreen window to windowed mode
  3. Alt-Tab out, then back in
  4. Use Alt-Enter to make the game run fullscreen again

This is a very easy workaround to apply.

marco-calautti commented 1 year ago

Full screen works fine on my side, and I do not have any flickering or bluish textures.

I use mesa 23.1.1 and kernel 6.3.6 on arch. GE-Proton8-4 20230610200500_1

marco-calautti commented 1 year ago

Actually, it is true that there is blue flickering, but I see it only during online play. Playing offline does not produce any flickering. -EDIT- nevermind, happens also offline.

cbs228 commented 1 year ago

I have another system which does not have the above blue shader issue:

It is not yet clear if the blue flickering occurs on this system.

marco-calautti commented 1 year ago

Maybe it's an issue with AMD cards.

Noctis-Bennington commented 1 year ago

@cbs228 I played in Europe part (chapter 5?) and I didn't see flickering, maybe I didn't pay attention closely. If I see it, I'll let you know.

marco-calautti commented 1 year ago

It happens when the light changes. Try looking on the floor, and then slowly moving the camera up. You should see a sudden change in how the overall picture is presented, with a blue tint on top of everything. Probably having the blue tint is actually expected, but the way the game transitions from not having it and having it is strange. It is very drastic, without any actual transition.

Leopard1907 commented 1 year ago

@marco-calautti Can you try again? I was able to repro same issue you have with Vulkan renderer on RADV with 7900 XTX with Epic copy of the game but it seems game got an update and now i can't repro the issue.

Mesa 23.1.3

It was like this before:

Screenshot_20230614_013318

Screenshot_20230614_013305