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

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-24-2016, 08:46 AM   #1
fightling
Junior Member
 
Join Date: Aug 2015
Posts: 9
Default

I have the same problem on a ThinkPad Carbon X1 with ubuntu wily.

since the last kernel update my DisplayLink dock isn't working proper at all. No graphics (xrandr doesn't show the linked displays and also eth over the link breaks down every minute).

I tried what you suggested without success:

Code:
$ sudo dkms autoinstall

Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
Building module:
cleaning build area...
Building module:
cleaning build area....
.
make KERNELRELEASE=4.2.0-30-generic -d V=1 -C /lib/modules/4.2.0-30-generic/build M=/var/lib/dkms/i915-3.9-3.8/0.02/build...make KERNELRELEASE=4.2.0-30-generic -d V=1 -C /lib/modules/4.2.0-30-generic/build M=/var/lib/dkms/i915-3.4-3.2/0.04/build....
make KERNELRELEASE=4.2.0-30-generic -d V=1 -C /lib/modules/4.2.0-30-generic/build M=/var/lib/dkms/i915-3.15-3.13/0.01/build.....(bad exit status: 2)
(bad exit status: 2)
.(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.2.0-30-generic (x86_64)
Consult /var/lib/dkms/i915-3.15-3.13/0.01/build/make.log for more information.
Error! Bad return status for module build on kernel: 4.2.0-30-generic (x86_64)
Consult /var/lib/dkms/i915-3.9-3.8/0.02/build/make.log for more information.
Error! Bad return status for module build on kernel: 4.2.0-30-generic (x86_64)
Consult /var/lib/dkms/i915-3.4-3.2/0.04/build/make.log for more information.

Last edited by fightling; 03-25-2016 at 08:14 AM.
fightling is offline   Reply With Quote
Old 03-24-2016, 09:50 AM   #2
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

What's in /var/lib/dkms/i915-3.4-3.2/0.04/build/make.log then? Note that it's the i915 module that has problems with recompiling...

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 03-24-2016, 09:54 AM   #3
fightling
Junior Member
 
Join Date: Aug 2015
Posts: 9
Default

Et voilà!

file attached.

can't even download my own attachment because I'm a Junior Member? m(
Attached Files
File Type: txt make.log.txt (13.9 KB, 1 views)

Last edited by fightling; 03-24-2016 at 09:59 AM.
fightling is offline   Reply With Quote
Old 03-24-2016, 10:30 AM   #4
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

Code:
/var/lib/dkms/i915-3.4-3.2/0.04/build/include/drm/drmP.h:77:17: fatal error: drm.h: No such file or directory
You need libdrm-dev package (exact name depending on the distribution) to be installed first.

Hope this helps,

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 03-24-2016, 12:11 PM   #5
Maurix
Junior Member
 
Join Date: Mar 2016
Posts: 1
Default

I also had to modify driver source as follows:

evdi_modeset.c:148
Code:
drm_dev_set_unique(dev, dev_name(dev->dev));
evdi_encoder.c:72
Code:
status = drm_encoder_init(dev, encoder, &evdi_enc_funcs, DRM_MODE_ENCODER_TMDS, dev_name(dev->dev));
Maurix 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:33 AM.


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