this post was submitted on 20 Oct 2023
68 points (100.0% liked)

Linux

1257 readers
35 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

You're going to see some typing errors in this post, and thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat is intentioooooooooooooooooooooooooooooooooooooooooooooooooooooooooonal. It's going to make the post unpleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeasant to read, but I assure you it's more unpleasant to type.

The issue: Every 5-10 seconds or so, my laptop has recently started pausing, with one symptom being repetition of any key I happen to be typing at that moment, whether a letter, deletion, or something else. I haven't changed anything, and something very similar seems to be happening on mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmy Fedora-based desktop.

I have tried thhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhe usual troubleshooting steps, such as watchinggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg my processes, disabling gnome extensions, and I cannot pin down the cause.

(1) Annnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnyone seen anything like this?

(2) Any suggestions for troubleshooting?

The laptop is more than powerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrful enough, a Gen 8 X1 Carbon. OS and apps are up to date. I assume an OS, gnome, or applicationnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn update has broken something, but I cannot for the life of me pinnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn down where the issue is occurring.

EDIT:

Adding system specs --

Intel® Core™ i7-10610U 16GB Intel® UHD Graphics Gnome/Wayland NixOS 23.11 kernel 6.1.57

EDIT 2:

Well, it appears to be gnome. Switched to KDE and everything is perfectly fine. I don't like KDE (but I fully respect others' preferences, just ... to avoid unpleasantness). I'm going to do some digging around to see if gnome is conflicting with something in NixOS land.

top 19 comments
sorted by: hot top controversial new old
[–] noride@lemm.ee 51 points 1 year ago* (last edited 1 year ago)

I hope I don't get flayed for saying this, but I actually had this problem on Windows once, and it turned out to be thermal throttling of the CPU. I was going from 4+ghz to around 200mhz and then it would shoot back to normal. Just needed a thorough cleaning of the fans and ducting.

Thought it was worth mentioning on the off chance it might help someone.

[–] FQQD@feddit.de 38 points 1 year ago (1 children)

No idea what the solution is, but this is funny af

[–] pukeko@lemm.ee 20 points 1 year ago

I have been entertaining myself by reading this post out loud. It sounds like I'm having a stroke over and over.

[–] stepanzak@iusearchlinux.fyi 26 points 1 year ago (1 children)

I have no idea how to fix something like this, but what would I do is try to isolate the problem. Boot live iso with another Linux and see if that happens again. If it does, I would try live windows iso to see if it can be because of Linux kernel or drivers. I it happens even on windows, it's probably a hardware thing.

[–] 1024_Kibibytes@lemm.ee 3 points 1 year ago

I would try in the terminal (Ctrl+Alt+F3 or F1 or F2 depending on the distro), and then a live iso, then a live version of Windows or the Windows installer.

[–] _cnt0@feddit.de 18 points 1 year ago (1 children)

Don't bother, that's normal /sssssssssssssssssssssssssssssss

[–] pukeko@lemm.ee 12 points 1 year ago

LOL.

Or, rather, LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL

[–] SteveTech@programming.dev 10 points 1 year ago

I actually might be having a similar issue on one of my servers, every 5 to 10 seconds the hypervisor will just freeze for less than a second, and it doesn't repeat characters but it still makes typing in SSH super annoying. I did find using irqstat that during that time, interrupts from the ahci kernel module would spike into the 50,000s, so I have a feeling it's to do with that, but I haven't really figured it out yet, since it somehow doesn't actually seem to affect my VMs.

Although it probably isn't related considering switching to KDE fixed it for you, and I haven't got display stuff installed.

[–] rotopenguin@infosec.pub 8 points 1 year ago (1 children)

Anything interesting happening in the kernel logs? Sudo dmesg.

S-tui would give you some idea if there's a thermal issue.

It is very, very odd that you have the same thing going on in your laptop and desktop. Has the thermal conductance of air (or some other related physical property) changed locally? Have you replaced the thermal paste on both devices with asbestos exhaust pipe putty? I keed, I keed.

[–] pukeko@lemm.ee 2 points 1 year ago

It's a great suggestion (even kidding -- though Doc Brown asking about the strength of gravity in the future crossed my mind), but that's exactly why I don't think it's a hardware issue. It's going to end up being some weird kernel/gnome conflict triggered by one specific flatpak.

[–] yote_zip@pawb.social 7 points 1 year ago

My only guess is that maybe your input device is disconnecting, then reconnecting.

[–] dingdongitsabear@lemmy.ml 6 points 1 year ago (1 children)

the least you can do is provide the basics - AMD/Intel, GPU, wayland/x11, os and kernel version, I'm not looking up what an 8th gen x1 runs on.

as to your question, seen similar with ryzens freezing for seconds intermittently on older kernels.

[–] pukeko@lemm.ee 3 points 1 year ago

You're right, but it's pretty horrendous typing in this environment so it slipped my mind.

Intel® Core™ i7-10610U 16GB Intel® UHD Graphics Gnome/Wayland NixOS 23.11 kernel 6.1.57

[–] Furycd001@fosstodon.org 5 points 1 year ago

@pukeko that was a fun read 🫠 strange behaviour.. Was gonna say about a dirty keyboard, but it's clearly more than that. Hope you get sorted friend 🙃

[–] Psynthesis 4 points 1 year ago (1 children)
[–] pukeko@lemm.ee 6 points 1 year ago

The repeating is a symptom, and the system pause/stutter/whatever is still happening regardless. I thought about it just as a sanity play, but I'd rather fix the underlying issue.

[–] pukeko@lemm.ee 2 points 1 year ago

I never sorted out what the answer was but I'm almost certain it was a gnome issue, possibly a conflict. I did manage to completely hose my system through troubleshooting, but, hey, I just grabbed an earlier version of my nix config, typed one command, and was back up and running in an earlier state. NixOS is weird and troublesome to learn but goodness it's useful.

[–] Lober@lemmy.dbzer0.com 2 points 1 year ago
[–] Pantrygheist@programming.dev 1 points 1 year ago

Had something similar happen to me a couple of days ago setting up a new desktop, micro freeze and an input being repeated. Turned out the ram was a little bit over the stable clock. Reverted the typo on memory clock and all's fine now. Don't know if you control that in you laptop tho