this post was submitted on 19 Oct 2023
71 points (97.3% liked)
Linux
48081 readers
701 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
because it happens only on video. Also if it is an 60fps video I start hearing the fans spinning like mad
haven't tried specific codecs. Usually it is youtube videos but makes no difference if I play them on firefox, on chromium, or even on opening them on MPV
yes, there is one. Good idea.
ok this is definitely not normal. Check the temperature of your GPU. Is the GPU physically clean? Is the air flow ok? Do you have the chance to test with a different GPU? An overheating GPU can definitely lead to the described symptoms.
If the fans are spinning maybe check if it still happens when you point a big standalone Fan at the graphics Card.
Maybe checking your computer's resource utilization could provide some insight.
sorry but what exactly do you mean by checking resource utilization? CPU? yes load increases but it is not indicative. It is not starting being laggy and eventually freeze. It goes from responsive instantly to non responsive. RAM? it is 8GB, it always shows as full including the cached items (which is normal), but it doesn't start to swap. Swap is ~1GB used. SSD? not full.
What else (and how) should I check?
im not sure how helpful it'll be, but theres a program called nvtop that will show you what's using your GPU and all that. Maybe it'll show something right as it crashes, or at least give you a hint as to what to look into next?
I mean to use something like htop, btop, or psensor to check how much of your RAM, CPU, GPU, etc is being used along with temperature. Also, what do you mean your RAM always shows as full? I get that Linux "uses" it all but most resource monitors should be able to tell how much is actually being used for programs.
Do you know that it's specifically the GPU's fans or is it just some fan spinning up?
Is it actually using your GPU to decode? You need a fairly modern GPU to decode many YT vids nowadays.
you're right. No, i'm not sure it is the GPU fan. it can be any fan, possibly the CPU's
In that case I'd rather suspect the CPU. Decoding video can stress certain parts of a CPU that aren't usually stressed by other applications. YouTube commonly serves AV1 nowadays which most GPUs older than a few years can't decode and is rather compute intensive.
Is the CPU overclocked, undervolted or overheating? Instability in the CPU can certainly cause a complete system crash.
thanks for the input. It makes sense. No, it is not overclocked or intentionally undervolted. I think it could be undervolted if the PSU fails to provide sufficent voltage which also can be a possibility since it was a middle-tier "normal" PSU which is already 5 years old
I'd probably suspect PSU last.