Ubuntu troubleshooting

From WickyWiki


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
  • 387.34 NVIDIA binary
  • 390.25 NVIDIA binary
  • X.Org Nouveau (open source)

Version 384.111 was selected, selected version 390.25 instead. After the reboot things seem to be working better.

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 the newer driver r8169 is 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