PC fails to boot after installing any nvidia driver

I am using a Dell Precision 5770, with an Nvidia A3000 GPU, and Ubuntu 18.4.0-131 and trying to use a Dell WD19 dock to drive two external monitors… Whenever I try to install an nvidia driver through apt install, or if I try to manually install the firmware for the dock the laptop gets stuck on the clean, xxx files, xxx blocks screen. If I reboot into a shell I can run apt purge nvidia* and it reboots just fine. I have blacklisted nouveau by adding the following lines

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbd-nouvuae off

to /etc/modprobe.d/blacklist-nouveau.conf.
Secure boot is disabled.
I have tried running ubuntu-drivers autoinstall and I get the following:

and the same failure to boot. I don’t know what else to do.
I cannot update my version of Ubuntu as I need it to compile projects for work.

nvidia-bug-report.log.gz (295.3 KB)

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

I have added the log.

The 18.04 kernel is too old to drive your 12th gen intel igpu. Furthermore, the liquorix ppa ceased support for 18.04 so you also can’t easily upgrade. Please install 22.04.

Is it possible to use the dock with the dedicated nvidia A3000 and bypass the igpu?