Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 404OP
- —
- 03/20/2023 10:04 AM
- As you know, NIX systems are known to be very bad when it comes to out-of-the-box driver support.
- A fatal bug that STILL exists in ubuntu-drivers, even in the latest Ubuntu release, can render the whole user's ui frozen in darkness, due to improper configuration. (aka Black Screen)
- What you have to do is to manually patch your system as follows:
- ⚠️ Ubuntu developers are lazy sometimes ⚠️
- ⚠️ Never ever install **nvidia open kernel*** drivers if you are an ordinary user and not some developer. Its slow and buggy atm of writing. Use the recommanded version, but proprietary version instead of open, if it recommanded you.
- # Blacklist nouveau driver
- # You will jot get blackscreen by disabling this driver, as nouveau is part of nvidia. Fallback is Intel iGPU, so you are safe.
- sudo tee /etc/modprobe.d/blacklist-nvidia-nouveau.conf << EOF > /dev/null
- blacklist nouveau
- options nouveau modeset=0
- EOF
- # reboot
- sudo reboot
- # If you have default ubuntu install, you do not need to replace "lightdm"
- sudo service lightdm stop
- # Enter CLI mode. You will need to re-enter your username and password ti proceed
- sudo init 3
- # The best practice is to install the latest NON OPEN proprietary driver. (but it does not always work)
- # SERVER driver is NOT for desktop users.
- # Install dependencies
- sudo apt update
- sudo apt install dialog pkg-config build-essential
- read -p "Choose between autoinstall (1) and semiautomatic install (2) : " opt
- case $opt in
- 1)
- sudo ubuntu-drivers autoinstall
- ;;
- 2)
- sudo apt install nvidia-driver-525
- *)
- echo "Unknown option"
- exit 1
- esac
- # reboot
- sudo reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement