2

I have recently installed Ubuntu 18.04.2 LTS on Dell XPS 15 9618 which has 16 GB ram, 8th Generation Intel Core i7-8750H Processor (9MB Cache, up to 4.1 GHz, 6 Cores) and NVIDIA GeForce GTX 1050Ti with 4GB GDDR5.

Now the issues I'm facing every day is that the OS freezes completely and randomly. Randomly as in like when I'm trying to connect to wifi, or open a terminal, etc. I cannot move the cursor and cannot kill process suing SysReq+ALT+F or SysReq+ALT+K. The only options seem to be working are either I use SysReq+ALT+REISUB or turn the PC off by holding the power button. I read on the internet that the crash might be due to the unresponsive X server. However, I am not sure how to confirm if that is the issue or there is something which causes the system to freeze.

Are there any other approaches to prevent the system from freezing or at least reducing the frequency?

enter image description here

  • How much swap space do you have? swapon show or free -h – waltinator Apr 4 at 17:59
  • Edit your question and show me ls -al ~/.local/share/gnome-shell/extensions. What version Nvidia drivers? – heynnema Apr 4 at 18:09
  • swap memory - 2GB. and the command ls -al ~/.local/share/gnome-shell/extensions gives me cannot find the directory. also, I don't think I've installed any Nvidia drivers. could that be the reason? – gg0092 Apr 5 at 19:24
0

I had similar problems and it turned out to be due to a problem with the "nouveau" graphics driver that was used by default. In my case it was solved by installing another graphics driver, like this:

sudo apt install nvidia-driver-390

Then that newly installed driver was used instead of the nouveau driver, and then everything worked fine.

In case it freezes already before you can get a terminal and enter that apt command, you can try booting to Linux in runlevel 3 (no graphics) first; that worked for me.

  • 1
    thank you very much. I have installed the driver and the OS is working fine now. – gg0092 Apr 7 at 14:02
  • @gg0092 Great, can you set it as "accepted" answer? Then I get some points :-) – Elias Apr 7 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.