DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
717 stars 187 forks source link

Fedora 25 Support #64

Closed ghost closed 7 years ago

ghost commented 7 years ago

so EVDI ( not without bugs works on Fedora 24 and its actually better than on ubuntu ! ), Problem comes with Fedora 25,

F25 evdi doesnt work at all. 4.8.8-300.fc25

Fedora 25, up to date. Displaylink installed without any issues.

https://gist.github.com/ment0s/fc9a11c6b77a41870e215e7a5d4522dc

Tried running Xorg session with the same effect.

rhofour commented 7 years ago

I just tried to install the DisplayLink driver following the instructions here.

It seems the post-install script failed for me. On tracking that down I found I'm failing to build evdi 1.0.68 on kernel 4.8.8-300.fc25.x86_64

https://gist.github.com/rhofour/c5c64cda0e9ed7144d5e0d570f47e5df

@ment0s : Did you install it differently?

rhofour commented 7 years ago

And now I see the release notes for evdi v1.2.64 specifically mention fixes for 4.8. Looks like that's probably my problem.

rhofour commented 7 years ago

Once I installed the RPM from the displaylink-rpm project everything just worked (on xorg). Having some minor issues (like my cursor disappearing over certain UI elements), but overall it works for me with F25.

ghost commented 7 years ago

Well, I installed latest binary from displaylink website for ubuntu, it works on f24 and 25 after dkms and kernel sources and kernel devel installed. Well, Im going to ask fedora people what changed when it comes to discrete graphics on f25 maybe this is an issue.

displaylink-mlukaszek commented 7 years ago

Thanks for the reports, this confirms there are no problems with evdi on Fedora.

bicarbonate commented 7 years ago

ment0s, What kernel version did you use on F25?

bicarbonate commented 7 years ago

ment0s, So all you did was install teh Ubuntu binaries, kernel/dkms devel packages and sources and it works? Runs automatically after reboot? Xorg or Wayland?

chavafg commented 7 years ago

I was able to install just as @ment0s said. I have kernel 4.8.16-300.fc25.x86_64 and it worked after installing it (without reboot required) on xorg. On wayland, it does not work for me.

reypm commented 7 years ago

For me doesn't work on kernel 4.9.10-200 any ideas?

displaylink-mlukaszek commented 7 years ago

It will certainly not work on Wayland, see #58 - but should work with X.

bicarbonate commented 7 years ago

On Fri, Mar 3, 2017 at 7:21 AM, Michal Lukaszek notifications@github.com wrote:

It will certainly not work on Wayland, see #58 https://github.com/DisplayLink/evdi/issues/58 - but should work with X.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DisplayLink/evdi/issues/64#issuecomment-283965202, or mute the thread https://github.com/notifications/unsubscribe-auth/AHaK5NcoNISmDckMla2CbFrL-PQBujDzks5riCH2gaJpZM4K_Dpg .

DisplayLink and F25 will only work for me, on a USB-C dock. USB3 will pass all but the display signal. Meaning ethernet and usb passthrough works like a champ.

bicarbonate commented 7 years ago

I honestly have not tried Xorg.. I did not want to have to take a step backwards however I will test it tonight and report back.

reypm commented 7 years ago

USB3 will pass all but the display signal

That's exactly why I need

reypm commented 7 years ago

It will certainly not work on Wayland, see #58 - but should work with X.

@displaylink-mlukaszek I get rid of Wayland and I am now on X but running modprobe evdi throws the following message:

modprobe: FATAL: Module evdi not found in directory /lib/modules/4.9.13-200.fc25.x86_64

Any ideas?

ghost commented 7 years ago

@reypm Your evdi module didnt build, run installer again against 4.9.13 but remember to sudo dnf install dkms kernel-devel kernel-headers -y

Get ubuntu installer or install from https://github.com/displaylink-rpm/displaylink-rpm/releases

reypm commented 7 years ago

@ment0s I have installed the latest release for Fedora 25 from the site you linked me but something wrong is going wrong on my PC, check this issue I've open to the RPM contributor

reypm commented 7 years ago

@ment0s @displaylink-mlukaszek here you have a full trace of what I did with the same result. First of all I have made some research and this links comes up:

I am using the latest Updated F25 Live isos from: http://tinyurl.com/Live-respins2

Transaction Summary

Install 2 Packages … Installed: dkms.noarch 2.3-1.20161202gitde1dca9.fc25 kernel-devel.x86_64 4.9.13-200.fc25

- Check SELinux status (I have disabled previously)

$ getenforce Disabled

- Installing your RPM package:

wget https://github.com/displaylink-rpm/displaylink-rpm/releases/download/v1.3.52/fedora-25-displaylink-1.3.43-2.x86_64.rpm

ls -la

total 3180 drwxr-xr-x. 2 rperez rperez 4096 Mar 5 15:32 . drwx------. 16 rperez rperez 4096 Mar 5 15:32 .. -rw-rw-r-- 1 rperez rperez 3244390 Feb 21 09:33 fedora-25-displaylink-1.3.43-2.x86_64.rpm

- Before installing, verify that there’s nothing hidden on the rpm.Basic information (Step 3 [here][1])

rpm -qip fedora-25-displaylink-1.3.43-2.x86_64.rpm

Name : displaylink Version : 1.3.43 Release : 2 Architecture: x86_64 Install Date: (not installed) Group : User Interface/X Hardware Support Size : 8950221 License : GPL v2.0, LGPL v2.1 and Proprietary Signature : (none) Source RPM : displaylink-1.3.43-2.src.rpm Build Date : Tue 21 Feb 2017 09:33:38 AM EST Build Host : 23cc5818b01c Relocations : (not relocatable) Summary : DisplayLink VGA/HDMI driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx adapters Description : This adds support for HDMI/VGA adapters built upon the DisplayLink DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx series of chipsets. This includes numerous docking stations, USB monitors, and USB adapters.

