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

The Surge 2 (644830) #3426

Open
2 tasks done
Reifam opened this issue Jan 12, 2020 · 24 comments
Open
2 tasks done

The Surge 2 (644830) #3426

Reifam opened this issue Jan 12, 2020 · 24 comments
Labels
AMD RADV Possible driver issues with RADV Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver

Comments

@Reifam
Copy link

Reifam commented Jan 12, 2020

Compatibility Report

  • Name of the game with compatibility issues: The Surge 2
  • Steam AppID of the game: 644830

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-644830.log
steam-644830-ignore.log

Symptoms

When launching the game, it immediately crashes with the following message: "Failed to execute Vulkan command 'result' (file 'D:\BuildAgents\buildAgent_pc\work\git_checkout_per_agent_branch\FledgeRenderer\renderer\src\vulkan\FledgeRendererSystemVulkan.cpp' in line '353'), returned: VK_ERROR_INCOMPATIBLE_DRIVER' "
This is what it looks like:
2020-01-12-130823_330x126_scrot

It presents this in a window with three options: Abort, Retry, and Ignore. Abort will just close the window and stop the game from running. Retry and Ignore both do the same thing. The game will technically be running, seeing as I can see the .exe running in top, but it doesn't actually launch into a playable or viewable state (just a process running in the background). After a minute or two, that process ends and the game quits. Above, the first log is from an abort, and the second is from an Ignore.

Reproduction

Launch the game.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Jan 12, 2020
@kisak-valve
Copy link
Member

Hello @Reifam, the error message and log appears to be accurately telling you the game failed to initialize the vulkan driver. Assuming mesa/radv is otherwise healthy on the system, maybe the game bundled vulkan-1.dll (....local\\share\\Steam\\steamapps\\common\\The Surge 2\\bin\\vulkan-1.dll) is interfering with the vulkan driver stack, similar to https://bugs.winehq.org/show_bug.cgi?id=47640#c2.

@Reifam
Copy link
Author

Reifam commented Jan 12, 2020

Hello, Kisak.
I see the issue about a bundled vulkan-1.dll In my The Surge 2/bin directory, I deleted the vulkan-1.dll that was there. However, the game crashed with the same error and the buttons have the same effects. The only copies of this dll in the .local tree are now in the common/Proton [version]/dist directories and in the compatdata directories. Any advice?

@aeikum
Copy link
Collaborator

aeikum commented Jan 13, 2020

It works on Nvidia. I believe this needs to be fixed in Mesa.

@kisak-valve kisak-valve added the Mesa drivers Possibly involves an issue with a Mesa video driver label Jan 13, 2020
@Leopard1907
Copy link

Leopard1907 commented Jan 14, 2020

Tbf ,that "it works on Nvidia" doesn't certainly mean it is a Mesa issue imo.

Just like it happened with World War Z game ( non Steam , DX11 and VLK game ). Everybody said it is a Mesa issue since VLK works with NV at initial release builds and today VLK renderer of this WWZ game doesn't even work with NV on Wine.

https://bugs.winehq.org/show_bug.cgi?id=47562

@Reifam
Copy link
Author

Reifam commented Feb 9, 2020

Update
Update on The Surge 2. Proton hit the big 5.0, which is great! I also ran a bunch of system updates recently so all my stuff is on different versions, so I figured I'd try it again. Unfortunately these updates and changes did not improve the ability to play the game

Mesa is now 20.0.0_rc1
Kernel is now 5.5.2 (-gentoo-r1)
Proton version is 5.0-1
Nothing has changed about my systems specifications/hardware
Here's the new crash dump. Ran with just the PROTON_LOG and not the other stuff
steam-644830.log

@hakzsam
Copy link

hakzsam commented Apr 21, 2020

@Reifam Are you still able to reproduce this crash with Mesa 20.0.X?

@Reifam
Copy link
Author

Reifam commented Apr 21, 2020

Hello, I have updated my Mesa and Kernel several times since last post, and The Surge 2 works much better now. Not exactly perfect, but I was actually able to play through the game from start to finish.
The issues I've noticed now are twofold. First, after playing for about an hour, the game's framerate gets incredibly slow and choppy. Quitting the game and starting up again resolves that, but it's weird that it happens. Also, I had about 2 major instances of the game just straight up resetting my computer. Everything would go black, and soon enough I would be back at GRUB. First was randomly in some area of the game, and second was whenever I'd try to start New Game + mode.
My current versions now:
Mesa 20.0.4-r1
Kernel 5.6.4 (-gentoo)
Proton 5.0-6
New dump. I'm not sure how the proton log works so this could either be my most recent forced hard reboot or the entire log from a full NG playthrough of The Surge 2:
steam-644830.log
Like I said, aside from these occurrences of hard reboots and slowdowns, the game is actually quite playable for me.

