Lots of interrupts and stutter in 3d aplications

Hi,

Can someone with more experience help point me in the right direction. I have managed to get everything running really well with steam and a number of games. But after about 1 hour of a game being open I start to get game break stutter. I posted here because I believe this problem to be system as my games are running amazingly. Thanks to the help of chatgpt, But I feel like I have hit a brick wall.

I think I have found the problem but unsure on how to fix it. Here is a screen shot of what I believe is the clue as to what might be happening. I am new to all of this and I think the kernel is basically reacting to a high number or interrupts. I believe the kernel it just trying to prevent a unstable condition.

Everything is upto date. I have doom 3 running on vulken and elder scrolls online also running well. But other games do the same thing after about 40mins of gameplay. Its not overheating or power management problem or a memory leak.

system information:

$ inxi -zv8

System:
  Kernel: 6.12.4-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=f806604e-3076-43c2-ab49-1bb7587e42da rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: Z77X-UD3H serial: N/A
    uuid: 032b0290-0434-0551-c706-530700080009 UEFI: American Megatrends v: F18
    date: 10/24/2012
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 12 GiB available: 11.64 GiB used: 7.14 GiB (61.4%)
  Array-1: capacity: 32 GiB slots: 4 modules: 4 EC: None
    max-module-size: 8 GiB note: est.
  Device-1: ChannelB-DIMM1 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Corsair part-no: CMZ8GX3M2A1600C8 serial: N/A
  Device-2: ChannelA-DIMM1 type: DDR3 detail: synchronous size: 2 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Corsair part-no: CMX6GX3M3A1600C9 serial: N/A
  Device-3: ChannelB-DIMM0 type: DDR3 detail: synchronous size: 4 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Corsair part-no: CMZ8GX3M2A1600C8 serial: N/A
  Device-4: ChannelA-DIMM0 type: DDR3 detail: synchronous size: 2 GiB
    speed: 1600 MT/s volts: N/A width (bits): data: 64 total: 64
    manufacturer: Corsair part-no: CMX6GX3M3A1600C9 serial: N/A
PCI Slots:
  Slot: 0 type: PCIe status: in use info: J6B2 length: long volts: 3.3
    bus-ID: 00:02.0
  Slot: 1 type: PCIe status: in use info: J6B1 length: short volts: 3.3
    bus-ID: 00:1c.0
  Slot: 2 type: PCIe status: in use info: J6D1 length: short volts: 3.3
    bus-ID: 00:01.0 children: 1: 01:00.0 class-ID: 0300 type: display 2: 01:00.1
    class-ID: 0403 type: audio
  Slot: 3 type: PCIe status: in use info: J7B1 length: short volts: 3.3
    bus-ID: 00:03.0
  Slot: 4 type: PCIe status: in use info: J8B4 length: short volts: 3.3
    bus-ID: 00:1c.7 children: 1: 07:00.0 class-ID: 0106 type: mass-storage
  Slot: 6 type: PCI status: in use info: J8B3 length: short volts: 3.3
    bus-ID: 14:1e.0
