ivan-hc / Steam-appimage

Unofficial Steam AppImage built on top of "Conty" (Arch Linux).
GNU General Public License v3.0
24 stars 3 forks source link

Games are slow to start or crash #23

Open kenderipa opened 3 weeks ago

kenderipa commented 3 weeks ago

Hello,

I've found time for a small test (three games: Psychonauts 2 (native), Murdered: Sould Suspect (Proton), KotoR II (native)). Looks like the games mostly start, but onlt after they are stopped through Steam client (first two). Others just crash (third one), and I'm not sure where to find logs for them. Logs are neither in game directory nor in the ~/.local/share folder.

Logs for the games that CAN be launched (Murdered: Soul Suspect, Proton), written by Steam client in stdout:

After clicking Start, before clicking Stop:

(process:6156): GLib-GObject-CRITICAL **: 10:22:48.750: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
reaping pid: 6156 -- gameoverlayui
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
fsync: up and running.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
chdir "/home/kender/.steam/debian-installation/steamapps/common/Murdered Soul Suspect/Binaries/Win64"
Game Recording - would start recording game 233290, but recording for this game is disabled
Adding process 6447 for gameID 233290

After Stop is clicked

ERROR: ld.so: object '/home/kender/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kender/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/kender/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kender/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kender/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 6525 for gameID 233290
Adding process 6526 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Adding process 6653 for gameID 233290
ProtonFixes[6653] INFO: Running protonfixes
ProtonFixes[6653] INFO: Running checks
ProtonFixes[6653] INFO: All checks successful
ProtonFixes[6653] INFO: Using global defaults for "MURDERED: SOUL SUSPECT™" (233290)
ProtonFixes[6653] INFO: No global protonfix found for "MURDERED: SOUL SUSPECT™" (233290)
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6654 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
fsync: up and running.
Adding process 6655 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6656 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6659 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6661 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6664 for gameID 233290
Adding process 6674 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6687 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6693 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6706 for gameID 233290
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Setting breakpad minidump AppID = 233290
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198037668677 [API loaded no]
ERROR: ld.so: object 'sdl_block_screensaver_inhibit.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
wine: using kernel write watches, use_kernel_writewatch 1.
Adding process 6723 for gameID 233290
08/25 10:27:31 minidumps folder is set to /tmp/dumps
Fossilize INFO: Overriding serialization path: "/home/kender/.steam/debian-installation/steamapps/shadercache/233290/fozpipelinesv6/steamapprun_pipeline_cache".
Fossilize INFO: Overriding serialization path: "/home/kender/.steam/debian-installation/steamapps/shadercache/233290/fozpipelinesv6/steamapprun_pipeline_cache".
GameOverlay: started '/home/kender/.steam/debian-installation/ubuntu12_32/gameoverlayui' (pid 6835) for game process 6723
08/25 10:27:37 minidumps folder is set to /tmp/dumps
08/25 10:27:37 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240823223543)/tid(6835)
08/25 10:27:37 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(6835)
pid 6657 != 6656, skipping destruction (fork without exec?)
Game 233290 created interface STEAMAPPS_INTERFACE_VERSION005 / Apps
Game 233290 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 233290 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION010 / RemoteStorage
Game 233290 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
Game 233290 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 233290 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 233290 created interface SteamFriends013 / Friends
Game 233290 created interface SteamMatchMaking009 / Matchmaking
Game 233290 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 233290 created interface SteamNetworking005 / Networking
Game 233290 created interface SteamUser016 / User
Game 233290 created interface SteamUtils005 / Utils
Game 233290 method call count for IClientRemoteStorage::GetQuota : 1
Game 233290 method call count for IClientRemoteStorage::GetFileSize : 2
Game 233290 method call count for IClientRemoteStorage::FileRead : 1
Game 233290 method call count for IClientNetworking::AllowP2PPacketRelay : 1
Game 233290 method call count for IClientUserStats::RequestUserStats : 1
Game 233290 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 233290 method call count for IClientAppManager::GetAppStateInfo : 2
Game 233290 method call count for IClientUtils::RecordSteamInterfaceCreation : 13
Game 233290 method call count for IClientUtils::SetOverlayNotificationPosition : 1
Game 233290 method call count for IClientUtils::GetAPICallResult : 1
Game 233290 method call count for IClientUtils::IsAPICallCompleted : 8
Game 233290 method call count for IClientUtils::GetAppID : 16
Game 233290 method call count for IClientUtils::GetIPCountry : 1
Game 233290 method call count for IClientUtils::GetServerRealTime : 1
Game 233290 method call count for IClientFriends::GetFriendPersonaName_Public : 1
Game 233290 method call count for IClientFriends::SetRichPresence : 1
Game 233290 method call count for IClientFriends::GetFriendGamePlayed : 1
Game 233290 method call count for IClientFriends::GetFriendByIndex : 1
Game 233290 method call count for IClientFriends::GetFriendCount : 1
Game 233290 method call count for IClientFriends::GetFriendPersonaState : 1
Game 233290 method call count for IClientFriends::GetPersonaName : 1
Game 233290 method call count for IClientUser::BIsSubscribedApp : 2
Game 233290 method call count for IClientUser::IsVACBanned : 1
Game 233290 method call count for IClientUser::GetSteamID : 3
Game 233290 method call count for IClientUser::BLoggedOn : 7
Uploaded AppInterfaceStats to Steam
Game Recording - game stopped [gameid=233290]
Removing process 6723 for gameID 233290
Removing process 6706 for gameID 233290
Removing process 6693 for gameID 233290
Removing process 6687 for gameID 233290
Removing process 6674 for gameID 233290
Removing process 6664 for gameID 233290
Removing process 6661 for gameID 233290
Removing process 6659 for gameID 233290
Removing process 6656 for gameID 233290
Removing process 6655 for gameID 233290
Removing process 6654 for gameID 233290
Removing process 6653 for gameID 233290
Removing process 6526 for gameID 233290
Removing process 6525 for gameID 233290
Removing process 6447 for gameID 233290
[0] Found 0 recordings to consider

