-
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
Error building evdi on Fedora 39 / Linux 6.7.9 #461
Comments
The below commit seem to be to blame
|
I also ran into this. I'm not sure if this is the right way to handle this, but I worked around it with the following. I cast, what I think is the smaller type of diff --git a/module/evdi_gem.c b/module/evdi_gem.c
index efae6e1..46dc5fa 100644
--- a/module/evdi_gem.c
+++ b/module/evdi_gem.c
@@ -211,7 +211,7 @@ int evdi_gem_fault(struct vm_fault *vmf)
page_offset = (vmf->address - vma->vm_start) >> PAGE_SHIFT;
- if (!obj->pages || page_offset >= num_pages)
+ if (!obj->pages || (loff_t)page_offset >= num_pages)
return VM_FAULT_SIGBUS;
page = obj->pages[page_offset]; |
@tanj the same Issue still occurs on Pop_OS! (kernel 6.8.0) /my/directory/path/evdi/module/evdi_gem.c: In function ‘evdi_gem_fault’: |
Fixed in 1.14.3 |
on DisplayLink's website?
The same device works fine with either Windows and with KDE-Neon using the Ubuntu packages from the Synaptic web site.
Building evdi
Linux kernel version
6.7.9-200.fc39.x86_64
Xorg version (if used)
Plasma 5.27.11, kwin, Not really relevant.
Desktop environment in use
KDE/Plasma, not really relevant.
I am hoping that building a newer version of evdi will solve the issue, as I dont know what else to look at. (The problem I am trying to solve is best described by watching this video: https://youtu.be/uZeN9UesBUY)
The error below occurs when trying to build.
The text was updated successfully, but these errors were encountered: