Common seemingly random stuttering

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Common seemingly random stuttering

Post by ReptilianD »

In the last couple of months I have been having my system slow to a crawl for 10-30 seconds seemingly at random, for example when watching videos in a browser with nothing else open, or playing games that are not resource intensive. This slowdown doesn't seem to be application specific, nor a result of a spike in cpu usage or something similar, having system monitor open while it happens shows no major deviation compared to the moments leading up to it. This will slow down literally everything, down to the mouse cursor, which is why I think it might have something to do with the OS rather than anything else, but I have no idea how to troubleshoot it.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Common seemingly random stuttering

Post by Pjotr »

Please generate an overview of your system like this:

- Launch a terminal window (this is how to launch a terminal window);

- Make the terminal window full screen, to avoid chopped lines;

- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxxxpmrz
(if you type: the letter F is a capital letter, and don't omit the space after inxi!)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

Code: Select all

System:
  Kernel: 6.5.0-1016-oem x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82WK v: Legion Pro 5 16IRX8
    serial: <superuser required> Chassis: type: 10 v: Legion Pro 5 16IRX8
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76461 WIN
    serial: <superuser required> UEFI: LENOVO v: KWCN42WW date: 09/15/2023
Battery:
  ID-1: BAT0 charge: 64.8 Wh (79.0%) condition: 82.0/80.0 Wh (102.5%)
    volts: 16.4 min: 15.4 model: BYD L22B4PC0 type: Li-poly serial: <filter>
    status: Not charging cycles: 52
  Device-1: hidpp_battery_0
    model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: Discharging
Memory:
  RAM: total: 31.08 GiB used: 3.96 GiB (12.8%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 24-core (8-mt/16-st) model: 13th Gen Intel Core i9-13900HX bits: 64
    type: MST AMCP smt: enabled arch: N/A rev: 1 cache: L1: 2.1 MiB L2: 32 MiB
    L3: 36 MiB
  Speed (MHz): avg: 937 high: 1747 min/max: 800/5200:5400:3900 cores:
    1: 800 2: 800 3: 1456 4: 800 5: 800 6: 800 7: 934 8: 800 9: 1279 10: 1162
    11: 1152 12: 1199 13: 889 14: 800 15: 1295 16: 800 17: 800 18: 800
    19: 1747 20: 800 21: 800 22: 800 23: 1289 24: 800 25: 800 26: 800 27: 800
    28: 800 29: 800 30: 800 31: 800 32: 800 bogomips: 154828
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Lenovo driver: i915 v: kernel ports: active: eDP-1
    empty: none bus-ID: 00:02.0 chip-ID: 8086:a788 class-ID: 0300
  Device-2: NVIDIA vendor: Lenovo driver: nvidia v: 535.161.07 pcie:
    speed: 16 GT/s lanes: 8 ports: active: none
    empty: DP-1, DP-2, HDMI-A-1, eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2860
    class-ID: 0300
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-11:5 chip-ID: 04f2:b7b6 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3408x2130 s-dpi: 144 s-size: 600x375mm (23.6x14.8")
    s-diag: 708mm (27.9")
  Monitor-1: eDP-1 model: BOE Display serial: <filter> res: 3408x2130
    hz: 240 dpi: 251 size: 345x215mm (13.6x8.5") diag: 407mm (16")
    modes: 2560x1600
  OpenGL: renderer: Mesa Intel Graphics (RPL-S)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes
Audio:
  Device-1: Intel vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22bd class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-1016-oem running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3
    chip-ID: 8086:7a70 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 4000 bus-ID: 0c:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp12s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:7
    chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 80.85 GiB (8.5%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TEJ9X115N
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 51020A12 temp: 46.9 C scheme: GPT
Partition:
  ID-1: / size: 87.45 GiB used: 51.74 GiB (59.2%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 69.3 MiB (27.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 127.68 GiB used: 29.04 GiB (22.7%) fs: ext4
    dev: /dev/nvme0n1p7
Swap:
  ID-1: swap-1 type: partition size: 29.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p6
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2611 note: see --pkg apt: 2599 flatpak: 12
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com virginia main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/swi-prolog-stable-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/swi-prolog-stable-jammy.gpg] https://ppa.launchpadcontent.net/swi-prolog/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/librewolf.sources
    1: deb [arch=amd64] https://deb.librewolf.net focal main
Info:
  Processes: 529 Uptime: 3m wakeups: 8 Init: systemd v: 249 runlevel: 5
  Compilers: gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.13
Last edited by SMG on Fri Mar 08, 2024 3:00 pm, edited 1 time in total.
Reason: Added code tags to inxi output to preserve its formatting making it easier to read.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Fri Mar 08, 2024 7:00 am In the last couple of months I have been having my system slow to a crawl for 10-30 seconds seemingly at random, for example when watching videos in a browser with nothing else open, or playing games that are not resource intensive.
So this began around the beginning of this year?
Did it happen around the time you upgraded from LM21.2 to LM21.3?
Does it go back to normal speed after a certain period of time?

If you open Update Manager and select View > History of Updates, you can see what changed around that time.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Tue Mar 12, 2024 3:38 pm
ReptilianD wrote: Fri Mar 08, 2024 7:00 am In the last couple of months I have been having my system slow to a crawl for 10-30 seconds seemingly at random, for example when watching videos in a browser with nothing else open, or playing games that are not resource intensive.
So this began around the beginning of this year?
Did it happen around the time you upgraded from LM21.2 to LM21.3?
Does it go back to normal speed after a certain period of time?

If you open Update Manager and select View > History of Updates, you can see what changed around that time.
Yes, some time between December 20 at earliest and January 10 at latest i would estimate roughly, indeed upgrading to 21.3 was around this time, and also nvidia 535, but i just looked and 545 is available so I will see if that might fix it?
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Mon Mar 18, 2024 4:18 pmYes, some time between December 20 at earliest and January 10 at latest i would estimate roughly, indeed upgrading to 21.3 was around this time, and also nvidia 535, but i just looked and 545 is available so I will see if that might fix it?
You can take a Timeshift snapshot and then try the newer driver, but I would suspect it is more likely something happened in the upgrade.

Did you check the History of Updates?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Mon Mar 18, 2024 4:21 pm
ReptilianD wrote: Mon Mar 18, 2024 4:18 pmYes, some time between December 20 at earliest and January 10 at latest i would estimate roughly, indeed upgrading to 21.3 was around this time, and also nvidia 535, but i just looked and 545 is available so I will see if that might fix it?
You can take a Timeshift snapshot and then try the newer driver, but I would suspect it is more likely something happened in the upgrade.

Did you check the History of Updates?
Yeah no, the driver did not help.

Yes yes, I did check it, in particular a package called base-files went from 21.2 to 21.3 on the 16th of January, I don't know if that's just a coincidence or tied to LM, but also mint-upgrade-info mintinstall mint-common and others were updated at the same time. This is outside of the range that I thought the issue started but I really might just be misremembering
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

Also, it does go back to normal after those 10-30 seconds. And I was considering "reinstalling" LM, but even though I have a separate home partition I didn't want to do it until I had more time to figure out what is and isn't on my root. I also don't know how often that will fix an issue either..
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Mon Mar 18, 2024 5:00 pm Also, it does go back to normal after those 10-30 seconds. And I was considering "reinstalling" LM, but even though I have a separate home partition I didn't want to do it until I had more time to figure out what is and isn't on my root. I also don't know how often that will fix an issue either..
I suggest trying the 6.5 HWE kernel (available in Update Manager) before trying a re-install (which might not do anything).

You may have to use the grub menu Advanced Options to select the 6.5 HWE kernel as the OEM may be the default because of numbering.

Are all the videos/games coming across the internet when this happens or are some local to your computer?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Mon Mar 18, 2024 6:24 pm
ReptilianD wrote: Mon Mar 18, 2024 5:00 pm Also, it does go back to normal after those 10-30 seconds. And I was considering "reinstalling" LM, but even though I have a separate home partition I didn't want to do it until I had more time to figure out what is and isn't on my root. I also don't know how often that will fix an issue either..
I suggest trying the 6.5 HWE kernel (available in Update Manager) before trying a re-install (which might not do anything).

You may have to use the grub menu Advanced Options to select the 6.5 HWE kernel as the OEM may be the default because of numbering.

Are all the videos/games coming across the internet when this happens or are some local to your computer?
The videos are on youtube, and the same game has the same issue whether my wifi is on or off, it has an offline mode, though it took longer for a spike to happen this one time i did it offline now. I will update and let you know.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Mon Mar 18, 2024 6:24 pm
ReptilianD wrote: Mon Mar 18, 2024 5:00 pm Also, it does go back to normal after those 10-30 seconds. And I was considering "reinstalling" LM, but even though I have a separate home partition I didn't want to do it until I had more time to figure out what is and isn't on my root. I also don't know how often that will fix an issue either..
I suggest trying the 6.5 HWE kernel (available in Update Manager) before trying a re-install (which might not do anything).

You may have to use the grub menu Advanced Options to select the 6.5 HWE kernel as the OEM may be the default because of numbering.

Are all the videos/games coming across the internet when this happens or are some local to your computer?
It unfortunately didn't help. I also tried a different desktop environment before, and while for some reason I get way better performance in the game on KDE Plasma when it's not lagging, it isn't immune to spikes. The game is osu! which I don't think matters that much since it isn't the only program/activity in which the issue happens, but I thought I would mention it for completeness; it is perhaps uniquely unplayable with frequent severe and unpredictable spikes like this. Also, audio doesn't seem to be affected at all, in the game or on youtube. Just that it seems like the rendering of everything slows down to 10- fps.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Mon Mar 18, 2024 7:15 pmIt unfortunately didn't help. I also tried a different desktop environment before, and while for some reason I get way better performance in the game on KDE Plasma when it's not lagging, it isn't immune to spikes.
We don't really recommend installing multiple desktop environments. KDE is one which tends to add extra process files that run no matter what desktop is being used.

I don't game, but I found this osu! which may be what you are referencing.

Did you try running the game with Nvidia instead of Intel?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Mon Mar 18, 2024 7:39 pm
ReptilianD wrote: Mon Mar 18, 2024 7:15 pmIt unfortunately didn't help. I also tried a different desktop environment before, and while for some reason I get way better performance in the game on KDE Plasma when it's not lagging, it isn't immune to spikes.
We don't really recommend installing multiple desktop environments. KDE is one which tends to add extra process files that run no matter what desktop is being used.

I don't game, but I found this osu! which may be what you are referencing.

Did you try running the game with Nvidia instead of Intel?
If you mean switching from "on demand" to just the standalone graphics card, I did a while ago and it did not improve anything then, but I did it again now that you mentioned it and I am getting 1000 fps with no problems for ~20 minutes that I played. Could this be because of the new drivers? In any case I don't think the integrated graphics should be THAT bad, and isn't on demand supposed to kick the standalone graphics card when needed anyways? I would definitely like to resolve the issue in that mode also as it's good to not need to switch between them when Im plugged in or not. BTW, whats the best way to remove KDE and the packages that came with it (I like cinnamon more)? sudo apt remove/purge ____?
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Tue Mar 19, 2024 7:35 amIf you mean switching from "on demand" to just the standalone graphics card, I did a while ago and it did not improve anything then, but I did it again now that you mentioned it and I am getting 1000 fps with no problems for ~20 minutes that I played. Could this be because of the new drivers?
Could be.
ReptilianD wrote: Tue Mar 19, 2024 7:35 amIn any case I don't think the integrated graphics should be THAT bad, and isn't on demand supposed to kick the standalone graphics card when needed anyways?
No. I believe Windows may do automatic switching, but Linux-based distros do not.

On-demand mode means both drivers are available and if you tell a program to use Nvidia then it will, but otherwise it will use Intel.

You can right-click a program in the menu and if the app allows it, you can select "run with Nvidia" (which would be for that program only). See the "Nvidia Optimus" section of Linux Mint 20 Cinnamon: New Features for a screenshot (second screenshot in that section). There are some other ways to tell a program to use Nvidia (it depends on the program as to what will work).
ReptilianD wrote: Tue Mar 19, 2024 7:35 am I would definitely like to resolve the issue in that mode also as it's good to not need to switch between them when Im plugged in or not. BTW, whats the best way to remove KDE and the packages that came with it (I like cinnamon more)? sudo apt remove/purge ____?
Best way is to roll back to the Timeshift snapshot you took prior to installing KDE. I don't know what others have done to completely remove KDE from their system.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Tue Mar 19, 2024 9:14 am
It's been a couple of days and yeah its happening again, even on nvidia :( I don't know what to do anymore
Last edited by SMG on Fri Mar 22, 2024 10:54 am, edited 1 time in total.
Reason: Shortened quote (which is a duplicate of the prior post) to make it easier to see the response.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Fri Mar 22, 2024 7:27 amIt's been a couple of days and yeah its happening again, even on nvidia :( I don't know what to do anymore
Please provide updated system information.

You do not have any sensor applets installed, do you?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ReptilianD
Level 1
Level 1
Posts: 26
Joined: Fri Sep 29, 2023 9:42 am

Re: Common seemingly random stuttering

Post by ReptilianD »

SMG wrote: Fri Mar 22, 2024 3:34 pm
ReptilianD wrote: Fri Mar 22, 2024 7:27 amIt's been a couple of days and yeah its happening again, even on nvidia :( I don't know what to do anymore
Please provide updated system information.

You do not have any sensor applets installed, do you?

Code: Select all

System:
  Kernel: 6.5.0-1018-oem x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 82WK v: Legion Pro 5 16IRX8
    serial: <superuser required> Chassis: type: 10 v: Legion Pro 5 16IRX8
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76461 WIN
    serial: <superuser required> UEFI: LENOVO v: KWCN42WW date: 09/15/2023
Battery:
  ID-1: BAT0 charge: 65.6 Wh (80.0%) condition: 82.0/80.0 Wh (102.5%)
    volts: 16.6 min: 15.4 model: BYD L22B4PC0 type: Li-poly serial: <filter>
    status: Not charging cycles: 57
  Device-1: hidpp_battery_0
    model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: Discharging
Memory:
  RAM: total: 31.08 GiB used: 5.2 GiB (16.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 24-core (8-mt/16-st) model: 13th Gen Intel Core i9-13900HX bits: 64
    type: MST AMCP smt: enabled arch: N/A rev: 1 cache: L1: 2.1 MiB L2: 32 MiB
    L3: 36 MiB
  Speed (MHz): avg: 934 high: 1484 min/max: 800/5200:5400:3900 cores:
    1: 1088 2: 800 3: 1097 4: 800 5: 1268 6: 800 7: 1484 8: 800 9: 888 10: 1096
    11: 800 12: 1000 13: 1218 14: 800 15: 1444 16: 800 17: 1109 18: 1426
    19: 800 20: 800 21: 800 22: 800 23: 800 24: 800 25: 800 26: 800 27: 800
    28: 800 29: 800 30: 800 31: 800 32: 800 bogomips: 154828
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Lenovo driver: i915 v: kernel ports: active: eDP-1
    empty: none bus-ID: 00:02.0 chip-ID: 8086:a788 class-ID: 0300
  Device-2: NVIDIA vendor: Lenovo driver: nvidia v: 545.29.06 pcie:
    speed: 2.5 GT/s lanes: 8 ports: active: none
    empty: DP-1, DP-2, HDMI-A-1, eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2860
    class-ID: 0300
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-11:5 chip-ID: 04f2:b7b6 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3408x2130 s-dpi: 144 s-size: 600x375mm (23.6x14.8")
    s-diag: 708mm (27.9")
  Monitor-1: eDP-1-1 mapped: eDP-1 model: BOE Display serial: <filter>
    res: 3408x2130 hz: 240 dpi: 251 size: 345x215mm (13.6x8.5")
    diag: 407mm (16") modes: 2560x1600
  OpenGL: renderer: NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2
    v: 4.6.0 NVIDIA 545.29.06 direct render: Yes
Audio:
  Device-1: Intel vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22bd class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-1018-oem running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3
    chip-ID: 8086:7a70 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 4000 bus-ID: 0c:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp12s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:7
    chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 97.16 GiB (10.2%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TEJ9X115N
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 51020A12 temp: 44.9 C scheme: GPT
Partition:
  ID-1: / size: 87.45 GiB used: 61 GiB (69.8%) fs: ext4 dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 69.3 MiB (27.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 127.68 GiB used: 36.09 GiB (28.3%) fs: ext4
    dev: /dev/nvme0n1p7
Swap:
  ID-1: swap-1 type: partition size: 29.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p6
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A gpu: nvidia temp: 48 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2940 note: see --pkg apt: 2927 flatpak: 13
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://ftp.energotel.sk/pub/linux/linuxmint-packages virginia main upstream import backport
    2: deb http://ftp.cvut.cz/ubuntu jammy main restricted universe multiverse
    3: deb http://ftp.cvut.cz/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://ftp.cvut.cz/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/swi-prolog-stable-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/swi-prolog-stable-jammy.gpg] https://ppa.launchpadcontent.net/swi-prolog/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/librewolf.sources
    1: deb [arch=amd64] https://deb.librewolf.net focal main
Info:
  Processes: 534 Uptime: 1h 0m wakeups: 11 Init: systemd v: 249 runlevel: 5
  Compilers: gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.13
somehow it seems I got switched back to the OEM version?
I only have a program called hardinfo that i start from the terminal, I used it to see if I was throttling when the spikes would happen. No applets with that functionality though, would you recommend one?
User avatar
spamegg
Level 14
Level 14
Posts: 5117
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Common seemingly random stuttering

Post by spamegg »

I think your hardware might be too new. Even the 6.5 kernel does not support it fully. The 6.6 kernel is supposed to bring big improvements to new Lenovo laptops.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Common seemingly random stuttering

Post by Pjotr »

You might try the daily build of Xubuntu 24.04, which contains a much newer kernel series:
https://cdimage.ubuntu.com/xubuntu/daily-live/current/

If that works fine, you can look forward to Mint 22, which is due in July (or thereabouts).
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Common seemingly random stuttering

Post by SMG »

ReptilianD wrote: Sun Mar 24, 2024 8:41 amsomehow it seems I got switched back to the OEM version?
Linux Mint automatically boots to the highest number installed kernel. If you check in Update Manager, you will likely see the oem kernels higher in the list of 6.5 kernels so the top of that list is what is used. If you want to switch to the 6.5 HWE kernel, you need to boot with it and remove all the OEM kernels so Linux Mint then automatically boots to the HWE kernel.

Maybe it's now happening even on Nvidia because you've been unknowingly using the OEM kernel? Try using the HWE kernel and Nvidia. If that is okay, then it seems like this may be a kernel related issue.

It's likely there was an updated OEM kernel around the beginning of the year. You could try an older OEM kernel to see if that clears the stutter problem. If it does, we can check the changelogs to see if we can determine what the issue might be.
ReptilianD wrote: Sun Mar 24, 2024 8:41 amI only have a program called hardinfo that i start from the terminal, I used it to see if I was throttling when the spikes would happen. No applets with that functionality though, would you recommend one?
I don't really use applets much so I do not have recommendations. I just know many people have run into stutter issues with the sensors applet.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Post Reply

Return to “Software & Applications”