this post was submitted on 15 Aug 2026
29 points (96.8% liked)

Linux

67025 readers
575 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 7 years ago
MODERATORS
 

like 95% of the time this happens its when i play minecraft (on lunar client) and in a discord call at the same time, PLEASE help 😭😭😭

distro: endeavourOS

gpu: nvidia rtx 3060 ti

cpu: amd ryzen 7 5700G

de: kde plasma wayland

if i need to add any extra info then please say so

all 45 comments
sorted by: hot top controversial new old
[–] billwashere@lemmy.world 1 points 11 hours ago

To me this screams heat problem or bad power supply.

[–] Lettuceeatlettuce@lemmy.ml 1 points 11 hours ago* (last edited 11 hours ago) (1 children)
  1. Check your thermals on your CPU and GPU, make sure they aren't running too hot.
  2. Turn off your computer and unplug it from the wall. Then check all your physical connections from the power supply to the motherboard and your graphics card. Everything should be fully seated in the sockets and firmly locked in. Loose connectors can cause power delivery issues that freeze or crash a system. In rare cases they can short out, causing severe damage to the components, or even a fire. So it's important to do anyways.
  3. Check your motherboard manufacture's website and make sure you're using the latest BIOS version. Your BIOS screen will tell you what your exact model number is and the current BIOS version.
  4. Check to make sure you're not running out of system RAM.
  5. Use Furmark to stress test your GPU. If it runs in stress test mode for at least 4 hours straight without any crashes, that's a good sign that your GPU isn't the issue.
  6. Use a CPU stress test program to do the same to your CPU. I actually like to go to Lichess.org, open their analysis board tool Lichess Analysis Tool, go into the settings and max out the move search depth, memory limit, and maximum lines calculated. Then I just make 15-20 random moves. The chess engine will sit there and calculate as long as you have that tab open on your local machine, and it will max out every core on your CPU 100% but there are dozens of other ways to stress your CPU, so feel free to search for them.
  7. You may have a lemon of a CPU or GPU chip. All chips are "binned" meaning they are tested at the factory and depending on how they perform, they are accepted or rejected within certain boundaries, but there is a range. Some chips just barely pass the minimum standards brand new. Since all electronics degrade over time, especially modern chips with billions of microscopic transistors, if your chip already was barely good enough to pass the minimum specs when it was fresh out of the box, it can start to become unstable even under normal workloads, let alone more heavy use like what you're describing. Undervolting and underclocking can help fix this. Using your motherboard's settings or 3rd party tools (like LACT for GPUs), you can limit the maximum voltage and/or maximum frequency of your chips. This not only will reduce the thermal output of your chips, making them run cooler and slowing the degradation process, but often will make them run much more stable.
[–] goofsqueak@lemdro.id 1 points 2 hours ago* (last edited 2 hours ago)

holy cow thanks!! ill probably forget about this and be too lazy to do all of these but still ykyk

EDIT: i now lowered the allocated wam (ram) in lunar client so it should be better? before i changed it my used ram was like 14/15 (idk why its not 16 but okay) and now its like 10/15. I will update you guys soon

[–] TrollAccount69@lemmy.ml 1 points 12 hours ago* (last edited 11 hours ago)

This is happening because you touch yourself. It’s punishment from god for the sin of onanism.

E: actually probably everyone itt is forgetting about ssd read fatigue. Rewrite every block on your ssd and the problem will go away.

[–] Ludrol@szmer.info 1 points 12 hours ago* (last edited 12 hours ago) (1 children)

You could enable zram to compress data inside ram.

[–] goofsqueak@lemdro.id 2 points 2 hours ago

(copy and pasted message btw) i now lowered the allocated wam (ram) in lunar client so it should be better? before i changed it my used ram was like 14/15 (idk why its not 16 but okay) and now its like 10/15. I will update you guys soon

[–] vandsjov@feddit.dk 1 points 14 hours ago (1 children)
[–] goofsqueak@lemdro.id 1 points 3 hours ago

where did you find this 😭

[–] nyan@sh.itjust.works 1 points 19 hours ago (1 children)

Traditionally, "freezing" means that the system doesn't respond at all. More than likely, your system is just swapping heavily and slowing down to a crawl. If that's what's happening, the hard drive activity light will be on constantly.

The best fix for this is more memory, but RAM is currently expensive. If you can't afford to buy more, you may have to try to cope in software. First, do The Bleeding Obvious: close any programs that you don't immediately need before you start that Discord call. This includes not leaving unnecessary webpages open, just in case.

See what your distro has to say about swappiness and how to set it. You probably want a value lower than the default 60, maybe even as low as 0.

If it gets worse over tme, it's possible that something you're running has a memory leak. You may be able to figure out what using top or similar and seeing which programs' memory use grows over time. Restarting the greedy ones periodically may be able to keep your system from bogging down, at the cost of some inconvenience.

Moving to a bare compositor rather than the relatively heavyweight KDE might also free up some RAM, but I'm not sure how much that will actually help.

[–] goofsqueak@lemdro.id 1 points 19 hours ago (1 children)

it was fine before but it seems like its gotten worse after i got a liquid glass theme thingo but idrk

[–] ATS1312@lemmy.dbzer0.com 3 points 14 hours ago (1 children)

Yeah, aggressively large themes and compositors will take up enough ram to do that.

[–] goofsqueak@lemdro.id 1 points 2 hours ago

