flathub / com.valvesoftware.Steam.CompatibilityTool.Proton

https://flathub.org/apps/details/com.valvesoftware.Steam.CompatibilityTool.Proton
35 stars 6 forks source link

Red Dead Redemption 2 doesn't run on this build #19

Open TheGreatestJannet opened 3 years ago

TheGreatestJannet commented 3 years ago

Red Dead Redemption 2 works fine when running on normal proton, however on this build it silently crashes after the Rockstar launcher. Here is the log:

Starting app 1174180
Loaded Config for Local Override Path for App ID 1174180, Controller 0: /home/user/.local/share/Steam//controller_base/empty.vdf
>>> Adding process 377 for game ID 1174180
GameAction [AppID 1174180, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 1174180, ActionID 1] : LaunchApp changed task to Completed with ""
>>> Adding process 378 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>>> Adding process 379 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 380 for game ID 1174180
esync: up and running.
>>> Adding process 381 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 384 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 386 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 389 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 396 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 409 for game ID 1174180
Game update: AppID 1174180 "", ProcID 380, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 380): SteamUtils009 / Utils
Setting breakpad minidump AppID = 1174180
RecordSteamInterfaceCreation (PID 380): SteamUser019 / User
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198167997881 [API loaded no]
RecordSteamInterfaceCreation (PID 380): SteamUser019 / User
RecordSteamInterfaceCreation (PID 380): SteamFriends015 / Friends
RecordSteamInterfaceCreation (PID 380): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 380): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 380): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 380): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 380): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 380): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 380): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
RecordSteamInterfaceCreation (PID 380): STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
RecordSteamInterfaceCreation (PID 380): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 380): SteamController006 / Controller
RecordSteamInterfaceCreation (PID 380): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 380): STEAMAPPLIST_INTERFACE_VERSION001 / AppList
RecordSteamInterfaceCreation (PID 380): STEAMMUSIC_INTERFACE_VERSION001 / Music
RecordSteamInterfaceCreation (PID 380): STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
RecordSteamInterfaceCreation (PID 380): STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
RecordSteamInterfaceCreation (PID 380): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 380): STEAMVIDEO_INTERFACE_V002 / Video
RecordSteamInterfaceCreation (PID 380): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 427 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 430 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game update: AppID 1174180 "", ProcID 430, IP 0.0.0.0:0
>>> Adding process 432 for game ID 1174180
RecordSteamInterfaceCreation (PID 430): SteamUser017 / User
RecordSteamInterfaceCreation (PID 430): SteamFriends014 / Friends
RecordSteamInterfaceCreation (PID 430): SteamUtils006 / Utils
RecordSteamInterfaceCreation (PID 430): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 430): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 430): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 430): STEAMAPPS_INTERFACE_VERSION006 / Apps
RecordSteamInterfaceCreation (PID 430): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 430): STEAMREMOTESTORAGE_INTERFACE_VERSION012 / RemoteStorage
RecordSteamInterfaceCreation (PID 430): STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
RecordSteamInterfaceCreation (PID 430): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 430): STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
RecordSteamInterfaceCreation (PID 430): STEAMCONTROLLER_INTERFACE_VERSION / Controller
RecordSteamInterfaceCreation (PID 430): STEAMUGC_INTERFACE_VERSION001 / UGC
RecordSteamInterfaceCreation (PID 430): SteamUser019 / User
RecordSteamInterfaceCreation (PID 430): SteamFriends015 / Friends
RecordSteamInterfaceCreation (PID 430): SteamUtils008 / Utils
RecordSteamInterfaceCreation (PID 430): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 430): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 430): SteamController004 / Controller
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 457 for game ID 1174180
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
RecordSteamInterfaceCreation (PID 430): SteamUtils006 / Utils
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 500 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 534 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 555 for game ID 1174180
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 611 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 613 for game ID 1174180
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Game update: AppID 1174180 "", ProcID 611, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 611): SteamUtils008 / Utils
RecordSteamInterfaceCreation (PID 611): SteamUser019 / User
RecordSteamInterfaceCreation (PID 611): SteamUser019 / User
RecordSteamInterfaceCreation (PID 611): SteamFriends015 / Friends
RecordSteamInterfaceCreation (PID 611): SteamUtils008 / Utils
RecordSteamInterfaceCreation (PID 611): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 611): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 611): SteamController004 / Controller
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/mnt/sdb1/Steam_Games_Linux/steamapps/shadercache/1174180/fozpipelinesv4/steamapprun_pipeline_cache".
wine: Unhandled page fault on read access to 0000000000000040 at address 000000007B01109E (thread 0394), starting debugger...
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 664 for game ID 1174180
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 672 for game ID 1174180
pid 382 != 381, skipping destruction (fork without exec?)
Game removed: AppID 1174180 "", ProcID 611 
Game 1174180 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 1174180 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 1174180 created interface SteamController004 / Controller
Game 1174180 created interface SteamFriends015 / Friends
Game 1174180 created interface SteamUser019 / User
Game 1174180 created interface SteamUtils008 / Utils
Game 1174180 method call count for IClientUser::BLoggedOn : 1
Game 1174180 method call count for IClientUser::GetAuthSessionTicket : 2
Game 1174180 method call count for IClientUser::GetSteamID : 2
Game 1174180 method call count for IClientFriends::GetPersonaName : 1
Game 1174180 method call count for IClientUtils::GetAppID : 9
Game 1174180 method call count for IClientUtils::RecordSteamInterfaceCreation : 8
Game 1174180 method call count for IClientAppManager::GetCurrentLanguage : 1
Uploaded AppInterfaceStats to Steam
Exiting app 1174180
gasinvein commented 3 years ago

