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

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-29-2015, 01:14 PM   #1
shaun123
Junior Member
 
Join Date: Oct 2015
Posts: 4
Angry Linux driver not working after upgrade to 15.10

Hello all,

I was previously using ubuntu 15.04, with which the provided linux DisplayLink driver worked flawlessly. However after upgrading to 15.10, I have had major issues due to the kernel being upgraded to 4.2.0-16-generic. The driver installs, but it is so buggy the displaylink has become almost unusable. I am unable to rearrange screens without the desktop crashing and returning to the login screen. If I want to switch a monitor off, or even on, it is a chore, with me having to reassign the primary monitor over and over again, and switching the monitors on and off until the desktop stops crashing.

The most irritating thing is that even if I can get the arrangement working, upon restart I have to go through the same painstaking chore to get the setup I want working again.

Effectively the DisplayLink now does the opposite of what I bought it to do - make working from home easier with my laptop.

Does anybody know if they will be releasing a driver in the near future that is fully compatible with the 4.2.0 kernel? If not, does anybody have any alternative product suggestions for screen-share devices like displaylink that work with linux?

Thanks!
shaun123 is offline   Reply With Quote
Old 10-29-2015, 06:23 PM   #2
xenith
Junior Member
 
Join Date: Oct 2015
Posts: 6
Default

I'm having the same unpleasant experience with the dell D3100 product on Fedora 22 4.2.3-200.fc22.x86_64

It works briefly if I reboot, but if for any reason X restarts, like logging out, the following happens:

[ 451.098295] ------------[ cut here ]------------
[ 451.098323] WARNING: CPU: 2 PID: 3358 at drivers/gpu/drm/i915/intel_display.c:1362 assert_plane.constprop.98+0x6f/0x90 [i915]()
[ 451.098325] plane A assertion failure (expected on, current off)
[ 451.098353] Modules linked in: cmac xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun fuse nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack snd_usb_audio snd_usbmidi_lib snd_rawmidi evdi(O) ebtable_nat ebtable_broute bridge ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw rfcomm bnep arc4 ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic iTCO_wdt iTCO_vendor_support acer_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal coretemp kvm_intel kvm vfat
[ 451.098386] fat i2c_i801 uvcvideo lpc_ich snd_hda_intel ath3k btusb snd_hda_codec videobuf2_vmalloc videobuf2_core btrtl snd_hda_core btbcm videobuf2_memops btintel v4l2_common bluetooth videodev snd_hwdep snd_seq snd_seq_device snd_pcm joydev media rfkill snd_timer snd soundcore mei_me shpchp mei dw_dmac dw_dmac_core i2c_designware_platform wmi i2c_designware_core nfsd binfmt_misc auth_rpcgss nfs_acl lockd grace sunrpc vboxnetadp(O) vboxnetflt(O) vboxdrv(O) dm_crypt hid_logitech_hidpp hid_logitech_dj hid_multitouch cdc_mbim cdc_wdm cdc_ncm usbnet i915 i2c_algo_bit drm_kms_helper crct10dif_pclmul drm crc32_pclmul crc32c_intel 8021q garp stp llc mrp sdhci_acpi ghash_clmulni_intel r8169 serio_raw mii sdhci mmc_core video i2c_hid
[ 451.098389] CPU: 2 PID: 3358 Comm: Xorg Tainted: G O 4.2.3-200.fc22.x86_64 #1
[ 451.098390] Hardware name: Acer Aspire R3-471T/EA42_HB, BIOS V1.09 05/20/2015
[ 451.098393] 0000000000000000 0000000013c906b3 ffff8801c1adb6e8 ffffffff8177220a
[ 451.098394] 0000000000000000 ffff8801c1adb740 ffff8801c1adb728 ffffffff8109e4a6
[ 451.098396] 0000000000000000 0000000000000000 ffff88003f630000 ffff88003f4b3000
[ 451.098396] Call Trace:
[ 451.098401] [<ffffffff8177220a>] dump_stack+0x45/0x57
[ 451.098406] [<ffffffff8109e4a6>] warn_slowpath_common+0x86/0xc0
[ 451.098409] [<ffffffff8109e535>] warn_slowpath_fmt+0x55/0x70
[ 451.098430] [<ffffffffa01c2daf>] assert_plane.constprop.98+0x6f/0x90 [i915]
[ 451.098448] [<ffffffffa01cbd99>] hsw_disable_ips+0x39/0x180 [i915]
[ 451.098463] [<ffffffffa01cbf34>] intel_pre_disable_primary+0x54/0x90 [i915]
[ 451.098478] [<ffffffffa01cbfaa>] intel_crtc_disable_planes+0x3a/0x100 [i915]
[ 451.098492] [<ffffffffa01cc906>] __intel_set_mode+0x226/0xb60 [i915]
[ 451.098506] [<ffffffffa01ce54f>] ? intel_modeset_compute_config+0x3af/0xb60 [i915]
[ 451.098521] [<ffffffffa01d3ee6>] intel_crtc_set_config+0x2b6/0x580 [i915]
[ 451.098534] [<ffffffffa00dd326>] drm_mode_set_config_internal+0x66/0x100 [drm]
[ 451.098540] [<ffffffffa014d512>] restore_fbdev_mode+0xc2/0xf0 [drm_kms_helper]
[ 451.098545] [<ffffffffa014f399>] drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x70 [drm_kms_helper]
[ 451.098549] [<ffffffffa014f402>] drm_fb_helper_set_par+0x22/0x40 [drm_kms_helper]
[ 451.098565] [<ffffffffa01e284a>] intel_fbdev_set_par+0x1a/0x60 [i915]
[ 451.098568] [<ffffffff8141376f>] ? fb_set_var+0x2ef/0x460
[ 451.098570] [<ffffffff814136b6>] fb_set_var+0x236/0x460
[ 451.098573] [<ffffffff810d16ea>] ? check_preempt_wakeup+0xfa/0x210
[ 451.098575] [<ffffffff810d11c9>] ? update_curr+0x79/0x150
[ 451.098578] [<ffffffff814097d2>] fbcon_blank+0x312/0x360
[ 451.098582] [<ffffffff8148e493>] do_unblank_screen+0xd3/0x1a0
[ 451.098584] [<ffffffff814834cd>] complete_change_console+0x5d/0xe0
[ 451.098585] [<ffffffff81484812>] vt_ioctl+0x12c2/0x12e0
[ 451.098589] [<ffffffff8123863f>] ? file_update_time+0xbf/0x110
[ 451.098591] [<ffffffff81477063>] tty_ioctl+0x3c3/0xb80
[ 451.098593] [<ffffffff811d5f80>] ? handle_mm_fault+0xcc0/0x17d0
[ 451.098596] [<ffffffff812312b5>] do_vfs_ioctl+0x295/0x470
[ 451.098598] [<ffffffff8132930d>] ? selinux_file_ioctl+0x4d/0xc0
[ 451.098600] [<ffffffff81231509>] SyS_ioctl+0x79/0x90
[ 451.098603] [<ffffffff810656df>] ? do_page_fault+0x2f/0x80
[ 451.098607] [<ffffffff81778bee>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 451.098608] ---[ end trace de27aff85f318a5c ]---
[ 451.477897] [D] add_store increasing device count to 3
[ 451.478656] [D] evdi_crtc_init drm_crtc_init: 0
[ 451.478660] [D] evdi_encoder_init drm_encoder_init: 0
[ 451.478704] [D] evdi_detect Painter is disconnected
[ 451.478707] evdi evdi.2: No connectors reported connected with modes
[ 451.478710] [drm] Cannot find any crtc or sizes - going 1024x768
[ 451.480090] evdi evdi.2: fb3: evdidrmfb frame buffer device
[ 451.480094] [drm] evdi: evdi_stats_init
[ 451.480100] [drm] Initialized evdi 1.0.68 19700101 on minor 3
[ 453.842446] [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
[ 453.842633] [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
[ 454.615665] [D] evdi_detect Painter is disconnected
[ 454.615698] [D] evdi_detect Painter is disconnected
[ 454.616269] [D] evdi_painter_crtc_state_notify (dev=0) Notifying crtc state: 0
[ 454.616281] [D] evdi_painter_crtc_state_notify (dev=0) Notifying crtc state: 0
[ 457.741639] [D] evdi_detect Painter is disconnected
[ 466.016729] [W] evdi_painter_disconnect (dev=0) An unknown connection to ffff8801c1b14400 tries to close us - ignoring
[ 466.036547] [D] evdi_painter_connect (dev=3) Connected with ffff8801c1b14400
[ 466.036552] [D] evdi_painter_connect (dev=3) Edid (3 bytes): 00 ff ff
[ 466.036555] [D] evdi_detect (dev=3) Painter is connected
[ 466.039595] [D] add_store increasing device count to 4
[ 466.041002] [D] evdi_crtc_init drm_crtc_init: 0
[ 466.041007] [D] evdi_encoder_init drm_encoder_init: 0
[ 466.041065] [D] evdi_detect Painter is disconnected
[ 466.041070] evdi evdi.3: No connectors reported connected with modes
[ 466.041073] [drm] Cannot find any crtc or sizes - going 1024x768
[ 466.043595] evdi evdi.3: fb4: evdidrmfb frame buffer device
[ 466.043600] [drm] evdi: evdi_stats_init
[ 466.043606] [drm] Initialized evdi 1.0.68 19700101 on minor 4
[ 466.045223] [D] evdi_detect (dev=3) Painter is connected
[ 466.045228] [D] evdi_painter_get_edid (dev=3) 00 ff ff
[ 466.052431] [D] evdi_detect (dev=3) Painter is connected
[ 466.052436] [D] evdi_painter_get_edid (dev=3) 00 ff ff
[ 466.059817] [D] evdi_detect Painter is disconnected
[ 466.059858] [D] evdi_detect Painter is disconnected
[ 466.063430] [D] evdi_painter_crtc_state_notify (dev=0) Notifying crtc state: 0
[ 466.063439] [D] evdi_painter_crtc_state_notify (dev=0) Notifying crtc state: 0
[ 466.066049] [D] evdi_detect (dev=3) Painter is connected
[ 466.066054] [D] evdi_painter_get_edid (dev=3) 00 ff ff
[ 466.067057] [D] evdi_detect (dev=3) Painter is connected
[ 466.067062] [D] evdi_painter_get_edid (dev=3) 00 ff ff
[ 481.457236] [W] evdi_painter_disconnect (dev=3) An unknown connection to ffff8801d4faee00 tries to close us - ignoring
[ 481.475411] [W] evdi_painter_disconnect (dev=0) An unknown connection to ffff8801d4faee00 tries to close us - ignoring
[ 481.493734] [D] evdi_painter_connect (dev=4) Connected with ffff8801d4faee00
[ 481.493738] [D] evdi_painter_connect (dev=4) Edid (3 bytes): 00 ff ff
[ 481.493740] [D] evdi_detect (dev=4) Painter is connected
[ 481.496807] [D] evdi_detect (dev=4) Painter is connected
[ 481.496813] [D] evdi_painter_get_edid (dev=4) 00 ff ff
[ 481.498051] [D] evdi_detect (dev=3) Painter is connected
[ 481.498058] [D] evdi_painter_get_edid (dev=3) 00 ff ff


The screens don't become available until I reboot again. It's quite annoying. I am also having issues with it remember the screen layout so sometimes I have to clear monitors.xml when I use GNOME (KDE, my preferred was completely unusable due to not being able to wrangle this hardware)
xenith is offline   Reply With Quote
Old 10-30-2015, 01:36 PM   #3
shaun123
Junior Member
 
Join Date: Oct 2015
Posts: 4
Default

Can anybody help with this?
shaun123 is offline   Reply With Quote
Old 11-04-2015, 05:30 AM   #4
reindan
Junior Member
 
Join Date: Oct 2015
Posts: 1
Default

Similar problem here with Dell D3100...
Have been on 15.04 but after an upgrade to 15.10 it doesn't even detect my external displays.

Tried to reinstall, seems all fine except that the drivers don't load at the end...

Code:
sudo ./displaylink-driver-1.0.138.run 
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.138  100%  
DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu 15.10
WARNING: Kernel version 4.2.0-16-generic is not supported. Highest supported version is 3.19.
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
reindan is offline   Reply With Quote
Old 11-06-2015, 06:55 AM   #5
Szymon
DisplayLink Tech Support
 
Szymon's Avatar
 
Join Date: Feb 2010
Posts: 55
Default

Could guys try on Ubuntu 15.10 the following sequence:

Code:
sudo ./displaylink-driver-1.0.138.run uninstall
./displaylink-driver-1.0.138.run --keep --noexec
cd displaylink-driver-1.0.138/
### In current directory edit displaylink-installer.sh in your favourite editor ###
Find the following piece of script inside the installer file:

Code:
detect_distro()
{
  if which lsb_release >/dev/null; then
    local R=$(lsb_release -d -s)
    echo "Distribution discovered: $R"
    if [ -z "${R##Ubuntu 14.*}" ]; then
      SYSTEMINITDAEMON=upstart
    elif [ -z "${R##Ubuntu 15.04*}" ]; then
      SYSTEMINITDAEMON=systemd
    fi
  else
    echo "WARNING: Unknown distribution, assuming defaults - this may fail." >&2
  fi
}
And change it to:

Code:
detect_distro()
{
  if which lsb_release >/dev/null; then
    local R=$(lsb_release -d -s)
    echo "Distribution discovered: $R"
    SYSTEMINITDAEMON=systemd
  fi
}
And then run:
Code:
sudo ./displaylink-installer.sh install

Last edited by Szymon; 11-06-2015 at 11:45 AM.
Szymon is offline   Reply With Quote
Old 11-06-2015, 09:30 AM   #6
Gert
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

Sorry - but the proposed script changes didn't give any visible results - for me it's still the same installation response as Reindan got and no recognition of ext. display.

I have tried ones more and have used nautilus to find "displaylink" files. Before installation every things is ok. The installer file have the proposed script, but after installation I find more installer scripts and some of them are with the original and non changed wording. I think the .run file might be the problem.

Last edited by Gert; 11-06-2015 at 11:15 AM.
Gert is offline   Reply With Quote
Old 11-06-2015, 11:51 AM   #7
Szymon
DisplayLink Tech Support
 
Szymon's Avatar
 
Join Date: Feb 2010
Posts: 55
Default

Ah.. I have reviewed my suggestion and discovered copy-paste mistake. It's now corrected. After modifying displaylink-installer.sh script should be run instead of the original .run file.

The intention of the patching the install script is to force it to create systemd daemon service. The install should print as one of the last output:

Code:
Starting DLM systemd service
And you should see /usr/lib/displaylink/DisplayLinkManager among running processes, which you can look up using e.g. htop.
Szymon is offline   Reply With Quote
Old 11-06-2015, 02:21 PM   #8
Gert
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

Following your proposal this is the response I get in terminal:

DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu 15.10
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
chmod: kan ikke tilgå '/usr/lib/displaylink/DisplayLinkManager': Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå '/usr/lib/displaylink/libevdi.so': Ingen sådan fil eller filkatalog
chmod: kan ikke operere på dinglende symlænke '/usr/lib/displaylink/libusb-1.0.so'
chmod: kan ikke operere på dinglende symlænke '/usr/lib/displaylink/libusb-1.0.so.0'
Installing firmware packages
mv: kan ikke udføre stat() på '*.spkg': Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå '/usr/lib/displaylink/*.spkg': Ingen sådan fil eller filkatalog
Installing license file
mv: kan ikke udføre stat() på 'LICENSE': Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå '/usr/lib/displaylink/LICENSE': Ingen sådan fil eller filkatalog
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Starting DLM systemd service
gert@gert-XPS-13-9343:~/displaylink-driver-1.0.138$
Gert is offline   Reply With Quote
Old 11-06-2015, 02:58 PM   #9
Gert
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

Now I'm up running. I used the .run file and installed displaylink, then I copied the dir. "displaylink" from usr/lib to an USB-stick. Uninstalled displaylink and made a reboot. Kopied the "displaylink dir. from the USB-stick to usr/lib and installed displaylink with the modified installer.sh

And it worked. The response by the installation in the terminal was the following:

DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu 15.10
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
Installing firmware packages
mv: kan ikke udføre stat() på '*.spkg': Ingen sådan fil eller filkatalog
Installing license file
mv: kan ikke udføre stat() på 'LICENSE': Ingen sådan fil eller filkatalog
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Starting DLM systemd service
gert@gert-XPS-13-9343:~/displaylink-driver-1.0.138$

Last edited by Gert; 11-06-2015 at 03:56 PM.
Gert is offline   Reply With Quote
Old 11-07-2015, 07:15 AM   #10
mangojuice
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

I have tested the modified script, it runs well now!

Although it seems to have a little bit of delay, still bearable

Dock: Dell D3100
System: Ubuntu 15.10 64-bit
mangojuice is offline   Reply With Quote
Reply

Tags
bug, crashing, drivers, linux

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 03:04 PM.


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