VGA external display not recognized after plug out (and then plug in)

Discussion in 'Hardware Support' started by Predrag, May 23, 2021.

  1. Predrag

    Predrag Thread Starter
    Expand Collapse
    New Member

    Joined:
    May 23, 2021
    Messages:
    1
    Likes Received:
    0
    Hi,

    I am running HP Elitebook 8200 G1 as my daily driver on eOS 5.1.7 Hera. The laptop has the following VGA controller:

    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Memory at d073d000 (32-bit, non-prefetchable) [size=1K]

    I have a problem when I am using an external display. Namely, when I connect my external display the first time, it is working as expected (see output of the xrandr command below):

    predrag@predrag-pc:~$ xrandr
    Screen 0: minimum 320 x 200, current 3286 x 1200, maximum 8192 x 8192
    eDP-1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 277mm x 156mm
    1366x768 60.14*+ 40.09
    1360x768 59.80 59.96
    1280x720 60.00 59.99 59.86 59.74
    1024x768 60.04 60.00
    960x720 60.00
    928x696 60.05
    896x672 60.01
    1024x576 59.95 59.96 59.90 59.82
    960x600 59.93 60.00
    960x540 59.96 59.99 59.63 59.82
    800x600 60.00 60.32 56.25
    840x525 60.01 59.88
    864x486 59.92 59.57
    800x512 60.17
    700x525 59.98
    800x450 59.95 59.82
    640x512 60.02
    720x450 59.89
    700x450 59.96 59.88
    640x480 60.00 59.94
    720x405 59.51 58.99
    684x384 59.88 59.85
    680x384 59.80 59.96
    640x400 59.88 59.98
    576x432 60.06
    640x360 59.86 59.83 59.84 59.32
    512x384 60.00
    512x288 60.00 59.92
    480x270 59.63 59.82
    400x300 60.32 56.34
    432x243 59.92 59.57
    320x240 60.05
    360x202 59.51 59.13
    320x180 59.84 59.32
    DP-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1 disconnected (normal left inverted right x axis y axis)
    DP-2 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
    1920x1200 59.95*+
    1600x1200 60.00
    1680x1050 59.95
    1280x1024 75.02 60.02
    1152x864 75.00
    1024x768 75.03 60.00
    800x600 75.00 60.32
    640x480 75.00 59.94
    720x400 70.08
    HDMI-2 disconnected (normal left inverted right x axis y axis)

    The problem occurs if I plug out the VGA connector/cable from the laptop port and try to connect it again (sometimes this can happen unintentionally, but sometimes it can also happen intentionally). When I plug in the external display again, the display is not recognized anymore (see output of xrandr command after plug out, and plug in of the external display):

    predrag@predrag-pc:~$ xrandr
    Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
    eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
    1366x768 60.14*+ 40.09
    1360x768 59.80 59.96
    1280x720 60.00 59.99 59.86 59.74
    1024x768 60.04 60.00
    960x720 60.00
    928x696 60.05
    896x672 60.01
    1024x576 59.95 59.96 59.90 59.82
    960x600 59.93 60.00
    960x540 59.96 59.99 59.63 59.82
    800x600 60.00 60.32 56.25
    840x525 60.01 59.88
    864x486 59.92 59.57
    800x512 60.17
    700x525 59.98
    800x450 59.95 59.82
    640x512 60.02
    720x450 59.89
    700x450 59.96 59.88
    640x480 60.00 59.94
    720x405 59.51 58.99
    684x384 59.88 59.85
    680x384 59.80 59.96
    640x400 59.88 59.98
    576x432 60.06
    640x360 59.86 59.83 59.84 59.32
    512x384 60.00
    512x288 60.00 59.92
    480x270 59.63 59.82
    400x300 60.32 56.34
    432x243 59.92 59.57
    320x240 60.05
    360x202 59.51 59.13
    320x180 59.84 59.32
    DP-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1 disconnected (normal left inverted right x axis y axis)
    DP-2 disconnected (normal left inverted right x axis y axis)
    HDMI-2 disconnected (normal left inverted right x axis y axis)

    The best that I was able to find on this issue was this thread, which provides a solution to a problem when the external display is not recognized after login: https://forums.linuxmint.com/viewtopic.php?t=195114. The solution works, but in order to get my external display recognized I need to logout of my session each time I unplug and plug my display.

    I also tried to update drivers using:

    sudo ubuntu-drivers autoinstall

    however, when I execute the command I get the following response:

    No drivers found for installation.

    Anyone with a solution for this issue?

    Thank you very much in advance.
     

Share This Page

Loading...