CPU:
  Info: model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge
    gen: core 3 level: v2 built: 2012-15 process: Intel 22nm family: 6
    model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
    desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 2101 min/max: 1600/4100 base/boost: 4100/7000 scaling:
    driver: intel_cpufreq governor: performance volts: 1.2 V ext-clock: 100 MHz
    cores: 1: 2101 2: 2101 3: 2101 4: 2101 5: 2101 6: 2101 7: 2101 8: 2101
    bogomips: 54472
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
    constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb
    erms est f16c flush_l1d fpu fsgsbase fxsr ht ibpb ibrs ida lahf_lm lm mca
    mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp
    rep_good sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall
    tm tm2 tsc tsc_deadline_timer vme x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: PC Partner / Sapphire
    driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands process: GF 14nm
    built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: DVI-D-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 01:00.0 chip-ID: 1002:67df
    class-ID: 0300 temp: 44.0 C
  Display: x11 server: X.org v: 1.21.1.14 compositor: xfwm4 v: 4.18.0
    driver: X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: DVI-D-1 mapped: DVI-D-0 model: Samsung SyncMaster
    serial: <filter> built: 2010 res: 1920x1080 hz: 60 dpi: 92 gamma: 1.2
    chroma: red: x: 0.651 y: 0.337 green: x: 0.290 y: 0.612 blue: x: 0.145
    y: 0.071 white: x: 0.314 y: 0.329 size: 530x300mm (20.87x11.81")
    diag: 609mm (24") ratio: 16:9 modes: 1920x1080, 1600x1200, 1680x1050,
    1280x1024, 1440x900, 1280x960, 1280x800, 1280x720, 1024x768, 800x600,
    640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 480 Graphics
    (radeonsi polaris10 LLVM 18.1.8 DRM 3.59 6.12.4-1-MANJARO)
    device-ID: 1002:67df memory: 3.91 GiB unified: no
  API: Vulkan v: 1.4.303 layers: N/A device: 0 type: discrete-gpu name: AMD
    Radeon RX 480 Graphics (RADV POLARIS10) driver: N/A device-ID: 1002:67df
    surfaces: xcb,xlib
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere HDMI Audio [Radeon
    RX 470/480 / 570/580/590] vendor: PC Partner / Sapphire
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  API: ALSA v: k6.12.4-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet vendor: Gigabyte
    driver: atl1c v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 06:00.0 chip-ID: 1969:1083 class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager,systemd-timesyncd
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 240.17 GiB (51.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 452.77 GiB size: 444.59 GiB (98.19%)
    used: 240.16 GiB (54.0%) fs: ext4 block-size: 4096 B dev: /dev/sda2
    maj-min: 8:2 label: N/A uuid: f806604e-3076-43c2-ab49-1bb7587e42da
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
    label: N/A uuid: EFBB-AE40
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 12.7 GiB used: 2.5 MiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3 label: N/A
    uuid: e2b46ab8-dc77-4dc7-8478-a89ef1122319
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: SteelSeries ApS Apex 3 type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 4 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 400mA chip-ID: 1038:161a class-ID: 0300
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 3-1:2 info: VIA Labs Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 2109:0811 class-ID: 0900
  Device-1: 3-1.3:3 info: Corsair Gaming HARPOON RGB Mouse type: mouse,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 300mA chip-ID: 1b1c:1b3c class-ID: 0300
    serial: <filter>
  Hub-5: 4-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-6: 5-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-7: 5-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
    class-ID: 0900
  Hub-8: 6-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-9: 6-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 1619
Repos:
  Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 1122 libs: 373 tools: pamac,yay
    pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    2: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    3: http://manjaro.mirror.ac.za/stable/$repo/$arch
Processes:
  CPU top: 5 of 295
  1: cpu: 396% command: S:\common\Zenimax pid: 3475 mem: 4217.5 MiB (35.3%)
  2: cpu: 10.8% command: Proton pid: 3177 mem: 25.9 MiB (0.2%)
  3: cpu: 8.4% command: firefox pid: 3744 mem: 497.4 MiB (4.1%)
  4: cpu: 7.9% command: firefox pid: 3970 mem: 273.4 MiB (2.2%)
  5: cpu: 4.7% command: Xorg pid: 847 mem: 165.8 MiB (1.3%)
  Memory top: 5 of 295
  1: mem: 4217.5 MiB (35.3%) command: S:\common\Zenimax pid: 3475 cpu: 396%
  2: mem: 497.4 MiB (4.1%) command: firefox pid: 3744 cpu: 8.4%
  3: mem: 405.5 MiB (3.4%) command: ./steamwebhelper pid: 2564 cpu: 0.7%
  4: mem: 388.8 MiB (3.2%) command: steamwebhelper pid: 2657 cpu: 0.2%
  5: mem: 273.4 MiB (2.2%) command: firefox pid: 3970 cpu: 7.9%
Info:
  Processes: 295 Power: uptime: 52m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 4.63 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 256 default: graphical tool: systemctl
  Compilers: N/A Shell: Sudo (sudo) v: 1.9.16p2 default: Bash v: 5.2.37
    running-in: xfce4-terminal inxi: 3.3.36

I have updated this system info with current changes I’ve made.

ok just created partition linux-swap and enabled swap. testing now.

NAME      TYPE       SIZE USED PRIO
/dev/sda3 partition 12.7G 256K   -2

That didn’t seem to make a difference but I did notice something this time. Providing I don’t put any input into the mouse or keyboard, the game (Elder scroll online) would continue to run smooth, even in the heart of the battle. The second I move the mouse or press a key, the stutter starts.

So I’ve gone back to look at the interrupts and found just moving the mouse is generating a lot. what do you guys think?

$ cat /proc/interrupts

           CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7       
  8:          0          0          0          0          0          0          0          0  IR-IO-APIC   8-edge      rtc0
  9:          0          0          0          0          0          0          0          0  IR-IO-APIC   9-fasteoi   acpi
 16:          0          0          0          0         31          0          0          0  IR-IO-APIC  16-fasteoi   ehci_hcd:usb1
 18:          0          0         16          0          0          0          0          0  IR-IO-APIC  18-fasteoi   i801_smbus
 23:          0          0          0          0          0         35          0          0  IR-IO-APIC  23-fasteoi   ehci_hcd:usb4
 25:          0          0     109803          0          0          0          0          0  IR-PCI-MSI-0000:00:1f.2   0-edge      ahci[0000:00:1f.2]
 26:          0          0          0          0          0          0          0          0  IR-PCI-MSI-0000:07:00.0   0-edge      ahci[0000:07:00.0]
 27:          0          0          0          0          0       8469          0          0  IR-PCI-MSI-0000:00:14.0   0-edge      xhci_hcd
 35:          0          0          0          0          0          0     585985          0  IR-PCI-MSI-0000:03:00.0   0-edge      xhci_hcd
 36:    1665032          0          0          0          0          0          0          0  IR-PCI-MSI-0000:01:00.0   0-edge      amdgpu
 37:          0         21          0          0          0          0          0          0  IR-PCI-MSI-0000:00:16.0   0-edge      mei_me
 38:          0          0          0        832          0          0          0          0  IR-PCI-MSI-0000:00:1b.0   0-edge      snd_hda_intel:card0
 39:          0          0          0          0        646          0          0          0  IR-PCI-MSI-0000:01:00.1   0-edge      snd_hda_intel:card1
 40:          0          0          0          0          0     157878          0          0  IR-PCI-MSI-0000:06:00.0   0-edge      enp6s0
NMI:        161        158        164        155        151        156        159        162   Non-maskable interrupts
LOC:    1614684    1408763    1376624    1416652    2119733    1433071    1398561    1387949   Local timer interrupts
SPU:          0          0          0          0          0          0          0          0   Spurious interrupts
PMI:        161        158        164        155        151        156        159        162   Performance monitoring interrupts
IWI:     812197          0          0       1686       3955          3          2       1058   IRQ work interrupts
RTR:          0          0          0          0          0          0          0          0   APIC ICR read retries
RES:     476441     338308     329485     661907     796410     355415     343914     459974   Rescheduling interrupts
CAL:    2054848    2006180    1944702    2011357    2062412    1984551    1998779    1974115   Function call interrupts
TLB:    1156020    1165600    1122893    1130845    1104894    1119735    1121458    1145987   TLB shootdowns
TRM:          0          0          0          0          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0          0          0          0          0   Machine check exceptions
MCP:         10         11         11         11         11         11         11         11   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0          0          0          0          0   Posted-interrupt notification event
NPI:          0          0          0          0          0          0          0          0   Nested posted-interrupt event
PIW:          0          0          0          0          0          0          0          0   Posted-interrupt wakeup event
PMN:          0          0          0          0          0          0          0          0   Posted MSI notification event

Things I have tried already

*Enable xHCI
*Disable EHCI handoff
*USB 2.0 controller
*Disable legacy USB


Moderator edit: Removed unnecessary screenshot.

Hi @Dreamer, ad welcome!

Hi @, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Please also note and heed: Forum Rules - Manjaro

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

(P.S.: I have removed the image for now, please replace it with text as per the provided guide.)

1 Like

Then you may need to ask Chatgpt whether you have enough swap.
:footprints:

1 Like

Doesn’tlook that way…

1 Like

Steam recently introduced a memory bug that showed up after around 30min while gaming, that lead to fps spikes.

Workaround till Steam finally fix it, right click on your Steam Game>Properties and put this in Launch Parameter:

LD_PRELOAD=“” %COMMAND%

2 Likes
LD_PRELOAD=“” %COMMAND%

Yes this has fixed the stuttering. Thank you!

I did some more research and found a newer version of proton called GE-proton. Using a tool ProtonUp-Qt, I’m able to install newer versions and add them to steam compatibility.

I will check tomorrow how this runs, as its 3am now and nobody is online to stress test it lol.

1 Like

I’m glad i could help :slight_smile: :christmas_tree:

2 Likes

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