ValveSoftware / Proton

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

Issues launching any game through Proton with Gentoo Linux. #5896

Closed Scherso closed 2 years ago

Scherso commented 2 years ago

PC Specs:

OS: Gentoo Base System Release 2.8
KERNEL: 5.17.13-gentoo-dist
CPU: AMD Ryzen 5 5600x 6-core @ 4.200GHz
GPU: AMD Radeon RX 6600 XT (dimgrey_cavefish, LLVM 14.0.4, DRM 3.44, 5.17.13-gentoo-dist)
GPU DRIVER: 4.6 Mesa 22.1.1
RAM: 16 GB

- Using an Asus TUF GAMING B550-PLUS WIFI II Motherboard
- Using XMonad as my window manager

Proton Version

Issue Description

On Launch of any game with Proton being used as a compatibility layer, the Steam application will show a "Running", then subsequently stop, then I will be prompted with a "Play" button once again.

Note: I tested CS:GO, a game native to Linux with a forced Proton compatibility layer, with the same result.

Make.conf
``` COMMON_FLAGS="-O3 -march=native -pipe" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" ACCEPT_KEYWORDS="~amd64" VIDEO_CARDS="radeonsi amdgpu" MAKEOPTS="-j8" EMERGE_DEFAULT_OPTS="--ask-enter-invalid --jobs=4 --load-average=4" USE="-systemd -aqua -css -gnome -3df -clamav -coreaudio -ios -ipod -ieee1394 \ -ibm x xinerama -nls -neon -nvidia wifi -wayland pulseaudio acl \ elogind vulkan alsa unwind gecko dbus lto" ACCEPT_LICENSE="*" INPUT_DEVICES="libinput synaptics" ABI_X86="64 32" PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" PKGDIR="/var/cache/binpkgs" LC_MESSAGES=C GRUB_PLATFORMS="efi-64" GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/" ```
Steam log upon launching a game with Proton
``` GameAction [AppID 1229490, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with "" fsync: up and running. wine: RLIMIT_NICE is <= 20, unable to use setpriority safely wine: failed to open L"C:\\windows\\system32\\winemenubuilder.exe": c0000135 wine: Unhandled page fault on execute access to 00007F6DD13713B0 at address 00007F6DD13713B0 (thread 00d4), starting debugger... GameAction [AppID 1229490, ActionID 1] : LaunchApp changed task to SynchronizingCloud with "" GameAction [AppID 1229490, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with "" GameAction [AppID 1229490, ActionID 1] : LaunchApp changed task to CreatingProcess with "" GameAction [AppID 1229490, ActionID 1] : LaunchApp waiting for user response to CreatingProcess "" GameAction [AppID 1229490, ActionID 1] : LaunchApp continues with user response "CreatingProcess" /bin/sh\0-c\0/home/sam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1229490 -- '/home/sam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sam/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun '/home/sam/.local/share/Steam/steamapps/common/ULTRAKILL/ULTRAKILL.exe'\0 Game process added : AppID 1229490 "/home/sam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1229490 -- '/home/sam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sam/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun '/home/sam/.local/share/Steam/steamapps/common/ULTRAKILL/ULTRAKILL.exe'", ProcID 4442, IP 0.0.0.0:0 chdir /home/sam/.local/share/Steam/steamapps/common/ULTRAKILL ERROR: ld.so: object '/home/sam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/sam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/sam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. GameAction [AppID 1229490, ActionID 1] : LaunchApp changed task to WaitingGameWindow with "" GameAction [AppID 1229490, ActionID 1] : LaunchApp changed task to Completed with "" ERROR: ld.so: object '/home/sam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/sam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. pid 4446 != 4443, skipping destruction (fork without exec?) fsync: up and running. wine: RLIMIT_NICE is <= 20, unable to use setpriority safely wine: failed to open L"C:\\windows\\system32\\winemenubuilder.exe": c0000135 ThreadGetProcessExitCode: no such process 4608 ThreadGetProcessExitCode: no such process 4587 ThreadGetProcessExitCode: no such process 4585 ThreadGetProcessExitCode: no such process 4444 wine: Unhandled page fault on execute access to 00007FA2C26653B0 at address 00007FA2C26653B0 (thread 00d8), starting debugger... Game process updated : AppID 1229490 "/home/sam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1229490 -- '/home/sam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sam/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun '/home/sam/.local/share/Steam/steamapps/common/ULTRAKILL/ULTRAKILL.exe'", ProcID 4586, IP 0.0.0.0:0 Setting breakpad minidump AppID = 1229490 Steam_SetMinidumpSteamID: Caching Steam ID: 76561199203206039 [API loaded no] ThreadGetProcessExitCode: no such process 4590 ThreadGetProcessExitCode: no such process 4810 ThreadGetProcessExitCode: no such process 4774 ThreadGetProcessExitCode: no such process 4771 ThreadGetProcessExitCode: no such process 4692 ThreadGetProcessExitCode: no such process 4647 ThreadGetProcessExitCode: no such process 4641 ThreadGetProcessExitCode: no such process 4619 ThreadGetProcessExitCode: no such process 4615 ThreadGetProcessExitCode: no such process 4584 pid 4588 != 4587, skipping destruction (fork without exec?) Game process removed: AppID 1229490 "/home/sam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1229490 -- '/home/sam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sam/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun '/home/sam/.local/share/Steam/steamapps/common/ULTRAKILL/ULTRAKILL.exe'", ProcID 4586 ThreadGetProcessExitCode: no such process 4628 ThreadGetProcessExitCode: no such process 4586 ThreadGetProcessExitCode: no such process 4443 Game 1229490 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList Game 1229490 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps Game 1229490 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface Game 1229490 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP Game 1229490 created interface STEAMINVENTORY_INTERFACE_V002 / Inventory Game 1229490 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote Game 1229490 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music Game 1229490 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings Game 1229490 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage Game 1229490 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots Game 1229490 created interface STEAMUGC_INTERFACE_VERSION010 / UGC Game 1229490 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats Game 1229490 created interface STEAMVIDEO_INTERFACE_V002 / Video Game 1229490 created interface SteamController006 / Controller Game 1229490 created interface SteamFriends015 / Friends Game 1229490 created interface SteamMatchMaking009 / Matchmaking Game 1229490 created interface SteamMatchMakingServers002 / MatchmakingServers Game 1229490 created interface SteamNetworking005 / Networking Game 1229490 created interface SteamUser019 / User Game 1229490 created interface SteamUtils009 / Utils Game 1229490 method call count for IClientAppManager::GetAppInstallState : 2 Game 1229490 method call count for IClientUtils::RecordSteamInterfaceCreation : 22 Game 1229490 method call count for IClientUtils::GetSteamUILanguage : 1 Game 1229490 method call count for IClientUtils::GetAppID : 24 Game 1229490 method call count for IClientUser::GetSteamID : 1 Uploaded AppInterfaceStats to Steam ```
kisak-valve commented 2 years ago

