Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-31-2018, 01:46 PM   #1
proliant
Junior Member
 
Join Date: Mar 2018
Posts: 2
Default 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



.
proliant is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.