|
|
Thread Tools | Search this Thread | Display Modes |
07-31-2018, 12:46 PM | #1 |
Junior Member
Join Date: Mar 2018
Posts: 2
|
Linux Mint 19 Mate | DisplayLink USB Graphics Software for Ubuntu 4.2
This is an update from the prev post: https://www.displaylink.org/forum/sh...ad.php?t=65989
Alienware Alpha i7-4765T + Tek Republic TUD-3000 Dual Display Docking Station 1. Install nvidia-driver-390; reboot 2. lsusb DisplayLink root@alpha:~# lsusb -d 17e9: Bus 004 Device 004: ID 17e9:4307 DisplayLink root@alpha:~# 3. Install DisplayLink USB Graphics Software for Ubuntu 4.2 4. Load udl kernel module echo "udl" > /etc/modules-load.d/udl.conf systemctl reboot 5. Check kernel modules root@alpha:~# lsmod | egrep -e 'udl|evdi' evdi 53248 2 udl 32768 0 drm_kms_helper 172032 3 udl,evdi,nvidia_drm drm 401408 8 udl,evdi,nvidia_drm,drm_kms_helper syscopyarea 16384 2 evdi,drm_kms_helper sysfillrect 16384 2 evdi,drm_kms_helper sysimgblt 16384 2 evdi,drm_kms_helper root@alpha:~# 6. Check dlm service root@alpha:~# systemctl status dlm.service ● dlm.service - DisplayLink Manager Service Loaded: loaded (/lib/systemd/system/dlm.service; static; vendor preset: enabled) Active: active (running) since Tue 2018-07-31 19:31:19 HKT; 52min ago Process: 1192 ExecStartPre=/bin/sh -c modprobe evdi || (dkms install evdi/4.2.29 && modprobe evdi) Main PID: 1195 (DisplayLinkMana) Tasks: 34 (limit: 4915) CGroup: /system.slice/dlm.service └─1195 /opt/displaylink/DisplayLinkManager Jul 31 19:31:19 alpha systemd[1]: Starting DisplayLink Manager Service... Jul 31 19:31:19 alpha systemd[1]: Started DisplayLink Manager Service. root@alpha:~# 7. Run xrandr command root@alpha:~# xrandr --listproviders Providers: number : 2 Provider 0: id: 0x1b9 cap: 0x1, Source Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-0 Provider 1: id: 0x238 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting root@alpha:~# 8. Set the location of DVI-I-1-1 root@alpha:~# cat /etc/displaylink.sh #!/bin/bash # # Setup Displaylink # xrandr --setprovideroutputsource 1 0 sleep 1 xrandr --output DVI-I-1-1 --auto sleep 1 xrandr --output DVI-I-1-1 --right-of HDMI-0 sleep 1 xrandr --output DVI-I-1-1 --pos 1080x800 sleep 1 xrandr --output DVI-I-1-1 --primary sleep 1 # After running the above xrandr commands, the screen (HDMI-0) freezes # Run the following command to fix the issue (Long story short!) nvidia-settings -a 0/CurrentMetaMode=nvidia-auto-select+0+0{rotation=left} 9. Setup autostart on Linux Mint root@alpha:~# cat /etc/xdg/autostart/displaylink.desktop [Desktop Entry] Name=DisplayLink Comment=DisplayLink Exec=/bin/bash -c "/etc/displaylink.sh" Type=Application root@alpha:~# 10. Reboot . |
Thread Tools | Search this Thread |
Display Modes | |
|
|