ValveSoftware / Proton

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

God of War Ragnarök (2322010) #8107

Open hjpaul7 opened 2 months ago

hjpaul7 commented 2 months ago

Compatibility Report

System Information

I confirm:

steam-2322010.log

Symptoms

Reproduction

urbenlegend commented 2 months ago

Same here: image

Sony ruining their PC efforts by mandating PSN. Is there a workaround for this?

kisak-valve commented 2 months ago

Hello @hjpaul7, it's fairly clear what the blocker is for this game. This is just a side note that the Proton log you attached is for a different game.

hjpaul7 commented 2 months ago

Hello @hjpaul7, it's fairly clear what the blocker is for this game. This is just a side note that the Proton log you attached is for a different game.

Yeah I realize, but Ghost of Tsushima included the PS SDK as well I believe and that game is able to run? Thanks, updated to correct Proton log.

hjpaul7 commented 2 months ago

SteamDeck=1 %command% launch option allowed the game to launch. Compiling shaders currently..

urbenlegend commented 2 months ago

Seems like mouse look is deliberate disabled with SteamDeck=1? Anyone else seeing this? Controller seems to work okay after enabling Steam Input (typical Dualsense over BT issues).

robotman40 commented 2 months ago

I suspect the PCSDK installer fails like in GoT? If so, can we work on fixing that?

hjpaul7 commented 2 months ago

Seems like mouse look is deliberate disabled with SteamDeck=1? Anyone else seeing this? Controller seems to work okay after enabling Steam Input (typical Dualsense over BT issues).

Also can't use mouse look. And I'm guessing with the SteamDeck=1 option that disables something with Steam Input? My 8bitdo Ultimate controller will not swap the A/B buttons in game (use Nintendo layout toggled off in settings).

urbenlegend commented 2 months ago

Seems like there's a performance pitfall when Atmospherics is set higher than Medium and Krato's "flashlight" lights up in dark areas. Pretty reproducible in the dark sections early in the game. My Ryzen 3900x and Nvidia 3090 is barely maintaining 40fps in those areas.

likarum commented 2 months ago

SteamDeck=1 %command% launch option allowed the game to launch, but the screen remains black, but I'm able to access to the steam's overlay

Dwarsen commented 2 months ago

SteamDeck=1 %command% launch option allowed the game to launch, but the screen remains black, but I'm able to access to the steam's overlay

Apparently this happens if you haven't linked Steam to your PSN account in a different Sony game prior to this one.

likarum commented 2 months ago

SteamDeck=1 %command% launch option allowed the game to launch, but the screen remains black, but I'm able to access to the steam's overlay

Apparently this happens if you haven't linked Steam to your PSN account in a different Sony game prior to this one. Sadly sony is not agree to let me link my steam account with them... error "invalid_request" error_code 4099 error_description "Parameter 'client_id' is malformed"

Dwarsen commented 2 months ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2362315939

How are you trying to do it?

For me, the only thing that ended up working was to use Returnal, ask that game to open a web browser with a link (A QR code with the PS App would fail), and then send that link to my phone and open it in a mobile browser and log in. Then I could link it. The browser link wouldn't work on my desktop regardless of which browser I used, and I also could not login by going directly to the Playstation Store. I got a different error from you though.

likarum commented 2 months ago

My gosh... When I try to connect to sony network the url is: https://www.playstation.com/fr-fr/pc-registration/?auth_url..... with a defined client_id and a redirect_uri, but when I clicked on continue.... their value are "null" I replaced null by the value of the first url.... and "Voila"

And I agree with you... now I'm able to access to the game...

robotman40 commented 2 months ago

Just curious, but does the PlayStation Overlay work?

Dwarsen commented 2 months ago

Just curious, but does the PlayStation Overlay work?

Nope.

robotman40 commented 2 months ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2362337471

What happens when you try to open it?

Dwarsen commented 2 months ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2362337750

It doesn't initialize when you pass SteamDeck=1 to the game. If you don't pass that variable, the game won't start.

Just to add, I don't see anything at all about the overlay anywhere in the game at all. No popups, no button-combo, no nothing.

robotman40 commented 2 months ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2362338901

We'd have to try getting the pspcsdk to install, since it apparently fails due to a crash in kernel32.dll in GoT's case.

But even then, it may end up blocking Wine as it did with GoT and Concord.

