Step 1: First, check whether all the drivers are updated; if not, please run the below commands otherwise go to step 2.
sudo apt update
sudo apt upgrade
FOR updating nvidia driver please run below command:
sudo ubuntu-drivers autoinstall
Step 2- run the below command.
sudo nano /etc/default/grub
after running the above command make changes in the popup by add nomodeset parameter as shown below
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
After adding nomodeset parameter save it (ctrl+s). and run the below command.
sudo update-grub
after running above command reboot the system
Step 3: If you still encounter the same issue, try resolving it by executing the following commands: Before running the commands, identify the type of GPU you have, whether it's Nvidia, AMD, or Intel. Once you determine the GPU type, run the corresponding commands as outlined below.
For NVidia gpu
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-driver-470 # Replace "470" with the version you want to install
sudo reboot
For AMD GPU:
sudo apt-get update
sudo apt-get install amdgpu-pro # Use this command if you're using an AMDGPU-Pro driver
sudo reboot
For intel gpu:
sudo apt-get update
sudo apt-get install linux-generic # Installs the latest generic kernel
sudo reboot
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article