SDDM fails on boot if external monitors are connected (Dell Dock)

Hi,

I’ve followed this guide to setup my Dell dock with 2x external monitors: DisplayLink - ArchWiki

  • and it works. Both monitors connect successfully when I plugin my dock.
    However, if the dock is connected during boot, SDDM fails to start and I cannot seem to figure out why.
    Xorg.log doesn’t provide any info about it.

If I boot without the dock connected and connect it when presented with the login screen, no problems at all.
I just want it to work in either case, as many people say it’s better to boot with docks connected to avoid potential freezing and disconnecting-issues.

Output from mhwd -l -d

  Display controller Intel Corporation UHD Graphics 620
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

  > AVAILABLE:

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:        X.org modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

   NAME:        video-vesa
   ATTACHED:    PCI
   VERSION:     2017.03.12
   INFO:        X.org vesa video driver.
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

Warning: no configs for USB devices found!

Let me know if there’s any other relevant logs I can provide you.

Hi,
You need to enable it to be available on startup, as explained in the same wiki, and the use case example is for SDDM script …
https://wiki.archlinux.org/index.php/DisplayLink#Enabling_DVI_output_on_startup

Hi @bogdancovaciu
Thank you for the quick reply.

Unfortunately I already tried that.
Added the following to /usr/share/sddm/scripts/Xsetup and rebooted:

xrandr --listproviders | grep "modesetting" && xrandr --setprovideroutputsource 1 0 && xrandr --setprovideroutputsource 2 0

Make sure you did not installed video-vesa driver … Also, some say you should not use xf86-video-intel either. Not sure what else i can add to the table, but hopefully somebody else will come by to share their knowledge.

1 Like