Ubuntu troubleshooting: Difference between revisions

From WickyWiki
Line 50: Line 50:
* https://askubuntu.com/questions/761706/ubuntu-15-10-and-16-04-keep-freezing-randomly
* https://askubuntu.com/questions/761706/ubuntu-15-10-and-16-04-keep-freezing-randomly


== Reinstall from Nvidia repository (seems to be a fix) ==
== Reinstall from Nvidia repository (possible fix) ==


Nvidia settings
Nvidia settings:


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
Line 58: Line 58:
</syntaxhighlight>
</syntaxhighlight>


Removed all Nvidia drivers
Removed all Nvidia drivers:


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
Line 64: Line 64:
</syntaxhighlight>
</syntaxhighlight>


Added nvidia repository, now more options under ''additional drivers''
Added Nvidia repository, now more options under ''additional drivers''


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
Line 75: Line 75:
** Used this version previously
** Used this version previously
* 387.34 NVIDIA binary
* 387.34 NVIDIA binary
* 390.25 NViNVIDIAdia binary  
* 390.25 NVIDIA binary  
** I'm using this version now
** http://www.nvidia.com/Download/driverResults.aspx/130646/en-us
* X.Org Nouveau (open source)
* X.Org Nouveau (open source)
Selected version 390.25 and then reboot, things seem to be working better now.
See also:
* http://www.nvidia.com/Download/driverResults.aspx/130646/en-us


= Disconnecting network (fix) =
= Disconnecting network (fix) =

Revision as of 18:01, 5 March 2018


After upgrading my system usually I run into some problems.

System configuration

  • Ubuntu 16.04
  • AMD Ryzen 5 CPU
  • Motherboard MSI B350 PC Mate
  • Videocard Nvidia MSI GTX-1060 6GB

Game-audio gritty distortion, crackling (fix)

  • happens with older games, for example with World of Goo
  • pulseaudio

Info:

Edit "/etc/pulse/default.pa", find "load-module module-udev-detect" and add "tsched=0":

sudo nano /etc/pulse/default.pa
load-module module-udev-detect tsched=0

Restart the PulseAudio server:

pulseaudio -k
pulseaudio --start

Regular periods of freeze, getting worse

  • system interface slows quickly, mouse stutters, until it freezes completely
  • switch to terminal (Ctrl+Alt+F1) and back seems to fix it for a while but it will come back
  • not switching results in a fatal freeze
  • does not seem to happen when left alone
  • freeze on play of certain videos

Related?

Reinstall from Nvidia repository (possible fix)

Nvidia settings:

sudo nvidia-settings

Removed all Nvidia drivers:

sudo apt-get remove --purge nvidia-*

Added Nvidia repository, now more options under additional drivers

sudo apt-add-repository ppa:graphics-drivers/ppa
sudo apt-get update

Options:

  • 384.111 NVIDIA binary
    • Used this version previously
  • 387.34 NVIDIA binary
  • 390.25 NVIDIA binary
  • X.Org Nouveau (open source)

Selected version 390.25 and then reboot, things seem to be working better now.

See also:

Disconnecting network (fix)

  • Would happen after a period of correct operation
  • Disable/enable solves the problem for a period

Info:

It is 'well known' that driver r8169 driver flawed.

Check if this driver is used

sudo lshw -C network | grep driver

Install r8168-dkms driver

sudo apt-get update
sudo apt-get install r8168-dkms

Reboot