ERROR: NVIDIA driver is not loaded Ubuntu 18.04

Hi all,

I just updated the drivers to the 455 and suddenly i realised that my second monitor stopped working. And when researching about the issue it seems that my driver is not loaded. Reverting to an older version does not seem to work either, although I do not remember the version that it was working before. Many thanks in advance. nvidia-bug-report.log.gz (142.0 KB)

Your kernel was compiled with gcc 7.5 but you switched the system compiler to gcc 6.5 so the driver compilation failed. Additionally, while downgrading you somehow installed two different versions over another:

Dec 15 11:40:15 LT36485 kernel: [ 7632.007375] NVRM: API mismatch: the client has the version 390.138, but
Dec 15 11:40:15 LT36485 kernel: [ 7632.007375] NVRM: this kernel module has the version 390.132.  Please

Please remove any nvidia driver components first (running in an empty directory)

sudo apt remove "*nvidia*"

Then switch back your system compiler to gcc 7.5 and install the latest driver from Ubuntu’s software&updates.