Entire desktop stuttering/lagging when opening and running Steam/Lutris/Heroic or any slightly ressource intensive tasks

Part of the output from inxi -Fza ;

System:
  Kernel: 6.5.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d0f2f80f-9ff6-4b9f-b017-323fb269e627 rw rootflags=subvol=@
    loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop System: Acer product: Nitro N50-640 v: 1.0
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: Acer model: Nitro N50-640 v: 1.2 serial: <superuser required>
    UEFI: American Megatrends v: R01-B1 date: 10/28/2022
Battery:
  Device-1: sony_controller_battery_60:38:0e:2f:92:bf model: N/A serial: N/A
    charge: N/A status: full
CPU:
  Info: model: 12th Gen Intel Core i7-12700F bits: 64 type: MST AMCP
    arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151) stepping: 2
    microcode: 0x2E
  Topology: cpus: 1x cores: 12 mt: 8 tpc: 2 st: 4 threads: 20 smt: enabled
    cache: L1: 1024 KiB desc: d-4x32 KiB, 8x48 KiB; i-8x32 KiB, 4x64 KiB
    L2: 12 MiB desc: 8x1.2 MiB, 1x2 MiB L3: 25 MiB desc: 1x25 MiB
  Speed (MHz): avg: 2621 high: 4500 min/max: 800/4800:4900:3600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 799 3: 4346
    4: 4500 5: 800 6: 2041 7: 4350 8: 800 9: 4346 10: 4320 11: 4346 12: 4344
    13: 4492 14: 4346 15: 800 16: 3789 17: 800 18: 800 19: 801 20: 800
    bogomips: 84480
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx

I tried clean building Steam and git clone / building from its repo, still the same issue. It started out of the blue a month or 2 ago, and ive never been able to fix it. I never had this issue before and it is not my machine thats the problem as this is a very decent piece of hardware, and should flawlessly respect the necessary specs for EndeavourOS.

Reinstalled kernels, Nvidia drivers, to no avail. Tried Wayland but it causes even more issues (Weird trails when hovering mouse over elements of KDE and qt apps, screen flickering very rapidly and freezes). Tried disabling composition with ALT+SHIFT+F12, the problem still happen and everything on the DE is stuttering/lagging.

Tried on Gnome, same problem.

I am lost. I don’t want to reinstall my system ; I just don’t have the time right now in my personal life with a new born to spend hours reinstalling and importing my custom configs/aliases and more to a new system. I want the system that was once more stable than Windows to run as it was since it’s the same machine with the same hardware. No way im going back to Windows ; Win11 just broke after a BIOS update and i was already sick of it so no way im doing that.

If more informations are necessary i will gladly cooperate. I tried asking on r/endeavourOS but was redirected here.

hey welcome at the purple side :enos:

And indeed hardware should run like a well-oiled machine.

you could show inxi -Gaz to see if Nvidia driver is really used… i saw cases where it failed to load…

And the journal while it stutters could show issues errors fails e.t.c

journalctl --since "10 minutes ago" | eos-sendlog but with journal always take care to check it for personal data like UUIDS or usernames e.t.c. serial numbers. in case you can send me the url in p.m. to not show it in public, or filter it manually …

1 Like

It’s a bug I am not sure what is causing it yet. I have similar issues on vanilla arch plasma. It usually clears up after a minute or so. We also need what Joe asked for…

Nvidia is being used correctly according to inxi -Gaz

Here is the output for journalctl --since "10 minutes ago" | eos-sendlog (i have taken the Steam part only. If more is needed from this log output, i will happily provide the necessary).

journalctl --since "10 minutes ago"