@kisak-valve kisak-valve changed the title The Surge 2 (644830) Vulkan Crash The Surge 2 (644830) Apr 24, 2020
@kisak-valve kisak-valve added the AMD RADV Possible driver issues with RADV label Apr 24, 2020
@hakzsam
Copy link

hakzsam commented Jun 8, 2020

@Reifam I think the situation with Mesa 20.1 should be even better. Does it work fine now with RADV_PERFTEST=aco ?

@kisak-valve kisak-valve added the Need Retest Request to retest an issue with vanilla Proton label Jun 8, 2020
@Reifam
Copy link
Author

Reifam commented Jun 18, 2020

Hello, I updated mesa to 20.1 and my kernel to 5.7.1. Unfortunately, the problems persist. When starting the NG+, I get screen freezes. This thankfully is not the entire computer rebooting, but it does require me to go into another TTY and kill X and restart it. Here's my latest proton log.
steam-644830.log
I also figured I'd include a tail of what dmesg is saying.
dmesgsurge.txt

@hakzsam
Copy link

hakzsam commented Jun 19, 2020

@Reifam Can you please attach the whole dmesg log next time? It looks like you got a GPU hang. What GPU is that?

@kisak-valve kisak-valve removed the Need Retest Request to retest an issue with vanilla Proton label Aug 1, 2020
@nentibusarchitectura
Copy link

Hi,

I've just tried to run The Surge 2 and while the game runs and the menus are shown, once the game load all graphics are rendered with black textures, the geometry seems to be working as I can see the silhouette of the protagonist if I move around and get a dialog behind the character. Other Indicators, health and hud elements work fine.

I was wondering if anyone has experienced this, I tried with LLVM and the result is the same.

I'm running: Ubuntu 18.04.x,

Proton version 5.13-4 and Experimental

Linux host 5.10.0-4.3-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.10-5ubuntu1~bionic (2021-01-01) x86_64 x86_64 x86_64 GNU/Linux

OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.40.0, 5.10.0-4.3-liquorix-amd64, LLVM 11.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.2 - kisak-mesa PPA

Vulkan Instance Version: 1.1.70
VK_LAYER_MESA_device_select (Linux device selection layer) Vulkan version 1.1.73, layer version 1
Device Properties and Extensions :
VkPhysicalDeviceProperties:
deviceID = 0x67df
deviceType = DISCRETE_GPU
deviceName = AMD RADV POLARIS10 (ACO)

@ZereoX
Copy link

ZereoX commented Feb 23, 2021

@nentibusarchitectura We've been able to reproduce your issue and an associated ticket has been entered into the Mesa tracker: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4347

