Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-18-2016, 08:29 AM   #1
ned83
Junior Member
 
Join Date: May 2016
Posts: 7
Default Dell XPS 13 9350 + Dell 4-1 adapter

I bought this and it works on Windows.

http://accessories.ap.dell.com/sna/p...&sku=492-11742

But I can't get VGA/HDMI to work on Ubuntu 14.04 (that I've installed manually, originally this was a Windows machine).

I've tried to run the driver from here

http://www.displaylink.com/downloads/ubuntu

Code:
[18:27]ned:~/Downloads/DisplayLink_recent$ sudo ./displaylink-driver-1.1.62.run 
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.1.62  100%  
DisplayLink Linux Software 1.1.62 install script called: install
Distribution discovered: Ubuntu 14.04.4 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
ERROR (code 3): Failed to build evdi/1.1.62. Consult /var/lib/dkms/evdi/1.1.62/build/make.log for details..
[18:28]ned:~/Downloads/DisplayLink_recent$
make.log

Code:
DKMS make.log for evdi-1.1.62 for kernel 4.4.0-040400rc6-generic (x86_64)
Wed May 18 18:28:04 AEST 2016
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/1.1.62/build SRCROOT=/var/lib/dkms/evdi/1.1.62/build CONFIG_MODULE_SIG= -C /lib/modules/4.4.0-040400rc6-generic/build modules
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400rc6-generic'
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
        echo >&2;                                                       \
        echo >&2 "  ERROR: Kernel configuration is invalid.";           \
        echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
        echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
        echo >&2 ;                                                      \
        /bin/false)
mkdir -p /var/lib/dkms/evdi/1.1.62/build/.tmp_versions ; rm -f /var/lib/dkms/evdi/1.1.62/build/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/lib/dkms/evdi/1.1.62/build
  gcc -Wp,-MD,/var/lib/dkms/evdi/1.1.62/build/.evdi_drv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -DCC_HAVE_ASM_GOTO -Iinclude/drm  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(evdi_drv)"  -D"KBUILD_MODNAME=KBUILD_STR(evdi)" -c -o /var/lib/dkms/evdi/1.1.62/build/.tmp_evdi_drv.o /var/lib/dkms/evdi/1.1.62/build/evdi_drv.c
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/var/lib/dkms/evdi/1.1.62/build/evdi_drv.o] Error 1
make[1]: *** [_module_/var/lib/dkms/evdi/1.1.62/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-040400rc6-generic'
make: *** [all] Error 2

can anyone help me to fix this, please?
ned83 is offline   Reply With Quote
Old 05-18-2016, 11:57 AM   #2
samjam
Junior Member
 
Join Date: May 2016
Posts: 22
Default

it looks like the build system you have is not the one used to build your kernel.

Find what kernel package you have, and then try running:

apt-get update
apt-get upgrade
apt-get build-dep linux-image-3.19.0-59-generic # <-- (fix for your kernel version)

and then try again.
samjam is offline   Reply With Quote
Old 05-18-2016, 10:50 PM   #3
ned83
Junior Member
 
Join Date: May 2016
Posts: 7
Default

those instructions will downgrade my kernel version, right?

I can't do that because I need the one I have -> kernel 4.4.0-040400rc6-generic

otherwise the wifi won't work. I had to upgrade it from 4.3 (I think it was 4.3)

any other ideas?
ned83 is offline   Reply With Quote
Old 05-19-2016, 04:45 AM   #4
ned83
Junior Member
 
Join Date: May 2016
Posts: 7
Default

I've just installed the new linux kernel, 4.6, released three days ago.

Still the same error..
ned83 is offline   Reply With Quote
Old 05-19-2016, 06:46 AM   #5
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

You don't have to downgrade. Install linux-headers package that matches the kernel you're using, so /lib/modules/$(uname -r)/build points to something which has headers

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 05-19-2016, 06:52 AM   #6
ned83
Junior Member
 
Join Date: May 2016
Posts: 7
Default

so I only need to do this?

Code:
sudo apt-get install linux-headers-$(uname -r)
and then try again to install the driver?
ned83 is offline   Reply With Quote
Old 05-19-2016, 09:03 AM   #7
samjam
Junior Member
 
Join Date: May 2016
Posts: 22
Default

Quote:
Originally Posted by ned83 View Post
those instructions will downgrade my kernel version, right?

I can't do that because I need the one I have -> kernel 4.4.0-040400rc6-generic

otherwise the wifi won't work. I had to upgrade it from 4.3 (I think it was 4.3)

any other ideas?
I wasn't telling you to downgrade your kernel or even install a kernel,

This is the command I gave:

apt-get build-dep linux-image-3.19.0-59-generic # <-- (fix for your kernel version)

"build-dep" is to install the build-dependencies for whatever kernel you had installed.

But I see you got it working
samjam is offline   Reply With Quote
Old 05-19-2016, 10:25 AM   #8
Vanadium
Junior Member
 
Join Date: May 2016
Posts: 5
Default

Take a look at your kernel messages (dmesg). Perhaps you are also seeing

Code:
[10478.409066] [drm:drm_wait_vblank [drm]] *ERROR* Unsupported type value 0x40000bf, supported mask 0x7400003f
A thread has been opened on this here.
Vanadium is offline   Reply With Quote
Reply


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 07:45 AM.


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