Ubuntu 18.04 Displays Issue -> Unknown Display

As the title suggests, I am experiencing issues with my Display in Ubuntu 18.04. I have seen somewhat related posts (like this one), but those typically suggest they have several detected displays, where one of them is dubbed 'Unknown Display'.

Well, I only have a single display called 'Unknown Display', which means I:

  • cannot add a second/third/etc screen,
  • cannot adjust the resolution,
  • and cannot adjust the brightness

I would very much like to be able to do the above, obviously, and I was hoping somebody over here might be able to help me out. I have tried out several things, like removing the current drivers in favor of older ones, but I seem to be missing something crucial every time..

Here are some specifics about my system:

  • I am running Ubuntu 18.04.1 LTS.
  • I have a GP107M [GeForce GTX 1050 Mobile] graphic card.
  • I have nvidia-driver-396 installed.
  • It is a dual boot system, where I left the original Windows copy intact.

Some potentially interesting stats:

lspci | grep VGA output:

steven@stevens-laptop:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1

xrandr output:

steven@stevens-laptop:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080     77.00*

nvidia-settings output:

steven@stevens-laptop:~$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system

If any additional info is needed to figure out what's going on, please let me know. And thanks in advance for any help on this!

Here is a screenshot of the 'Settings -> Devices -> Displays' window in my Ubuntu by the way: display-settings


I had this problem and removing the monitors.xml config didn't work.

there was a problem w/ the nvidia driver. check to see by running

ubuntu-drivers devices

and if that looks good

sudo ubuntu-drivers autoinstall

should do the trick

https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux


I fixed this issue by deleting the configuration file (resetting) for the display settings:

rm -rf ~/.config/monitors.xml

I just had this problem - all of a sudden, when I booted the computer this morning, my Samsung 40" TV had turned into "Unknown Display" and I have no idea why.

Then I found this question and tried to debug according to the first answer - so after lspci I ran xrandr and suddenly boom!, it worked!

I still have no idea why, but I suspect it could be a kernel (i.e., a missing kernel update) thing.


I think this is for the one's who didn't solve there issues by the above suggestions.

I got the same. I just changed the grub file

sudo vim /etc/default/grub

and changing the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

This fixed my issue.