2

I have an external monitor but it only supports VGA and my laptop only HDMI. So, I got an HDMI to VGA converter. Now, whenever I connect my laptop to the monitor the laptop's display goes off.

But weirdly enough it's not actually off, I can still move my mouse in and all the windows open on the laptop's screen are still there on the laptop's screen.

So I go to the 3rd terminal shell in Ubuntu by pressing Ctrl+Alt+F3 and restart the gdm service using sudo service gdm3 restart (this has worked out for most display problems in past, so why not)

But the problem becomes even worse, the laptop display is now turned on, but none of the window works, I mean I can't click on any of them, I can move the mouse and see it move but that's the only thing I can do. Everything else is stuck.

The problem does get fixed after I restart my laptop with the HDMI attached to it.

The output of sudo lspci -vvv|grep -A 11 'VGA ':

01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell GP104M [GeForce GTX 1070 Mobile]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 141
Region 0: Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at b0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at c0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at e000 [size=128]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
akxer
  • 2,036
  • What do you mean by "the laptop's display is off" followed by "the windows are there on the laptop screen"? If it's off, it's black. – Jos Jul 26 '18 at 07:32
  • It's black, as in not even backlight is there. But the windows that were open on laptop screen don't automatically move to the monitor display, which they normally would, if the laptop display was normally turned off – akxer Jul 26 '18 at 08:04
  • Well, a few things. I see you're using NVidia driver, I'm unsure how much of HDMI its kernel driver does manage. So the first thing I'd try is to remove NVidia driver completely (so you'd be left with Nouveau), and see if that changes anything. If it does, then you could try upgrading NVidia driver to latest (perhaps unstable) version, and see if that helps. If it doesn't, it's possibly in-kernel thingy, so you could try installing latest kernel. – Hi-Angel Jul 26 '18 at 10:32

1 Answers1

1

The package that is responsible for sharing display which I guess is x-org-server(correct me if I am wrong in comments) was updated recently and fixed this issue. But since we don't know where the problem was coming from we never know because gnome-shell has also been updated multiple times since the question was asked.

akxer
  • 2,036