USB-C second monitor is not working

Hi everyone! I have a laptop with one HDMI output and a USB-C port. I want to connect a second monitor with the USB-C/DisplayPort (i have already a monitor connected in the HDMI port thats works!). I want to use a USB-C to HDMI adapter.
The computer simply doesn’t recognize the monitor. The screen stay black all time when its connected with the adapter. It’s valid to say that in Windows10 this connection works.

I’m using the video-hybrid-intel-nvidia-440xx-prime as a graphics driver.

xrandr --listproviders : 
Providers: number : 2
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x261 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0

inxi -G :
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
           Device-2: NVIDIA GP108M [GeForce MX150] driver: nvidia v: 440.100 
           Device-3: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.2.1

mhwd -li -d :
   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-hybrid-intel-nvidia-440xx-prime
   ATTACHED:    PCI
   VERSION:     2020.10.04
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    16
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia-* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

lsusb :
Bus 002 Device 002: ID 2109:8110 VIA Labs, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:565a Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 007: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 009: ID 046d:c07d Logitech, Inc. G502 Mouse
Bus 001 Device 008: ID 1397:0301 BEHRINGER International GmbH USB 2.0 Hub
Bus 001 Device 006: ID 04d9:a231 Holtek Semiconductor, Inc. 
Bus 001 Device 004: ID 056a:00de Wacom Co., Ltd CTH-470 [Bamboo Fun Pen & Touch]
Bus 001 Device 002: ID 2109:2811 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I’ve already tried to install DisplayLink driver, but following the wiki steps I receive an error:

xrandr --setprovideroutput 0 1 :
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  35 (RRSetProviderOutputSource)
  Value in failed request:  0x261
  Serial number of failed request:  16
  Current serial number in output stream:  17

systemctl status displaylink.service :
● displaylink.service - DisplayLink Manager Service
     Loaded: loaded (/usr/lib/systemd/system/displaylink.service; enabled; vendor preset: disabled)
     Active: active (running) since Fri 2020-11-06 09:49:32 -03; 23h ago
    Process: 861 ExecStartPre=/sbin/modprobe evdi (code=exited, status=0/SUCCESS)
   Main PID: 862 (DisplayLinkMana)
      Tasks: 14 (limit: 18826)
     Memory: 9.6M
     CGroup: /system.slice/displaylink.service
             └─862 /usr/lib/displaylink/DisplayLinkManager

nov 06 09:49:32 pedro systemd[1]: Starting DisplayLink Manager Service...
nov 06 09:49:32 pedro systemd[1]: Started DisplayLink Manager Service.

dkms status :
evdi, 1.7.0, 5.8.18-1-MANJARO, x86_64: installed

Thanks for all! I really don’t know what to do anymore

1 Like

i also got the same problem, haven’t you solve it yet?

Not solved yet!

Just an update. Now my displaylinks apparently works, but x-randr doesn’t shows up the modesetting driver and my monitor still doesn’t receive any signal:

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x48 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated p
roviders: 0 name:Intel

But in the displaylink wiki, it has to appear both drivers: MODESETTING and INTEL. I don’t know how to procceed anymore.

systemctl status displaylink.service
● displaylink.service - DisplayLink Manager Service
Loaded: loaded (/usr/lib/systemd/system/displaylink.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-11-30 12:02:45 -03; 19min ago
Process: 925 ExecStartPre=/sbin/modprobe evdi (code=exited, status=0/SUCCESS)
Main PID: 926 (DisplayLinkMana)
Tasks: 14 (limit: 18826)
Memory: 8.3M
CGroup: /system.slice/displaylink.service
└─926 /usr/lib/displaylink/DisplayLinkManager

nov 30 12:02:45 pedro systemd[1]: Starting DisplayLink Manager Service…
nov 30 12:02:45 pedro systemd[1]: Started DisplayLink Manager Service.

It’s important to say that I updated the nvidia prime drivers to video-hybrid-intel-nvidia-455xx-prime, and I try to do this with the 3 methods provided by Optimus-Manager(Intel / Nvidia / Hybrid).
Can somebody help me please?

I also managed to install displaylink from AUR, but when I try to run it with sudo systemctl start displaylink.service I get :

Job for displaylink.service failed because the control process exited with error code.
See "systemctl status displaylink.service" and "journalctl -xe" for details.

systemctl status displaylink.service` gives me:

displaylink.service - DisplayLink Manager Service
Loaded: loaded (/usr/lib/systemd/system/displaylink.service; disabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2021-02-13 18:38:18 AWST; 1s ago
Process: 2520 ExecStartPre=/sbin/modprobe evdi (code=exited, status=1/FAILURE)

While journalctl -xe gives me:

The job identifier is 3357 and the job result is done.
Feb 13 18:38:29 alpha-nitroan51543 systemd[1]: Starting DisplayLink Manager Service...
░░ Subject: A start job for unit displaylink.service has begun execution
░░ Defined-By: systems
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit displaylink.service has begun execution.
░░ 
░░ The job identifier is 3357.
Feb 13 18:38:29 alpha-nitroan51543 kernel: audit: type=1130 audit(1613212709.464:190): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='uni>
Feb 13 18:38:29 alpha-nitroan51543 kernel: audit: type=1131 audit(1613212709.464:191): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='uni>
Feb 13 18:38:29 alpha-nitroan51543 modprobe[2571]: modprobe: FATAL: Module evdi not found in directory /lib/modules/5.10.15-1-MANJARO
Feb 13 18:38:29 alpha-nitroan51543 systemd[1]: displaylink.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systems
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ An ExecStartPre= process belonging to unit displaylink.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Feb 13 18:38:29 alpha-nitroan51543 systemd[1]: displaylink.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systems
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The unit displaylink.service has entered the 'failed' state with result 'exit-code'.
Feb 13 18:38:29 alpha-nitroan51543 systemd[1]: Failed to start DisplayLink Manager Service.
░░ Subject: A start job for unit displaylink.service has failed
░░ Defined-By: systems
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit displaylink.service has finished with a failure.
░░ 
░░ The job identifier is 3357 and the job result is failed.
Feb 13 18:38:29 alpha-nitroan51543 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=displaylink comm="systems">
Feb 13 18:38:29 alpha-nitroan51543 kernel: audit: type=1130 audit(1613212709.471:192): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='uni>
lines 2448-2483/2483 (END)

Any ideas please?

I used this combination on my Intel NUC, it worked without displaylink.service. But i had to make changes into BIOS to activate this second DP monitor as video output, eg. Thunderbold Video was not activated for USB-C port. After that it worked. Only one small changes was needed to get KDE/xrandr better working. I created

// /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
    Identifier  "DP-1"
    Option "Primary" "true"
    Option "PreferredMode" "1920x1200_60"
    Option "DPMS" "true"
EndSection

Section "Monitor"
    Identifier  "DP-2"
    Option "PreferredMode" "1920x1200_60"
    Option "DPMS" "true"
    Option "RightOf" "DP-1"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Intel"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Virtual 3840 1200
  EndSubSection
EndSection

because X11, xrandr and KDE plasma interchanged the monitor setup each bootup.