I upgraded to Ubuntu 18.10 from Ubuntu 18.04. I have two problems but I think they're related. I have a NVIDIA graphics card.
Problem 1: if I have the original NVIDIA graphics card drivers, then my Ubuntu doesn't boot. It stops at the boot screen. I read on some online forums to do CTRL + ALT + F2 and uninstall Nvidia drivers. Then boot into Ubuntu and reinstall Nvidia drivers. However, if I reinstall the drivers, my Ubuntu doesn't boot again.
Problem 2: While using Spyder through Anaconda and Python 3.6, I get the following messages on my terminal --
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch5: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch5: buf 00000000 00000002 00000004 00000004 00000000
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch5: krec 0 pushes 0 bufs 2 relocs 0
nouveau: ch5: buf 00000000 00000002 00000004 00000004 00000000
nouveau: ch5: buf 00000001 00000006 00000004 00000000 00000004
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch5: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch5: buf 00000000 00000003 00000004 00000004 00000000
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch5: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch5: buf 00000000 00000003 00000004 00000004 00000000
python: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed.
After a while, Spyder crashes. I read on online forums that this is a problem related to PyQt and NVIDIA drivers. I need to use updated PyQt and NVIDIA drivers. However, I already have PyQt 5.9 installed and I can't install the NVIDIA drivers because then I won't be able to boot.
Checking for Ubuntu drivers gives me --
vendor : NVIDIA Corporation
model : GT218 [GeForce 210]
driver : nvidia-340 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
To install the NVIDIA drivers I use,
sudo ubuntu-drivers autoinstall
Can someone please help? I need to use Spyder.