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

Reply
 
Thread Tools Search this Thread Display Modes
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
Old 12-03-2018, 12:13 PM   #2
edoardo.tondo
Junior Member
 
Join Date: Dec 2018
Posts: 1
Default How to install and use displaylink DL-165 on linux mint 19

Hi everyone, I'm sorry for my english.
I'm trying and trying again without any success to use my usb 2.0 display adapter - usb-vga-165 model with displaylink chip DL-165.

Qualcuno potrebbe aiutarmi a farlo funzionare spiegandomi i vari passaggi e comandi da eseguire? (sono un utente novello con linux).

In practice I would need to connect two monitors to use them together with the built-in monitor (LSVD). The monitors are an ACER K222HQL 22'' (1920x1080) and a SAMSUNG SyncMaster 940nw 19'' (1440x900)

The USB ports of my notebook are only 3.0

This is the configuration of my notebook:

System:
Host: sswdev-X552CL Kernel: 4.15.0-39-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara

Machine:
Device: laptop System: ASUSTeK product: X550CL v: 1.0 serial: N/A
Mobo: ASUSTeK model: X550CL v: 1.0 serial: N/A
BIOS: American Megatrends v: X550CL.201 date: 08/02/2013

CPU:
Dual core Intel Core i7-3537U (-MT-MCP-) arch: Ivy Bridge rev.9 cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9976
clock speeds: max: 3100 MHz 1: 1020 MHz 2: 1086 MHz 3: 1525 MHz 4: 1350 MHz

Graphics:
Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT620M/625M/630M/720M] bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 ) driver: intel Resolution: 1920x1080@60.00hz, 1440x900@59.89hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile version: 4.2 Mesa 18.0.5 Direct Render: Yes
Audio: Card Intel 7 Series/C216 Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-39-generic

Network:
Card-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0 IF: wlp3s0 state: down mac: 24:0a:64:90:43:27
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 04:00.2 IF: enp4s0f2 state: down mac: d8:50:e6:0c:14:64
Card-3: Atheros TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287] driver: ath9k_htc usb-ID: 003-074 IF: wlx6470021c34df state: N/A mac: N/A

At the moment the nouveau graphic driver is active. Regarding the nvidia card, I recommend only the nvidia-340 driver as recommended.

Thank you in advance

Last edited by edoardo.tondo; 12-03-2018 at 12:17 PM.
edoardo.tondo is offline   Reply With Quote
Reply

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 04:53 AM.


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