I try to 'mirror' a Linux console (not Xserver) from a Dell laptop to an external monitor connected with HDMI cable. The graphic card is Intel UHD 620. What's the best approach?

Initial net search indicates that KMS might be helpful. Is that correct?

This question seems to be similar to Specify Monitor For Linux Console, but that doesn't have clear answer.

  • Last time I looked at the Intel framebuffer driver, it didn't support HDMI outputs. – dirkt Aug 29 '18 at 12:59
  • Interesting point. Where did you check it? Source? – Wawrzek Aug 31 '18 at 9:03
  • Yes, in the source. Of course I may have overlooked it... – dirkt Aug 31 '18 at 11:55
  • 1
    It seems to work with my old XPS'13 Dell. Will check it more extensively and add answer. – Wawrzek Sep 2 '18 at 14:33
  • FYI @dirkt - looking for next thing (ensuring stable output resolution) I hit i915 kms docs which indicates support for hotplug-in -kernel.org/doc/html/v4.15/gpu/i915.html#hotplug – Wawrzek Sep 12 '18 at 7:23

I checked on two different (Dell) laptops with i915 family graphic card. In both cases kernel with option described in https://wiki.gentoo.org/wiki/Intel enable mirroring of a laptop screen on a remote monitor. I didn't need to do any configuration.

To make clear I was testing a text console, not Xserver. Both laptops didn't have Xserver at all.

  • Note that the i915 is the DRM driver, not the framebuffer driver, so you are sort of doing half an Xserver. And of course it works for X. It's interesting that this also works with the console, TIL. – dirkt Sep 12 '18 at 7:40
  • @dirkt It was a console not Xserver. Adjusted my answer – Wawrzek Oct 2 '18 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.