Ubuntu 18.04 LTS hard freezing while AFK












1














I am having an issue on Ubuntu 18.04 LTS where the computer will hard freeze with no detectable reason. This happens most frequently while I am away from the computer for extended periods of time (while asleep, for example) and I will return to a completely frozen computer. It accepts no input whatsoever, does not move the cursor when the mouse is moved, and tricks like REISUB do nothing. My only option is to turn off the computer with the power button.



Specs:

CPU: AMD Ryzen 5 1600

GPU: GeForce GT 1030

Mobo: Gigabyte AB350-Gaming-CF

RAM: Ballistix Sport LT 8GB x2

HD: Samsung SM961 SSD

PSU: Cooler Master Extreme Power RS-600-PCAR-E3



I have figured this may have been a hardware problem related to my video card, but replacing the card with the GT 1030 has only slightly abated the problem. Once or twice the computer has frozen while I was using it, but almost always while I was not directly touching the computer and turned away doing something in real life.



I've looked through the syslog file to see if anything is going on, but the computer appears to freeze before it can even write anything to syslog. I've also ran a memtest which came up 100% clean.



I've been having this issue since running 16.04 LTS as well. Upgrading has had no effect on the freezing issue.



I am using Cinnamon desktop environment.










share|improve this question






















  • What does your /var/log/syslog say around the time of a crash?
    – user535733
    Sep 23 at 12:55










  • Nothing. In the syslog before the most recent freeze, the last entry is a DHCPREQUEST which doesn't appear to have any issue. The syslog simply stops recording anything while the freeze occurs, and doesn't begin writing again until I reboot.
    – RevMungo
    Sep 23 at 13:40










  • I might be off base here, but does the freezing seem to happen within the same amount of time each time? Also, do you have more than one screensaver installed? To check that try running apt list --installed | grep screensaver Unfortunately, troubleshooting hard freezing problems can be very extensive. I guess one other thing you could try to eliminate your software on your system as being the problem is to try running your system from a LiveCD/DVD/USB and see if the freezing still happens.
    – Terrance
    Sep 23 at 14:15










  • Another thing to try maybe is to disable power saving functions and see. Like maybe turning off ACPI askubuntu.com/questions/160036/… or things like that.
    – Terrance
    Sep 23 at 14:18










  • As far as I know, I don't have any screensavers installed that wouldn't have come packaged in Ubuntu or Cinnamon. I've already got all power saving options turned off that I can turn off from regular system settings, but I'll try that ACPI fix too and see what it does.
    – RevMungo
    Sep 23 at 14:37


















1














I am having an issue on Ubuntu 18.04 LTS where the computer will hard freeze with no detectable reason. This happens most frequently while I am away from the computer for extended periods of time (while asleep, for example) and I will return to a completely frozen computer. It accepts no input whatsoever, does not move the cursor when the mouse is moved, and tricks like REISUB do nothing. My only option is to turn off the computer with the power button.



Specs:

CPU: AMD Ryzen 5 1600

GPU: GeForce GT 1030

Mobo: Gigabyte AB350-Gaming-CF

RAM: Ballistix Sport LT 8GB x2

HD: Samsung SM961 SSD

PSU: Cooler Master Extreme Power RS-600-PCAR-E3



I have figured this may have been a hardware problem related to my video card, but replacing the card with the GT 1030 has only slightly abated the problem. Once or twice the computer has frozen while I was using it, but almost always while I was not directly touching the computer and turned away doing something in real life.



I've looked through the syslog file to see if anything is going on, but the computer appears to freeze before it can even write anything to syslog. I've also ran a memtest which came up 100% clean.



I've been having this issue since running 16.04 LTS as well. Upgrading has had no effect on the freezing issue.



I am using Cinnamon desktop environment.










