Disclaimer: I know almost nothing about computers, I'm winging it...biggly
tldr; switched from GNOME to Xfce using instructions "sudo apt-get install xfce4", now system will stay up for at least a few hours before crashing
Here's the longer story
Recently, at some point in the past few weeks I think I upgraded to Zorin 17.3 and then when streaming videos screen would eventually freeze -- mouse would not respond, keyboard no response, hard reboot using power button required.
Time took to freeze would vary depending on streaming service (Twitch, YouTube, Rumble, etc), but would usually happen within 60 minutes, but could be 30 minutes or might go as long as 90 minutes.
Previous to this, whichever version of Zorin I was using (not sure if it was 17, 16.3 or another version) would run flawlessly for weeks at a time with no need to power down. Just put it on standby at end of the day before bed and then wakeup the following day and good to go.
PC is an older (2013?) Compaq desktop with AMD CPU and two sticks of Samsung 2G RAM in 2 slots for total 4G RAM (max capacity of this PC) and uses a NVIDIA GeForce 210, 250G SSD, loaded standalone on SSD with Windows on original WDC 500G HDD, dual boot. Connects to Sceptre monitor with HDMI cable. Runs Brave browser and only one tab open at a time and one lowest resolution (usually 160p or 360p).
TRIED EVERYTHING (only summary below because it was so many things I can't even remember them all):
- Downgrading to older Zorin versions = NG
- Played around with all sorts of GPU driver options = NG
- Switched back to Windows 7 = Worked just fine
- Tried a bunch of other digital witchcraft I found by searching around online, result=NG
- Messed around with swappiness and all things swap elated, result=NG
- Tested SSD using various tools, result=Pass
- Tested RAM using MemTest86+. result=Pass
But I also have a slightly newer Compaq PC (2015?) Win 8 desktop that runs Zorin FOR MONTHS without a reboot, similar setup, dual boot SSD, 8G of RAM (max capacity on this PC), stock video card going VGA to a Samsung monitor. The only reboot it gets is if the power goes out in the house. Runs smooth as glass with MANY (10-30) tabs open and video playing -- never any issues.
So after weeks of unsuccessful attempts to fix I started to suspect that the 4G of RAM is just not enough anymore (still think that's the crux of the issue). It's almost like the RAM (cache?) is filling up and then crashing the system as opposed to emptying out used or old buffered data (if that's even the way things work....LOLZ )
But during my search for a solution I came across this link
https://askubuntu.com/questions/125062/how-can-i-find-which-desktop-enviroment-i-am-using
From that I determined that my "good" 8G PC was running Xfce and my "bad" 4G PC was running GNOME. So I changed the "bad" PC to Xfce (using "sudo apt-get install xfce4" per link below) and problem has been greatly improved, can now go 3+ hours or more depending on streaming site.
https://forums.linuxmint.com/viewtopic.php?t=84376
Conclusion:
I'm guessing that 4G just isn't enough anymore, or maybe I have a chance of saving it by going to LXDE.
Any thoughts appreciated.