What "normal proton" version did you use? Did you run it in flatpak or not? Did you apply some tweaks to it, namely to bypass pressure-vessel?

Also proton log may be helpful. Exit Steam, then run it via flatpak run --env=PROTON_LOG=1 com.valvesoftware.Steam . The log should then be written ~/.var/app/com.valvesoftware.Steam/steam-1174180.log.

TheGreatestJannet commented 3 years ago

I ran it without flatpak on build 5.13-2. I will try uploading a log soon.

TheGreatestJannet commented 3 years ago

Here is the log file for proton: steam-1174180.log

gasinvein commented 3 years ago

I'm not an expert on Wine at all, but it seems like the crash happens somewhere in the game code, not in wine, since it's writing its own crash dump:

16743.160:0398:039c:warn:debugstr:OutputDebugStringA "WER - Saving C:\\users\\steamuser\\Local Settings\\Application Data\\Rockstar Games\\Red Dead Redemption 2\\CrashLogs\\RDR2-20201115-153902-920.crash.log - 2780 bytes\n"

Also since the crash happens shortly after loading vulkan and Social Club vulkan layer, this may be related to drivers. Are you using AMD GPU? Did you try running the game on DX12 (vkd3d-proton) instead of native vulkan?

TheGreatestJannet commented 3 years ago

I'm using the NVIDIA drivers 455.38. I don't think the game even starts with vkd3d-proton but if it did it would perform awfully. Not sure why it is working outside the flatpak but not in it.

TheGreatestJannet commented 3 years ago

Seeing as this works outside the flatpak with the exact same game files I doubt it is an issue with the game. The crash dump is also useless with nothing interesting in it. Hopefully someone else can test it to confirm it isn't just me experiencing this.

AsciiWolf commented 3 years ago

Is the same version of Nvidia drivers also being used inside Flatpak?

TheGreatestJannet commented 3 years ago

Yes it is.

gasinvein commented 3 years ago

Does it work with Proton-GE, with or without flatpak? If not - I guess there may be something wrong with our seccomp patch.

TheGreatestJannet commented 3 years ago

The latest ProtonGE doesn’t work in flatpak I thought as it uses the steam runtime too. Additionally I don’t actually think ProtonGE has the patches for RDR2 so it wouldn’t work anyway (correct me if I’m wrong!) I can confirm though it still doesn’t work with 5.13-4 inside flatpak but works fine outside with the official proton.

TheGreatestJannet commented 3 years ago

Just tested the flatpak Proton Experimental and can confirm it also crashes silently after the launcher just like normal flatpak Proton.

mgidding commented 3 years ago

I have the same issue with both the nvidia 455.45 and 460.27 driver versions. I have also tried the flatpak build of protonGE, but it also crashes after the Rockstar launcher.

TheGreatestJannet commented 3 years ago

Proton-GE doesn’t support Red Dead Redemption 2 even with the upstream build. The flatpak build of ProtonGE is also missing the hotfixes which might cause other issues.

TheGreatestJannet commented 3 years ago

It works with the flatpak version of Proton Experimental but not with this build.

gasinvein commented 3 years ago

@TheGreatestJannet How can it be possible? RDR2 seccomp codepath is identical in normal and experimental proton 6.3, but I'll re-check that.

TheGreatestJannet commented 3 years ago

I have no idea but I tested it twice and it works on the flatpak Proton Experimental build. It even loads into online correctly.

TheGreatestJannet commented 3 years ago

While it does work it seems NPCs and horses are invisible for some reason in online mode.