DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   Custom RPM created for Fedora and others (https://displaylink.org/forum/showthread.php?t=64026)

philtrick 01-06-2016 10:16 AM

Quote:

Originally Posted by enothen (Post 79334)
Looks like you're missing kernel-headers. Run "rpm -q kernel kernel-core kernel-devel kernel-headers | sort" and check that you have matching versions. I'm running the lastest on F24, so it looks like this:

# rpm -q kernel kernel-core kernel-devel kernel-headers | sort
kernel-4.2.8-300.fc23.x86_64
kernel-core-4.2.8-300.fc23.x86_64
kernel-devel-4.2.8-300.fc23.x86_64
kernel-headers-4.2.8-300.fc23.x86_64

Eric

Hi Eric,

Thanks for the reply, I ended up uninstalling the kernel-headers and kernel devel and then re-installing, it works fine now.

All I have to do is figure out why the VGA port works but the HDMI port doesn't.

Phil

firelink4 02-23-2016 04:01 PM

Update: I followed Coldfire's suggestion earlier in this thread and downgraded xorg (dnf --showduplicates --allowerasing --releasever=22 downgrade xorg-x11-server-Xorg). Everything is now working again and the menus actually show up in the correct monitors this time.

Been using this RPM for about 3 weeks now with no issues other than the menus(right click, file, edit, etc etc) refusing to open up on the display-link monitors and having to reconfigure the monitor positions on boot.

Fedora had some upgrades earlier today and as of right now I can't seem to be able to get the ports on the dock to work. They're recognized and I can see them inside the "configure displays" section of gnome, but I only see static on either monitor. No change if I move the mouse to the displays. If I restart gnome, I get to see my background, but still no update if I move my mouse to the dock monitors. There's also artifacts on my main monitor wherever my cursor ends up.

Details:

Laptop: XPS 13 9343
Dock: D3100
OS: Fedora 23 Workstation
Kernel: 4.3.5-300.fc23.x86_64

Quote:

[~:#] rpm -q kernel kernel-core kernel-devel kernel-headers displaylink| sort
displaylink-1.0.335-1.x86_64
kernel-4.3.4-200.fc22.x86_64
kernel-4.3.5-300.fc23.x86_64
kernel-core-4.3.4-200.fc22.x86_64
kernel-core-4.3.5-300.fc23.x86_64
kernel-devel-4.3.4-200.fc22.x86_64
kernel-devel-4.3.5-300.fc23.x86_64
kernel-headers-4.3.5-300.fc23.x86_64
Contents of displaylink.log:

Quote:

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make KERNELRELEASE=4.3.5-300.fc23.x86_64 all INCLUDEDIR=/lib/modules/4.3.5-300.fc23.x86_64/build/include KVERSION=4.3.5-300.fc23.x86_64 DKMS_BUILD=1....
cleaning build area...(bad exit status: 2)

DKMS: build completed.

evdi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.3.5-300.fc23.x86_64/extra/
Adding any weak-modules

depmod....

DKMS: install completed.

Quote:

[/var/lib/dkms:#] lsmod | grep evdi
evdi 36864 2
drm_kms_helper 122880 2 i915,evdi
drm 335872 14 i915,evdi,drm_kms_helper
Let me know if there's anything else I can provide...

jfha73 06-30-2016 12:38 PM

Is there a RPM for Fedora 24?
 
Hey guys,

I downloaded and installed the latest version of this driver on my Fedora 24, but from time to time the screens connected to the docking station start flickering, this did not happen when I had Fedora 23 with the same driver.

Any ideas?

Thanks.

lsarrat 07-13-2016 02:22 PM

Fedora 24 4.6.3-300.fc24.x86_64 & Displaylink-1.1.65-2.x86_64
 
I am able to compile, install and get the service running, but when I do plug a monitor, nothing happen.
(was working previously with f23)
Was anybody successful with f24 4.6.3 and displaylink ?

Thx for your help

Laurent

aaronjcopley 08-17-2016 03:19 PM

Quote:

Originally Posted by azothforgotten (Post 78198)
I had to sign the kernel mod with a private/public key pair to get it to run on my Lenovo because I dual boot with Windows 10 and it uses secure boot. I guess you could disable secure boot if that's easier.

Any information on how you sign the driver? I'd like to keep SecureBoot enabled. Thank in advance.

samjam 09-01-2016 01:10 PM

See: http://www.displaylink.org/forum/sho...42&postcount=6
and
http://www.displaylink.org/forum/sho...69&postcount=4

MartinHerrman 09-04-2016 07:25 PM

I'm using fedora 24 workstation, which is currently running a 4.7 kernel. I reinstalled the package:

Code:

# dnf reinstall displaylink-1.0.335-1.x86_64.rpm
Last metadata expiration check: 0:55:17 ago on Sun Sep  4 20:02:38 2016.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                            Arch                                          Version                                            Repository                                            Size
===================================================================================================================================================================================================================
Reinstalling:
 displaylink                                        x86_64                                        1.0.335-1                                          @commandline                                        2.6 M

Transaction Summary
===================================================================================================================================================================================================================

Total size: 2.6 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Reinstalling: displaylink-1.0.335-1.x86_64                                                                                                                                                                  1/2
warning: %post(displaylink-1.0.335-1.x86_64) scriptlet failed, exit status 10
Non-fatal POSTIN scriptlet failure in rpm package displaylink
Non-fatal POSTIN scriptlet failure in rpm package displaylink
  Erasing    : displaylink-1.0.335-1.x86_64                                                                                                                                                                  2/2
  Verifying  : displaylink-1.0.335-1.x86_64                                                                                                                                                                  1/2
  Verifying  : displaylink-1.0.335-1.x86_64                                                                                                                                                                  2/2

Reinstalled:
  displaylink.x86_64 1.0.335-1                                                                                                                                                                                   

Complete!

But unfortunately it doesn' t work. The EVDI module cannot be compiled. It looks like I have an incompatible library that provides DRM functions. Anyone who has an idea how this can be fixed?

Code:

  gcc -Wp,-MD,/var/lib/dkms/evdi/1.0.335/build/.evdi_encoder.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/6.1.1/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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -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=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -Iinclude/drm  -DMODULE  -DKBUILD_BASENAME='"evdi_encoder"'  -DKBUILD_MODNAME='"evdi"' -c -o /var/lib/dkms/evdi/1.0.335/build/evdi_encoder.o /var/lib/dkms/evdi/1.0.335/build/evdi_encoder.c
/var/lib/dkms/evdi/1.0.335/build/evdi_modeset.c:124:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .fb_create = evdi_fb_user_fb_create,
                ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.0.335/build/evdi_modeset.c:124:16: note: (near initialization for ‘evdi_mode_funcs.fb_create’)
/var/lib/dkms/evdi/1.0.335/build/evdi_modeset.c: In function ‘evdi_modeset_init’:
/var/lib/dkms/evdi/1.0.335/build/evdi_modeset.c:148:3: error: too many arguments to function ‘drm_dev_set_unique’
  drm_dev_set_unique(dev, "%s", dev_name(dev->dev));
  ^~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/evdi/1.0.335/build/evdi_modeset.c:14:0:
include/drm/drmP.h:1085:5: note: declared here
 int drm_dev_set_unique(struct drm_device *dev, const char *name);
    ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/evdi/1.0.335/build/evdi_modeset.o' failed
make[2]: *** [/var/lib/dkms/evdi/1.0.335/build/evdi_modeset.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/evdi/1.0.335/build/evdi_encoder.c: In function ‘evdi_encoder_init’:
/var/lib/dkms/evdi/1.0.335/build/evdi_encoder.c:72:12: error: too few arguments to function ‘drm_encoder_init’
  status = drm_encoder_init(dev, encoder, &evdi_enc_funcs, DRM_MODE_ENCODER_TMDS);
            ^~~~~~~~~~~~~~~~
In file included from include/drm/drmP.h:68:0,
                from /var/lib/dkms/evdi/1.0.335/build/evdi_encoder.c:13:
include/drm/drm_crtc.h:2283:5: note: declared here
 int drm_encoder_init(struct drm_device *dev,
    ^~~~~~~~~~~~~~~~
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/evdi/1.0.335/build/evdi_encoder.o' failed
make[2]: *** [/var/lib/dkms/evdi/1.0.335/build/evdi_encoder.o] Error 1
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/evdi/1.0.335/build/evdi_connector.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/evdi/1.0.335/build/evdi_connector.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/evdi/1.0.335/build/evdi_drv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/var/lib/dkms/evdi/1.0.335/build/evdi_drv.o"; fi; fi;
Makefile:1461: recipe for target '_module_/var/lib/dkms/evdi/1.0.335/build' failed
make[1]: *** [_module_/var/lib/dkms/evdi/1.0.335/build] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.7.2-201.fc24.x86_64'
Makefile:18: recipe for target 'all' failed
make: *** [all] Error 2


RobertCochran 09-06-2016 06:05 PM

The evdi module included in this package does not support 4.7.x or greater series kernels. You will have to build evdi and libevdi from source, or wait for an updated package.

MartinHerrman 09-11-2016 12:48 PM

Thanks! After installing libdrm-devel I could compile the latest code which I downloaded from the GIT repository. I copied the module to the /lib/modules/kernel/misc directory and ran depmod. Finally I reinstalled the displaylink rpm.

Will test the result tomorrow at work!

MartinHerrman 09-12-2016 11:21 AM

Test, disconnect and reconnect the dock:

Code:

[16893.602902] usb 2-2: USB disconnect, device number 8
[16893.602911] usb 2-2.1: USB disconnect, device number 11
[16893.605431] usb 2-2.2: USB disconnect, device number 9
[16893.607037] usb 2-2.3: USB disconnect, device number 10
[16893.608267] cdc_ncm 2-2.3:1.5 enp0s20u2u3i5: unregister 'cdc_ncm' usb-0000:00:14.0-2.3, CDC NCM
[16893.622576] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8800c30c9600 tries to close us
[16893.622579] evdi: [W] evdi_painter_disconnect:463  - ignoring
[16893.622585] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8800c30c9600 tries to close us
[16893.622587] evdi: [W] evdi_painter_disconnect:463  - ignoring
[16893.652409] usb 1-2: USB disconnect, device number 8
[16893.652414] usb 1-2.2: USB disconnect, device number 9
[16893.652417] usb 1-2.2.4: USB disconnect, device number 10
[16900.672034] usb 1-2: new high-speed USB device number 11 using xhci_hcd
[16900.839107] usb 1-2: New USB device found, idVendor=2109, idProduct=2812
[16900.839112] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16900.839114] usb 1-2: Product: USB2.0 Hub           
[16900.839116] usb 1-2: Manufacturer: VIA Labs, Inc.       
[16900.840724] hub 1-2:1.0: USB hub found
[16900.841157] hub 1-2:1.0: 4 ports detected
[16900.939305] usb 2-2: new SuperSpeed USB device number 12 using xhci_hcd
[16901.187261] usb 2-2: New USB device found, idVendor=2109, idProduct=0812
[16901.187270] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16901.187275] usb 2-2: Product: USB3.0 Hub           
[16901.187278] usb 2-2: Manufacturer: VIA Labs, Inc.       
[16901.191660] hub 2-2:1.0: USB hub found
[16901.191942] hub 2-2:1.0: 4 ports detected
[16901.260001] usb 1-2.2: new high-speed USB device number 12 using xhci_hcd
[16901.348305] usb 1-2.2: New USB device found, idVendor=2109, idProduct=2812
[16901.348308] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16901.348310] usb 1-2.2: Product: USB2.0 Hub           
[16901.348311] usb 1-2.2: Manufacturer: VIA Labs, Inc.       
[16901.349660] hub 1-2.2:1.0: USB hub found
[16901.350310] hub 1-2.2:1.0: 4 ports detected
[16901.559354] usb 2-2.2: new SuperSpeed USB device number 13 using xhci_hcd
[16901.807336] usb 2-2.2: New USB device found, idVendor=2109, idProduct=0812
[16901.807339] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16901.807341] usb 2-2.2: Product: USB3.0 Hub           
[16901.807342] usb 2-2.2: Manufacturer: VIA Labs, Inc.       
[16901.810092] hub 2-2.2:1.0: USB hub found
[16901.810336] hub 2-2.2:1.0: 4 ports detected
[16901.924021] usb 1-2.2.4: new low-speed USB device number 13 using xhci_hcd
[16902.059458] usb 1-2.2.4: New USB device found, idVendor=413c, idProduct=2107
[16902.059462] usb 1-2.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[16902.059464] usb 1-2.2.4: Product: Dell USB Entry Keyboard
[16902.059465] usb 1-2.2.4: Manufacturer: Dell
[16902.063974] input: Dell Dell USB Entry Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.2/1-2.2.4/1-2.2.4:1.0/0003:413C:2107.0005/input/input20
[16902.115366] hid-generic 0003:413C:2107.0005: input,hidraw1: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-0000:00:14.0-2.2.4/input0
[16902.184025] usb 2-2.3: new SuperSpeed USB device number 14 using xhci_hcd
[16902.195492] usb 2-2.3: New USB device found, idVendor=17e9, idProduct=436e
[16902.195496] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16902.195497] usb 2-2.3: Product: Dell USB3.0 Dock
[16902.195498] usb 2-2.3: Manufacturer: DisplayLink
[16902.195499] usb 2-2.3: SerialNumber: 1503302068
[16902.205827] usb 2-2.3: Warning! Unlikely big volume range (=511), cval->res is probably wrong.
[16902.205831] usb 2-2.3: [16] FU [Dell USB Audio Playback Volume] ch = 6, val = -8176/0/16
[16902.206643] usb 2-2.3: Warning! Unlikely big volume range (=767), cval->res is probably wrong.
[16902.206646] usb 2-2.3: [13] FU [Mic Capture Volume] ch = 2, val = -4592/7680/16
[16902.230323] cdc_ncm 2-2.3:1.5: MAC-Address: 9c:eb:e8:1e:6d:aa
[16902.230327] cdc_ncm 2-2.3:1.5: setting rx_max = 16384
[16902.230424] cdc_ncm 2-2.3:1.5: setting tx_max = 16384
[16902.230645] cdc_ncm 2-2.3:1.5 usb0: register 'cdc_ncm' at usb-0000:00:14.0-2.3, CDC NCM, 9c:eb:e8:1e:6d:aa
[16902.407171] usb 2-2.1: new SuperSpeed USB device number 15 using xhci_hcd
[16902.418772] usb 2-2.1: New USB device found, idVendor=17e9, idProduct=436e
[16902.418775] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16902.418777] usb 2-2.1: Product: Dell USB3.0 Dock
[16902.418778] usb 2-2.1: Manufacturer: DisplayLink
[16902.418779] usb 2-2.1: SerialNumber: 1503302068B
[16902.468716] cdc_ncm 2-2.3:1.5 enp0s20u2u3i5: renamed from usb0
[16902.488895] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2u3i5: link is not ready
[16902.488991] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2u3i5: link is not ready
[16902.511469] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8800c2e09200 tries to close us
[16902.511471] evdi: [W] evdi_painter_disconnect:463  - ignoring
[16904.244808] evdi: [E] evdi_painter_connect:405 Edid length too large

[16904.976758] cdc_ncm 2-2.3:1.5 enp0s20u2u3i5: 1000 mbit/s downlink 1000 mbit/s uplink
[16904.992781] cdc_ncm 2-2.3:1.5 enp0s20u2u3i5: network connection: connected
[16904.992810] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2u3i5: link becomes ready

Module is loaded:

Code:

lsmod | grep evdi
evdi                  40960  2
drm_kms_helper        143360  2 i915,evdi
drm                  344064  13 i915,evdi,drm_kms_helper

Kernel:

Code:

uname -r
4.7.2-201.fc24.x86_64

Installed RPM: displaylink-1.0.335-1.x86_64.rpm

Any ideas?


All times are GMT. The time now is 06:36 AM.

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