There are two significant issues I seem to be seeing a lot of in Xubuntu lately.
- Network disconnecting: I will go to load a new web page and it fails to load.
- Fail to resume after hibernation: previously resume has been very reliable.
Apr 5 09:46:19 MainPC kernel: [ 8240.834662] NVRM: API mismatch: the client has the version 375.39, but
Apr 5 09:46:19 MainPC kernel: [ 8240.834662] NVRM: this kernel module has the version 367.57. Please
Apr 5 09:46:19 MainPC kernel: [ 8240.834662] NVRM: make sure that this kernel module and all NVIDIA driver
Apr 5 09:46:19 MainPC kernel: [ 8240.834662] NVRM: components have the same version.
First thing to try is remove and reinstall the NVidia driver:
sudo apt purge nvidia
sudo apt install nvidia-375
On restarting it says “System problem” with an option to report and after clicking the button it shows another message “Sorry Ubuntu 16.04 has experienced an internal error.” The error turns out to be in xserver-xorg-core 2:1.18.4-0ubuntu0.2 and the title is Xorg crashed with SIGABRT in OsAbort()
The time given corresponded to the time when the kernel messages were being reported as above and the exact timestamp corresponded with the first appearance of the message in the kernel log, for that boot sequence. On the current boot those NVRM messages are not present.
We shall see if this addresses the problem, it must have occurred through at least two system upgrades but I have not seen a similar issue on the MediaPC which is the only other linux system I regularly hibernate. Although it has a different model NVidia graphics card.
UPDATE 2017-04-31: The system was stable for about a month and then there was a random instance that it failed to restore from hibernation. The difference this time was that the system first of all had a problem mounting a disk, and came up in emergency mode. After resolving the mount issue, there was then an instance of the blank screen after resuming with the funny x shaped pointer and nothing else displayed, which is what has happened in some of the other failed instances.
The main difference is now I have learned about journalctl (a systemd component) that will give me all the kernel logs. With a configuration change this is now storing more than just the most recent boot. I am now waiting for another resume failure (there have been several lately) to help me diagnose the problem. There is a pile of updates waiting to be installed so I am putting those in as well.
UPDATE 2017-06-30: After two months of no problems I installed some updates that required a restart, then the system hibernated (not shut down), then on resume I had this problem again. Once I powercycled it came up with the system error dialog to say it wanted to send an error report. It lists the following bug: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1543192
In this case the screen just showed the blinking cursor but did not allow me to go into a terminal.
I have debug mode set in the Grub command parameters and I could poke through the logs with journalctl but right now I can’t be bothered.
I keep seeing the network problem with no obvious cause and have dug around without figuring out what is happening. On the other Linux PCs this never happens, so it must be specific to the chipset in this computer.
UPDATE 2017-07-08: I have had a situation where the system repeatedly failed to boot after I had connected a TV as a third screen (it normally has just two) and that screen was powered on, but the settings in xrandr were set that the screen’s “Use this screen” box was unticked and also the setting to configure screens when new ones were connected was also off. Each reboot (two so far) the system failed to resume from hibernation, in that I was left with a blank screen. It would seem this setting causes problems if you use it, and in this respect the software is way below Windows, which copes pretty well with screens missing or whatever on startup. To resolve this I disconnected the cable for the TV and so I will only plug that in physically if I need it. It seems the software can’t handle that it can detect the screen but it is told not to use it in the settings. However I am not getting the xorg server bug error messages popping up when I restarted in this instance.
The problem persisted from this point and by changing a setting in the display settings only then could I get a reliable resume. This has been reported to Ubuntu Bugs.
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1703098