'oct 14 16:51:29 anon974 systemd[1180]: Started Steam (Native).
oct 14 16:51:29 anon974 plasmashell[2884]: steam.sh[2884]: Running Steam on endeavouros rolling 64-bit
oct 14 16:51:29 anon974 plasmashell[2884]: steam.sh[2884]: STEAM_RUNTIME is disabled by the user
oct 14 16:51:37 anon974 plasmashell[2884]: steam.sh[2884]: Can't find 'steam-runtime-check-requirements', continuing anyway
oct 14 16:51:38 anon974 plasmashell[2965]: 10/14 16:51:38 Init: Installing breakpad exception handler for appid(steam)/version(1696019606)/tid(2965)
oct 14 16:51:40 anon974 xdg-desktop-portal-kde[1553]: xdp-kde-settings: Namespace  "org.gnome.desktop.interface"  is not supported
oct 14 16:51:41 anon974 plasmashell[2972]: steamwebhelper.sh[2972]: Runtime for steamwebhelper: disabled by environment (this is unsupported)
oct 14 16:51:41 anon974 plasmashell[2972]: steamwebhelper.sh[2972]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
oct 14 16:51:42 anon974 plasmashell[2965]: CAppInfoCacheReadFromDiskThread took 67 milliseconds to initialize
oct 14 16:51:42 anon974 xdg-desktop-portal-kde[1553]: xdp-kde-settings: Namespace  "org.gnome.desktop.interface"  is not supported
oct 14 16:51:42 anon974 plasmashell[2965]: Steam Runtime Launch Service: starting steam-runtime-launcher-service
oct 14 16:51:42 anon974 plasmashell[2965]: Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 3034
oct 14 16:51:42 anon974 plasmashell[3034]: sh: ligne 1: steam-runtime-launcher-service : commande introuvable
oct 14 16:51:43 anon974 plasmashell[2965]: Steam Runtime Launch Service: steam-runtime-launcher-service pid 3034 exited
oct 14 16:51:43 anon974 plasmashell[2965]: Steam Runtime Launch Service: steam-runtime-launcher-service possible problem, disabling
oct 14 16:51:45 anon974 kernel: x86/split lock detection: #AC: CJobMgr::m_Work/3078 took a split_lock trap at address: 0xef85449f
oct 14 16:51:46 anon974 plasmashell[2965]: BRefreshApplicationsInLibrary 1: 0ms
oct 14 16:51:46 anon974 kwin_x11[1438]: kwin_core: Failed to focus 0x4a00004 (error 3)
oct 14 16:51:46 anon974 kwin_x11[1438]: kwin_core: XCB error: 3 (BadWindow), sequence: 64943, resource id: 77594628, major code: 129 (SHAPE), minor code: 3 (Combine)
oct 14 16:51:46 anon974 kwin_x11[1438]: kwin_core: XCB error: 3 (BadWindow), sequence: 64944, resource id: 77594628, major code: 129 (SHAPE), minor code: 3 (Combine)
oct 14 16:51:46 anon974 kwin_x11[1438]: kwin_core: XCB error: 3 (BadWindow), sequence: 64959, resource id: 77594628, major code: 129 (SHAPE), minor code: 3 (Combine)
oct 14 16:51:46 anon974 kwin_x11[1438]: kwin_core: XCB error: 3 (BadWindow), sequence: 64960, resource id: 77594628, major code: 129 (SHAPE), minor code: 3 (Combine)
oct 14 16:51:47 anon974 kwin_x11[1438]: kwin_core: XCB error: 152 (BadDamage), sequence: 65167, resource id: 16781254, major code: 143 (DAMAGE), minor code: 3 (Subtract)
oct 14 16:51:47 anon974 plasmashell[2965]: BuildCompleteAppOverviewChange: 196 apps
oct 14 16:51:47 anon974 plasmashell[2965]: RegisterForAppOverview 1: 4ms
oct 14 16:51:47 anon974 plasmashell[2965]: RegisterForAppOverview 2: 4ms
oct 14 16:51:47 anon974 kded5[1437]: Registering ":1.56/org/ayatana/NotificationItem/steam" to system tray
oct 14 16:51:52 anon974 kwin_x11[1438]: kwin_core: XCB error: 152 (BadDamage), sequence: 5842, resource id: 16781496, major code: 143 (DAMAGE), minor code: 3 (Subtract)
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:38] Startup - updater built Sep 29 2023 17:38:10
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:38] Startup - Steam Client launched with: '/home/gtux/.local/share/Steam/ubuntu12_32/steam'
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:39] Loading cached metrics from disk (/home/gtux/.local/share/Steam/package/steam_client_metrics.bin)
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:39] Using the following download hosts for Public, Realm steamglobal
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:39] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:39] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:39] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:39] Verifying installation...
oct 14 16:52:10 anon974 plasmashell[2965]: [2023-10-14 16:51:40] Verification complete
oct 14 16:52:10 anon974 plasmashell[2965]: Steam logging initialized: directory: /home/gtux/.local/share/Steam/logs
oct 14 16:52:10 anon974 plasmashell[2965]: XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xefb78db0
oct 14 16:52:10 anon974 plasmashell[2965]: XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xefb77500
oct 14 16:52:10 anon974 plasmashell[2965]: src/clientdll/controller_mode.cpp (11121) : m_mapGameActionIds.Count() == 1
oct 14 16:52:10 anon974 plasmashell[2965]: src/clientdll/controller_mode.cpp (11121) : m_mapGameActionIds.Count() == 1
oct 14 16:52:10 anon974 plasmashell[3780]: assert_20231014165210_56.dmp[3780]: Uploading dump (out-of-process)
oct 14 16:52:10 anon974 plasmashell[3780]: /tmp/dumps/assert_20231014165210_56.dmp
oct 14 16:52:10 anon974 assert_20231014165210_56.dmp[3780]: Uploading dump (out-of-process)
                                                            /tmp/dumps/assert_20231014165210_56.dmp