But still, it looks very promising. Thanks to you, Steam is moving in the right direction :)

kenderipa commented 3 weeks ago

Looks like something malicious. @ivan-hc, please take notice.

kenderipa commented 3 weeks ago

Reported.

Samueru-sama commented 3 weeks ago

@kenderipa You only have this issue with the appimage right?

Can you try with conty as well?

I've used the appimage with BeamNG (proton) and CS2 (native) and haven't had issues.

kenderipa commented 3 weeks ago

@kenderipa You only have this issue with the appimage right?

Can you try with conty as well?

I've used the appimage with BeamNG (proton) and CS2 (native) and haven't had issues.

With conty.sh it looks exactly the same.

ivan-hc commented 3 weeks ago

@kenderipa You only have this issue with the appimage right? Can you try with conty as well? I've used the appimage with BeamNG (proton) and CS2 (native) and haven't had issues.

With conty.sh it looks exactly the same.

because this AppImage is based on conty.sh, to bundle this Arch Linux container into an AppImage allow to use AppImage-specific features, such as .config and .home directories that prevent creation of dotfiles in your $HOME directory.

I have choosen Conty because its the only portable Arch Linux that I have found that supports 3d hardware accelleration (if you use Nvidia, like me, you will have a slower startup, because Conty creates and saves a layout with portable Nvidia drivers, as Flatpak does).

kenderipa commented 3 weeks ago

@kenderipa You only have this issue with the appimage right? Can you try with conty as well? I've used the appimage with BeamNG (proton) and CS2 (native) and haven't had issues.

With conty.sh it looks exactly the same.

because this AppImage is based on conty.sh, to bundle this Arch Linux container into an AppImage allow to use AppImage-specific features, such as .config and .home directories that prevent creation of dotfiles in your $HOME directory.

I have choosen Conty because its the only portable Arch Linux that I have found that supports 3d hardware accelleration (if you use Nvidia, like me, you will have a slower startup, because Conty creates and saves a layout with portable Nvidia drivers, as Flatpak does).

So no remedy for this porblem? Because yes, I'm using nVidia.

ivan-hc commented 3 weeks ago

Really, your issue seems to be similar to https://github.com/ivan-hc/Steam-appimage/issues/15 and I don't think its an issue with the Nvidia drivers, in your cases.

If the issue is only with third-paty games (not the native ones) I don't really know what is the solution, @Samueru-sama is the expert of Steam here, also if this repo have my name, the 80% of the tests and improvements come from him.

In the meantime, would you try to run them using my Bottles AppImage instead? https://github.com/ivan-hc/Bottles-appimage

kenderipa commented 3 weeks ago

Really, your issue seems to be similar to #15 and I don't think its an issue with the Nvidia drivers, in your cases.

If the issue is only with third-paty games (not the native ones) I don't really know what is the solution, @Samueru-sama is the expert of Steam here, also if this repo have my name, the 80% of the tests and improvements come from him.

In the meantime, would you try to run them using my Bottles AppImage instead? https://github.com/ivan-hc/Bottles-appimage

The issue is with native games, too.

Samueru-sama commented 3 weeks ago

I also just tested project wingman (proton) and it works without issues.

@kenderipa What are the specs of your PC? besides nvidia being an issue the other thing that comes to mind is that the appimage uses more ram.

kenderipa commented 2 weeks ago

I also just tested project wingman (proton) and it works without issues.

@kenderipa What are the specs of your PC? besides nvidia being an issue the other thing that comes to mind is that the appimage uses more ram.

I have 32 gigs of it :)

ivan-hc commented 1 week ago

With conty.sh it looks exactly the same.

So this issue should be moved to https://github.com/Kron4ek/Conty

Also, I don't know what version of Nvidia drivers you have, I'm not a gamer but when I had Nvidia drivers installed (I can't install them anymore on Debian Testing, modules are too old for newer kernels, I use Nouveau now) I remember that also other AppImages based on Conty were slow at startup, try to perform the same test with my VirtualBox, Gnome Boxes and Bottles.

If they are still slow, the issue is with Conty. Or maybe with all AppImages based on Arch Linux containers, or with portable Arch Linux containers in general, and this can be related to the issue we have here https://github.com/ivan-hc/ArchImage/issues/20

kenderipa commented 1 week ago

So this issue should be moved to https://github.com/Kron4ek/Conty

I'll do it.

(I can't install them anymore on Debian Testing, modules are too old for newer kernels, I use Nouveau now)

You couldn't for a while, but now they've updated the drivers, and they're compatible with newer kernel version again, so you can.

Or maybe with all AppImages based on Arch Linux containers, or with portable Arch Linux containers in general, and this can be related to the issue we have here ivan-hc/ArchImage#20

No, that's probably a Conty issue. I'll test it with Bottles when I have time.