Micro stutter in all games. Games can't fully utilize available power

Hi everyone.

I use laptop with 16gb ram, 5500u 25W and ryzen 7(full specs from inxi -Fza below) and I have a weird problem where my performance in benchmarks is higher than expected, but in games it’s awful.

Main problem is constant small stutter in all games. I can have 80 or even 120fps with no drops and I’ll have constant micro suttering. Can be not that “micro”. Well, also framerate is ~20% lower than it’s should be in games(those that aren’t famous for the fps lower than on windows), but it’s just a minor inconvinience compare to stutter.

I reinstalled system, checked CPU governor(I know in my specs “ondemand” is selected, but it’s cause it works better than “performance” for me, same for GPU - I use auto) and played with it through CoreCtrl(also other stuff, but on a current manjaro install it’s just CoreCtrl), tried different protons and protons settings, etc - nothing.

I’m noticing that in games my CPU is rarely loaded to the same %(or at least close) as in tests from youtube and that CPU power consomption(TDP) can’t go higher than 15-17W in the real gameplay(can in the menu though sometimes), but my limit is 25W(I used ryzenadj to set that) and performance in geekbench shows that it works, but games can’t use it.

Also mangohud is constantly shows “Throttling power” or “Throttling power current”(not thermal throttling, temps are fine).
plus If I disconnect AC on the middle of the game and will stay on battery - performance and stutter level is the same, no changes at all. Like game is always assuming that I’m on buttery(but mangohud and system can see when I use AC).

I also should note 2 small things:
memory detected incorrectly - I have 16GB and in windows it’ll show 15.6, here it’s shows 14.98GB, as you can see(I ran memtest86+ though, got “pass” 3 times").
I use acer-wmi-battery from github. It helps to set charge limit of 80% on my laptop. Might be important… But I tried to turn if off, charge battery to 100% and play - same story.

I hope someone had this problem before and knows a solution.
Thanks in advance.

System:
  Kernel: 5.15.57-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=3b24eaa3-20f4-4163-8828-353ccc9dba82 rw rootflags=subvol=@
    quiet udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.6 tk: Qt v: 5.15.5 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Swift SF314-43 v: V1.04
    serial: <superuser required>
  Mobo: LN model: Sake_CA v: V1.04 serial: <superuser required>
    UEFI: Insyde v: 1.04 date: 07/28/2021
Battery:
  ID-1: BAT1 charge: 43.0 Wh (81.6%) condition: 52.7/53.2 Wh (99.0%)
    volts: 12.5 min: 11.6 model: COSMX AP20CBL type: Li-ion serial: <filter>
    status: N/A
CPU:
  Info: model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 gen: 3 built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x68 (104) stepping: 1 microcode: 0x8608102
  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: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1490 high: 2360 min/max: 1400/4056 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 1397
    3: 2360 4: 1553 5: 1397 6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397
    12: 1397 bogomips: 50328
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Lucienne vendor: Acer Incorporated ALI driver: amdgpu
    v: kernel arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:164c class-ID: 0300
  Device-2: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 1-3:2
    chip-ID: 0408:a094 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: AU Optronics 0x683d built: 2019
    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85")
    diag: 355mm (14") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (LLVM 14.0.6 DRM 3.42 5.15.57-2-MANJARO)
    v: 4.6 Mesa 22.1.4 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Acer Incorporated
    ALI driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Acer Incorporated
    ALI driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x,snd_pci_acp5x pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.57-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: Lite-On driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 01:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IF-ID-1: tap-easytether state: down mac: <filter>
Bluetooth:
  Device-1: Lite-On Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 1-4:3 chip-ID: 04ca:3802 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 200.08 GiB (42.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PDP3512B-AA1
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: EDFK0S03
    temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 200.08 GiB
    (42.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB
    (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 200.08
    GiB (42.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%) used: 200.08
    GiB (42.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 40.8 C mobo: N/A gpu: amdgpu temp: 36.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 359 Uptime: 9h 28m wakeups: 62531 Memory: 14.98 GiB used: 7.74
  GiB (51.6%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: apk: 0 pacman: 1338 lib: 403
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.20

Not a solution, but a hint of micro stutter:

  1. Shader compilation: AMD_VULKAN_ICD=RADV and AMD_VULKAN_ICD=AMDVLK
    Also when the shaders compile you get micro shutters anyway, but after compilation it should be smooth.
  2. High FPS means not that it is smoother.
  3. DXVK/VKD3D is a translation layer. Therefore you can expect higher latency.
  4. Since it is a iGPU, keep sure the RAM-modules are single-sided for less latency.
  5. Since KDE: /etc/profile.d/kwin.sh:
export KWIN_TRIPLE_BUFFER=1
export __GL_YIELD=USLEEP
export __GL_MaxFramesAllowed=1

I have to disable “desktop effects” before launching games otherwise I get the stutters, too. *on x11

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