You are not logged in.
Performance overlay does show up while I'm in the SteamDeck UI (when I press CTRL + 2), but it does not show up after I launch the game. Since I set (before starting the game), the info level to 3, while gaming I do see all the mangoapp info, it's just the performance overlay that I can't trigger (I feel it's being rendered on a different "screen", yet I only have one monitor).
I've tried with linux-lts, linux-zen, Proton Experimental and Proton GE (last 3 versions: 9.10, 9.11 and 9.12).
Maybe I'm missing a lib so this is the result of
pacman -Q | grep 'lib32\|gamescope'
gamescope 3.14.29-1
gamescope-session-git r291.aa57bda-1
gamescope-session-steam-git r8.015e098-1
lib32-alsa-lib 1.2.12-1
lib32-alsa-plugins 1.2.12-1
lib32-brotli 1.1.0-1
lib32-bzip2 1.0.8-3
lib32-curl 8.9.1-1
lib32-dbus 1.14.10-2
lib32-e2fsprogs 1.47.1-1
lib32-expat 2.6.2-1
lib32-fontconfig 2:2.15.0-1
lib32-freetype2 2.13.3-1
lib32-gcc-libs 14.2.1+r32+geccf707e5ce-1
lib32-glew 2.2.0-4
lib32-glib2 2.80.5-1
lib32-glibc 2.40+r16+gaa533d58ff-2
lib32-glu 9.0.3-1
lib32-harfbuzz 9.0.0-1
lib32-icu 75.1-1
lib32-keyutils 1.6.3-2
lib32-krb5 1.21.3-1
lib32-libcap 2.70-1
lib32-libdrm 2.4.122-1
lib32-libelf 0.191-1
lib32-libffi 3.4.6-1
lib32-libgcrypt 1.11.0-1
lib32-libglvnd 1.7.0-1
lib32-libgpg-error 1.50-1
lib32-libice 1.1.1-1
lib32-libidn2 2.3.7-1
lib32-libldap 2.6.8-1
lib32-libnghttp2 1.63.0-1
lib32-libnghttp3 1.5.0-1
lib32-libnsl 2.0.1-1
lib32-libpciaccess 0.18.1-1
lib32-libpng 1.6.43-1
lib32-libpsl 0.21.5-1
lib32-libsm 1.2.4-1
lib32-libssh2 1.11.0-1
lib32-libtasn1 4.19.0-2
lib32-libtirpc 1.3.5-1
lib32-libunistring 1.2-1
lib32-libx11 1.8.10-1
lib32-libxau 1.0.11-1
lib32-libxcb 1.17.0-1
lib32-libxcrypt 4.4.36-2
lib32-libxcrypt-compat 4.4.36-2
lib32-libxdmcp 1.1.5-1
lib32-libxext 1.3.6-1
lib32-libxfixes 6.0.1-1
lib32-libxi 1.8.1-1
lib32-libxkbcommon 1.7.0-2
lib32-libxml2 2.13.3-1
lib32-libxmu 1.2.1-1
lib32-libxshmfence 1.3.2-1
lib32-libxss 1.2.4-1
lib32-libxt 1.3.0-1
lib32-libxxf86vm 1.1.5-1
lib32-llvm-libs 18.1.8-1
lib32-lm_sensors 1:3.6.0.r41.g31d1f125-2
lib32-mangohud 0.7.2-1
lib32-mesa 1:24.2.1-1
lib32-ncurses 6.5-1
lib32-nspr 4.35-3
lib32-nss 3.104-1
lib32-openssl 1:3.3.1-1
lib32-p11-kit 0.25.5-1
lib32-pam 1.6.1-1
lib32-pcre2 10.44-1
lib32-sqlite 3.46.1-1
lib32-systemd 256.5-1
lib32-util-linux 2.40.2-1
lib32-vulkan-icd-loader 1.3.279-1
lib32-vulkan-radeon 1:24.2.1-1
lib32-wayland 1.23.0-1
lib32-xcb-util-keysyms 0.4.1-1
lib32-xz 5.6.2-1
lib32-zlib 1.3.1-1
lib32-zstd 1.5.6-1
This happens if I don't create ~/.config/environment.d/gamescope-session.conf as described here https://wiki.archlinux.org/title/HDR_mo … am_session If I create the file, the performance overlay does show up (on the otherwise blank and black screen) when I press CTRL + 2, but not the game (although I can hear the music in the game playing). In the file above I only change eDP-1 to DP-1 and set the resolution to 2560x1440, no other changes.
I'm on an all AMD system and the game I'm trying with is Civ 6 (so DX12).
glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.57, 6.10.7-zen1-1-zen) (0x747e)
Version: 24.2.1
Accelerated: yes
Video memory: 12288MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 10898 MB, largest block: 10898 MB
VBO free aux. memory - total: 7798 MB, largest block: 7798 MB
Texture free memory - total: 10898 MB, largest block: 10898 MB
Texture free aux. memory - total: 7798 MB, largest block: 7798 MB
Renderbuffer free memory - total: 10898 MB, largest block: 10898 MB
Renderbuffer free aux. memory - total: 7798 MB, largest block: 7798 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 12288 MB
Total available memory: 20246 MB
Currently available dedicated video memory: 10898 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.57, 6.10.7-zen1-1-zen)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.1-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.1-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.1-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
xrandr -q
Screen 0: minimum 16 x 16, current 2560 x 1440, maximum 32767 x 32767
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 700mm x 390mm
2560x1440 119.95*+
1920x1440 119.97
1600x1200 119.82
1440x1080 119.92
1400x1050 119.90
1280x1024 119.83
1280x960 119.89
1152x864 119.77
1024x768 119.80
800x600 119.85
640x480 119.52
320x240 117.34
1920x1200 119.90
1680x1050 119.89
1440x900 119.94
1280x800 119.85
1152x720 119.73
960x600 119.74
928x580 119.55
800x500 119.47
768x480 119.71
720x480 119.65
640x400 119.64
320x200 117.55
2048x1152 119.89
1920x1080 119.93
1600x900 119.95
1368x768 119.83
1280x720 119.67
1024x576 119.85
864x486 119.69
720x400 119.54
640x350 119.24
printenv
SHELL=/usr/bin/bash
SESSION_MANAGER=local/arch:@/tmp/.ICE-unix/3816,unix/arch:/tmp/.ICE-unix/3816
COLORTERM=truecolor
XDG_MENU_PREFIX=gnome-
PTYXIS_PROFILE=8eeca858f059a1f19495fd4a66d2fbef
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
DESKTOP_SESSION=gnome
EDITOR=nano
PWD=/home/trofo
XDG_SESSION_DESKTOP=gnome
LOGNAME=trofo
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=4246
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.F1HTT2
MOTD_SHOWN=pam
GDM_LANG=en_US.UTF-8
HOME=/home/trofo
USERNAME=trofo
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=GNOME
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/flatpak-session-helper.service/memory.pressure
VTE_VERSION=7604
WAYLAND_DISPLAY=wayland-0
CLIENTCMD=steam -gamepadui -steamos3 -steampal -steamdeck -pipewire-dmabuf
SCREEN_HEIGHT=1440
INVOCATION_ID=ae9e38a404fd4782a783f043b01bc244
MANAGERPID=3750
GNOME_SETUP_DISPLAY=:1
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=trofo
DISPLAY=:0
SHLVL=1
GAMESCOPECMD=/usr/bin/gamescope --hide-cursor-delay 3000 --fade-out-duration 200 --xwayland-count 2 -W 2560 -H 1440 -O DP-1
CONNECTOR=DP-1
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
JOURNAL_STREAM=9:74136
XDG_DATA_DIRS=/home/trofo/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/home/trofo/.local/share/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDMSESSION=gnome
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/trofo
PTYXIS_VERSION=46.4
SCREEN_WIDTH=2560
_=/usr/bin/printenv
pacman -Qs vulkan
SHELL=/usr/bin/bash
SESSION_MANAGER=local/arch:@/tmp/.ICE-unix/3816,unix/arch:/tmp/.ICE-unix/3816
COLORTERM=truecolor
XDG_MENU_PREFIX=gnome-
PTYXIS_PROFILE=8eeca858f059a1f19495fd4a66d2fbef
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
DESKTOP_SESSION=gnome
EDITOR=nano
PWD=/home/trofo
XDG_SESSION_DESKTOP=gnome
LOGNAME=trofo
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=4246
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.F1HTT2
MOTD_SHOWN=pam
GDM_LANG=en_US.UTF-8
HOME=/home/trofo
USERNAME=trofo
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=GNOME
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/flatpak-session-helper.service/memory.pressure
VTE_VERSION=7604
WAYLAND_DISPLAY=wayland-0
CLIENTCMD=steam -gamepadui -steamos3 -steampal -steamdeck -pipewire-dmabuf
SCREEN_HEIGHT=1440
INVOCATION_ID=ae9e38a404fd4782a783f043b01bc244
MANAGERPID=3750
GNOME_SETUP_DISPLAY=:1
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=trofo
DISPLAY=:0
SHLVL=1
GAMESCOPECMD=/usr/bin/gamescope --hide-cursor-delay 3000 --fade-out-duration 200 --xwayland-count 2 -W 2560 -H 1440 -O DP-1
CONNECTOR=DP-1
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
JOURNAL_STREAM=9:74136
XDG_DATA_DIRS=/home/trofo/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/home/trofo/.local/share/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDMSESSION=gnome
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/trofo
PTYXIS_VERSION=46.4
SCREEN_WIDTH=2560
_=/usr/bin/printenv
Last edited by trofo (2024-09-01 20:47:15)
Offline
I asked Bazzite developers what they're doing so that the performance overlay works (also in games) for them. They pointed me to this patch https://github.com/hhd-dev/handheld-gam … sion.patch
Since I'm new to Arch I need to find a way to apply the patch to https://aur.archlinux.org/packages/gamescope-git and I should be golden.
Last edited by trofo (2024-09-02 11:17:14)
Offline
I have published the patched AUR package here
https://aur.archlinux.org/packages/gamescope-shortcuts
Reviews are more than welcomed.
Offline