Hello @Scherso, please add PROTON_LOG=1 %command% to the game's launch options, try to run a couple games, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

Scherso commented 2 years ago

Hello @Scherso, please add PROTON_LOG=1 %command% to the game's launch options, try to run a couple games, and attach the generated

I have attached that here: https://gist.github.com/Scherso/1c62bf68fc876e350de178d2b31050c8 (both ran with Proton 7.0-2)

I also forgot to mention, using a command, for example cd ~/.local/share/Steam/steamapps/common/ULTRAKILL && wine64 ULTRAKILL.exe launches games fine, that might be helpful?

Anyway, thank you for commenting :+1:

Scherso commented 2 years ago

Forgot to include my system info, sorry

You can find that here: https://gist.github.com/Scherso/72d4ccd03e827e2abd936753b17def52

kisak-valve commented 2 years ago

Looking at your system information, Vulkan is broken with "vkCreateInstance (&inst_info, NULL, vk_instance) failed: ERROR_EXTENSION_NOT_PRESENT (-7)" Maybe grab dev-util/vulkan-tools and share vulkaninfo --summary in a gist?

Scherso commented 2 years ago

Maybe grab dev-util/vulkan-tools and share vulkaninfo --summary in a gist?

Here's the output :+1:

https://gist.github.com/Scherso/af5611da196c798fd75cbadb2014609b

Scherso commented 2 years ago

@kisak-valve Solution is to emerge dev-util/vulkan-tools TYSM :+1:

kisak-valve commented 2 years ago

vulkan-tools shouldn't have anything interesting in it besides vulkaninfo, perhaps a dependency made a difference?

Scherso commented 2 years ago

vulkan-tools shouldn't have anything interesting in it besides vulkaninfo, perhaps a dependency made a difference?

Yeah, I believe it may have to do with vulkan-headers?

Scherso commented 2 years ago

Following the Gentoo wiki on Vulkan including the development section would have solved my issue. I skipped over vulkan-tools

putting this here for anyone else who may encounter this issue.