Installing NVIDIA graphics driver for display output

1. Disable “PCIe ASPM” in grub configuration. (Some PCIe cards may display AER messages during booting and can be ignored since they’ve been corrected and won’t affect any functionality.)

  • Edit /etc/default/grub

  • Add “pcie_aspm=off” into the line of GRUB_CMDLINE_LINUX=”” and save the change.

  • Execute the command to update the grub and then reboot:

    sudo update-grub

  • reboot your system

2. Disable Nouveau kernel driver on Ubuntu.

Due to a known issue (https://askubuntu.com/questions/841876/how-to-disable-nouveau-kernel-driver) that’d occur when updating NVIDIA graphics driver, please follow the instructions here to disable it and then reboot your system.

image-20221027154639515

3. Go to NVIDIA’s driver site to download the required NVIDIA graphics driver.

Note: Select Linux aarch64 for Operating System, as exemplified below.

image-20220921113755106

4. Execute the .sh you downloaded and follow the installation wizard.
The following command is an example:

sudo ./NVIDIA-Linux-aarch64-515.76.run

5. Once installed, reboot your system to finish.

Note:

1. If DP/HDMI displays cannot be outputted, it may be due to configurations not taking effect.

​ Use the following command to manually configure it and then reboot your system.
nvidia-xconfig -a --cool-bits=31 --allow-empty-initial-configuration

2. NVIDIA graphics card cannot output display during EDKII booting stage.
This is a known issue due to the lack of UEFI GOP driver, which is incompatible with ARM64/Aarch64 platform, and is still being resolved.