Dwarsen commented 2 months ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2362344934

Yeah, the PS SDK is the issue here, but I'm at least glad the developers allowed the integration to be entirely bypassed, I was worried they wouldn't. It's just unfortunate they still require your account to be linked, even though there is no way to do that in this game on Linux (as far as I can tell anyway).

In fact, looking at a steam deck reddit thread the game even has an automatic preset for Steam Deck, so clearly the devs wanted it to be playable on that device at least.

sevansup commented 2 months ago

Hello. I wanted to report that while the game now "works" on Steam Deck out of the box, at least in the USA region with a previously linked PSN/Steam account, the game doesn't work in Offline Mode, nor with airplane mode enabled/wifi disabled. It crashes with an error report pop-up that allows you to send an error report to the game's developers.

Is offline mode being prohibited, or is this a bug?

matte-schwartz commented 2 months ago

Hmm, is anyone else seeing their HDR settings reset every time you launch the game? Trying to figure out if it's a game issue or a proton issue, but every single launch I need to go into Settings -> Graphics & Camera -> Screen Calibration and manually enable HDR again.

sevansup commented 2 months ago

Heads up that offline mode now seems to work, sort of, if you can hold steam + the trackpads to change the input into mouse mode and skip past the PSN login message that appears in offline mode by accepting it. However, once you get to the main menu no controls are recognized. Kind of opposite to how SteamDeck=1 was disabling mouse input. That seems to be the next hurdle: something related to the game's handling of Steam Input based upon whether or not you're using a Deck.

satarasov commented 2 months ago

Is there any workaround to fix mouse lookup in game with SteamDeck=1 parameter ? Without using a controller :)

Gumsax commented 2 months ago

guys I have the same problem in my steam deck, try the steamdeck=1 and it doesn't work, try linking my steam account to playstation from another game and I still get the same mistake on the page, I'm from Argentina and I thought it was a problem of the region but I see that no, some still have the same problem, you've solved it in a different way?

alosarjos commented 2 months ago

I'm curious on Valve position here. Are games allowed to "run" on SteamDeck only and not regular PCs with Linux by default?

ClaudeLib commented 2 months ago

Ah, so that's why the game stays on black screen on startup and upon exiting I see a browser window with PSN login page open. The game indeed expects me to log in and link the accounts. And if I use SteamDeck=0 (I play on ChimeraOS, which has it set to 1, I believe), it just gives me the "PS PC SDK missing" error.

urbenlegend commented 2 months ago

I'm curious on Valve position here. Are games allowed to "run" on SteamDeck only and not regular PCs with Linux by default?

I am sure Valve is okay with regular Linux PCs, especially since the difference between SteamOS's Arch-base and regular Linux is minimal at most. It's Sony here who's doing the arbitrary differentiation by relying on SteamDeck=1 to toggle off the PSN SDK.

alosarjos commented 2 months ago

I'm curious on Valve position here. Are games allowed to "run" on SteamDeck only and not regular PCs with Linux by default?

I am sure Valve is okay with regular Linux PCs, especially since the difference between SteamOS's Arch-base and regular Linux is minimal at most. It's Sony here who's doing the arbitrary differentiation by relying on SteamDeck=1 to toggle off the PSN SDK.

I meant, not sure the position on Valve allowing publishers to do this differentiation, since the point of Valve is also allowing 3rd party machines to have SteamOS without being Steam Decks

alosarjos commented 2 months ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2364638634

I remember this from back the day

https://www.gamesindustry.biz/valve-says-it-will-not-allow-exclusive-titles-for-steam-deck

mhmarf commented 2 months ago

Many on Windows also cannot move camera using mouse, their fix according to this steam discussions thread is to install Microsoft.GameInput. Is this possible for Linux?

GoWR uses Microsoft GameInput for handling camera mouse input and it fails to initialize on some machines.

dominikzogg commented 2 months ago

@mhmarf i tried to run the .msi but it does not install using the same WINEPREFIX and proton version. It cannot be installed.

thesacredsin commented 1 month ago

@mhmarf i tried to run the .msi but it does not install using the same WINEPREFIX and proton version. It cannot be installed.

I installed it, but it does not fix it for me, there is also a mention of a service that needs to be set to auto, but it is not present on Linux(Wine/Proton)

