VGA not listed in xrandr output: Projector not working, Intel Kabylake Graphics

Solution 1:

Okay, answering my own question, my guess that the VGA port was actually HDMI internally was correct. To clarify, the three HDMIs stand for

  • HDMI 1(or 2) -External HDMI port
  • HDMI 2(or 1) -USB C type display port(never tried this port for display though)
  • HDMI 3 -External VGA port

Once I guessed this, I had to force xrandr to display output through one of these, as plugging in of VGA was not automatically detected. I knew that my projector was 4:3. So I tried some resolutions of 4:3 aspect ratio, like (both commands were necessary at every resolution in my case - to add a custom resolution):

xrandr --addmode HDMI3 1400x1050
xrandr --output HDMI3 --mode 1400x1050

The highest 4:3 resolution was 1400x1050.

I got an output on the projector successfully with HDMI3! But the display was clipped. Then I realised that my Laptop screen was displaying at a different resolution(16:9), so the screens were not getting properly mirrored.

I manually changed the Laptop screen to 1400x1050 and then projected:

xrandr --output eDP1 --mode 1400x1050
xrandr --addmode HDMI3 1400x1050
xrandr --output HDMI3 --mode 1400x1050

Now, everything was good. After plugging out, I shifted the Laptop Screen back to default resolution:

xrandr --output eDP1 --auto

For further use, I put the first three commands into a .sh file, ran them when I connected and the last one on plugging out.

These are the questions that helped me with the initial guess. Many thanks!:

  • xrandr not showing my VGA port, instead it lists DP1
  • Can I force VGA signal output even when xrandr shows 'disconnected'?