-
Notifications
You must be signed in to change notification settings - Fork 183
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
FYI, kernels 5.14+ removed drm_irq.h and compat_alloc_user_space(). #308
Comments
I got it to build under 5.15, but I am soooo not qualified to properly fix it or debug if it actually works. Kinda need this to work on 5.15 (fixes some issues with my hardware) Edit: I can confirm my evdi fork does indeed work on 5.15 :) |
I am running Slackware64-current. I tried building evdi-kernel under 5.15 and was not able to do so. The error message is the following: What did you have to modify for it to build for you? I also downloaded the zip file from your evdi fork and still had the same issue |
Are you sure you tried my repo? I removed that import from the file... nilathedragon@273fbb0#diff-c00b60aa62f1d5ca62e486eff56f6f9a22e5659f0fcd1731e8cf83c95c409bc7L23 |
Thank you for your guidance. Somehow, even though the files were in the tar.gz file, as you mentioned, the /tmp for the build was pulling the files from some other location and overwriting them. I copied the three files manually and evdi-kernel was able to build successfully |
@FBobbioC Glad that worked out for you! |
@Infinytum Thanks for your repo, are you interested in other merges as well? Does seem the current developers don't really seem to care. |
What merges would you have in mind? |
However I still think they should do more about the performance issues everyone has when using this module. |
@francoism90 Merged that PR into my repo. |
Thank You everyone here! I just made fork package for arch users with kernel 5.15+ which use the @Infinytum fork for source. |
@aaronrancsik Awesome! Obligatory I use arch BTW, will take a look at it :) |
@Infinytum Would you be interested in merging this change: https://github.com/francoism90/evdi/commit/5be03ad88fa52e88cc47815fec3cb43730dcd10b It seems to mostly fix the logging issues when using |
@displaylink-emajewsk @displaylink-mlukaszek @displaylink-dkurek @lspintzyk Could we have these changes merged? Currently broken in Arch Linux. |
Hi All, we are planning to refresh the branch here on GitHub and we are indeed planning to include key PRs - sorry for the delay, the team have been occupied with other work and could not pick this up earlier. |
Hello, could you merge the patch soon ? All Arch users are blocked and need to use the fork of francoism90. |
I can compile the Kernel for 5.14 and 5.15, but the Module doesn't work. My screens stay black. |
@robmaster2016 Are you using Wayland or Xorg? It doesn't work for me at all on Xorg, but it does work fine on Wayland. |
@francoism90 @robmaster2016 Edit: I just caught it. When hot plugged dl device in x11. When I cold plug it (boot with it already plugged in), then it works. |
Hello @displaylink-mlukaszek, many thanks for your input regarding this. evdi is unfortunately not working for Linux 5.15 at the moment. |
Can confirm it works with the latest Debian kernel upgrade (5.15.3) |
It would be helpful to know the platform (CPU, graphic card) that does run the upgraded code. |
There is only one real Debian platform (amd64) ;) |
This is something that the team is actively working on. You should see PRs getting verification and getting landed, so evdi itself would let you be compatible with fresh kernels again soon. We are currently targeting to release a full driver update in December, this requires much more testing that just evdi. |
@displaylink-mlukaszek Thanks for the update, I'm looking forward to the new improved evdi module. :) |
This worked for me on kernel 5.15.4, Fedora 35. I hope new releases for Kernel 15+ are coming soon. |
I ran into this on Ubuntu 21.10 Impish. I use https://github.com/AdnanHodzic/displaylink-debian to manage display link, which is basically a big shell script to run a bunch of commands I don't quite understand that gets all the kernel modules and systemd stuff in place. For reference, this is what I did to get my monitors working again after updating to kernel 5.15.4.
If you're not using |
To be clear I did finally get it working with the adapter I had bought, but I had terrible ghosting on all my displays and just "broken" looking rendering. Sub-optimal at best and definitely not usable for day to day work. Will be returning the adapter unfortunately. Took a chance hoping for the best, but it just didn't work out for my current setup. Followed steps listed here in combination with displaylink-debian in case it helps anyone else. |
This did not do the trick for me. Now it is complaining about missing drm/drm-drv.h
Running Debian Sid with follwing kernel : |
@chriscarpenter12 If this is correct (I cannot verify, not running Debian), this would overwrite the evdi files each time. When do you overwrite the files? Think @F4FXL keeps getting the old one. Better would be DisplayLink just releasing a new evdi module. |
After running
Can't agree more. I was just trying to get something working. |
This worked for me! PopOS update broke my display, this was the 3rd fix I tried and it works perfectly so far :) Pop!_OS 21.10 - 5.15.5-76051505-generic |
@amija004 did you do all of those steps or just
|
When I try to just patch the EVDI 1.9.1 source on my Pop!_OS 21.04 system(System76 hardware), and then run
|
GA or HWE Kernel? |
Devel branch already has the proper fixes for Kernel 5.15. |
@timnolte I patched the notes according to the diff files. Basically just removed a bunch of code blocks iirc. I'm pretty sure these changes would be overwritten by a relevant update
I got this until I overwrote the evdi files. I needed to chown them and apply the changes manually. That was really the only step in the process necessary for me to get the dkms install to work. |
@amija004 interesting, I tried patching the EVDI files and still got an error. |
@timnolte I'm running through my history to figure out what I did, sorry for the lack of clarity. I used the ubuntu installer instead of the debian. I completely uninstalled evdi as I had tried to use the APT version, ran the ubuntu installer, grabbed the EVDI from the given source, modified the files in the manner described, and then dkms install evdi/1.9.1. It works, but I have to manually power down, software shutdown hangs. Small price to pay for working screens imo. |
@amija004 huh, I think I may just bite the bullet and find a new dock that doesn't require DisplayLink, and hopefully also no EVDI. I'm not really OK with a buggy solution in my work machine. If it was just a personal machine that wasn't used as much I'd be OK dealing with some buggy issues but not when my time is going to cost either my company or my clients time or money. |
I was thinking the same too, I am tired of having to fiddle around and will look for a more turnkey solution. |
From similar discussions (and conclusions, ie. to buy a different device), here's a non-displaylink recommendation from @GraemeDBlue |
First check if the latest version is a beta version. If it is => try to download previous version
So it's possible that the DisplayLink team are keeping this relatively quiet because there may be further work in-progress, but after running into this same issue today, and for anyone curious to try it out: 288f4b6 (within this repository) has resolved the |
This has been fixed in evdi 1.10 |
why is this closed when it's still an issue? |
apt info evdi-dkms still has this issue |
As you can see your version is 1.9 and not 1.10. We don't maintain the "evdi-dkms" package, its updates rely on a third party. |
for the records, on Debian side : https://tracker.debian.org/pkg/evdi 1.10 tar gz available, not yet packaged I installed from these packaged source and it works fine. |
you mentioned that you have your own repo. Can you send me the details? |
I don't believe I did. For now, the only official way to get the software is here: https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu If the company lets me set up actual repos, I'll tell you. 😋 I'd be happy to do it. |
Thank you very much man!! It worked perfectly for me. |
As a heads-up evdi cannot build on kernels at or beyond 5.15. Looks like drm_irq.h actually isn't used, but I don't know my ioctls well enough to poke at the compat_alloc_user_space() issue.
Really wish this were upstream. Really wish I had done the research to find the binary blob issue. sigh.
The text was updated successfully, but these errors were encountered: