Native games crash the plasmashell (and don't run particularly smooth)

After installing Manjaro a few months ago I tested some games, including Crusader Kings 3, and had the impression that everything runs relatively well.

Some time ago (July 5th, though issue might have been introduced earlier) I bought Stardew Valley on Steam and, when starting the game, the whole system became extremely laggy. I could move the mouse pointer and even click on windows (e.g. Dolphin) on the secondary monitor, but plasmashell froze completely (including anything related to desktop and widgets). The game started eventually (might have been over a minute) but didn’t exceed 1 fps.

Switching to proton as compatibility tool (in Steam) resolved the issue. Which is why I don’t know when the issues started, as most games run through proton without any issue at all.

Now lately I tried some Crusader Kings 3, which I remember working well, and had the same issue as with Stardew Valley. The launcher worked fine, but the actual game made the plasmashell freeze, game took over a minute to even show a loading screen.

Switching to proton makes the game run, but then the configs and mods are in Steam’s wine prefix rather than in /home/$username/.local

Any idea what makes native games misbehave and how to fix it? Running games with a native option through proton feels like a waste…

Some system info:

System:
  Kernel: 6.1.44-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
[...]
  Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Memory:
  System RAM: total: 32 GiB available: 31.25 GiB used: 10.53 GiB (33.7%)
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 0 microcode: 0xA201016
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 2387 high: 2795 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: ondemand cores: 1: 2238 2: 2795
    3: 2235 4: 2237 5: 2400 6: 2239 7: 2235 8: 2795 9: 2234 10: 2773 11: 2235
    12: 2235 bogomips: 88668
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu
    v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
    pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-2,HDMI-A-1
    empty: DP-1,DP-3 bus-ID: 07:00.0 chip-ID: 1002:73bf class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3760x1920 s-dpi: 96 s-size: 994x508mm (39.13x20.00")
    s-diag: 1116mm (43.95")
  Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,bottom-l
    model: [...] serial: <filter> built: 2019 res: 2560x1440
    hz: 144 dpi: 93 gamma: 1.2 size: 697x392mm (27.44x15.43")
    diag: 800mm (31.5") ratio: 16:9 modes: max: 2560x1440 min: 640x480
  Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: top-right
    model: [...] serial: <filter> built: 2022 res: 1200x1920 hz: 60
    dpi: 94 gamma: 1.2 size: 324x518mm (12.76x20.39") diag: 611mm (24.1")
    ratio: 16:10 modes: max: 1920x1200 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.5 renderer: AMD Radeon RX 6800 XT (navi21
    LLVM 15.0.7 DRM 3.49 6.1.44-1-MANJARO) direct-render: Yes
Audio:
[...]
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 09:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.1.44-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 0.3.77 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-4: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 512 MiB used: 164.4 MiB (32.1%) priority: -2
    file: /swap/swapfile
Sensors:
  System Temperatures: cpu: 58.5 C mobo: N/A gpu: amdgpu temp: 62.0 C
    mem: 60.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 679
Info:
  Processes: 442 Uptime: 12h 20m wakeups: 56 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 15.0.7
  Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 1480 libs: 429 tools: pamac
  pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.29

I just installed and ran the native version of Stardew Valley and it works fine for me. Native version of Terraria also runs with zero problems. I have AMD cpu + gpu like you do.

So the issue is something specific to your system. Run steam from the command line, start Stardew Valley to replicate the problem, then post the output from the terminal.

  • Start Steam
  • start Stardew Valley
  • wait for it to have started (which took a while)
  • exit Stardew Valley
  • exit Steam

stdout:

NoFpsCap: This feature is not available
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=
savePreferences(); async=False, languageCode=en
Steam logged on: True
Initializing GalaxySDK
Requesting Steam app ticket
loadPreferences(); begin - languageCode=
savePreferences(); async=False, languageCode=en
loadPreferences(); begin - languageCode=en
Window_ClientSizeChanged(); Window.ClientBounds={X:640 Y:869 Width:1280 Height:720}
Signing into GalaxySDK
Galaxy auth success
Galaxy signed in
Galaxy logged on
Disconnected: ClosedGame
[2023-08-22 06:52:12] Startup - updater built Jul 28 2023 18:44:09
[2023-08-22 06:52:12] Startup - Steam Client launched with: '/home/$username/.local/share/Steam/ubuntu12_32/steam'
[2023-08-22 06:52:12] Loading cached metrics from disk (/home/$username/.local/share/Steam/package/steam_client_metrics.bin)
[2023-08-22 06:52:12] Using the following download hosts for Public, Realm steamglobal
[2023-08-22 06:52:12] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-08-22 06:52:12] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-08-22 06:52:12] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-08-22 06:52:12] Verifying installation...
[2023-08-22 06:52:12] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe7a93db0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe7a92500
[2023-08-22 06:53:20] Shutdown

stderr:

steam.sh[10629]: Running Steam on manjarolinux 23.0.0 64-bit
steam.sh[10629]: STEAM_RUNTIME is enabled automatically
setup.sh[10704]: Steam runtime environment up-to-date!
steam.sh[10629]: Steam client's requirements are satisfied
08/22 06:52:12 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(10773)
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[10798]: Runtime for steamwebhelper: defaulting to /home/$username/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[10798]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 115 milliseconds to initialize
BRefreshApplicationsInLibrary 1: 1ms
BuildCompleteAppOverviewChange: 863 apps
RegisterForAppOverview 1: 29ms
RegisterForAppOverview 2: 29ms
/bin/sh\0-c\0/home/$username/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=413150 -- /home/$username/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/mnt/games/SteamLibrary/steamapps/common/Stardew Valley/StardewValley' STEAM_RUNTIME=0\0
ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/mnt/games/SteamLibrary/steamapps/common/Stardew Valley/StardewValley: line 7: sw_vers: command not found
pid 12309 != 12307, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[S_API] SteamAPI_Init(): Loaded '/home/$username/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 413150
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197975977949 [API loaded no]
08/22 06:52:32 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20230728184426)/tid(12363)
08/22 06:52:32 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(12363)
/mnt/games/SteamLibrary/steamapps/common/Stardew Valley/StardewValley: line 27: 12310 Killed                  ./"Stardew Valley" $@
Game 413150 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 413150 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 413150 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / HTMLSurface
Game 413150 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
Game 413150 created interface STEAMINVENTORY_INTERFACE_V003 / Inventory
Game 413150 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 413150 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 413150 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
Game 413150 created interface STEAMREMOTEPLAY_INTERFACE_VERSION001 / RemotePlay
Game 413150 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / RemoteStorage
Game 413150 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Game 413150 created interface STEAMUGC_INTERFACE_VERSION015 / UGC
Game 413150 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / UserStats
Game 413150 created interface STEAMVIDEO_INTERFACE_V002 / Video
Game 413150 created interface SteamController008 / 
Game 413150 created interface SteamFriends017 / Friends
Game 413150 created interface SteamInput005 / 
Game 413150 created interface SteamInput005 / Controller
Game 413150 created interface SteamMatchGameSearch001 / GameSearch
Game 413150 created interface SteamMatchMaking009 / Matchmaking
Game 413150 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 413150 created interface SteamNetworking006 / Networking
Game 413150 created interface SteamNetworkingMessages002 / 
Game 413150 created interface SteamNetworkingSockets009 / 
Game 413150 created interface SteamNetworkingUtils003 / 
Game 413150 created interface SteamParties002 / Parties
Game 413150 created interface SteamUser021 / User
Game 413150 created interface SteamUtils010 / 
Game 413150 created interface SteamUtils010 / Utils
Game 413150 method call count for IClientNetworkingUtilsSerialized::GotLocationString : 2
Game 413150 method call count for IClientNetworkingSocketsSerialized::GetSTUNServer : 2
Game 413150 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1
Game 413150 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1
Game 413150 method call count for IClientHTTP::ReleaseHTTPRequest : 2
Game 413150 method call count for IClientHTTP::GetHTTPResponseBodyData : 2
Game 413150 method call count for IClientHTTP::SendHTTPRequest : 2
Game 413150 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
Game 413150 method call count for IClientHTTP::CreateHTTPRequest : 2
Game 413150 method call count for IClientUtils::RecordSteamInterfaceCreation : 32
Game 413150 method call count for IClientUtils::GetAPICallResult : 7
Game 413150 method call count for IClientUtils::GetAppID : 35
Game 413150 method call count for IClientUtils::GetServerRealTime : 3
Game 413150 method call count for IClientFriends::GetPersonaName : 1
Game 413150 method call count for IClientUser::GetEncryptedAppTicket : 1
Game 413150 method call count for IClientUser::RequestEncryptedAppTicket : 1
Game 413150 method call count for IClientUser::GetSteamID : 2
Game 413150 method call count for IClientUser::BLoggedOn : 2
Uploaded AppInterfaceStats to Steam

(process:12363): GLib-GObject-CRITICAL **: 06:52:57.104: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
reaping pid: 12363 -- gameoverlayui

I don’t know if any of that looks unusual. Considering the error about gameoverlayrenderer.so I tried with deactivated in-game overlay, but that didn’t change anything.

I also get those gameoverlayrenderer.so errors. The only differences I see are these errors but I’m not sure if they’re related to the problem;

/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
(process:12363): GLib-GObject-CRITICAL **: 06:52:57.104: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
reaping pid: 12363 -- gameoverlayui

Does the system log show any errors when this is happening? journalctl -S -20m --no-pager will show the last 20 minutes (make it longer if necessary).

Thanks for your suggestions, I looked into journalctl:

Aug 22 16:02:36 $hostname plasmashell[17334]: BRefreshApplicationsInLibrary 1: 103ms
Aug 22 16:02:47 $hostname plasmashell[31049]: fsync: up and running.
Aug 22 16:02:47 $hostname plasmashell[31049]: wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#20 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=139s
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#20 Sense Key : Not Ready [current] 
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#20 Add. Sense: Medium not present - tray closed
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#20 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 2
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#21 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 0, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#22 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 1, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#23 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 2, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#29 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 3, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#30 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 4, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#0 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 5, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#1 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 6, async page read
Aug 22 16:02:47 $hostname kernel: sr 2:0:0:0: [sr0] tag#2 unaligned transfer
Aug 22 16:02:47 $hostname kernel: I/O error, dev sr0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Aug 22 16:02:47 $hostname kernel: Buffer I/O error on dev sr0, logical block 7, async page read
Aug 22 16:04:00 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/InhibitionHint.qml:27:5: QML Label: Binding loop detected for property "verticalAlignment"
Aug 22 16:04:30 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/InhibitionHint.qml:27:5: QML Label: Binding loop detected for property "verticalAlignment"
Aug 22 16:04:33 $hostname plasmashell[17334]: /bin/sh\0-c\0/home/$username/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=413150 -- /home/$username/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/mnt/games/SteamLibrary/steamapps/common/Stardew Valley/StardewValley' STEAM_RUNTIME=0\0
Aug 22 16:04:33 $hostname plasmashell[31252]: ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Aug 22 16:04:33 $hostname plasmashell[31252]: ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Aug 22 16:04:33 $hostname plasmashell[31253]: ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Aug 22 16:04:33 $hostname plasmashell[31253]: ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Aug 22 16:04:33 $hostname plasmashell[31254]: ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Aug 22 16:04:33 $hostname plasmashell[31255]: /mnt/games/SteamLibrary/steamapps/common/Stardew Valley/StardewValley: line 7: sw_vers: command not found
Aug 22 16:04:33 $hostname plasmashell[31255]: pid 31255 != 31253, skipping destruction (fork without exec?)
Aug 22 16:04:33 $hostname plasmashell[31256]: ERROR: ld.so: object '/home/$username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Aug 22 16:04:35 $hostname plasmashell[31256]: NoFpsCap: This feature is not available
Aug 22 16:04:35 $hostname rtkit-daemon[946]: Supervising 13 threads of 6 processes of 1 users.
Aug 22 16:04:35 $hostname rtkit-daemon[946]: Supervising 13 threads of 6 processes of 1 users.
Aug 22 16:04:35 $hostname rtkit-daemon[946]: Supervising 13 threads of 6 processes of 1 users.
Aug 22 16:04:35 $hostname rtkit-daemon[946]: Successfully made thread 31276 of process 31256 owned by '1000' high priority at nice level -15.
Aug 22 16:04:35 $hostname rtkit-daemon[946]: Supervising 14 threads of 7 processes of 1 users.
Aug 22 16:04:36 $hostname plasmashell[31256]: setGameMode( 'titleScreenGameMode (0)' )
Aug 22 16:04:36 $hostname plasmashell[31256]: loadPreferences(); begin - languageCode=
Aug 22 16:04:36 $hostname plasmashell[31256]: savePreferences(); async=False, languageCode=en
Aug 22 16:04:36 $hostname plasmashell[31256]: [S_API] SteamAPI_Init(): Loaded '/home/$username/.local/share/Steam/linux64/steamclient.so' OK.
Aug 22 16:04:36 $hostname plasmashell[31256]: Setting breakpad minidump AppID = 413150
Aug 22 16:04:36 $hostname plasmashell[31256]: SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197975977949 [API loaded no]
Aug 22 16:04:36 $hostname plasmashell[31256]: Steam logged on: True
Aug 22 16:04:36 $hostname plasmashell[31256]: Initializing GalaxySDK
Aug 22 16:04:36 $hostname plasmashell[31256]: Requesting Steam app ticket
Aug 22 16:04:36 $hostname plasmashell[31256]: loadPreferences(); begin - languageCode=
Aug 22 16:04:36 $hostname plasmashell[31256]: savePreferences(); async=False, languageCode=en
Aug 22 16:04:36 $hostname plasmashell[31256]: loadPreferences(); begin - languageCode=en
Aug 22 16:04:36 $hostname plasmashell[31256]: Window_ClientSizeChanged(); Window.ClientBounds={X:640 Y:869 Width:1280 Height:720}
Aug 22 16:04:36 $hostname xembedsniproxy[1044]: Container window visible, stack below

[here: over 50000 times the line "Container window visible, stack below"]

Aug 22 16:05:08 $hostname xembedsniproxy[1044]: Container window visible, stack below
Aug 22 16:05:08 $hostname kwin_x11[962]: OpenGL vendor string:                   AMD
Aug 22 16:05:08 $hostname kwin_x11[962]: OpenGL renderer string:                 AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.49, 6.1.44-1-MANJARO)
Aug 22 16:05:08 $hostname kwin_x11[962]: OpenGL version string:                  4.6 (Compatibility Profile) Mesa 23.1.5
Aug 22 16:05:08 $hostname kwin_x11[962]: OpenGL shading language version string: 4.60
Aug 22 16:05:08 $hostname kwin_x11[962]: Driver:                                 Unknown
Aug 22 16:05:08 $hostname kwin_x11[962]: GPU class:                              Unknown
Aug 22 16:05:08 $hostname kwin_x11[962]: OpenGL version:                         4.6
Aug 22 16:05:08 $hostname kwin_x11[962]: GLSL version:                           4.60
Aug 22 16:05:08 $hostname kwin_x11[962]: Mesa version:                           23.1.5
Aug 22 16:05:08 $hostname kwin_x11[962]: X server version:                       1.21.1
Aug 22 16:05:08 $hostname kwin_x11[962]: Linux kernel version:                   6.1.44
Aug 22 16:05:08 $hostname kwin_x11[962]: Requires strict binding:                yes
Aug 22 16:05:08 $hostname kwin_x11[962]: GLSL shaders:                           yes
Aug 22 16:05:08 $hostname kwin_x11[962]: Texture NPOT support:                   yes
Aug 22 16:05:08 $hostname kwin_x11[962]: Virtual Machine:                        no
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / HTMLSurface
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMINVENTORY_INTERFACE_V003 / Inventory
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMREMOTEPLAY_INTERFACE_VERSION001 / RemotePlay
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / RemoteStorage
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMUGC_INTERFACE_VERSION015 / UGC
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / UserStats
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface STEAMVIDEO_INTERFACE_V002 / Video
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamController008 /
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamFriends017 / Friends
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamInput005 /
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamInput005 / Controller
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamMatchGameSearch001 / GameSearch
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamMatchMaking009 / Matchmaking
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamMatchMakingServers002 / MatchmakingServers
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamNetworking006 / Networking
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamNetworkingMessages002 /
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamNetworkingSockets009 /
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamNetworkingUtils003 /
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamParties002 / Parties
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamUser021 / User
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamUtils010 /
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 created interface SteamUtils010 / Utils
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientNetworkingUtilsSerialized::GotLocationString : 2
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientNetworkingSocketsSerialized::GetSTUNServer : 2
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientHTTP::ReleaseHTTPRequest : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientHTTP::GetHTTPResponseBodyData : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientHTTP::SendHTTPRequest : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientHTTP::CreateHTTPRequest : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUtils::RecordSteamInterfaceCreation : 32
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUtils::GetAPICallResult : 5
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUtils::GetAppID : 35
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUtils::GetServerRealTime : 3
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientFriends::GetPersonaName : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUser::GetEncryptedAppTicket : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUser::RequestEncryptedAppTicket : 1
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUser::GetSteamID : 2
Aug 22 16:05:08 $hostname plasmashell[17334]: Game 413150 method call count for IClientUser::BLoggedOn : 2
Aug 22 16:05:08 $hostname plasmashell[17334]: Uploaded AppInterfaceStats to Steam
Aug 22 16:05:08 $hostname kwin_x11[962]: GlideConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: BlurConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: ZoomConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: WindowViewConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: SlidingPopupsConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: SlideConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: OverviewConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: KscreenConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname kwin_x11[962]: DesktopGridConfig::instance called after the first use - ignoring
Aug 22 16:05:08 $hostname plasmashell[1608]: ATTENTION: default value of option mesa_glthread overridden by environment.
Aug 22 16:05:08 $hostname plasmashell[1608]: ATTENTION: default value of option mesa_glthread overridden by environment.
Aug 22 16:05:09 $hostname gameoverlayui[31300]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Aug 22 16:05:19 $hostname plasmashell[17334]: reaping pid: 31300 -- gameoverlayui
Aug 22 16:05:32 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/InhibitionHint.qml:27:5: QML Label: Binding loop detected for property "verticalAlignment"
Aug 22 16:05:32 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/TextItemDelegate.qml:20: TypeError: Cannot read property 'slice' of undefined
Aug 22 16:05:32 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/TextItemDelegate.qml:20: TypeError: Cannot read property 'slice' of undefined
Aug 22 16:06:01 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/InhibitionHint.qml:27:5: QML Label: Binding loop detected for property "verticalAlignment"
Aug 22 16:06:31 $hostname plasmashell[1012]: file:///usr/share/plasma/plasmoids/org.kde.kscreen/contents/ui/InhibitionHint.qml:27:5: QML Label: Binding loop detected for property "verticalAlignment"