mhmarf commented 1 month ago

@thesacredsin How did you install it? I could not install it. I first used dotnet45, then wine-mono 9.2, finally dotnet48 (I'm not sure if these are needed...), then went to wine uninstaller -> install -> and chose this .msi file but kept getting this error (Wine 9.16-staging Nobara 40):

0140:fixme:file:NtLockFile I/O completion on lock not implemented yet
0140:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
014c:fixme:reg:NtQueryLicenseValue License key L"Kernel-ProductInfo" not found
00c4:err:service:process_send_start_message service L"GameInput Service" failed to start
0140:err:msi:ITERATE_StartService failed to start service L"GameInput Service" (1053)
0140:err:msi:execute_script Execution of script 0 halted; action L"StartServices" returned 1627
0140:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1627
0140:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0140:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0140:err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1627

Though after trying many times, somehow when I used wine uninstaller, I indeed saw GameInput in there lol. I don't know how it got in there, but I went ahead and tested the game and mouse was still not fixed... I then removed it and no longer can "accidentally" install it... I'm not sure if it was correctly installed because I keep seeing these errors.

thesacredsin commented 1 month ago

I compiled latest Proton Tricks and then used Run arbitrary executable

mhmarf commented 1 month ago

Thank you! it installed easily. Yet mouse still not working...

Edit: I think GameInput is not working at all even though it gets installed... I tried to "modify" it (protontricks -> run uninstaller -> modify) and saw these errors:

016c:err:service:process_send_start_message service L"GameInput Service" failed to start
0164:err:msi:ITERATE_StartService failed to start service L"GameInput Service" (1053)
0164:err:msi:execute_script Execution of script 0 halted; action L"StartServices" returned 1627
0164:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1627
mhmarf commented 1 month ago

there is also a mention of a service that needs to be set to auto, but it is not present on Linux(Wine/Proton)

Can this be done in protontricks -> regedit? I found GameInput Service in there (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services) : reged

thesacredsin commented 1 month ago

2 means auto I believe so it is already as it should be. Strange as I looked there too previously and did not find it https://www.dedoimedo.com/computers/wine-services.html

mhmarf commented 1 month ago

I just checked PROTON_LOG and indeed GameInput Service is being loaded (on regedit it is set to "2"):

17960.410:0054:0058:trace:loaddll:build_module Loaded L"C:\\Program Files (x86)\\Microsoft GameInput\\x64\\gameinputsvc.exe" at 0000000140000000: native

but is not starting:

17960.570:0030:0034:err:service:process_send_start_message service L"GameInput Service" failed to start
17960.570:0030:0034:fixme:service:scmdatabase_autostart_services Auto-start service L"GameInput Service" failed to start: 1053

If set to "0" (which is "boot") on regedit:

18396.029:0030:0034:err:service:validate_service_config Service L"GameInput Service" - SERVICE_BOOT_START and SERVICE_SYSTEM_START are only allowed for driver services
18396.029:0030:0034:err:service:scmdatabase_load_services Invalid configuration of service L"GameInput Service" - skipping

If set to "1" which is "system" (same message as "0"):

18654.803:0030:0034:err:service:validate_service_config Service L"GameInput Service" - SERVICE_BOOT_START and SERVICE_SYSTEM_START are only allowed for driver services
18654.803:0030:0034:err:service:scmdatabase_load_services Invalid configuration of service L"GameInput Service" - skipping

Finally, if set to "3" (which is "manual"), it won't even get loaded. it does not exist in PROTON_LOG.

Hadrianneue commented 1 month ago

FSR3 Frame Generation is very crash prone in this game, especially when using fullscreen mode, X11 or wayland, it doesn't seem to affect gamescope as much however, it usually crashes or freezes spamming these log lines:


46640.547:0128:0238:warn:threadname:NtSetInformationThread Thread renamed to L"DxUploadService"
46640.547:0128:023c:warn:threadname:NtSetInformationThread Thread renamed to L"vkd3d_fence"
46640.547:0128:0240:warn:threadname:NtSetInformationThread Thread renamed to L"vkd3d_queue"
46640.563:0128:024c:warn:seh:dispatch_exception EXCEPTION_WINE_NAME_THREAD exception (code=406d1388) raised
46640.961:0128:012c:warn:vkd3d-proton:vkd3d_get_image_allocation_info: Padding allocation requirements. Requested alignment 4096 < 65536 (dim 4, 128 x 128 x 128, 1 levels, 1 samples, fmt #27, flags #4).
46640.967:0128:012c:warn:vkd3d-proton:d3d12_resource_validate_texture_alignment: Invalid resource alignment 0x1000 (required 0x10000).
46641.359:0128:01c4:warn:vkd3d-proton:d3d12_pipeline_state_init_graphics_create_info: DSV format is DXGI_FORMAT_UNKNOWN.
46641.363:0128:012c:err:msvcrt:_wassert (L"!status && \"vkCreateWin32SurfaceKHR\"",L"../src-wine/dlls/winevulkan/loader_thunks.c",3252)
46641.364:0128:01b4:warn:vkd3d-proton:d3d12_pipeline_state_init_graphics_create_info: Ignoring stencilTestEnable due to lack of stencil aspect.
46641.377:0128:026c:err:ole:CoUninitialize Mismatched CoUninitialize

btw i tried with no_staggered_submit, crashes all the same.

ilovethensa commented 1 month ago

Any updates on this?

matte-schwartz commented 1 month ago

@Hadrianneue what Mesa version?

Hadrianneue commented 1 month ago

@Hadrianneue what Mesa version?

mesa-git

matte-schwartz commented 1 month ago

I get a somewhat similar crash without frame-gen, after around ~40 minutes on mesa-git. Does not seem to happen for me at all on latest mesa stable (at least not yet...). No mention of err:msvcrt:_wassert (L"!status && \"vkCreateWin32SurfaceKHR\"",L"../src-wine/dlls/winevulkan/loader_thunks.c",3252) in my own proton log though: steam-2322010.tar.gz

One time it crashed both gamescope and Xwayland, the second time (which is what my Proton log is of) only the game crashed and it gave me the game's own error reporter pop-up.

  Host: threadripper-arch Kernel: 6.11.0-6-cachyos-lto arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.1.5 Distro: CachyOS
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900
    XTX/7900M] driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: modesetting dri: radeonsi
    gpu: amdgpu resolution: 5120x1440
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.0-devel
    renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 18.1.8 DRM 3.58
    6.11.0-6-cachyos-lto)
  API: Vulkan v: 1.3.295 drivers: radv,llvmpipe surfaces: xcb,xlib,wayland