share|improve this question






















  • What does your /var/log/syslog say around the time of a crash?
    – user535733
    Sep 23 at 12:55










  • Nothing. In the syslog before the most recent freeze, the last entry is a DHCPREQUEST which doesn't appear to have any issue. The syslog simply stops recording anything while the freeze occurs, and doesn't begin writing again until I reboot.
    – RevMungo
    Sep 23 at 13:40










  • I might be off base here, but does the freezing seem to happen within the same amount of time each time? Also, do you have more than one screensaver installed? To check that try running apt list --installed | grep screensaver Unfortunately, troubleshooting hard freezing problems can be very extensive. I guess one other thing you could try to eliminate your software on your system as being the problem is to try running your system from a LiveCD/DVD/USB and see if the freezing still happens.
    – Terrance
    Sep 23 at 14:15










  • Another thing to try maybe is to disable power saving functions and see. Like maybe turning off ACPI askubuntu.com/questions/160036/… or things like that.
    – Terrance
    Sep 23 at 14:18










  • As far as I know, I don't have any screensavers installed that wouldn't have come packaged in Ubuntu or Cinnamon. I've already got all power saving options turned off that I can turn off from regular system settings, but I'll try that ACPI fix too and see what it does.
    – RevMungo
    Sep 23 at 14:37
















1












1








1







I am having an issue on Ubuntu 18.04 LTS where the computer will hard freeze with no detectable reason. This happens most frequently while I am away from the computer for extended periods of time (while asleep, for example) and I will return to a completely frozen computer. It accepts no input whatsoever, does not move the cursor when the mouse is moved, and tricks like REISUB do nothing. My only option is to turn off the computer with the power button.



Specs:

CPU: AMD Ryzen 5 1600

GPU: GeForce GT 1030

Mobo: Gigabyte AB350-Gaming-CF

RAM: Ballistix Sport LT 8GB x2

HD: Samsung SM961 SSD

PSU: Cooler Master Extreme Power RS-600-PCAR-E3



I have figured this may have been a hardware problem related to my video card, but replacing the card with the GT 1030 has only slightly abated the problem. Once or twice the computer has frozen while I was using it, but almost always while I was not directly touching the computer and turned away doing something in real life.



I've looked through the syslog file to see if anything is going on, but the computer appears to freeze before it can even write anything to syslog. I've also ran a memtest which came up 100% clean.



I've been having this issue since running 16.04 LTS as well. Upgrading has had no effect on the freezing issue.



I am using Cinnamon desktop environment.










share|improve this question













I am having an issue on Ubuntu 18.04 LTS where the computer will hard freeze with no detectable reason. This happens most frequently while I am away from the computer for extended periods of time (while asleep, for example) and I will return to a completely frozen computer. It accepts no input whatsoever, does not move the cursor when the mouse is moved, and tricks like REISUB do nothing. My only option is to turn off the computer with the power button.



Specs:

CPU: AMD Ryzen 5 1600

GPU: GeForce GT 1030

Mobo: Gigabyte AB350-Gaming-CF

RAM: Ballistix Sport LT 8GB x2

HD: Samsung SM961 SSD

PSU: Cooler Master Extreme Power RS-600-PCAR-E3



I have figured this may have been a hardware problem related to my video card, but replacing the card with the GT 1030 has only slightly abated the problem. Once or twice the computer has frozen while I was using it, but almost always while I was not directly touching the computer and turned away doing something in real life.



I've looked through the syslog file to see if anything is going on, but the computer appears to freeze before it can even write anything to syslog. I've also ran a memtest which came up 100% clean.



I've been having this issue since running 16.04 LTS as well. Upgrading has had no effect on the freezing issue.



I am using Cinnamon desktop environment.







18.04 freeze crash






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 23 at 12:31









RevMungo

61