oct 14 16:52:10 anon974 plasmashell[2965]: src/clientdll/controller_mode.cpp (11121) : m_mapGameActionIds.Count() == 1
oct 14 16:52:10 anon974 plasmashell[2965]: src/clientdll/controller_mode.cpp (11121) : m_mapGameActionIds.Count() == 1
oct 14 16:52:10 anon974 plasmashell[2965]: src/clientdll/controller_mode.cpp (11121) : m_mapGameActionIds.Count() == 1
oct 14 16:52:10 anon974 plasmashell[2965]: src/clientdll/controller_mode.cpp (11121) : m_mapGameActionIds.Count() == 1
oct 14 16:52:11 anon974 plasmashell[3780]: assert_20231014165210_56.dmp[3780]: Finished uploading minidump (out-of-process): success = yes
oct 14 16:52:11 anon974 plasmashell[3780]: assert_20231014165210_56.dmp[3780]: response: CrashID=bp-360f5f12-b176-4716-9e01-0ac672231014
oct 14 16:52:11 anon974 plasmashell[3780]: assert_20231014165210_56.dmp[3780]: file ''/tmp/dumps/assert_20231014165210_56.dmp'', upload yes: ''CrashID=bp-360f5f12-b176-4716-9e01-0ac672231014''
oct 14 16:52:11 anon974 assert_20231014165210_56.dmp[3780]: Finished uploading minidump (out-of-process): success = yes'

logs should be pastebin’ed if they are long it is very hard to read like that on forum posts or at least in code-tags and using hide details…


Screenshot_20231015_014403

pacman -Qs xdg-desktop-portal

shows what?

i do not think issue is caused by steam itself must be some general issue… related to graphics or something…

Previous log but pastebin’d: https://pastebin.com/4YSVk9v5

pacman -Qs xdg-desktop-portal Output:

‘local/xdg-desktop-portal 1.18.0-2
Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-kde 5.27.8-4 (plasma)
A backend implementation for xdg-desktop-portal using Qt/KF5’

Thank you !

so the correct portal versions are installed … i wa swondering abot the error the log showed about gnome…

oct 14 16:51:40 anon974 xdg-desktop-portal-kde[1553]: xdp-kde-settings: Namespace  "org.gnome.desktop.interface"  is not supported

I’ve configured things the best way i could based on my skills and researching abilities and made sure no mistakes we’re made. The fact that this started randomly and after a very long period is weird to me. If i still had the snapshots from before, i could’ve tried reverting back.

Let me know if you have more ideas, i appreciate the help a lot.

1 Like

I’m in no way qualified to make suggestions, but I am curious, are you using gamemode?
A fresh install of steam will wipe your commands so it might not be triggering.

I was also curious of the possibility that your new bios install might have enabled new or older, incompatible settings.
Sometimes using the optimised defaults can also enable undesirable settings ime.

My Steam is on my boot drive but my steam games are on their own drive, you can easily move games within steam to a new drive, most of the other stuff is in the cloud, I use exfat for my games drive.
You can also use gparted to make a new partition if you are limited to one SSD.

Congrats on the new baby, but also on ditching windows. :smile:

Edit: if your using windows games, try the compatibility modes too, Proton GE being the seemly most compatible one ime.
The official proton versions get updated and break older stuff.

I’ve seen this error in the Konsole window i launched steam from.

I ignored as I never noticed a problem and reasoned not being on gnome generated the error.

Is it something I need to look in to?

Tried with gamemode on and off, the issues persist.

As for BIOS update related concern, the issues im having started a long time before this bios firmware update and i made sure to put back my previous settings in it to avoid problems, so this is a point i took care of already. Good idea though.

I have really no idea beside buying a third SSD, installing vanilla Arch Linux with KDE Plasma and trying with a clean install of Steam and Lutris to see if the problem occur. It was happening earlier last week when i tried, but i installed a different version of Nvidia drivers i never tried before so could be related to that (It was not the proprietary nor the nouveau one, it was another option in the archinstall script with an option i had never seen before).

I will try on my optimus laptop tonight and see if it does the same thing as my personal laptop also is running EndeavourOS.

can you show pacman -Qs nvidia?

local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities

?
is this working? or even needed ?
detailed graphics setup info is still missing:

inxi -Gaz

Stumbled upon the solution, which was linked to settings in my Nvidia-settings app and stuff relating to x11. The solution was found on reddit.

/solved

(Currently on the go, which is why i cant post details right now, and i will probably forget to do so)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.