-
Notifications
You must be signed in to change notification settings - Fork 186
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
drmP.h removed in linux 5.5 #185
Comments
I just updated to 5.5.1 and am also experiencing this issue. I've tried to patch with by replacing headers. First, I replaced <drm/drmP.h> with the following: However, it seems like <linux/reservation.h> is missing too. I'm going to continue trying to patch this, as I need DisplayLink for work. However, I'd really appreciate some help. |
The amount of changes necessary is making my head spin. Maintainers, any assistance? |
Seems there is a PR #182 |
Sorry guys, we are falling a bit behind the kernel releases. EDIT: accidentally wrote 4.4 instead of 5.4. |
I assume you meant to write 5.4. |
Yes, 5.4. Edited :). Thanks. |
I've made a test patch for 5.5, is not correct because I think each file should have correct includes also a lot #ifdef's needed but that is something you guys need to decide. Feel free to take this one too or use parts as you wish. |
having similar issues on arch on kernel 5.5.2, using the patch got me rid of the error drmP not existing, but now i have run into another and with that idk what i should do about it. |
what issue do you have now? |
@abucodonosor thanks, but patch isn't working for me too:
|
same as @kvaps |
looks like you are using DKMS?, If so you are missing one fix I think.
|
Uh yeah, you can ignore that one. But let me do a quick all in one re-diff for you guys |
@abucodonosor that made it work, thank you very much |
There a re-diff with all 3 fixes against current git code, should work on released code too. https://crazy.dev.frugalware.org/all-in-one-kernel-5.4-and-5.5-test.patch |
ill test this one |
failed |
this patch built succesful |
patch results in a successful build |
Awesome. I'll test it tonight as well. |
With patch from #185 (comment) evdi is working fine for me # uname -r
5.5.2-arch1-1 @abucodonosor thanks a lot! |
Do you mind pushing it? Would be great to see it on AUR soon. |
I tried the all-in-one patch but wasn't successful:
|
Actually, the patch is missing #ifdef's for kernel 5.4 so it only compiles with a kernel 5.5.x. |
Can we please have this fix pushed to AUR? |
well, it was indicated as: 5.4 and 5.5 "all-in-one-kernel-5.4-and-5.5-test.patch" |
OK, so update for kernel 5.4, 5.5 and changes for DKMS build landed on devel. Hopefully I haven't missed anything :) |
When is this in the aur? |
Why do you think it is appropriate to ask here about Distribution specific packaging things in here? Please use the appropriate Distribution mechanisms for that, in this case, Thx |
Neither the patch on latest tag or the branch |
Works for me with latest devel and kernel 5.5 |
@sjau Which patch of 5.5? I'm trying to compile it on 5.5.5 |
Linux subi 5.5.5 #1-NixOS SMP Wed Feb 19 18:54:14 UTC 2020 x86_64 GNU/Linux |
Wow, it's very odd. If it helps, I'm using Ubuntu. I guess I'll try later with a VM |
What I did on Debian Bullseye Kernel 5.5, X1C6, docking Thinkpad 40AF: 1 - Download https://www.displaylink.com/downloads/file?id=1369, and:
2 - Download https://github.com/DisplayLink/evdi/archive/devel.zip and extract the content.
5 - Execute: I was using Ubuntu before and had a very large lag in the video (it looked like the keyboard was too slow, but it was just the video not being updated). On Debian, it's perfect. |
Initially please make sure the problem hasn't been already addressed:
(https://www.displaylink.com/downloads/ubuntu)
(https://github.com/DisplayLink/evdi/releases)
on DisplayLink's website?
(https://support.displaylink.com/knowledgebase/topics/103927-troubleshooting-ubuntu)
(if it is rather connected to DisplayLinkManager please take a look at support
https://support.displaylink.com or forum https://www.displaylink.org/forum/)
In Linux 5.5 the drmP.h was removed which causes breakage as
want to include that. Simply commenting out the drmP.h file in aforementions files breaks the compilation.
The nVidia drivers have the same issue, see discussion:
https://devtalk.nvidia.com/default/topic/1068332/linux/nvidia-driver-does-not-build-on-linux-v5-5-release-candidate-kernel/
The text was updated successfully, but these errors were encountered: