0

I installed Ubuntu 20.04 in a dual boot setup with windows 11. I am completely new to Ubuntu and have installed it to learn ROS on it. I am facing the issue of external monitor not being detected. My external monitor (LG 32GK650F) is connected via a working HDMI cable which works perfectly fine in Windows 11. There are no options in Settings>Display for the monitor.

As mentioned, I am completely new to Ubuntu therefore I am completely unknown to basics or what may be considered as a common knowledge for ubuntu ussers. I am unaware of what more information I can provide to assist in solving this issue of mine so please let me know. Thanks!

System specs: Alienware M15 R7 AMD Ryzen 7 6000H Series NVIDIA GeForce RTX 3050Ti (Although, in the about section of the device,it mentions AMD Yellow_carp as its Graphics. I believe this is due to Nvidia X server has configuration of On-Demand Mode)
16 GB RAM

OS Name: Ubuntu 20.04.5 LTS GNOME 3.36.8

GoS
  • 1

3 Answers3

1

Update your system packages and NVIDIA drivers (alternatively you may also do it from the Additional Drivers gui):

sudo apt-get purge nvidia-*
sudo apt update
sudo apt upgrade
sudo apt install nvidia-driver-470 (Or whichever applicable for your system)

Edit the GRUB configuration to add the nvidia-drm.modeset=1 kernel parameter:

sudo nano /etc/default/grub

Modify the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"

Update GRUB and reboot:

sudo update-grub
sudo reboot

By adding nvidia-drm.modeset=1 to the GRUB_CMDLINE_LINUX_DEFAULT, you are instructing the Linux kernel to use the NVIDIA driver for display mode setting. This can help with the detection and configuration of external monitors and other display-related issues.

Raj Mohan
  • 111
0

Duplicate question

You could check for additional drivers. Simply click the menu and search for "drivers." The icon for Additional Drivers comes up and searches automatically when opened.

Additional Drivers window

If you want to use the command line, open the terminal instead and run:

ubuntu-drivers autoinstall

Ubuntu drivers autoinstall

karel
  • 122,292
  • 133
  • 301
  • 332
w3techie
  • 1
  • 1
0

Thank you for all the comments! After solving the issue I had, I realized I was did not switch from on-demand mode in Nvidia x servers to performance mode causing to additional drivers not show up. After switching it to Performance mode, the Additional Drivers were available again and I had plenty of options to choose from. To decide which one was best for me, I went to Nvidia drivers website and plugged in my system information and got the best suited driver recommendation. Then I executed the installation in the Terminal (my apologies if i am using wrong terminology). After that I rebooted the system and to check if it worked, I checked the system information in the about system and it successfully showed NVIDIA Corporation / NVIDIA GeForce RTX 3050 Ti Laptop GPU. And this fixed my external monitor issue.

GoS
  • 1