- Files that the rpm deploys:

rpm -qlp fedora-25-displaylink-1.3.43-2.x86_64.rpm

/etc/udev/rules.d/99-displaylink.rules /usr/lib/systemd/system-sleep/displaylink.sh /usr/lib/systemd/system/displaylink.service /usr/libexec/displaylink /usr/libexec/displaylink/DisplayLinkManager /usr/libexec/displaylink/ella-dock-release.spkg /usr/libexec/displaylink/firefly-monitor-release.spkg /usr/libexec/displaylink/libevdi.so /usr/share/doc/displaylink /usr/share/doc/displaylink/LICENSE /usr/src/evdi-1.3.43 /usr/src/evdi-1.3.43/Kconfig /usr/src/evdi-1.3.43/LICENSE /usr/src/evdi-1.3.43/Makefile /usr/src/evdi-1.3.43/dkms.conf /usr/src/evdi-1.3.43/evdi_connector.c /usr/src/evdi-1.3.43/evdi_cursor.c /usr/src/evdi-1.3.43/evdi_cursor.h /usr/src/evdi-1.3.43/evdi_debug.c /usr/src/evdi-1.3.43/evdi_debug.h /usr/src/evdi-1.3.43/evdi_drm.h /usr/src/evdi-1.3.43/evdi_drv.c /usr/src/evdi-1.3.43/evdi_drv.h /usr/src/evdi-1.3.43/evdi_encoder.c /usr/src/evdi-1.3.43/evdi_fb.c /usr/src/evdi-1.3.43/evdi_gem.c /usr/src/evdi-1.3.43/evdi_ioc32.c /usr/src/evdi-1.3.43/evdi_main.c /usr/src/evdi-1.3.43/evdi_modeset.c /usr/src/evdi-1.3.43/evdi_painter.c /usr/src/evdi-1.3.43/evdi_stats.c /var/log/displaylink

- Scripts that the rpm runs:

rpm -qp --scripts fedora-25-displaylink-1.3.43-2.x86_64.rpm

postinstall scriptlet (using /bin/sh): /usr/bin/systemctl daemon-reload /usr/bin/systemctl -q is-enabled dkms.service || /usr/bin/systemctl enable dkms.service for kernel in $(rpm -q kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}\n') ;do /sbin/dkms install evdi/1.3.43 -k $kernel >> /var/log/displaylink/displaylink.log 2>&1 done preuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ] ;then /usr/bin/systemctl -q is-active displaylink.service && /usr/bin/systemctl stop displaylink.service /sbin/dkms remove evdi/1.3.43 --all >> /var/log/displaylink/displaylink.log fi postuninstall scriptlet (using /bin/sh): /usr/bin/systemctl daemon-reload

- Triggers?:

rpm -qp --triggers fedora-25-displaylink-1.3.43-2.x86_64.rpm

- All good? ok, install the rpm:

rpm -ivh fedora-25-displaylink-1.3.43-2.x86_64.rpm

Preparing... ################################# [100%] Updating / installing... 1:displaylink-1.3.43-2 ################################# [100%] warning: %post(displaylink-1.3.43-2.x86_64) scriptlet failed, exit status 1


For some reason your RPM fails to install and I don't know what is missing here:
- Verify that the module has been compiled correctly:

ll /lib/modules/$(uname -r)/extra/evdi.ko

ls: cannot access '/lib/modules/4.9.13-200.fc25.x86_64/extra/evdi.ko': No such file or directory

- Check service status

systemctl status displaylink.service

● displaylink.service - DisplayLink Manager Service Loaded: loaded (/usr/lib/systemd/system/displaylink.service; static; vendor preset: disabled) Active: inactive (dead)



Can I get any help with this?

 [1]: http://nothen.com.ar/en/support-for-displaylink-adapters-on-linux/
mmi-rperez commented 7 years ago

Well, I installed latest binary from displaylink website for ubuntu, it works on f24 and 25 after dkms and kernel sources and kernel devel installed. Well, Im going to ask fedora people what changed when it comes to discrete graphics on f25 maybe this is an issue.

@ment0s can you describe what you did in here? I can't make it to work :-(

bicarbonate commented 7 years ago

On Mar 7, 2017 1:26 PM, "Reynier Perez" notifications@github.com wrote:

Well, I installed latest binary from displaylink website for ubuntu, it works on f24 and 25 after dkms and kernel sources and kernel devel installed. Well, Im going to ask fedora people what changed when it comes to discrete graphics on f25 maybe this is an issue.

@ment0s https://github.com/ment0s can you describe what you did in here? I can't make it to work :-(

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DisplayLink/evdi/issues/64#issuecomment-284848122, or mute the thread https://github.com/notifications/unsubscribe-auth/AHaK5NduVvwipd1OA-upQVoFkZ8D634Bks5rjb1wgaJpZM4K_Dpg .

Same. What kernel are you running? Can you post versions like a yum list installed perhaps?

reypm commented 7 years ago

@bicarbonate I am running 4.9.13-200.fc25.x86_64 and before that 4.9.12-200.fc25.x86_64 check the previous post I have explained everything I did. If you need anything else from my side let me know and I'll be providing you with the info. Anyway here you go:

$ rpm -qa kernel
kernel-4.9.12-200.fc25.x86_64
kernel-4.9.11-200.fc25.x86_64
kernel-4.9.13-200.fc25.x86_64