New Linux installation, but system is randomly freezing

rollingdownahill

New Member
Credits
0
My system is frequently locking up where the output from the GPU seems frozen and I can no longer interact with my computer. I cannot open tty terminals when this happens and it doesn't seem that any of my keyboard inputs are being accepted as the capslock and numlock keys do not illuminate after being pressed. I have tried plugging in multiple USB and PS/2 mice and keyboards when this happens, but I still cannot get out of this frozen state unless I hard reset my desktop. I installed this OS several days ago and this has been happening on and off, except today it happened four times :confused:.

I am a very new user and am not sure where to start with troubleshooting this. I built this PC about two years ago and have been using Windows 10 without experiencing this issue. Help with this issue would be greatly appreciated.



I am using Ubuntu 18.04.3
Kernel 5.3.0.28-generic
nvidia-driver-435.21
Motherboard bios: F23



The computer is using the following hardware at stock settings:

Gigabyte AB350N-Gaming WIFI
AMD Ryzen 7 1700
16GB (2 x 8GB) DDR4
(GPR416GB3000C15ADC)
NVIDIA GeForce GTX 1070 (MSI GeForce GTX 1070 AERO ITX 8G OC)
Samsung SSD 850 EVO 500GB (EMT01B6Q)
Seasonic 650W X Series X-650 Power Supply (SS-650KM Active PFC F3)
 


Condobloke

Well-Known Member
Credits
3,750
G'day and Welcome to linux.org

Almost certainly this will be a graphics card drama

Have you installed a driver for that card ?
 

Condobloke

Well-Known Member
Credits
3,750

.....from part way down the page

First remove any nvidia packages you might have had laying around
sudo apt-get purge nvidia*



Add the repository to your repo list


sudo add-apt-repository ppa:graphics-drivers



And update


sudo apt-get update



Then enter the following


ubuntu-drivers devices



in terminal which gives the following output:


== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001462sd00003302bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-390 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin



Now one may take the recommended driver from the list and installs it by


sudo apt-get install nvidia-driver-415
 

Alexzee

Well-Known Member
Credits
3,325
I have to agree with Condobloke-:)

The kind of performance issues you are having with your desktop definently sounds like GPU drama.

Does Ubuntu have a driver manager?
 

rollingdownahill

New Member
Credits
0
Does Ubuntu have a driver manager?
Yes, I selected the nvidia driver 435 from the "Additional Drivers" section in the "Software & Updates" program and that's how I have the driver installed.

Thanks for the replies guys, I'll give your suggestion a try Condobloke. At the moment I'm a bit short on time so I'll have to wait until tomorrow to look further into this, but you guys may be right about this being an issue with my graphics card. Earlier today I installed ubuntu 18.04 on my Thinkpad T490 using Intel integrated graphics and have been using it for several hours without encountering this issue.
 
Last edited:

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
4,771
:) G'day @rollingdownahill - another Aussie here and welcome.

In your Bionic Beaver's Additional Drivers, there should be an option to use the Nouveau driver, this is a generic driver especially built for Nvidia issues.

Try it if all else fails, with a fresh day ahead of you

Cheers

Chris Turner
wizardfromoz
 

Elbow Jeans

New Member
Credits
8

.....from part way down the page

First remove any nvidia packages you might have had laying around
sudo apt-get purge nvidia*



Add the repository to your repo list


sudo add-apt-repository ppa:graphics-drivers



And update


sudo apt-get update



Then enter the following


ubuntu-drivers devices



in terminal which gives the following output:


== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001462sd00003302bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-390 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin



Now one may take the recommended driver from the list and installs it by


sudo apt-get install nvidia-driver-415
Thank You, Condobloke!!! Followed your instructions and screen hasn't frozen anymore. Thank you!!!

Dual boot on SSD: Ubuntu Studio 20.04.1 / Win 10 Home
Intel i7-9750H 2.6GHz
8GB RAM
256GB SSD+1TB HDD
Nvidia Geforce GTX 1650
 
Last edited:

chrispy

New Member
Credits
9

.....from part way down the page

First remove any nvidia packages you might have had laying around
sudo apt-get purge nvidia*



Add the repository to your repo list


sudo add-apt-repository ppa:graphics-drivers



And update


sudo apt-get update



Then enter the following


ubuntu-drivers devices



in terminal which gives the following output:


== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001462sd00003302bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-410 - third-party free
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-390 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin



Now one may take the recommended driver from the list and installs it by


sudo apt-get install nvidia-driver-415
Hi Condobloke,

I had a similar issue, videocard GeForce GT 710. The graphics were slow and the machine would completely freeze randomly, but certainly whenever graphics were dynamic (e.g. a youtube video). Not even capslock on the keyboard would work, had to powercycle the machine. Followed your recipe and it solved the issues. Thanks!

Chris.

Ubuntu 20.04.1 LTS
Intel(R) Xeon(R) E5420 2.50GHz
8GB RAM
300G HDD
Nvidia GeForce GT 710
 


Staff online

Members online


Top