1 Rookie

 • 

5 Posts

April 17th, 2019 09:00

I got it working thanks to this mans hint at askubuntu forum:

I recently installed the nvidia-418 driver on my laptop which uses Ubuntu 18.04. At first the external monitor worked perfectly, but after I switched from power saving mode (sudo prime-select intel) back to performance mode (sudo prime-select nvidia), the second monitor was not detected anymore.

I discovered that prime-select writes a configuration file which causes the problem. It enables the nvidia-drm modeset option. You can simply undo the change made by prime-select by commenting out this option. It will not be reset, because prime-select only writes this file when it does not yet exists.

Open the file in your favorite editor (vim, nano, gedit, etc.).

sudo nano /lib/modprobe.d/nvidia-kms.conf

And comment out the the nvidia-drm modeset option.

# This file was generated by nvidia-prime
# Set value to 0 to disable modesetting
# options nvidia-drm modeset=1

Hope this also helps you and many others!


ps: It is completely normal that the second monitor is not detected in power saving mode when the connection is part of the nvidia graphics card.

 


 

1 Message

March 4th, 2019 12:00

I'm running into the same issue on my 7530.  Has this problem been solved?  Does Dell's ubuntu 18.04 LTS image support external monitors?  I installed 18.10 via desktop image from canonical.

July 10th, 2019 05:00

Spoiler
pomm0 solutions works.
Thankyou
pomm0 solutions works.Thankyou

1 Rookie

 • 

47 Posts

August 5th, 2019 07:00

I can't believe this worked, but it did! Thank you! Another thing to note for 18.04 users is that monitors connected over USB-C are supported from kernel 4.19+, so you should use the latest kernel (it was just updated to 5.0.x).

1 Message

August 18th, 2019 06:00

I create an account here just to say thank you, this is exactly what solved my problem. Thanks!

2 Posts

August 22nd, 2019 01:00

I have the same problem with mi Precision 7530.

1 Message

October 14th, 2019 11:00

It is the same for me: there is no mentioned file in 

/lib/modprobe.d/

 and nvidia-settings is not able to save a custom config file

1 Message

October 14th, 2019 14:00

... it works! Thanks a lot !

1 Message

October 24th, 2019 10:00

I created this account (on a thinkpad no less) just to thank you for this, I was getting really worried it would be a super complicated obnoxious process and you got it fixed in literal seconds. Thank you!

8 Posts

November 2nd, 2019 10:00

Same problem here... this solution doesn't work for me neither.

January 3rd, 2020 12:00

I have no such file

 

1 Message

February 22nd, 2020 14:00

bump did the trick on my e6430/mint 19.1 install 

1 Message

April 17th, 2020 03:00

After disabling the secure boot int the bios  menu ,My laptop dell g3 3579 has connected to external monitor.

1 Message

April 18th, 2020 18:00

Thank you very much. It helped me

Regards,

Marek

September 26th, 2020 03:00

I have same issue, the file does not exist. Have you found a solution?

No Events found!

Top