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

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-18-2017, 12:29 PM   #1
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

This is intriguing. A few questions...
  • Are two screens operational with the older 1.3 driver but identical version of all other packages?
  • Does the second screen start to work if you restart X when one screen is up and running?
  • What's the contents of /sys/devices/evdi/count?
  • What's the output of ls -la /dev/dri?
  • With one screen running, what happens if you run (as root):
    Code:
    echo 1 > /sys/devices/evdi/add
    possibly after replugging the USB cable after running it, too?

Thanks,
Michal
mlukaszek is offline   Reply With Quote
Old 10-18-2017, 05:56 PM   #2
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

Hi Michał,

Thanks for looking into it.

Quote:
Are two screens operational with the older 1.3 driver but identical version of all other packages?
I will try it later today and report back. One problem is I'm using 4.10+ kernels so I'll need to patch the older evdi to be compilable with newer kernels (not a big deal).

Quote:
Does the second screen start to work if you restart X when one screen is up and running?
I never made it working with a new driver.

Quote:
What's the contents of /sys/devices/evdi/count?
Code:
kir@kd:~$ cat /sys/devices/evdi/count 
2
Quote:
What's the output of ls -la /dev/dri?
Code:
kir@kd:~$ ls -la /dev/dri
total 0
drwxr-xr-x   3 root root       140 Oct 17 23:43 .
drwxr-xr-x  20 root root      4280 Oct 18 10:29 ..
drwxr-xr-x   2 root root       120 Oct 17 23:43 by-path
crw-rw----+  1 root video 226,   0 Oct 17 23:43 card0
crw-rw----+  1 root video 226,   1 Oct 18 10:29 card1
crw-rw----+  1 root video 226,   2 Oct 18 10:29 card2
crw-rw----+  1 root video 226, 128 Oct 17 23:43 renderD128
Quote:
With one screen running, what happens if you run (as root):
Code:
echo 1 > /sys/devices/evdi/add
possibly after replugging the USB cable after running it, too?
No changes, except that card3 appears in /dev/dri, and some messages in dmesg:
Code:
[ 2943.659412] evdi: [D] add_store:239 Increasing device count to 3
[ 2943.659897] evdi: [D] evdi_crtc_init:351 drm_crtc_init: 0
[ 2943.660676] evdi: [W] evdi_painter_crtc_state_notify:484 Painter does not exist!
[ 2943.660686] evdi: [D] evdi_detect:78 Painter is disconnected

Last edited by k001; 10-18-2017 at 06:10 PM.
k001 is offline   Reply With Quote
Old 10-18-2017, 06:27 PM   #3
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

Just for the record -- how to uninstall displaylink drivers on Ubuntu.

As root:
Code:
systemctl stop dlm
find /lib/modules -name evdi.ko | xargs rm -f
rm -rf /usr/src/evdi*
rm -rf /var/lib/dkms/evdi
rm -rf /opt/displaylink
rm -f /lib/systemd/system/dlm.service
(I am doing it for the sake of downgrading to answer if the old driver works with two monitors).
k001 is offline   Reply With Quote
Old 10-19-2017, 08:23 AM   #4
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

Status update:

1. I haven't succeeded in making the old driver (1.3.54) work.
2. After reinstalling the new driver (1.4.210), I got zero monitors.

I made it working after lots of trial-and-error. The culprit is to boot the machine with dock disconnected, then log in (i.e. start X session for your user), when plug in the dock. This way, both monitors work.

It still works with either zero or 1 monitor if I forget to unplug the dock when I'm booting the laptop. But at least I know a workaround.
k001 is offline   Reply With Quote
Old 10-19-2017, 03:58 PM   #5
zombielinux
Junior Member
 
Join Date: Oct 2017
Posts: 6
Default

I'm having the same issue on a Dell D6000 and a Latitude 7480.

It will disconnect (monitors go black) but the window manager still thinks they are there.

I have to disconnect the USB C cable, reconnect, then re-activate the monitors to get display out.

Also the instructions posted earlier in this thread to generate output files now 404's.
zombielinux is offline   Reply With Quote
Old 10-19-2017, 11:32 PM   #6
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

Quote:
Originally Posted by zombielinux View Post
It will disconnect (monitors go black) but the window manager still thinks they are there.
I don't see it anymore, after updating to displaylink-driver-1.4.210 *knocks on wood*. Which version are you running?

Also, try to boot with dock disconnected, and only connect it once you have logged in.
k001 is offline   Reply With Quote
Old 10-20-2017, 12:34 PM   #7
zombielinux
Junior Member
 
Join Date: Oct 2017
Posts: 6
Default

I'm running 1.4.210 as well on a fully updated Xubuntu 16.04 installation.

I think i gave the boot without the dock a try earlier, but ill give it another go and report back.

EDIT: Nope, same issue. monitors go black and go to sleep (no display signal received) after about half an hour. The rest of the dock devices (ethernet, usb, audio, charging) continue to work.

Last edited by zombielinux; 10-20-2017 at 01:24 PM.
zombielinux 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 05:17 PM.


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