61












  • What does your /var/log/syslog say around the time of a crash?
    – user535733
    Sep 23 at 12:55










  • Nothing. In the syslog before the most recent freeze, the last entry is a DHCPREQUEST which doesn't appear to have any issue. The syslog simply stops recording anything while the freeze occurs, and doesn't begin writing again until I reboot.
    – RevMungo
    Sep 23 at 13:40










  • I might be off base here, but does the freezing seem to happen within the same amount of time each time? Also, do you have more than one screensaver installed? To check that try running apt list --installed | grep screensaver Unfortunately, troubleshooting hard freezing problems can be very extensive. I guess one other thing you could try to eliminate your software on your system as being the problem is to try running your system from a LiveCD/DVD/USB and see if the freezing still happens.
    – Terrance
    Sep 23 at 14:15










  • Another thing to try maybe is to disable power saving functions and see. Like maybe turning off ACPI askubuntu.com/questions/160036/… or things like that.
    – Terrance
    Sep 23 at 14:18










  • As far as I know, I don't have any screensavers installed that wouldn't have come packaged in Ubuntu or Cinnamon. I've already got all power saving options turned off that I can turn off from regular system settings, but I'll try that ACPI fix too and see what it does.
    – RevMungo
    Sep 23 at 14:37




















  • What does your /var/log/syslog say around the time of a crash?
    – user535733
    Sep 23 at 12:55










  • Nothing. In the syslog before the most recent freeze, the last entry is a DHCPREQUEST which doesn't appear to have any issue. The syslog simply stops recording anything while the freeze occurs, and doesn't begin writing again until I reboot.
    – RevMungo
    Sep 23 at 13:40










  • I might be off base here, but does the freezing seem to happen within the same amount of time each time? Also, do you have more than one screensaver installed? To check that try running apt list --installed | grep screensaver Unfortunately, troubleshooting hard freezing problems can be very extensive. I guess one other thing you could try to eliminate your software on your system as being the problem is to try running your system from a LiveCD/DVD/USB and see if the freezing still happens.
    – Terrance
    Sep 23 at 14:15










  • Another thing to try maybe is to disable power saving functions and see. Like maybe turning off ACPI askubuntu.com/questions/160036/… or things like that.
    – Terrance
    Sep 23 at 14:18










  • As far as I know, I don't have any screensavers installed that wouldn't have come packaged in Ubuntu or Cinnamon. I've already got all power saving options turned off that I can turn off from regular system settings, but I'll try that ACPI fix too and see what it does.
    – RevMungo
    Sep 23 at 14:37


















What does your /var/log/syslog say around the time of a crash?
– user535733
Sep 23 at 12:55




What does your /var/log/syslog say around the time of a crash?
– user535733
Sep 23 at 12:55












Nothing. In the syslog before the most recent freeze, the last entry is a DHCPREQUEST which doesn't appear to have any issue. The syslog simply stops recording anything while the freeze occurs, and doesn't begin writing again until I reboot.
– RevMungo
Sep 23 at 13:40




Nothing. In the syslog before the most recent freeze, the last entry is a DHCPREQUEST which doesn't appear to have any issue. The syslog simply stops recording anything while the freeze occurs, and doesn't begin writing again until I reboot.
– RevMungo
Sep 23 at 13:40












I might be off base here, but does the freezing seem to happen within the same amount of time each time? Also, do you have more than one screensaver installed? To check that try running apt list --installed | grep screensaver Unfortunately, troubleshooting hard freezing problems can be very extensive. I guess one other thing you could try to eliminate your software on your system as being the problem is to try running your system from a LiveCD/DVD/USB and see if the freezing still happens.
– Terrance
Sep 23 at 14:15




I might be off base here, but does the freezing seem to happen within the same amount of time each time? Also, do you have more than one screensaver installed? To check that try running apt list --installed | grep screensaver Unfortunately, troubleshooting hard freezing problems can be very extensive. I guess one other thing you could try to eliminate your software on your system as being the problem is to try running your system from a LiveCD/DVD/USB and see if the freezing still happens.
– Terrance
Sep 23 at 14:15












Another thing to try maybe is to disable power saving functions and see. Like maybe turning off ACPI askubuntu.com/questions/160036/… or things like that.
– Terrance
Sep 23 at 14:18




Another thing to try maybe is to disable power saving functions and see. Like maybe turning off ACPI askubuntu.com/questions/160036/… or things like that.
– Terrance
Sep 23 at 14:18












As far as I know, I don't have any screensavers installed that wouldn't have come packaged in Ubuntu or Cinnamon. I've already got all power saving options turned off that I can turn off from regular system settings, but I'll try that ACPI fix too and see what it does.
– RevMungo
Sep 23 at 14:37






As far as I know, I don't have any screensavers installed that wouldn't have come packaged in Ubuntu or Cinnamon. I've already got all power saving options turned off that I can turn off from regular system settings, but I'll try that ACPI fix too and see what it does.
– RevMungo
Sep 23 at 14:37












1 Answer
1






active

oldest

votes


















1














I am crossposing my answer from another similar question here:



I had a similar issue on my system. It would lock up on idle when I left the PC alone for a while. It seems to be a known bug with the C6 deep idle power state on AMD Zen processors.



I created a service that disables this power state on boot and it has been running without issue for a few weeks on my system now, so I uploaded it to OBS for others to use. To install it:



$ wget -nv -O - https://download.opensuse.org/repositories/home:jkist/xUbuntu_18.04/Release.key | sudo apt-key add -
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkist/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:jkist.list"
$ sudo apt-get update
$ sudo apt-get install amd-disable-c6


