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

top 42 comments

sorted by: hot top controversial new old
[–] 16 points 3 months ago* (last edited 3 months ago) (3 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.

  • source
  • hideshow 3 child comments
  • [–] 8 points 3 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 6 points 3 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 5 points 3 months ago

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

  • source
  • [–] 5 points 3 months ago (2 children)

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

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 3 months ago (1 child)

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

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months 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.

  • source
  • parent
  • [–] 3 points 3 months 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.

  • source
  • [–] 1 point 2 months ago

    What's an "alot"?

  • source
  • [–] 2 points 3 months ago

    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.

  • source
  • [–] 2 points 3 months ago

    sounds like memory exhaustion

  • source
  • [–] 2 points 3 months ago* (last edited 3 months ago) (2 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.
  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 3 months ago* (last edited 3 months ago) (1 child)

    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

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 months ago (4 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.

  • source
  • hideshow 4 child comments
  • [–] [S] 1 point 3 months ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 3 months ago (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 3 months 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

  • source
  • parent
  • [–] 1 point 3 months ago (3 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.

  • source
  • hideshow 3 child comments
  • [–] [S] 1 point 3 months ago (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 3 months ago (1 child)

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

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 1 point 3 months 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

  • source
  • parent
  • [–] 1 point 3 months ago (2 children)
  • [–] 1 point 3 months ago* (1 child)

    You could enable zram to compress data inside ram.

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 3 months 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

  • source
  • parent
  • [–] 1 point 3 months ago* (last edited 3 months 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.

  • source
  • [–] 1 point 3 months ago

    To me this screams heat problem or bad power supply.

  • source
  • [–] 1 point 3 months ago (2 children)

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

  • source
  • hideshow 2 child comments
  • [–] 1 point 3 months ago (2 children)

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

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 3 months ago (1 child)

    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?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 3 months 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.

  • source
  • parent
  • [–] 0 points 3 months ago

    Increase RAM timings.

  • source