I guess it has to do with “xembedsniproxy[1044]: Container window visible, stack below”, which appeared over 50,000 times in the log. Though xembedsniproxy “only” uses 3.4% of the CPU, while plasmashell is around 8%.
I found a bug tracker that states it might have to do with either icons or how multiple monitors are set up. I will try to investigate further, but a solution that allows my preferred monitor configuration and usual apps would be preferable.
It’s also interesting that the same monitor configuration and tray icons don’t cause issues when using proton.

Edit: Yeah OK that’s just great. If the two monitors are configured in a way their top edges align, then there is no lag at all. Unfortunately, on my desk, the bottom edges are aligned (and one is a bit taller) so I’d like to configure them as such. Is there a way to do that? Or do I have to basically wait for a fixed version to be released?

The xembedsniproxy log spam is most likely what is causing your system to slow to a crawl.

The only thing I can think of to try is Alt+Shift+F12 to disable the compositor before running the game but I’ve no idea if that will help.

Apart from that, since you can replicate the issue reliably I’d suggest submitting a bug report at https://bugs.kde.org/

Actually, one more idea. Try using gamescope, it can often fix weird desktop issues with games because it runs the game in a seperate sandboxed desktop.

It’s in Manjaro packages so easy to install. See the examples section here for how to use it from Steam via game properties → Launch Options.

Thanks for your suggestions!

gamescope sounds neat, will take a look at it.