Hello I purged nvidia-* packages, and installed nvidia-driver-460 (recommended in ubuntu-drivers devices output).
I am on xubuntu 18.04, with IdeaPad S340 and GeForce MX230.
Secure boot is already disabled, but I keep getting display UNCLAIMED in output of sudo lshw -c display.
$ prime-select query
nvidia
$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
$ dpkg --get-selections | grep nvidia-driver-460
nvidia-driver-460 install
Now I am getting black screen instead of login, but I am able to use tty1, tty2, …
When I run sudo dpkg-reconfigure linux-headers-5.4.0-62-generic I get some errors, thats the reason?
$ sudo dpkg-reconfigure linux-headers-5.4.0-62-generic
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 5.4.0-62-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....(bad exit status: 2)
make -j8 KERNELRELEASE=5.4.0-62-generic all INCLUDEDIR=/lib/modules/5.4.0-62-generic/build/include KVERSION=5.4.0-62-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 5.1.26 not found
Error! Bad return status for module build on kernel: 5.4.0-62-generic (x86_64)
Consult /var/lib/dkms/evdi/5.1.26/build/make.log for more information.
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
...done.
I feel like I messed to much with that system, but I’m not sure how. There is also newest bug-report.
Now this kernel is not booting up at all.
I booted with kernel 5.4.0-60-generic and nvidia-settings stills outputs: ERROR: NVIDIA driver is not loaded.
sudo lshw -c display now do not show unclaimed. Maybe it would be easier to upgrade whole system to 20.04 or reinstall X or something?