ValveSoftware / Proton

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

Jagged Alliance 3 (1084160) #7039

Open otikscypi opened 10 months ago

otikscypi commented 10 months ago

Compatibility Report

System Information

I confirm:

Proton log: steam-1084160.log

Symptoms

Game was working great for me on proton until devs released patch 1.1.0. Now it just crashes to the desktop instead of showing the menu.

Problem appears to be limited to nvidia GPUs. Game still works on steam deck. There are also no reports about it not working on AMD GPUs on a desktop. There is however a number of nvidia GPUs users with similar problems, using different GPUs and different drivers: https://steamcommunity.com/app/1084160/discussions/0/3810661765912984419/

Comparing proton log from steam deck and desktop, the main difference is following failling assertion: Assertion failed: !status && "vkCreateComputePipelines", file ../src-wine/dlls/winevulkan/loader_thunks.c, line 2604

Reproduction

  1. Launch the game updated to the patch 1.1.0 on a PC with nvidia GPU.
  2. Splashscreen will show, followed by cinematics and the splashscreen again.
  3. If this is first launch of the game and there was no prior acceptance of transfering diagnostic data - a window will show asking for approval. Menu will be visible in the background. After transfering diagnostica data it is accepted or rejected - the game crashes to a desktop.
  4. If this is not the first launch - the game should load the main menu. This is not happening and the game is crashing.
kisak-valve commented 10 months ago

Hello @otikscypi, can you check how this game behaves with Proton experimental-8.0-20230822 (today's update)?

EDIT: Oops, didn't realize that build hasn't been pushed out with Steam yet. Please retest after it becomes available.

otikscypi commented 10 months ago

Hi @kisak-valve, will do.

In the meantime I managed to find a workaround. I already shared it on steam community forum, appears to be working for more people: https://steamcommunity.com/app/1084160/discussions/0/3810661765912984419/

I will retest it with Medium/High reflection when new experimental proton arrives.

It appears the problem is only in the MainMenu files and only on a single setting - Reflection.

To get around it follow steps below:

  1. Open the game folder (right click on the game, properties -> installed files -> browse)
  2. Navigate to Packs/Maps folder.
  3. Create some folder, name it as you like - i.e. bak or temp
  4. Find all the files with names starting with "MainMenu_"
  5. Move all those files to the folder you created in step 3.
  6. Launch the game. Game should launch to the menu but instead of the background with your mercs, it will be black.
  7. Open Options -> Video and change Reflections to anything other than Medium or High. Off, Low and Ultra are ok. Apply the change. Don't try to play yet. You do not have some necessary files.
  8. Close the game.
  9. Restore the "MainMenu_" files to their previous location.
  10. Restart the game.
  11. Game should now go to the main menu, background with mercs should be there.

It may be that in your case Reflections is not the problematic option. We need more reports to confirm that. If you will still have problems, repeat the steps 4 to 6, but instead of changing the Reflections only, manually change all options to the lowest possible setting. Then close the game, restore "MainMenu_" files, restart the game. If it launches to the menu you are almost there. Now try to setting up your options one by one, applying the change after every single one. If it crashes again, just restart game (that last change should not stick and it should launch) and skip that option or try different level.

otikscypi commented 10 months ago

I tested it a moment ago with new proton experimental. Game still crashes with reflections on medium or high.

pktiuk commented 10 months ago

I also have this problem. (I launched game with the latest proton experimental)
Workaround from above helped.

svenvvv commented 9 months ago

Faced a similar crash-before-menu but with a different workaround. The crash took place right after the first splash screen, before reaching the company logo videos. I had to report a non-Intel GPU for it to work, as debugging it showed that Intel XESS was crashing it (SIGSEGV in xessD3D12BuildPipelines()). Created a dxvk.conf file in the working directory of the game with the line dxgi.hideIntelGpu = True in it.

After that, the game works but has some minor visible shader glitches and performance is bad. For example, after changing the resolution the game will run at 30-40 FPS for a short while, but then drops to 10-20 FPS. Edit: The "resolution change FPS boost" also takes place when switching to another workspace (Sway WM) and then back to the one containing the game. Edit: The crash-before-menu and fix also worked the same under X11, but under X11 the game performance was much worse, 10-20 FPS in menu.

GPU: Intel Xe Graphics (i7-1185G7) Mesa and Intel Vulkan version: 23.1.8 Kernel version: 6.5.4 Proton version: Proton Experimental

ofcaah commented 6 months ago

This still happens today on 3090. Switching reflections to Ultra fixed things.