My two cents…
This is just a suggestion from a random that has nothing to do with nVidia professional.
Im going to assume that this isnt a dual boot, vm, docker, gpu pass through or some other.
Im going to assume this is a native metal full install.
1. Use kDE Neon. Download kDE neon. Check and verify the ISO. Image the ISO using ETCHER only.
Image the USB on a freskly formated USB. USB <4Gig. Ext2/Mbr then Fat32/MBR.
If < 4G use GPT and NTFs instead of fat32.
Note:!!! Keep the system Air Gapped.
NO INTERNET CONNECTION
2. Before install. default the BIOS to its lowest power default default. Save settings reboot back into the bios.
Now flash the Bios THREE times in a row with the Bios update that came out Jan 22. on a prepped USB.
3. Now reload windows. You can get an ISO from microsoft it will auto validate.
But you shouldnt need to go onto internet.
4. Disable secureboot from inside a running Windows installation.
5. Now disable. [ secureboot ] [ csm ] [ fastboot ] csm= compatability support module.
6. Install kDE- Neon. LVM system wide guided install. DO NOT update or install 3rd party drivers and codecs.
7. reboot. if you have a GUI Great! if not too bad. no worry
8. Open terminal or access virtual terminal with [ctl] [atl] [f2].
Login in and type [ sudo service sddm stop && sudo telinit 3 && init 3 ] Yes. overkill. I dont care.
9.a You most likely have to [ctl] [atl] [f2] and login again. Now create root account password. [ sudo su ]
Follow prompts. write it down.
9b.# ENABLE i386 / 32Bit SUPPORT.
dpkg --add-architecture i386
10. Make Dir. and Config.
Arch Linux # Location
sudo mkdir /etc/X11/xorg.conf.d &&
DE-k_Neon # Location
sudo mkdir /usr/share/X11/xorg.conf.d
Z note:!!! use [ lspci | grep VGA ] to find your bus ID and #uncomment.
example: 01:00.0 VGA compatible controller: nVidia
In terminal. Add everything below ____________ and above the bottom of conf.
sudo nano /usr/share/X11/xorg.conf.d/10-nvidia.conf
* " /etc/X11/xorg.conf.d/20-nvidia.conf
Section “Device”
* "
Identifier “Nvidia Card”
* "
Driver “nvidia”
* "
VendorName “NVIDIA Corporation”
* "
BoardName “GeForce GTX 1050 Ti”
* "
BusID “PCI:1:0:0” # [ see Znote above!!! ]
* "
Option “NoLogo” “1”
* "
Option “ConnectedMonitor” “DFP”
* "
Option “RegistryDwords” “EnableBrightnessControl=1”
* "
EndSection
[ctl] to save and exit.
11.
sudo mkdir /usr/lib/sddm/sddm.conf.d
Make the directory but investigate the links later. font dpi.
12. PREPARE THE SYSTEM:
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt full-upgrade -y "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt --fix-missing install "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt --fix-broken install "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo dpkg --configure -a "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt -f install "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt install -f "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt autoremove "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo apt update && sudo apt autoclean "
Update-Upgrade-Find-Fix-Remove-Clean
* " sudo update-grub && sudo update-initramfs -c -k all "
12.
Append resolution as appropriate for your Hardware.
use x24 or x 30 only.
sudo nano /etc/default/grub
#_________________________
GRUB_DEFAULT=_
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=“amdgpu.modeset=0 nouveau.modeset=0 nvidia-drm.modeset=1 iommu=memaper noplymouth nosplash nogpumanager”
GRUB_CMDLINE_LINUX=“”
GRUB_TERMINAL=console
GRUB_GFXMODE=1920x1080x30,auto
GRUB_GFXPAYLOAD_LINUX=keep
#___________________________
Exit: nano / grub.conf:
* " [ ctl ] [ x ] " to save
#_________________________
BLACKLIST
modprobe -r nouveau
nano /etc/modprobe.d/blacklist.conf
13. Blacklist the nouveau driver by appending the .conf with:
blacklist nouveau
14. Run the commands below.
update-initramfs -c -k all
15. Open the blacklist.conf:
nano /etc/modprobe.d/blacklist.conf
16. Add the lines below to the BOTTOM of the blacklist.conf.
#_________________________
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
#____________________________
17. Open the blacklist-nouveau.conf:
nano /etc/modprobe.d/blacklist-nouveau.conf
18. Add the lines below to the BOTTOM of the blacklist-nouveau.conf.
#_________________________________________
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
#_____________________________________________
19. Now run the following:
echo 'blacklist amdgpu | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo ‘blacklist amd76x_edac’ | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo ‘blacklist vga16fb’ | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo ‘blacklist rivafb’ | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo ‘blacklist rivatv’ | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo ‘blacklist nvidiafb’ | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo ‘blacklist nouveau’ | sudo tee -a /etc/modprobe.d/blacklist.conf &&
echo “blacklist nouveau” | sudo tee /etc/modprobe.d/disable-nouveau.conf &&
echo “options nouveau modeset=0” | sudo tee -a /etc/modprobe.d/disable-nouveau.conf &&
echo “blacklist nouveau” | sudo tee /etc/modprobe.d/blacklist-nouveau.conf &&
echo “options nouveau modeset=0” | sudo tee -a /etc/modprobe.d/blacklist-nouveau.conf &&
20. Now disable the Nouveau Kernel Modeset this way :
sudo echo options nouveau modeset=0 | # tee -a /etc/modprobe.d/nouveau-kms.conf &&
sudo update-initramfs -u "
21.The Purge. I run 1 command at at time.
apt remove --purgei965-va-driver &&
apt remove --purgeintel-media-va-driver &&
apt remove --purgeintel-media-va-driver-non-free &&
apt remove --purge xserver-xorg-video-all &&
apt remove --purge xserver-xorg-video-amdgpu &&
apt remove --purge xserver-xorg-video-ati &&
apt remove --purge xserver-xorg-video-dummy &&
apt remove --purge xserver-xorg-video-fbdev &&
apt remove --purge xserver-xorg-video-intel &&
apt remove --purge xserver-xorg-video-nouveau &&
apt remove --purge xserver-xorg-video-qxl &&
apt remove --purge xserver-xorg-video-radeon &&
Leave vesa for now.
apt remove --purge xserver-xorg-video-vmware &&
apt remove --purge xserver-xorg-video-intel-arbiter &&
apt remove --purge xserver-xorg-video-intel-native-modesetting &&
. Purge_Mesa3d X11 must still be KILLed.This is critica !!!
apt remove --purge mesa-va-drivers mesa-va-drivers:i386 mesa-vdpau-drivers
31. DO NOT INSTALL LM-SENSORS ON A LAPTOP ESPECIALLY AN ASUS LAPTOP!!!
apt install --install-recommends build-essential extra-cmake-modules pciutils fwupd &&
apt install --install-recommends ubuntu-minimal ubuntu-standard &&
apt install --install-recommends python3-all python3-all-dev &&
apt install --install-recommends ubuntu-drivers-common &&
apt install --install-recommends curl &&
apt install --install-recommends wget &&
apt install --install-recommends kubuntu-restricted-addons &&
apt install --install-recommends kubuntu-restricted-extras &&
apt install --install-recommends kubuntu-driver-manager &&
apt install --install-recommends libsdl2-2.0-0 &&
apt install --install-recommends libsdl2-gfx-1.0-0 &&
apt install --install-recommends libsdl2-image-2.0-0 &&
apt install --install-recommends libsdl2-mixer-2.0-0 &&
apt install --install-recommends libsdl2-net-2.0-0 &&
apt install --install-recommends libsdl2-ttf-2.0-0 &&
apt install --install-recommends libsdl-kitchensink-dev &&
apt install --install-recommends libsdl-kitchensink0 &&
apt install --install-recommends python-sdl2 &&
apt install --install-recommends python3-sdl2 &&
Add Repository.
sudo add-apt-repository ppa:graphics-drivers/ppa &&
sudo apt-get update &&
install order example.
linux-headers-5.7.0-xxxxxx_all.deb
linux-headers-5.7.0-xxx-generic(/lowlatency)_xxx_amd64.deb
linux-modules-5.7.0-xxx-generic(/lowlatency)_xxx_amd64.deb
linux-image-xxx-5.7.0-xxx-generic(/lowlatency)_xxx_amd64.deb
$ Ubuntu mainline kernel 5.10.14. Youll need this for support.
Run in terminal/
cd /tmp/
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/amd64/linux-headers-5.10.14-051014-generic_5.10.14-051014.202102071532_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/amd64/linux-headers-5.10.14-051014_5.10.14-051014.202102071532_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/amd64/linux-image-unsigned-5.10.14-051014-generic_5.10.14-051014.202102071532_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/md64/linux-modules-5.10.14-051014-generic_5.10.14-051014.202102071532_amd64.deb
update-initramfs -c -k all && update-grub && sudo shutdown
Once installed, restart your computer an INSTALL NVIDIA!!!
#############################
################################
If uninstalling then follow but other wise move on to install nvidia driver.
Uninstall Linux Kernel
Restart your machine and select boot with the previous kernel
in boot menu ‘Grub2 → Advanced Option for Ubuntu’.
Then run command to remove Linux Kernel
sudo dpkg --purge linux-image-unsigned-
#####################################
#####################################
run pci id update first youll need a newer library;
but run it any way and firmware update lvfs then install nvidia.
After reboot. KILL X SERVER!!!
update-initramfs -c -k all && update-grub && apt update && sudo apt full-upgrade -y
nVidia 460 Graphics Driver
apt install --reinstall --install-recommends xserver-xorg-core libc6 nvidia-dkms-460 nvidia-kernel-source-460 nvidia-kernel-common-460 libnvidia-compute-460 libnvidia-compute-460:i386
nVidia 460 Graphics Driver
apt install --reinstall --install-recommends libnvidia-decode-460 libnvidia-decode-460:i386 libnvidia-encode-460 libnvidia-encode-460:i386
nVidia 460 Graphics Driver
apt install --reinstall --install-recommends libnvidia-ifr1-460 libnvidia-ifr1-460:i386 libnvidia-fbc1-460 libnvidia-fbc1-460:i386
nVidia 460 Graphics Driver
apt install --reinstall --install-recommends libnvidia-gl-460 libnvidia-gl-460:i386 libnvidia-cfg1-460 libnvidia-extra-460
nVidia 460 Graphics Driver
apt install --reinstall --install-recommends xserver-xorg-video-nvidia-460 nvidia-prime nvidia-settings nvidia-utils-460 nvidia-compute-utils-460 nvidia-driver-460
nVidia 460 Graphics Driver
update-grub && update-initramfs -u
###############################
Im so late for work. That should give you an idea