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

  • nyan@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    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.

  • notfromhere@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    15 hours 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.

  • nixukty@lemmy.zip
    link
    fedilink
    arrow-up
    9
    ·
    20 hours ago

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

  • BartyDeCanter@piefed.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    24 hours ago

    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.idOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 hours ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 hours 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.

    • goofsqueak@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

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

  • Drewmeister@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    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.

  • Shadow@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

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

    • goofsqueak@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 hours ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        11 hours 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.