Open VGerris opened 1 year ago
Apologies, I missed : https://github.com/DisplayLink/evdi/pull/381 So it seems the fix is applied. Will this be released soon and can the issue be used to track that? Otherwise feel free to close it, thank you.
@VGerris in the meanwhile you can compile it yourself, as far as i can tell it should be automatically recompiled on kernel upgrade
Thats how i did it (written based on what i remember)
git clone git@github.com:DisplayLink/evdi.git
sudo mv evdi /usr/src/evdi
cd /usr/src
sudo mv evdi-1.12.0 evdi-1.12.0-backup
sudo ln -s evdi/module evdi-1.12.0
cd evdi-1.12.0
sudo make
sudo make install
This way you can also which branch / pull, adapt if changes are needed. If you reinstall or upgrade the package (rpm) the changes will be overridden.
hey guys, any chance when the merged patch can be released? I am left with one monitor only and it is an absolute pain. Cheers
That worked for me :-) Thank you @dominikzogg . perfect fix
@dominikzogg thanks for the help! I had to follow the steps from https://github.com/andikleen/simple-pt/issues/8#issuecomment-813438385 because I was getting the certs not found error, then ran sudo dkms add .
after sudo make install
so that I could get the driver to install properly because it kept failing with an error along the lines dkms module not found. After rebooting, I was able to use my USB type-c monitor 🎉 Thanks!
kernel: 6.0.6 os: pop_os 22.04
Btw 6.2 is going to need another patch:
var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdifb_create’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:408:24: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
408 | efbdev->helper.fbdev = info;
| ^~~~~
| dev
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_fbdev_destroy’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:462:28: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
462 | if (efbdev->helper.fbdev) {
| ^~~~~
| dev
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:463:39: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
463 | info = efbdev->helper.fbdev;
| ^~~~~
| dev
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_fbdev_unplug’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:540:28: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
540 | if (efbdev->helper.fbdev) {
| ^~~~~
| dev
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:543:39: error: ‘struct drm_fb_helper’ has no member named ‘fbdev’; did you mean ‘dev’?
543 | info = efbdev->helper.fbdev;
| ^~~~~
Installing the driver fails on kernel version 6 and up. This has been reported here, including a patch : https://github.com/DisplayLink/evdi/issues/376
problem: Building module: Cleaning build area... make -j16 KERNELRELEASE=6.0.5-200.fc36.x86_64 all INCLUDEDIR=/lib/modules/6.0.5-200.fc36.x86_64/build/include KVERSION=6.0.5-200.fc36.x86_64 DKMS_BUILD=1...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.0.5-200.fc36.x86_64 (x86_64)
This is the same issue as on Ubuntu
Snippet of end of log :