There is a tool called ubuntu-drivers
that lets you list and switch all available drivers.
$ ubuntu-drivers
Usage: ubuntu-drivers [OPTIONS] COMMAND [ARGS]...
Options:
--gpgpu gpgpu drivers
--free-only Only consider free packages
--package-list PATH Create file with list of installed packages (in install mode)
--no-oem Do not include OEM enablement packages (these enable an external archive)
-h, --help Show this message and exit.
Commands:
debug Print all available information and debug data about drivers.
devices Show all devices which need drivers, and which packages...
install Install a driver [driver[:version][,driver[:version]]]
list Show all driver packages which apply to the current system.
list-oem Show all OEM enablement packages which apply to this system
So as long as you can get to a prompt you can switch to another driver.
Use ubuntu-drivers --gpgpu list
(or list-oem
) to show the available drivers and 'install' to install the chosen one.