sevansup commented 1 month ago

Is anyone investigating the issue where no controller input is recognized in offline mode on Steam Deck? Built in Deck controls, SteamOS.

nipnipj commented 1 month ago

I cannot move the camera with my mouse :(

NiahSSBM commented 1 month ago

Someone made a mod to remove the Playstation SDK runtime requirement, but it's since been taken down. http://web.archive.org/web/20240924200559/https://github.com/iArtorias/nopssdk

I managed to save a copy before it was taken down, but I don't know if I'm allowed to distribute it. I was hoping this would allow the game to start without the SteamDeck=1 workaround, and maybe the mouse would work, but the game crashes on startup and I get a crash report screen.

ahmed4119 commented 1 month ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2372583748

I tried adding the flags they mention to the configs.main.ini but it didn't reproduce your problem, for me it just asks for the PlayStation SDK is not found. I need to mention that I am using a cracked version of the game and those DLLs I downloaded are new and do not replace anything that is not already in the directory and the versions of the DLLs I have are actually older (1.0.2).

ahmed4119 commented 1 month ago

Replying to https://github.com/ValveSoftware/Proton/issues/8107#issuecomment-2372583748

If anyone has had any luck with NoPSSDK, please tell us how.

NiahSSBM commented 1 month ago

My mod version is also 1.0.2

My game was purchased through steam and the mod files are also net new. My startup args are SteamDeck=0 WINEDLLOVERRIDES="version=n,b" %command%

image

Also sorry if this isn't the place to be discussing mods the developer clearly does not want us playing with.

mhmarf commented 1 month ago

When they surrounded him, taking both his nexusmods and github page down, in his last final stand he released a final 1.0.3 version that actually works flawlessly with Linux, that is, the game launches without SteamDeck=1 with no problem. But the mouse problem STILL remains... so SteamDeck=1 has nothing to do with this mouse problem and it is basically PSN=1 (lol)... This is a game problem and related to the dreadful GameInput.