Versions for other distributions can be found here



Alternatively, you could try to disable the C6 state in your BIOS. If your BIOS is as crappy as mine, though, you might not have that option or you might have to disable all power saving modes instead of just disabling the C6 state.






share|improve this answer





















  • Both upvoted. ;-)
    – Fabby
    Dec 21 at 12:25











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1077727%2fubuntu-18-04-lts-hard-freezing-while-afk%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I am crossposing my answer from another similar question here:



I had a similar issue on my system. It would lock up on idle when I left the PC alone for a while. It seems to be a known bug with the C6 deep idle power state on AMD Zen processors.



I created a service that disables this power state on boot and it has been running without issue for a few weeks on my system now, so I uploaded it to OBS for others to use. To install it:



$ wget -nv -O - https://download.opensuse.org/repositories/home:jkist/xUbuntu_18.04/Release.key | sudo apt-key add -
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkist/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:jkist.list"
$ sudo apt-get update
$ sudo apt-get install amd-disable-c6


Versions for other distributions can be found here



Alternatively, you could try to disable the C6 state in your BIOS. If your BIOS is as crappy as mine, though, you might not have that option or you might have to disable all power saving modes instead of just disabling the C6 state.






share|improve this answer





















  • Both upvoted. ;-)
    – Fabby
    Dec 21 at 12:25
















1














I am crossposing my answer from another similar question here:



I had a similar issue on my system. It would lock up on idle when I left the PC alone for a while. It seems to be a known bug with the C6 deep idle power state on AMD Zen processors.



I created a service that disables this power state on boot and it has been running without issue for a few weeks on my system now, so I uploaded it to OBS for others to use. To install it:



$ wget -nv -O - https://download.opensuse.org/repositories/home:jkist/xUbuntu_18.04/Release.key | sudo apt-key add -
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkist/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:jkist.list"
$ sudo apt-get update
$ sudo apt-get install amd-disable-c6


Versions for other distributions can be found here



Alternatively, you could try to disable the C6 state in your BIOS. If your BIOS is as crappy as mine, though, you might not have that option or you might have to disable all power saving modes instead of just disabling the C6 state.






share|improve this answer





















  • Both upvoted. ;-)
    – Fabby
    Dec 21 at 12:25














1












1








1






I am crossposing my answer from another similar question here:



I had a similar issue on my system. It would lock up on idle when I left the PC alone for a while. It seems to be a known bug with the C6 deep idle power state on AMD Zen processors.



I created a service that disables this power state on boot and it has been running without issue for a few weeks on my system now, so I uploaded it to OBS for others to use. To install it:



$ wget -nv -O - https://download.opensuse.org/repositories/home:jkist/xUbuntu_18.04/Release.key | sudo apt-key add -
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkist/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:jkist.list"
$ sudo apt-get update
$ sudo apt-get install amd-disable-c6


Versions for other distributions can be found here



Alternatively, you could try to disable the C6 state in your BIOS. If your BIOS is as crappy as mine, though, you might not have that option or you might have to disable all power saving modes instead of just disabling the C6 state.






share|improve this answer












I am crossposing my answer from another similar question here:



I had a similar issue on my system. It would lock up on idle when I left the PC alone for a while. It seems to be a known bug with the C6 deep idle power state on AMD Zen processors.



I created a service that disables this power state on boot and it has been running without issue for a few weeks on my system now, so I uploaded it to OBS for others to use. To install it:



$ wget -nv -O - https://download.opensuse.org/repositories/home:jkist/xUbuntu_18.04/Release.key | sudo apt-key add -
$ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jkist/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:jkist.list"
$ sudo apt-get update
$ sudo apt-get install amd-disable-c6


Versions for other distributions can be found here



Alternatively, you could try to disable the C6 state in your BIOS. If your BIOS is as crappy as mine, though, you might not have that option or you might have to disable all power saving modes instead of just disabling the C6 state.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 21 at 12:05









tumbleweed_user

111




111












  • Both upvoted. ;-)
    – Fabby
    Dec 21 at 12:25


















  • Both upvoted. ;-)
    – Fabby
    Dec 21 at 12:25
















Both upvoted. ;-)
– Fabby
Dec 21 at 12:25




Both upvoted. ;-)
– Fabby
Dec 21 at 12:25


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1077727%2fubuntu-18-04-lts-hard-freezing-while-afk%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局