flathub / org.freedesktop.Platform.VulkanLayer.MangoHud

https://flathub.org/apps/details/org.freedesktop.Platform.VulkanLayer.MangoHud
16 stars 7 forks source link

Mangohud FPS & graphic issues since upgrade MESA 24.0.2 #45

Open vinceff opened 5 months ago

vinceff commented 5 months ago

Hello there, I submit an issue here, because since the last flatpak update of mesa and steam, Mangohud have issues to show FPS in game and all the overlay is twinkling during the game. Before the update there is no issue, all was ok.

I tried to use mangohud with the default configuration and it is the same, and i tried to use Proton 8 instead of proton experimental and i have the same issue.

All the games are impacted. You will find attached, a small video to show you how mangohud is working during games, and the full terminal monitoring.

OS : Fedora silverblue Thanks in advance, Vinceff

https://github.com/flathub/org.freedesktop.Platform.VulkanLayer.MangoHud/assets/101025517/b26181df-4590-4497-b086-9f16b9fe4be1

vinceff@fedora:~$ flatpak run com.valvesoftware.Steam INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki INFO:root:Will set XDG dirs prefix to /var/home/vinceff/.var/app/com.valvesoftware.Steam DEBUG:root:Checking input devices permissions WARNING:root:Missing permissions for input devices INFO:root:Overriding TZ to Europe/Paris DEBUG:root:Addding /usr/lib/extensions/vulkan/MangoHud/bin to PATH steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit steam.sh[2]: STEAM_RUNTIME is enabled automatically setup.sh[75]: Steam runtime environment up-to-date! steam.sh[2]: Steam client's requirements are satisfied tid(109) burning pthread_key_t == 0 so we never use it [2024-03-09 13:14:40] Startup - updater built Mar 6 2024 20:27:25 [2024-03-09 13:14:40] Startup - Steam Client launched with: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' minidumps folder is set to /tmp/dumps 03/09 13:14:40 Init: Installing breakpad exception handler for appid(steam)/version(1709846872)/tid(109) [2024-03-09 13:14:40] Loading cached metrics from disk (/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin) [2024-03-09 13:14:40] Using the following download hosts for Public, Realm steamglobal [2024-03-09 13:14:40] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf' [2024-03-09 13:14:40] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf' [2024-03-09 13:14:40] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2024-03-09 13:14:40] Vérification de l'installation... [2024-03-09 13:14:40] Verification complete UpdateUI: skip show logo Steam logging initialized: directory: /var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xed0968f0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xed0951c0 steamwebhelper.sh[142]: === sam. 09 mars 2024 13:14:40 CET === steamwebhelper.sh[142]: Starting steamwebhelper under bootstrap sniper steam runtime at /var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-sniper CAppInfoCacheReadFromDiskThread took 74 milliseconds to initialize Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 268 bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam BRefreshApplicationsInLibrary 1: 43ms BuildCompleteAppOverviewChange: 433 apps RegisterForAppOverview 1: 17ms RegisterForAppOverview 2: 17ms fsync: up and running. /bin/sh\0-c\0mangohud /var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1151640 -- /var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Horizon Zero Dawn/HorizonZeroDawn.exe'\0 chdir "/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Horizon Zero Dawn" ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. pid 828 != 827, skipping destruction (fork without exec?) ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. pid 830 != 827, skipping destruction (fork without exec?) ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function! WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function! fsync: up and running. Setting breakpad minidump AppID = 1151640 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198053225710 [API loaded no] [2024-03-09 13:15:17.254] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/config/MangoHud/presets.conf' [2024-03-09 13:15:17.292] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/config/MangoHud/presets.conf' Fossilize INFO: Overriding serialization path: "/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/shadercache/1151640/fozpipelinesv6/steamapprun_pipeline_cache". [2024-03-09 13:15:17.435] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/config/MangoHud/presets.conf' [2024-03-09 13:15:17.578] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/config/MangoHud/presets.conf' [2024-03-09 13:15:18.219] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/config/MangoHud/presets.conf' [2024-03-09 13:15:18.395] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/var/home/vinceff/.var/app/com.valvesoftware.Steam/config/MangoHud/presets.conf' GameOverlay: started '/var/home/vinceff/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 1150) for game process 994 tid(1150) burning pthread_key_t == 0 so we never use it minidumps folder is set to /tmp/dumps 03/09 13:15:18 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240306202747)/tid(1150) 03/09 13:15:18 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(1150) pid 925 != 924, skipping destruction (fork without exec?) Game 1151640 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / Game 1151640 created interface SteamController007 / Controller Game 1151640 created interface SteamFriends017 / Game 1151640 created interface SteamInput001 / Game 1151640 created interface SteamInput001 / Controller Game 1151640 created interface SteamUser020 / Game 1151640 created interface SteamUser020 / User Game 1151640 created interface SteamUtils009 / Game 1151640 created interface SteamUtils009 / Utils Game 1151640 method call count for IClientUserStats::GetAchievementDisplayAttribute : 158 Game 1151640 method call count for IClientUserStats::GetAchievement : 79 Game 1151640 method call count for IClientUserStats::RequestCurrentStats : 1 Game 1151640 method call count for IClientUtils::RecordSteamInterfaceCreation : 10 Game 1151640 method call count for IClientUtils::GetSteamUILanguage : 1 Game 1151640 method call count for IClientUtils::GetAppID : 14 Game 1151640 method call count for IClientFriends::GetPersonaName : 1 Game 1151640 method call count for IClientUser::GetSteamID : 2 Uploaded AppInterfaceStats to Steam (process:1150): GLib-GObject-CRITICAL **: 13:15:41.343: g_object_unref: assertion 'G_IS_OBJECT (object)' failed [2024-03-09 13:15:47] Shutdown `

jntesteves commented 5 months ago

I'm also on Fedora 39 Silverblue, on the same stock Kernel 6.7.7, and also AMD RDNA2 GPU (although on a laptop, NAVI 22) and I can't reproduce this issue. Maybe some bug in Mesa that's specific to NAVI 21, or some other difference on our setups. I tried many games with GE-Proton and Proton Experimental, GL, Vulkan and D3D12 renderers, nothing has this issue for me.

jntesteves commented 4 months ago

@vinceff Do you by any chance have com.valvesoftware.Steam.Utility.gamescope installed? This old extension is deprecated and known to be causing driver issues since Mesa 24.0. The new extension is at https://flathub.org/apps/org.freedesktop.Platform.VulkanLayer.gamescope