PDA

View Full Version : modprobe: ERROR: could not insert 'evdi': Invalid argument


sawtooth
09-22-2015, 07:16 AM
Hello,

first of all, thanks for providing a linux driver! It allowed me at least to start working with my XPS 13 in a multiscreen setup just about when I was thinking of returning it.

I have an XPS 13 2015 and the D3100 USB3 docking station, running Ubuntu Gnome 15.04 with 3.19.0-28-generic. I could run with 2 external screens plus the onboard monitor, even though I had a relatively poor graphics performance with lots of tearing and a refresh lag. But it worked, kind of buggy, but it worked.

I then tried to install the recently released (for 15.04) Intel Graphics driver for linux, in hopes I would get a performance at least equal to my 6 year old ThinkPad x220. Since then, however, I can not start the DLM service, even though I updated to the newest displaylink-driver-1.0.138. When I run the executable, I get:

# ./displaylink-driver-1.0.138.run install
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.138 100%
DisplayLink Linux Software 1.0.138 install script called: install install
Distribution discovered: Ubuntu 15.04
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
Starting DLM systemd service
Created symlink from /etc/systemd/system/graphical.target.wants/displaylink.service to /lib/systemd/system/displaylink.service.
Job for displaylink.service failed. See "systemctl status displaylink.service" and "journalctl -xe" for details.


if you look into the proposed logs, you can clearly see that the evdi module is not loaded. For example:


# journalctl -xe

... more symbol errors like below ...

Sep 22 08:09:41 sawtoothxps kernel: evdi: Unknown symbol drm_crtc_helper_set_config (err -22)
Sep 22 08:09:41 sawtoothxps kernel: evdi: disagrees about version of symbol drm_prime_gem_destroy
Sep 22 08:09:41 sawtoothxps kernel: evdi: Unknown symbol drm_prime_gem_destroy (err -22)
Sep 22 08:09:41 sawtoothxps modprobe[29997]: modprobe: ERROR: could not insert 'evdi': Invalid argument
Sep 22 08:09:41 sawtoothxps systemd[1]: displaylink.service: control process exited, code=exited status=1
Sep 22 08:09:41 sawtoothxps systemd[1]: Failed to start DisplayLink Manager Service.
-- Subject: Unit displaylink.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit displaylink.service has failed.
--
-- The result is failed.
Sep 22 08:09:41 sawtoothxps systemd[1]: Unit displaylink.service entered failed state.
Sep 22 08:09:41 sawtoothxps systemd[1]: displaylink.service failed.


Any ideas how to circumvent this? Is it really the intel driver? I must say it hasn't really improved the graphics performance (though I see less tearing, but maybe it's wishful thinking) since a certain opengl geometry viewer I am using still works more smoothly on my x220.

Thanks a lot!

tuxrocket
02-25-2016, 09:59 PM
Any luck? I'm getting the same errors.

mlukaszek
02-26-2016, 11:15 AM
Hi,

Thanks for the report. This looks like a symbol mismatch between modules:

Sep 22 08:09:41 sawtoothxps kernel: evdi: Unknown symbol drm_crtc_helper_set_config (err -22)
Sep 22 08:09:41 sawtoothxps kernel: evdi: disagrees about version of symbol drm_prime_gem_destroy
Sep 22 08:09:41 sawtoothxps kernel: evdi: Unknown symbol drm_prime_gem_destroy (err -22)
Sep 22 08:09:41 sawtoothxps modprobe[29997]: modprobe: ERROR: could not insert 'evdi': Invalid argument


Can you capture full logs using the support tool, so we know exactly what are the details of the environment?

Thanks,
Michal

checksum
03-19-2016, 06:29 AM
I am getting the same symbol errors trying to install driver on Ubuntu 15.10, with kernel 4.2. How to correct?

mlukaszek
03-22-2016, 10:39 AM
As I commented in another thread: can you try rebuilding modules registered with DKMS?
dkms autoinstall
should do the trick.

Thanks,
Michal

chrisvo
03-25-2016, 12:19 PM
This is the same problem I'm having. The module builds fine, but insmod / modprobe fails to load it with these messages. This is on Ubuntu wily, kernel 4.2.0-34-generic, with latest intel drivers installed.

mlukaszek
03-25-2016, 12:35 PM
OK,

What are the Intel drivers that you're using exactly? Are they open sourced or binary? I don't see why this could happen if they were also compiled on your machine with the same version of drm... Unless I'm missing something.

Cheers,
Michal

chrisvo
03-25-2016, 10:26 PM
What are the Intel drivers that you're using exactly?

https://01.org/linuxgraphics/downloads/intel-graphics-installer-linux-1.4.0

Are they open sourced or binary?

Not sure. The installer hides much from the user, but it appears to install a different version of libdrm and then installs an i915 driver (it seems to put source for this driver in /usr/src and install via dkms)

I might try installing via the source tarball instead of the Ubuntu installer to see if it changes anything.

checksum
03-26-2016, 12:27 AM
dkms autoinstall does not fix for me either


Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.335 100%
DisplayLink Linux Software 1.0.335 install script called: install install
Distribution discovered: Ubuntu 15.10
WARNING: Kernel version 4.2.0-34-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
Starting DLM systemd service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
Job for displaylink.service failed because the control process exited with error code. See "systemctl status displaylink.service" and "journalctl -xe" for details.


The computer I'm trying to get it working on is a NUC - not sure if that matters.
http://www.intel.com/content/www/us/en/nuc/nuc-kit-nuc6i5syk.html

unfulvio
03-31-2016, 06:08 PM
I might have the same problem

is there a workaround that doesn't break the intel installation and allows displaylink service to run?

unfulvio
04-03-2016, 01:59 PM
never mind, there was no other solution for me than to remove Intel drivers and then displaylink would install

however this was a bit of a bummer -- intel drivers did provide a bit of enhancement for power management and now that I reverted to vanilla ubuntu drivers, an old Chrome bug creeped out again (basically I had to disable GPU acceleration there)

ideally, I wish Displaylink worked with native vendor drivers too

checksum
04-07-2016, 07:11 PM
Same thing here. Not working with i915 intel drivers on a NUC. Installing displaylink off of a live usb of ubuntu (without the intel drivers added) worked fine.