(copy and pasted message btw) i now lowered the allocated wam (ram) in lunar client so it should be better? before i changed it my used ram was like 14/15 (idk why its not 16 but okay) and now its like 10/15. I will update you guys soon

[–] nixukty@lemmy.zip 9 points 1 day ago

The next time it happens, reboot and then run sudo journalctl -b 1 -e -x. What errors are logged?

sounds like memory exhaustion

[–] notfromhere@lemmy.ml 4 points 1 day ago

Blow the dust out of the case. Redo the heat sink grease. Same for the GPU. Still does it, try a different power supply. Also check the RAM with a bootable mem86+ tool.

[–] BartyDeCanter@piefed.social 14 points 1 day ago* (last edited 1 day ago) (2 children)

Here’s the basic tests to run, one of them will show you what the problem is

This article will give you the details on how to use most of them: https://www.fosslinux.com/42630/best-cpu-stress-test-performance-benchmark-linux-tools.html

Be to do them in that order, you don’t want memory issues to show up looking like cpu issues, or cpu issues to look like gpu issues.

[–] goofsqueak@lemdro.id 1 points 1 day ago

this is great thanks!!

[–] cmnybo@discuss.tchncs.de 8 points 1 day ago (1 children)

That could be a failing power supply. Excessive ripple under heavy load can cause a hard lock up.

[–] goofsqueak@lemdro.id 1 points 1 day ago

mmm interesting thanks

[–] fozid@lem.radiantfig.fyi 5 points 1 day ago (1 children)

Could be oom? How much ram do you have and is it filling up?

[–] goofsqueak@lemdro.id 1 points 1 day ago (1 children)

i have 16gb, no idea what ddr or something it is and no idea if its "filling up" (i dont know what that means)

[–] fozid@lem.radiantfig.fyi 1 points 1 day ago

What filling up means is that you have 16gb of ram, and if your system tries to use it all, it will freeze, crash and require hard rebooting. I have more than double your ram and have hit oom (out of memory) which is a kernel error. Is your do some research around out of memory and how to mitigate and prevent it in Linux, you'll find multiple solutions and how to check if it is.

[–] justdaveisfine@piefed.social 6 points 1 day ago (1 children)

What does it do when it freezes? Screen suddenly gets stuck, crashes to black screen, different color screen, etc?

[–] goofsqueak@lemdro.id 1 points 1 day ago

it basically gets so so slow that it looks frozen, but its probably just insanely slow? idrk

[–] Mihies@programming.dev 5 points 1 day ago (2 children)

First try to reliable reproduce it if possible, perhaps with a stress test app. Or start with memtest.

[–] goofsqueak@lemdro.id 1 points 1 day ago (2 children)

thats smart actually, any good apps?

[–] Mihies@programming.dev 4 points 1 day ago (1 children)

Also, in case you didn't know, memtest is an app.

[–] goofsqueak@lemdro.id 1 points 1 day ago

ah okay 🀫

[–] Mihies@programming.dev 2 points 1 day ago

So far I didn't have a need for it, but just search for stress test, like https://linuxvox.com/blog/linux-stress-test/ - I guess stress utility might be a good starting point

Just about every freeze I've had on Linux in more than a decade has been a GPU driver problem, even when it seems to be processor related.

[–] Drewmeister@lemmy.world 2 points 1 day ago (1 children)

It's been a minute since i fixed it, but i was having similar problems on Mint with nvidia. The fix for me was swapping de. If you have the option, maybe give it a try.

Sorry i don't have more details. I'm on a whole different distro nowdays.

[–] goofsqueak@lemdro.id 1 points 1 day ago (1 children)

maybe ill have this as a last resort thanks !!!

[–] Drewmeister@lemmy.world 1 points 13 hours ago (2 children)

Ah, i was hopping it'd be easy to try. My distro had a toggle on the logon screen

[–] goofsqueak@lemdro.id 1 points 2 hours ago

(copy and pasted message btw) i now lowered the allocated wam (ram) in lunar client so it should be better? before i changed it my used ram was like 14/15 (idk why its not 16 but okay) and now its like 10/15. I will update you guys soon

[–] goofsqueak@lemdro.id 1 points 2 hours ago

oh yeah i forgor...πŸ₯€

[–] Shadow@lemmy.ca 1 points 1 day ago (1 children)

On top of the other suggestions here, upgrade your bios. We really need to know exactly what you mean by freezing though.

[–] goofsqueak@lemdro.id 1 points 1 day ago (1 children)

ill try to explain what i mean as good as possible:

when it freezes it basically gets so slow that it takes forever to do anything so its basically frozen but its maybe just really slow?

also do you mind helping me with upgrading my bios?

[–] Shadow@lemmy.ca 2 points 1 day ago* (last edited 1 day ago)

Sounds like you might be running out of ram and using up swap, which just grinds things to a halt.

Open a system monitoring tool at the same time and keep an eye on your ram and swap usage. If swap is filling up, that's usually a bad sign. (if swap usage is small and not changing, that's not necessarily bad)

For bios look at https://github.com/fwupd/fwupd and it might do it for you.

[–] Inucune@lemmy.world 1 points 1 day ago (1 children)

Update your microcode for your CPU, and then cold boot.

[–] goofsqueak@lemdro.id 1 points 1 day ago (1 children)

basically have no idea what that is πŸ˜” do you mind explaininh it?

[–] Inucune@lemmy.world 1 points 1 day ago

Microcode is a set of bug fixes for your CPU.

https://wiki.archlinux.org/title/Microcode