What worked for me was removing nomodeset.
Context being - after removing nomodeset, I could get past the hdaudio hdaudio C0D3: unable to bind the codec error onto the login screen and could log in, but my HP laptop would shut down abruptly - which is why I had nomodeset in the first place.
My NVIDIA drivers were messy. They wouldn't function, nor would they get installed properly.
After some forum reading, it turned out that nomodeset isn't a necessity if nvidia drivers are installed properly. I installed a fresh copy of Ubuntu 20.04 LTS, booted in keeping nomodeset, apt installed nvidia-utils-470, rebooted. Now NVIDIA drivers don't boot with nomodeset. Rebooted into a root shell in recover mode, verified NVIDIA drivers are working with nvidia-smi. Removed nomodeset from grub, and rebooted.
Everything was working fine now. Could install Display Link drivers and could reboot without any errors.
|