8

Summary of issue: Can't see GRUB2 boot menu on monitor connected via DVI port.

Up until recently I had everything working fine for my Windows 10 / Ubuntu 18.04.2 dual boot setup. I had two monitors: one connected to HDMI and the other to Displayport on graphics card and using a Display-Port -> DVI cable to plug into second monitor. My primary monitor was the one connected over HDMI.

The monitor that I had plugged into HDMI failed and I bought a new one. To make the most of my new monitor, I want to connect it over Displayport. This means my 2nd monitor is now connected DVI-D to DVI-D.

Given the priority order of GPU (GTX 1050 Ti) is DVI, HDMI, Displayport this means that for booting my old 2nd monitor is now primary before the OS is loaded.

However, I am unable to see the dual boot menu. Instead I see a few lines of coloured pixels at the top of my 2nd monitor (the one connected via DVI).

Windows boot works fine (if I change BIOS to boot straight to Windows). However, the only way I can access Linux is to unplug my 2nd monitor. Then the Displayport monitor is the only one and everything works fine. Once into Linux I can then plug in the second monitor to the DVI cable and it is recognised and works.

I have tried the following (incrementally and individually):

  • Set GRUB_GFXMODE to 640x480
  • Set GRUB_TERMINAL to console
  • Changed display driver to NVIDIA rather than Linux default

Note that after updating the GRUB2 settings in /etc/default/grub I have ran the grub update. I can see the changes have taken effect when I boot with 2nd monitor unplugged.

This has me tearing my hair out - any suggestions very welcome. If I've omitted any key information, please comment.

UPDATE 1

I have tried booting from a Linux boot USB. I see the same result (i.e. a few coloured lines of pixels at top of screen). Is GRUB2 compatible with DVI-D?

dlin
  • 3,830
  • Hello, you have a typo : NVIDEA → NVIDIA (I am not allowed to make an edit of less than 6 characters :-D ) – ChrisAga Apr 11 '20 at 12:55
  • Have you looked in NVIDIA X server settings to see if there is an option to choose primary monitor? – Syd Apr 15 '20 at 14:51
  • @Syd Thanks for the hint. I'm not sure I understand your question. If you mean does the GPU allow me to tweak primary monitor then I'm afraid it does not. If you mean something else please expand. – GinjaNinja Apr 15 '20 at 15:30
  • That is what I meant. I did find something that might work. Can't hurt to give it a try. https://askubuntu.com/a/1106228/150363 – Syd Apr 15 '20 at 15:32
  • 1
    What happens if the Displayport monitor is unplugged? – Sam Pan Apr 18 '20 at 05:51
  • @SambhavSurana Same effect - few coloured lines of pixels at top of DVI-D screen – GinjaNinja Apr 18 '20 at 11:27
  • What version is your os? – Sam Pan Apr 18 '20 at 16:25
  • @SambhavSurana Windows 10 / Ubuntu 18.04.2 dual boot – GinjaNinja Apr 19 '20 at 10:54
  • Many people seem to have this issue. – Sam Pan Apr 19 '20 at 11:59
  • Would you share the output of script here https://askubuntu.com/a/727897/26246 , after booting into Ubuntu with both monitors active ? – user.dz Apr 19 '20 at 13:20
  • @GinjaNinja I suspect Monitor-Cable-nVidiaFirmware that resulted with that weird behavior in Vesa mode. Does Windows show its boot menu if you press F8? – user.dz Apr 19 '20 at 13:45

0 Answers0