New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel 5.9 - Unable to compile the rpm for Fedora 33 #154
Comments
Correct. EVDI 1.8 does not work with the currently released DisplayLink driver, 5.3.1. Kernel 5.9 requires some patches to EVDI. We are waiting on upstream to merge into EVDI 1.7. Please see: DisplayLink/evdi#225 and DisplayLink/evdi#228 PS: If you depend on DisplayLink, I would stick to the prior kernel 5.8 in Fedora 33 until this is resolved upstream. |
I cannot build the rpm even if I am in kernel 5.8, is it normal? In the log it seems that there is some mess between evdi 1.7 and 1.8. |
If you are on Fedora 33, you can use the latest package released here. No need to compile a new RPM. Even though it says for Fedora 32, it works on Fedora 33 still. To clean out anything left over which might be causing issues installing, check out this comment: #149 (comment) In regards to compiling, the logs above does not show the command you used. If you did a simple 'make`, it should have worked. I just tested it using the latest from this repo. |
I do not understand the problem, it happens in two different computers. I tried both |
You can use 5.9.x with DisplayLink/evdi#228 😊 I wouldn't recommend staying on 5.8 but I also don't recommend using random PRs. Choice is yours, but the PR works good! |
@sickcodes I referenced that issue in an earlier comment. 5.9 just came out at the beginning of this week. Unless there is a security reason requiring one to use the latest and greatest kernel on F33, I don't see why we can't wait a little bit. The issue is that he is not being able to compile at all on 5.8 or 5.9. We are missing something in the order that we are doing things and I am not seeing it from the logs posted. I am just throwing out ideas to help. From what has been stated, he is getting a mix of the new code in the evdi repo that is under dev (1.8.x) and trying to use the code from this repo which is expecting to work with version 1.7.x. That is what I believe his issue is. @enriqueartal I would run |
Correct, Arch users are using evdi 1.7, with my cherry pick, on 5.9 kernel. 1.8 doesn't work for anyone yet I believe |
Thanks for your indications. I was able to build and install the rpm with kernel 5.8 and with |
I checked only ethernet and usb and it works. I will check tomorrow vga and hdmi. |
I can confirm vga and hdmi also works. I need a reboot for vga to work, but this is not new, it happened with kernel 5.8. Thanks for your help and let me know if some more tests are needed. |
FYI, evdi released 1.7.1 officially today, which adds support for kernel 5.9 🎉 |
Hi, someone was able to install package on Fedora 33 generated after evdi update? Currently dnf asks for following dependencies:
Which should only be required for RHEL 7 according to 771ecb8 |
@GrzegorzBB Can you provide details on how you are trying to install? 1.7.1 has an issue that breaks our build here. We are skipping that release here since the agreement with the folks over in the evdi repo is to tag 1.7.2 when kernel 5.10 is released, which should be this weekend. We have been submitting some PRs to help with the next release. Also, we have not updated things for the 1.7.2 yet. There was a PR for 1.7.2 which was just accepted, depending on where you live, overnight. Things are being ironed out in hopes of a release with kernel 5.9 and kernel 5.10 support by next week. |
@elguero I simply generated package from master using make without any changes. Before installation I removed old package, than I executed following command:
Thanks for explanation, fingers crossed ;). |
@elguero 1.7.2 is not coming out because Derek put both fixes for 5.9 and 5.10 in 1.7.1 he stated |
@sickcodes I think you misunderstood. The fix for 5.9 was put in v1.7.x and tagged as 1.7.1. Then the fix for 5.10 was put in v1.7.x which has not been tagged yet. There was an issue with the 1.7.1 tag. The module version was not set properly. That has been fixed and merged into v1.7.x branch. That means that when 1.7.2 is tagged, it will have the fixes for 5.9, 5.10 and the proper module version (1.7.2) set. |
@GrzegorzBB Thanks for the additional info. You pulled down latest code from master and there was an error in the logic of the spec file checking for RHEL distro and version. Thanks for testing and reporting it. |
New release has been created which should resolve this issue. |
I have been trying to get a new rpm since it does not work for the kernel 5.9. The problem is that I cannot build it since at some point it mixes 1.7 and 1.8 evdi versions. In the log I get:
make[2]: Entering directory '/var/tmp/displayportecebwC/displaylink-1.7.0/evdi-1.7.0/library'
cc -I../module -std=gnu99 -fPIC -c -o evdi_lib.o evdi_lib.c
make[2]: Leaving directory '/var/tmp/displayportecebwC/displaylink-1.7.0/evdi-1.7.0/library'
make[2]: Entering directory '/var/tmp/displayportecebwC/displaylink-1.7.0/evdi-1.7.0/library'
cc evdi_lib.o -shared -Wl,-soname,libevdi.so.0 -o libevdi.so.1.8.0 -lc -lgcc
cp libevdi.so.1.8.0 libevdi.so
make[2]: Leaving directory '/var/tmp/displayportecebwC/displaylink-1.7.0/evdi-1.7.0/library'
++ jobs -p
Ejecutando(%install): /bin/sh -e /var/tmp/displayport6I0Vg6/rpm-tmp.cF83IO
++ dirname /var/tmp/displayportVFCZyu/displaylink-1.7.0-2.rawhide.20201103T083103Z.i386
/var/tmp/displayportVFCZyu/displaylink-1.7.0-2.rawhide.20201103T083103Z.i386/usr/src/evdi-1.7.0 /var/tmp/displayportecebwC/displaylink-1.7.0
/var/tmp/displayportecebwC/displaylink-1.7.0
cp: cannot stat 'evdi-1.7.0/library/libevdi.so.1.7.0': No such file or directory
There is another (maybe) unrelated issue. I can only install or erase the rpm with rpm, not with dnf.
The text was updated successfully, but these errors were encountered: