External displays not working after kernel upgradeDisable Ethernet permanently to speed up boot timeAcer Aspire wifi on Broadcom b43 not workingUbuntu can't detect my second monitornvidia on schenker laptop (again)How to install Radeon HD 8670A/8670M/8750M graphic card driver on Ubuntu 16.04?No app sound in 18.04 , system sound OK, speaker test OK. Firefox NOK, VLC NOKASUS laptop - wifi not connecting after upgrading to 18.04Ubuntu 18.04 stopped detecting second Dell monitorboot very slowly after upgrade ubuntu 18.04Screen tearing on Ubuntu MATE 18.04

Why do phishing e-mails use faked e-mail addresses instead of the real one?

What is the best index strategy or query SELECT when performing a search/lookup BETWEEN IP address (IPv4 and IPv6) ranges?

3.5% Interest Student Loan or use all of my savings on Tuition?

Draw this image in the TIKZ package

Too soon for a plot twist?

Trigger on Custom Object Share

Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?

Why would /etc/passwd be used every time someone executes `ls -l` command?

Is it a Cyclops number? "Nobody" knows!

How does learning spells work when leveling a multiclass character?

What the error in writing this equation by latex?

Did Amazon pay $0 in taxes last year?

Why does a car's steering wheel get lighter with increasing speed

Is there a math expression equivalent to the conditional ternary operator?

Tool for measuring readability of English text

Rationale to prefer local variables over instance variables?

Should we avoid writing fiction about historical events without extensive research?

Ultrafilters as a double dual

What is better: yes / no radio, or simple checkbox?

Can multiple states demand income tax from an LLC?

Should I apply for my boss's promotion?

Giving a talk in my old university, how prominently should I tell students my salary?

Boss Telling direct supervisor I snitched

What is the oldest European royal house?



External displays not working after kernel upgrade


Disable Ethernet permanently to speed up boot timeAcer Aspire wifi on Broadcom b43 not workingUbuntu can't detect my second monitornvidia on schenker laptop (again)How to install Radeon HD 8670A/8670M/8750M graphic card driver on Ubuntu 16.04?No app sound in 18.04 , system sound OK, speaker test OK. Firefox NOK, VLC NOKASUS laptop - wifi not connecting after upgrading to 18.04Ubuntu 18.04 stopped detecting second Dell monitorboot very slowly after upgrade ubuntu 18.04Screen tearing on Ubuntu MATE 18.04













0















OS: Ubuntu 18.04.02

Hardware: Aero15 laptop with Nvidia GTX1060 - Optimus enabled



There has been dozen answers on this, but sadly none of them fix my issue.
Like for many, the 4.15.0-44-generic was a dumpster fire. My external displays (display port) wouldn't be detected anymore. But for me 4.15.0-45-generic or even now 4.15.0-46-generic doesn't fix it. The only thing that worked for me was 4.15.0-43-generic. But now that stopped working as well. I think because of some package update, but I am not sure what.



I have nvidia GPU. The 415 driver worked fine with kernel 43, so that is what I tried to reinstall. Now I tried purging all nvidia stuff and install the newest 418. Then I purged all kernel images leaving only the newest 46. None of this worked. My GPU works fine - nvidia-smi prints fine and I can run CUDA applications, but my external displays are not detected.



xrandr -q prints:



Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.01 + 60.01* 59.97 59.96 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
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-1 disconnected (normal left inverted right x axis y axis)


I believe the "DP-1-1 disconnected" part is the issue.




udevadm monitor --environment --udev
During plugging in:




monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV [817.753746] change /devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight (backlight)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
ID_PATH=pci-0000:00:02.0
ID_PATH_TAG=pci-0000_00_02_0
SEQNUM=4399
SOURCE=sysfs
SUBSYSTEM=backlight
SYSTEMD_WANTS=systemd-backlight@backlight:intel_backlight.service
TAGS=:systemd:
USEC_INITIALIZED=5874726

UDEV [818.215151] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
ACTION=change
DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
DEVNAME=/dev/dri/card1
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_01_00_0
ID_PATH=pci-0000:01:00.0
ID_PATH_TAG=pci-0000_01_00_0
MAJOR=226
MINOR=1
SEQNUM=4400
SUBSYSTEM=drm
TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
USEC_INITIALIZED=3327932

UDEV [818.220311] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
ACTION=change
DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
DEVNAME=/dev/dri/card1
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_01_00_0
ID_PATH=pci-0000:01:00.0
ID_PATH_TAG=pci-0000_01_00_0
MAJOR=226
MINOR=1
SEQNUM=4401
SUBSYSTEM=drm
TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
USEC_INITIALIZED=3327932

UDEV [818.385091] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
ACTION=change
DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
DEVNAME=/dev/dri/card1
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_01_00_0
ID_PATH=pci-0000:01:00.0
ID_PATH_TAG=pci-0000_01_00_0
MAJOR=226
MINOR=1
SEQNUM=4402
SUBSYSTEM=drm
TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
USEC_INITIALIZED=3327932


During unplug:



monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV [853.637350] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
ACTION=change
DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
DEVNAME=/dev/dri/card1
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_01_00_0
ID_PATH=pci-0000:01:00.0
ID_PATH_TAG=pci-0000_01_00_0
MAJOR=226
MINOR=1
SEQNUM=4406
SUBSYSTEM=drm
TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
USEC_INITIALIZED=3327932

UDEV [853.642700] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
ACTION=change
DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
DEVNAME=/dev/dri/card1
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_01_00_0
ID_PATH=pci-0000:01:00.0
ID_PATH_TAG=pci-0000_01_00_0
MAJOR=226
MINOR=1
SEQNUM=4407
SUBSYSTEM=drm
TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
USEC_INITIALIZED=3327932

UDEV [853.648039] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
ACTION=change
DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
DEVNAME=/dev/dri/card1
DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_01_00_0
ID_PATH=pci-0000:01:00.0
ID_PATH_TAG=pci-0000_01_00_0
MAJOR=226
MINOR=1
SEQNUM=4408
SUBSYSTEM=drm
TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
USEC_INITIALIZED=3327932


I am not sure what to make of it, but it seems to detect plugging in and out of the display port. Note that I have 2 displays on that one connection. If I only take then nothing changes.



I also have HDMI port - that doesn't work either.



The only port I haven't tried that can also work for video output is the thunderbolt port, but all of them should be working.



Output from:




lspci -nnk |& awk -v n='[0300]' 'p&&/^S/p=0!pp=index($0,n)p';




00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:1650]
Kernel driver in use: i915
Kernel modules: i915
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GP106M [GeForce GTX 1060 Mobile] [1458:1650]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia


As I use this laptop at work as docked device then this is seriously screwing with my work. Any help would be greatly appreciated!










share|improve this question







New contributor




user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    0















    OS: Ubuntu 18.04.02

    Hardware: Aero15 laptop with Nvidia GTX1060 - Optimus enabled



    There has been dozen answers on this, but sadly none of them fix my issue.
    Like for many, the 4.15.0-44-generic was a dumpster fire. My external displays (display port) wouldn't be detected anymore. But for me 4.15.0-45-generic or even now 4.15.0-46-generic doesn't fix it. The only thing that worked for me was 4.15.0-43-generic. But now that stopped working as well. I think because of some package update, but I am not sure what.



    I have nvidia GPU. The 415 driver worked fine with kernel 43, so that is what I tried to reinstall. Now I tried purging all nvidia stuff and install the newest 418. Then I purged all kernel images leaving only the newest 46. None of this worked. My GPU works fine - nvidia-smi prints fine and I can run CUDA applications, but my external displays are not detected.



    xrandr -q prints:



    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
    eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
    1920x1080 60.01 + 60.01* 59.97 59.96 59.93
    1680x1050 59.95 59.88
    1600x1024 60.17
    1400x1050 59.98
    1600x900 59.99 59.94 59.95 59.82
    1280x1024 60.02
    1440x900 59.89
    1400x900 59.96 59.88
    1280x960 60.00
    1440x810 60.00 59.97
    1368x768 59.88 59.85
    1360x768 59.80 59.96
    1280x800 59.99 59.97 59.81 59.91
    1152x864 60.00
    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-1 disconnected (normal left inverted right x axis y axis)


    I believe the "DP-1-1 disconnected" part is the issue.




    udevadm monitor --environment --udev
    During plugging in:




    monitor will print the received events for:
    UDEV - the event which udev sends out after rule processing

    UDEV [817.753746] change /devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight (backlight)
    ACTION=change
    DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
    ID_PATH=pci-0000:00:02.0
    ID_PATH_TAG=pci-0000_00_02_0
    SEQNUM=4399
    SOURCE=sysfs
    SUBSYSTEM=backlight
    SYSTEMD_WANTS=systemd-backlight@backlight:intel_backlight.service
    TAGS=:systemd:
    USEC_INITIALIZED=5874726

    UDEV [818.215151] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
    ACTION=change
    DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
    DEVNAME=/dev/dri/card1
    DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
    DEVTYPE=drm_minor
    HOTPLUG=1
    ID_FOR_SEAT=drm-pci-0000_01_00_0
    ID_PATH=pci-0000:01:00.0
    ID_PATH_TAG=pci-0000_01_00_0
    MAJOR=226
    MINOR=1
    SEQNUM=4400
    SUBSYSTEM=drm
    TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
    USEC_INITIALIZED=3327932

    UDEV [818.220311] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
    ACTION=change
    DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
    DEVNAME=/dev/dri/card1
    DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
    DEVTYPE=drm_minor
    HOTPLUG=1
    ID_FOR_SEAT=drm-pci-0000_01_00_0
    ID_PATH=pci-0000:01:00.0
    ID_PATH_TAG=pci-0000_01_00_0
    MAJOR=226
    MINOR=1
    SEQNUM=4401
    SUBSYSTEM=drm
    TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
    USEC_INITIALIZED=3327932

    UDEV [818.385091] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
    ACTION=change
    DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
    DEVNAME=/dev/dri/card1
    DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
    DEVTYPE=drm_minor
    HOTPLUG=1
    ID_FOR_SEAT=drm-pci-0000_01_00_0
    ID_PATH=pci-0000:01:00.0
    ID_PATH_TAG=pci-0000_01_00_0
    MAJOR=226
    MINOR=1
    SEQNUM=4402
    SUBSYSTEM=drm
    TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
    USEC_INITIALIZED=3327932


    During unplug:



    monitor will print the received events for:
    UDEV - the event which udev sends out after rule processing

    UDEV [853.637350] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
    ACTION=change
    DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
    DEVNAME=/dev/dri/card1
    DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
    DEVTYPE=drm_minor
    HOTPLUG=1
    ID_FOR_SEAT=drm-pci-0000_01_00_0
    ID_PATH=pci-0000:01:00.0
    ID_PATH_TAG=pci-0000_01_00_0
    MAJOR=226
    MINOR=1
    SEQNUM=4406
    SUBSYSTEM=drm
    TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
    USEC_INITIALIZED=3327932

    UDEV [853.642700] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
    ACTION=change
    DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
    DEVNAME=/dev/dri/card1
    DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
    DEVTYPE=drm_minor
    HOTPLUG=1
    ID_FOR_SEAT=drm-pci-0000_01_00_0
    ID_PATH=pci-0000:01:00.0
    ID_PATH_TAG=pci-0000_01_00_0
    MAJOR=226
    MINOR=1
    SEQNUM=4407
    SUBSYSTEM=drm
    TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
    USEC_INITIALIZED=3327932

    UDEV [853.648039] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
    ACTION=change
    DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
    DEVNAME=/dev/dri/card1
    DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
    DEVTYPE=drm_minor
    HOTPLUG=1
    ID_FOR_SEAT=drm-pci-0000_01_00_0
    ID_PATH=pci-0000:01:00.0
    ID_PATH_TAG=pci-0000_01_00_0
    MAJOR=226
    MINOR=1
    SEQNUM=4408
    SUBSYSTEM=drm
    TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
    USEC_INITIALIZED=3327932


    I am not sure what to make of it, but it seems to detect plugging in and out of the display port. Note that I have 2 displays on that one connection. If I only take then nothing changes.



    I also have HDMI port - that doesn't work either.



    The only port I haven't tried that can also work for video output is the thunderbolt port, but all of them should be working.



    Output from:




    lspci -nnk |& awk -v n='[0300]' 'p&&/^S/p=0!pp=index($0,n)p';




    00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
    Subsystem: Gigabyte Technology Co., Ltd Device [1458:1650]
    Kernel driver in use: i915
    Kernel modules: i915
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
    Subsystem: Gigabyte Technology Co., Ltd GP106M [GeForce GTX 1060 Mobile] [1458:1650]
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia


    As I use this laptop at work as docked device then this is seriously screwing with my work. Any help would be greatly appreciated!










    share|improve this question







    New contributor




    user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      OS: Ubuntu 18.04.02

      Hardware: Aero15 laptop with Nvidia GTX1060 - Optimus enabled



      There has been dozen answers on this, but sadly none of them fix my issue.
      Like for many, the 4.15.0-44-generic was a dumpster fire. My external displays (display port) wouldn't be detected anymore. But for me 4.15.0-45-generic or even now 4.15.0-46-generic doesn't fix it. The only thing that worked for me was 4.15.0-43-generic. But now that stopped working as well. I think because of some package update, but I am not sure what.



      I have nvidia GPU. The 415 driver worked fine with kernel 43, so that is what I tried to reinstall. Now I tried purging all nvidia stuff and install the newest 418. Then I purged all kernel images leaving only the newest 46. None of this worked. My GPU works fine - nvidia-smi prints fine and I can run CUDA applications, but my external displays are not detected.



      xrandr -q prints:



      Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
      eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
      1920x1080 60.01 + 60.01* 59.97 59.96 59.93
      1680x1050 59.95 59.88
      1600x1024 60.17
      1400x1050 59.98
      1600x900 59.99 59.94 59.95 59.82
      1280x1024 60.02
      1440x900 59.89
      1400x900 59.96 59.88
      1280x960 60.00
      1440x810 60.00 59.97
      1368x768 59.88 59.85
      1360x768 59.80 59.96
      1280x800 59.99 59.97 59.81 59.91
      1152x864 60.00
      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-1 disconnected (normal left inverted right x axis y axis)


      I believe the "DP-1-1 disconnected" part is the issue.




      udevadm monitor --environment --udev
      During plugging in:




      monitor will print the received events for:
      UDEV - the event which udev sends out after rule processing

      UDEV [817.753746] change /devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight (backlight)
      ACTION=change
      DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
      ID_PATH=pci-0000:00:02.0
      ID_PATH_TAG=pci-0000_00_02_0
      SEQNUM=4399
      SOURCE=sysfs
      SUBSYSTEM=backlight
      SYSTEMD_WANTS=systemd-backlight@backlight:intel_backlight.service
      TAGS=:systemd:
      USEC_INITIALIZED=5874726

      UDEV [818.215151] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4400
      SUBSYSTEM=drm
      TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
      USEC_INITIALIZED=3327932

      UDEV [818.220311] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4401
      SUBSYSTEM=drm
      TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
      USEC_INITIALIZED=3327932

      UDEV [818.385091] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4402
      SUBSYSTEM=drm
      TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
      USEC_INITIALIZED=3327932


      During unplug:



      monitor will print the received events for:
      UDEV - the event which udev sends out after rule processing

      UDEV [853.637350] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4406
      SUBSYSTEM=drm
      TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
      USEC_INITIALIZED=3327932

      UDEV [853.642700] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4407
      SUBSYSTEM=drm
      TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
      USEC_INITIALIZED=3327932

      UDEV [853.648039] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4408
      SUBSYSTEM=drm
      TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
      USEC_INITIALIZED=3327932


      I am not sure what to make of it, but it seems to detect plugging in and out of the display port. Note that I have 2 displays on that one connection. If I only take then nothing changes.



      I also have HDMI port - that doesn't work either.



      The only port I haven't tried that can also work for video output is the thunderbolt port, but all of them should be working.



      Output from:




      lspci -nnk |& awk -v n='[0300]' 'p&&/^S/p=0!pp=index($0,n)p';




      00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
      Subsystem: Gigabyte Technology Co., Ltd Device [1458:1650]
      Kernel driver in use: i915
      Kernel modules: i915
      01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
      Subsystem: Gigabyte Technology Co., Ltd GP106M [GeForce GTX 1060 Mobile] [1458:1650]
      Kernel driver in use: nvidia
      Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia


      As I use this laptop at work as docked device then this is seriously screwing with my work. Any help would be greatly appreciated!










      share|improve this question







      New contributor




      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      OS: Ubuntu 18.04.02

      Hardware: Aero15 laptop with Nvidia GTX1060 - Optimus enabled



      There has been dozen answers on this, but sadly none of them fix my issue.
      Like for many, the 4.15.0-44-generic was a dumpster fire. My external displays (display port) wouldn't be detected anymore. But for me 4.15.0-45-generic or even now 4.15.0-46-generic doesn't fix it. The only thing that worked for me was 4.15.0-43-generic. But now that stopped working as well. I think because of some package update, but I am not sure what.



      I have nvidia GPU. The 415 driver worked fine with kernel 43, so that is what I tried to reinstall. Now I tried purging all nvidia stuff and install the newest 418. Then I purged all kernel images leaving only the newest 46. None of this worked. My GPU works fine - nvidia-smi prints fine and I can run CUDA applications, but my external displays are not detected.



      xrandr -q prints:



      Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
      eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
      1920x1080 60.01 + 60.01* 59.97 59.96 59.93
      1680x1050 59.95 59.88
      1600x1024 60.17
      1400x1050 59.98
      1600x900 59.99 59.94 59.95 59.82
      1280x1024 60.02
      1440x900 59.89
      1400x900 59.96 59.88
      1280x960 60.00
      1440x810 60.00 59.97
      1368x768 59.88 59.85
      1360x768 59.80 59.96
      1280x800 59.99 59.97 59.81 59.91
      1152x864 60.00
      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-1 disconnected (normal left inverted right x axis y axis)


      I believe the "DP-1-1 disconnected" part is the issue.




      udevadm monitor --environment --udev
      During plugging in:




      monitor will print the received events for:
      UDEV - the event which udev sends out after rule processing

      UDEV [817.753746] change /devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight (backlight)
      ACTION=change
      DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
      ID_PATH=pci-0000:00:02.0
      ID_PATH_TAG=pci-0000_00_02_0
      SEQNUM=4399
      SOURCE=sysfs
      SUBSYSTEM=backlight
      SYSTEMD_WANTS=systemd-backlight@backlight:intel_backlight.service
      TAGS=:systemd:
      USEC_INITIALIZED=5874726

      UDEV [818.215151] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4400
      SUBSYSTEM=drm
      TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
      USEC_INITIALIZED=3327932

      UDEV [818.220311] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4401
      SUBSYSTEM=drm
      TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
      USEC_INITIALIZED=3327932

      UDEV [818.385091] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4402
      SUBSYSTEM=drm
      TAGS=:master-of-seat:uaccess:snap_vlc_vlc:seat:
      USEC_INITIALIZED=3327932


      During unplug:



      monitor will print the received events for:
      UDEV - the event which udev sends out after rule processing

      UDEV [853.637350] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4406
      SUBSYSTEM=drm
      TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
      USEC_INITIALIZED=3327932

      UDEV [853.642700] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4407
      SUBSYSTEM=drm
      TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
      USEC_INITIALIZED=3327932

      UDEV [853.648039] change /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (drm)
      ACTION=change
      DEVLINKS=/dev/dri/by-path/pci-0000:01:00.0-card
      DEVNAME=/dev/dri/card1
      DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
      DEVTYPE=drm_minor
      HOTPLUG=1
      ID_FOR_SEAT=drm-pci-0000_01_00_0
      ID_PATH=pci-0000:01:00.0
      ID_PATH_TAG=pci-0000_01_00_0
      MAJOR=226
      MINOR=1
      SEQNUM=4408
      SUBSYSTEM=drm
      TAGS=:snap_vlc_vlc:seat:uaccess:master-of-seat:
      USEC_INITIALIZED=3327932


      I am not sure what to make of it, but it seems to detect plugging in and out of the display port. Note that I have 2 displays on that one connection. If I only take then nothing changes.



      I also have HDMI port - that doesn't work either.



      The only port I haven't tried that can also work for video output is the thunderbolt port, but all of them should be working.



      Output from:




      lspci -nnk |& awk -v n='[0300]' 'p&&/^S/p=0!pp=index($0,n)p';




      00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
      Subsystem: Gigabyte Technology Co., Ltd Device [1458:1650]
      Kernel driver in use: i915
      Kernel modules: i915
      01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
      Subsystem: Gigabyte Technology Co., Ltd GP106M [GeForce GTX 1060 Mobile] [1458:1650]
      Kernel driver in use: nvidia
      Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia


      As I use this laptop at work as docked device then this is seriously screwing with my work. Any help would be greatly appreciated!







      drivers 18.04 nvidia kernel display






      share|improve this question







      New contributor




      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 9 hours ago









      user1214513user1214513

      1




      1




      New contributor




      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user1214513 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          user1214513 is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124095%2fexternal-displays-not-working-after-kernel-upgrade%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user1214513 is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          user1214513 is a new contributor. Be nice, and check out our Code of Conduct.












          user1214513 is a new contributor. Be nice, and check out our Code of Conduct.











          user1214513 is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124095%2fexternal-displays-not-working-after-kernel-upgrade%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»