We found that you can revert to Mesa 20.2.6 (https://gitlab.freedesktop.org/mesa/mesa/-/tree/20.2) stable if you want to continue playing.

@ZereoX
Copy link

ZereoX commented Mar 19, 2021

Hi @kisak-valve,

The issue reported above has been resolved (https://gitlab.freedesktop.org/mesa/mesa/-/commit/43bb5f818ae407bc55945506455845ed68b457e2) and is available in the latest stable Mesa (21.0).

We've retested with latest Mesa (RX 590 and RX 5700 XT) and experience no graphical or stability issues (Crash on NG+ or during extended game play sessions [1+ hour]).

@Reifam if you are still expericing the same issues as reported previously #3426 (comment) on the latest Mesa, please provide additional details as requested above #3426 (comment).

Otherwise I think it's safe to remove the AMD / RADV labels.

@kisak-valve kisak-valve added the Need Retest Request to retest an issue with vanilla Proton label Mar 19, 2021
@Reifam
Copy link
Author

Reifam commented Mar 20, 2021

@ZereoX I am no longer experiencing the crashing issues on the latest Mesa. The labels can be removed.

@kisak-valve kisak-valve removed AMD RADV Possible driver issues with RADV Mesa drivers Possibly involves an issue with a Mesa video driver Need Retest Request to retest an issue with vanilla Proton labels Mar 20, 2021
@kapsh
Copy link

kapsh commented Oct 22, 2022

Doesn't even start here with Unhandled exception: assertion failed in 64-bit code (0x00007f8a258a13dc).
Full log:
steam-644830.log
System info: https://gist.github.com/kapsh/d1ed6eae0f256e397ae8df85aa3ce2f9

@ZereoX
Copy link

ZereoX commented Oct 22, 2022

Doesn't even start here with Unhandled exception: assertion failed in 64-bit code (0x00007f8a258a13dc). Full log: steam-644830.log System info: https://gist.github.com/kapsh/d1ed6eae0f256e397ae8df85aa3ce2f9

You appear to be on Mesa 20.3.4. Might be worth updating to the latest stable release (22.2.2) or at the very least 21 or above since it was known to have issues on prior versions.

@kapsh
Copy link

kapsh commented Oct 22, 2022

@ZereoX thanks for the fast answer! I have mesa 22.2.1 here. Double checked in package info and glxinfo -B:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 5700 XT (navi10, LLVM 13.0.1, DRM 3.42, 5.15.70-r1) (0x731f)
    Version: 22.2.1
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 6745 MB, largest block: 6745 MB
    VBO free aux. memory - total: 7631 MB, largest block: 7631 MB
    Texture free memory - total: 6745 MB, largest block: 6745 MB
    Texture free aux. memory - total: 7631 MB, largest block: 7631 MB
    Renderbuffer free memory - total: 6745 MB, largest block: 6745 MB
    Renderbuffer free aux. memory - total: 7631 MB, largest block: 7631 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 16368 MB
    Currently available dedicated video memory: 6745 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 XT (navi10, LLVM 13.0.1, DRM 3.42, 5.15.70-r1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Now I see that Steam shows mesa 20.3.4 in system info, which is weid. What else should I check?

Upd investigated a bit, this comes from installed 32 bit stuff (which I haven't updated in ages) and can be found under architectures.i386-linux-gnu json key. architectures.x86_64-linux-gnu shows current 22.2.1 version correctly.

This game is 64 bit only I think, shouldn't be an issue.

@kisak-valve
Copy link
Member

kisak-valve commented Oct 22, 2022

Hello @kapsh, looking at your system information, the Vulkan render path is broken inside the Steam Linux Runtime - Soldier container environment (https://gist.github.com/kapsh/d1ed6eae0f256e397ae8df85aa3ce2f9#file-gistfile1-txt-L1064) This is the key detail to focus on while troubleshooting. This is most likely a Exherbo-specific issue and something that should be pondered on the runtime's side (https://github.com/ValveSoftware/steam-runtime/).

@rapenne-s
Copy link

Worked fine on Deck and NixOS, except on the Deck, the fonts are all gibberish but it seems to be due to fonts not scaling down well... :(

@NTMan
Copy link

NTMan commented Jul 30, 2023

The game start crashing after change VSync option from "Adaptive" to "Off":

Screenshot from 2023-07-31 02-12-27

Screenshot from 2023-07-31 02-13-38

steam-644830.log

I used mesa built from git-master https://gitlab.freedesktop.org/mesa/mesa/-/commit/03ff3c0027267240d116df5e1593ffaa974690e0

Steam Runtime Diagnostics

@kisak-valve
Copy link
Member

Hello @NTMan, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report.

@NTMan
Copy link

NTMan commented Jul 31, 2023

Done

@kisak-valve kisak-valve added Mesa drivers Possibly involves an issue with a Mesa video driver AMD RADV Possible driver issues with RADV labels Jul 31, 2023
@kisak-valve
Copy link
Member

The Surge 2 (644830)

Issue transferred from #7079.
@wiscoinferno posted on 2023-09-06T14:54:39:

Compatibility Report

  • Name of the game with compatibility issues: The Surge 2
  • Steam AppID of the game: 644830

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

When conversing with NPCs, and navigating menus, the option to navigate via controller (dualsense wired) randomly drops. Still able to use the face buttons to choose the top most option (or exit dialog) but cannot move up/down to choose other options. Often exiting and re-entering dialog will enable movement, but it often drops again mid conversation.

Reproduction

This happens at random using Proton Experimental. Will attach log files this evening after work and converse with an NPC.

@kisak-valve kisak-valve mentioned this issue Sep 6, 2023
2 tasks
@wiscoinferno
Copy link

Note: this appears to be an issue in windowed mode only. Switching to fullscreen seems to have corrected the issue in testing for uploading my logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AMD RADV Possible driver issues with RADV Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver
Projects
None yet
Development

No branches or pull requests