LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-13-2020, 12:09 PM   #1
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Rep: Reputation: 44
Kubuntu crashes once a month


Hello,
I have been using Kubuntu 18.04 LTS for 10 months or so.
Kubuntu completely locks up when I am not using it.
Sometimes, the monitor goes to sleep (Which is normal) and I can make it come back by moving the mouse or pressing keyboard keys.
No response to mouse movements, no response to Num Lock, Escape, alt-tab, Ctrl-Esc, Alt-ctrl-del, alt-ctrl-F1, alt-ctrl-F2.

I am forced to press reset.
On the same PC, Windows 7 64 bit runs fine.

I have tried memtest for hours. All is fine.

HARDWARE:
motherboard = MSI B350 TOMAHAWK
CPU = Ryzen 1800X 3.6 GHz
RAM = DDR4, 24 GB
GPU = nVidia GTX 980 4 GB

I am using the nVidia driver. Is that the problem?

I was using Kubuntu 18.04.3 LTS, 18.04.4 LTS, 18.04.5 LTS and now, Kubuntu 20.10.
I have had Kubuntu 20.10 for 5 days and today, the PC would not send a signal to the screen.
 
Old 11-13-2020, 12:15 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,201
Blog Entries: 14

Rep: Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008
I don't think it's video. If it were, your input devices would still work. I think it's your cpu. I just did a quick search and found quite a few complaints about Linux freezing on Ryzen processors.
https://duckduckgo.com/?q=ryzen+linu...tb=v1-1&ia=web

Some of those posts might give you ideas.

Last edited by hazel; 11-13-2020 at 12:16 PM.
 
Old 11-15-2020, 12:28 PM   #3
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Original Poster
Rep: Reputation: 44
Thanks for the reply, Hazel.
I looked at
https://community.amd.com/t5/process...up/td-p/156304


One guy gave this link
https://github.com/r4m0n/ZenStates-Linux

That has some cryptic information.
Basically, you have to open the command line and type
sudo modprobe msr
sudo python3 zenstates.py --c6-disable
(zenstates.py has to be in your current folder or give the full path.
Python3 is the program that interprets the python script.)

I’ll report back in a week.

~~~~vmelkon
 
Old 11-15-2020, 12:45 PM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,201
Blog Entries: 14

Rep: Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008Reputation: 3008
msr is a kernel module which, when loaded, lets you access cpu registers as separate devices. Apparently zenstates allows you to write into them.
https://www.zenstates.protonrom.com/
 
Old 11-23-2020, 01:23 AM   #5
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Original Poster
Rep: Reputation: 44
I’m reporting back.
Looks like it helps.
It froze once and that is when I had forgotten to run the command.

I’ll report back in a month.

~~~~vmelkon
 
Old 12-18-2020, 05:47 PM   #6
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Original Poster
Rep: Reputation: 44
I have been running 18.04.5 LTS for a while now. About 1 month. Kubuntu is not freezing.
I think I will soon switch to Kubuntu 20.10.
I'll report back.
 
Old 12-28-2020, 11:53 AM   #7
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Original Poster
Rep: Reputation: 44
UPDATE:
I have been running Kubuntu 20.10 since Sunday, Dec 20, 2020.
It has been a week. No crashes.
I'll report back.

~~~~vmelkon
 
Old 01-08-2021, 12:36 PM   #8
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Original Poster
Rep: Reputation: 44
UPDATE:
I'm still running Kubuntu 20.10. Same PC. Nothing overclocked.
EVERYTHING IS FINE.
I am considering the issue resolved by running

Code:
sudo modprobe msr
sudo python3 zenstates.py --c6-disable
~~~~vmelkon
 
Old 01-08-2021, 02:44 PM   #9
dna9
Member
 
Registered: Nov 2004
Location: Colorado
Distribution: Ubuntu mostly...
Posts: 94

Rep: Reputation: 28
Quote:
Originally Posted by vmelkon View Post
Hello,
I have been using Kubuntu 18.04 LTS for 10 months or so.
Kubuntu completely locks up when I am not using it.
Sometimes, the monitor goes to sleep (Which is normal) and I can make it come back by moving the mouse or pressing keyboard keys.
No response to mouse movements, no response to Num Lock, Escape, alt-tab, Ctrl-Esc, Alt-ctrl-del, alt-ctrl-F1, alt-ctrl-F2.

I am forced to press reset.
On the same PC, Windows 7 64 bit runs fine.

I have tried memtest for hours. All is fine.


HARDWARE:
motherboard = MSI B350 TOMAHAWK
CPU = Ryzen 1800X 3.6 GHz
RAM = DDR4, 24 GB
GPU = nVidia GTX 980 4 GB

I am using the nVidia driver. Is that the problem?

I was using Kubuntu 18.04.3 LTS, 18.04.4 LTS, 18.04.5 LTS and now, Kubuntu 20.10.
I have had Kubuntu 20.10 for 5 days and today, the PC would not send a signal to the screen.
well that happened to me about 6 months ago. shake the mouse, reboot, log out etc and nothing would happen. thought video card was bad, swapped it. still nothing. found out my 8 year old LG monitor was tired and took about 3-4 minutes to light up. plugged in new monitor and all is fine. strange that win 7 works fine but linux doesn't.
 
Old 01-14-2021, 09:31 AM   #10
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 20.10
Posts: 307

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by dna9 View Post
well that happened to me about 6 months ago. shake the mouse, reboot, log out etc and nothing would happen. thought video card was bad, swapped it. still nothing. found out my 8 year old LG monitor was tired and took about 3-4 minutes to light up. plugged in new monitor and all is fine. strange that win 7 works fine but linux doesn't.
It sounds like your monitor uses a cold cathode tube and not LED.
Wgich means that the LCD works but not the backlight.
Some people convert their cold cathode to LED.

~~~~vmelkon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get first day of last month and last day of last month in bash xowl Linux - Software 18 02-09-2017 10:49 AM
crontab once per week and once per month? qwertyjjj Linux - Newbie 3 12-15-2011 05:54 AM
LXer: CodeWeavers CEO names himself employee of the month for 175TH consecutive month LXer Syndicated Linux News 3 08-13-2010 05:55 PM
transform month number to month name in php ALInux Programming 1 11-09-2005 11:45 AM
Starting day of month, month length chrisk5527 Programming 2 03-03-2004 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration