DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
705 stars 184 forks source link

No rpm for driver 5.6 / Fedora 36 - but Ubuntu installer works ! #367

Closed VGerris closed 2 years ago

VGerris commented 2 years ago

Found no RPM for Fedora 36 and or driver version 5.6. Actually got the installer to work as follows:

Installing [ Installing EVDI ] [[ Installing EVDI DKMS module ]] Sign command: /lib/modules/5.18.6-200.fc36.x86_64/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Certificate or key are missing, generating self signed certificate for MOK... Error! DKMS tree already contains: evdi-1.11.0 You cannot add the same module/version combo more than once. EVDI DKMS module already installed. [[ Installing module configuration files ]] [[ Installing EVDI library ]] make: Entering directory '/tmp/tmp.PU3H5hVpAU/evdi/library' cc -I../module -std=gnu99 -fPIC -D_FILE_OFFSET_BITS=64 -c -o evdi_lib.o evdi_lib.c cc evdi_lib.o -shared -Wl,-soname,libevdi.so.0 -o libevdi.so.1.11.0 -lc -lgcc cp libevdi.so.1.11.0 libevdi.so make: Leaving directory '/tmp/tmp.PU3H5hVpAU/evdi/library' [ Installing x64-ubuntu-1604/DisplayLinkManager ] [ Installing libraries ] [ Installing firmware packages ] [ Installing licence file ] [ Adding udev rule for DisplayLink DL-3xxx/4xxx/5xxx/6xxx devices ] [ Adding upstart and powermanager sctripts ]

Please read the FAQ http://support.displaylink.com/knowledgebase/topics/103927-troubleshooting-ubuntu

Installation complete!

Please reboot your computer if you're intending to use Xorg.



After that the second display on my Dell D6000 dock went on.

There might be some things missing but based on this it seems trivial to get Fedora support for the installer?
If anyone has connections, please give it a go
asdf23 commented 2 years ago

!!! working

cement-head commented 2 years ago

This is the expected behaviour - I believe; additionally the *.run file should be fairly generic for most LINUX distros. As to why this is designated as an "Ubuntu" only driver, I think that's just because DL (Synaptic) only tests it against Ubuntu. Good to hear that it's working for Fedora.

swills1 commented 2 years ago

I followed this and my dock's usb ports work which is great. But my display ports do not work. My dock doesn't have VGA or DVI. Just Display and HDMI. So I am down the rabbit hole trying to get my Display ports for my monitor to work. Thanks.

VGerris commented 2 years ago

Hi,

I think that is exactly what the driver is supposed to make work. Try reinstalling it, especially after a kernel update. You may need to rmmod the evdi driver. The installer is not really compatible with Fedora, as it nicely prints. I personally have 1 hdmi and 1 dvi port working on a Dell D6000.

Good luck!

Den mån 11 juli 2022 17:37swills1 @.***> skrev:

I followed this and my dock's usb ports work which is great. But my display ports do not work. My dock doesn't have VGA or DVI. Just Display and HDMI. So I am down the rabbit hole trying to get my display ports to work. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/DisplayLink/evdi/issues/367#issuecomment-1180563976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CNTW4OHSKQAUQQEIC3VTQ5SLANCNFSM52GAXKFQ . You are receiving this because you authored the thread.Message ID: @.***>

swills1 commented 2 years ago

Hi, I think that is exactly what the driver is supposed to make work. Try reinstalling it, especially after a kernel update. You may need to rmmod the evdi driver. The installer is not really compatible with Fedora, as it nicely prints. I personally have 1 hdmi and 1 dvi port working on a Dell D6000. Good luck! Den mån 11 juli 2022 17:37swills1 @.> skrev: I followed this and my dock's usb ports work which is great. But my display ports do not work. My dock doesn't have VGA or DVI. Just Display and HDMI. So I am down the rabbit hole trying to get my display ports to work. Thanks. — Reply to this email directly, view it on GitHub <#367 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CNTW4OHSKQAUQQEIC3VTQ5SLANCNFSM52GAXKFQ . You are receiving this because you authored the thread.Message ID: @.>

I am using a DP. I can get an HDMI cable and test, but don't want to spend the money if it won't. Plus, I only have one HDMI port so I'd be down to one monitor making it pointless. I'd rather get my two DPs working. Thanks.

VGerris commented 2 years ago

Sorry, I meant that. 1 displayport, 1 HDMI

Den mån 11 juli 2022 18:51swills1 @.***> skrev:

Hi, I think that is exactly what the driver is supposed to make work. Try reinstalling it, especially after a kernel update. You may need to rmmod the evdi driver. The installer is not really compatible with Fedora, as it nicely prints. I personally have 1 hdmi and 1 dvi port working on a Dell D6000. Good luck! Den mån 11 juli 2022 17:37swills1 @.

> skrev: … <#m-2284057553896288140> I followed this and my dock's usb ports work which is great. But my display ports do not work. My dock doesn't have VGA or DVI. Just Display and HDMI. So I am down the rabbit hole trying to get my display ports to work. Thanks. — Reply to this email directly, view it on GitHub <#367 (comment) https://github.com/DisplayLink/evdi/issues/367#issuecomment-1180563976>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CNTW4OHSKQAUQQEIC3VTQ5SLANCNFSM52GAXKFQ https://github.com/notifications/unsubscribe-auth/AAGB3CNTW4OHSKQAUQQEIC3VTQ5SLANCNFSM52GAXKFQ . You are receiving this because you authored the thread.Message ID: @.>

I am using a DP.

— Reply to this email directly, view it on GitHub https://github.com/DisplayLink/evdi/issues/367#issuecomment-1180640700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CKWY7PR3AMA3CCHIJ3VTRGHTANCNFSM52GAXKFQ . You are receiving this because you authored the thread.Message ID: @.***>

swills1 commented 2 years ago

Sorry, I meant that. 1 displayport, 1 HDMI Den mån 11 juli 2022 18:51swills1 @.> skrev: Hi, I think that is exactly what the driver is supposed to make work. Try reinstalling it, especially after a kernel update. You may need to rmmod the evdi driver. The installer is not really compatible with Fedora, as it nicely prints. I personally have 1 hdmi and 1 dvi port working on a Dell D6000. Good luck! Den mån 11 juli 2022 17:37swills1 @. > skrev: … <#m-2284057553896288140> I followed this and my dock's usb ports work which is great. But my display ports do not work. My dock doesn't have VGA or DVI. Just Display and HDMI. So I am down the rabbit hole trying to get my display ports to work. Thanks. — Reply to this email directly, view it on GitHub <#367 (comment) <#367 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CNTW4OHSKQAUQQEIC3VTQ5SLANCNFSM52GAXKFQ https://github.com/notifications/unsubscribe-auth/AAGB3CNTW4OHSKQAUQQEIC3VTQ5SLANCNFSM52GAXKFQ . You are receiving this because you authored the thread.Message ID: @.> I am using a DP. — Reply to this email directly, view it on GitHub <#367 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CKWY7PR3AMA3CCHIJ3VTRGHTANCNFSM52GAXKFQ . You are receiving this because you authored the thread.Message ID: @.>

You're running Fedora 36 workstation, followed the steps above, and it is working? What spin are you using? Thanks.

VGerris commented 2 years ago

Hi, yes that is why I made this ticket. I just run the latest version, amd64. It malfunctioned once after a kernel update, or Nvidia driver update. As I wrote before, I then uninstalled, rebooted, rmmod evdi and reinstalled and it worked again

swills1 commented 2 years ago

Hi, yes that is why I made this ticket. I just run the latest version, amd64. It malfunctioned once after a kernel update, or Nvidia driver update.

Okay so you installed a driver for your graphics card and you're using the default workstation meaning GNOME. Okay. I'm on KDE.

As I wrote before, I then uninstalled, rebooted, rmmod evdi and reinstalled and it worked again

That isn't quite what you wrote, "You may need to rmmod the evdi driver." You didn't say you actually uninstalled the driver and did rmmod, just that I may need to do those two things.

Can you please tell me the steps you followed to rmmod evdi so I have a baseline?

Also, what method did you use to remove the driver before your reinstall?

Thanks.

VGerris commented 2 years ago

The steps are precisely as in the last post. You need to rmmod when the installer does not want to reinstall

Den tis 12 juli 2022 12:00swills1 @.***> skrev:

Hi, yes that is why I made this ticket. I just run the latest version, amd64. It malfunctioned once after a kernel update, or Nvidia driver update. Okay so you installed a driver for your graphics card and you're using the default workstation meaning GNOME. Okay. I'm on KDE.

As I wrote before, I then uninstalled, rebooted, rmmod evdi and reinstalled and it worked again

That isn't wuite what you wrote, "You may need to rmmod the evdi driver." You didn't say you did rmmod, just that I may need to.

Can you please tell me the steps you followed to rmmod evdi so I have a baseline?

— Reply to this email directly, view it on GitHub https://github.com/DisplayLink/evdi/issues/367#issuecomment-1181566332, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGB3CMAO3KVPV42HGEV7ZTVTU65VANCNFSM52GAXKFQ . You are receiving this because you commented.Message ID: @.***>

swills1 commented 2 years ago

The steps are precisely as in the last post. You need to rmmod when the installer does not want to reinstall Den tis 12 juli 2022 12:00swills1 @.***> skrev:

You didn't provide "steps". Just a general outline and left things out.

I am asking you for the literal steps you followed. I don't want to guess and check several different methods and leave my system a mess. Can you just please tell me the actual steps you followed to rmmod and to uninstall the driver when it wasn't working so I have a baseline please.

I am asking for literal steps performed. Thanks.

swills1 commented 2 years ago

After a ton of research and lost time - this doesn't work with Display Ports. I have ran across over a dozen users with same issue. There must be missing steps above because following the specific steps laid out do not seem to work. I tried with a setup matching OP. Meaning, I installed Gnome and it still doesn't work. (I installed the normal Fedora Workstation release from scratch) But it does with HDMI and every other port. My D6xxx has two DP and one HDMI. So this means I can only have one external monitor. I am just going to re set up F36 KDE like I had it before and I guess use that one HDMI port to have at least one big monitor for now. When this comes out with 1.11, I will try it - https://github.com/displaylink-rpm/displaylink-rpm/releases

Thanks.

VGerris commented 2 years ago

hi, first of all, let me clarify what I meant by opening this ticket. I looked at the rpm installation, which did not work for me and decided to look at the installer, that is clearly stated to be for ubuntu. After trying it and getting it to work, I decided to share that here with the following intents:

Now about your claim : something may not work for you, but it does certainly do for me, so "it does not work" is not a helpful statement.

Both DP ports work on my D6000 dock, tested each with the other display on the HDMI connector. As I wrote above, it broke after either kernel update or Nvidia driver update ( and I wrote already what I did after to fix it). I use a Dell Precision 5520 with Nvidia Quadro 1200 and the official Nvidia drivers ( may or may not work on Nouveau). I am currently running kernel: Linux dell-p5520-lan 5.18.10-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 7 17:21:38 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Fedora Workstation 36, standard Gnome.

I suspect you may have an issue with evdi driver, the one from the installed should be compiled and loaded with dkms. You can try to remove all evdi stuff you have, run the displaylink uninstaller and make sure all evdi stuff is unloaded.

Regarding the rpm installer : I suggest looking at how it is built and automate the process, because what it does is ship a precompiled driver as far as I can see. The dkms based one from displaylink at least on Ubuntu works without issues after compatible kernel updates. It does not work completely on Fedora, hence the fix attempt, for repetition:

Sorry to read it does not work for you, it is worth troubleshooting and for others to try. Let's try not to have a lot of it does not work for me comments, instead, perhaps try to troubleshoot and read about issues you may have that can contribute to a solution.

Here is my attempt for a supported installer: https://github.com/DisplayLink/evdi/issues/370 Please contribute prodcutively if you can there. thank you

swills1 commented 2 years ago

1.11 of my link above will support 5.18. As far as it not working, I said it did not work following the previously provided steps. You have now, finally, provided missing detail. I will try when I have time. Before I posted I tried rmmod but evdi said it was not loaded so I checked all loaded (lsmod) modules and it was not there. Thanks.

VGerris commented 2 years ago

hi, I do not see what information was missing before. Please also note that the one that is trying this is expected to have an idea. You have not pointed out precisely what is failing so far ( except for you DP not working ) nor have you written now what you think what is missing before. Please note that when you reply, all subscribed get an email - the above does not contribute much in my opinion to having it work for others. Please consider that when you post, and please be detailed in your own posts if you expect that of others - this will also make it possible for others to help. Also be aware that people contributing do this on a voluntary basis, and be kind and precise in communication to stay on point ans constructive. Thanks

swills1 commented 2 years ago

hi, I do not see what information was missing before. Please also note that the one that is trying this is expected to have an idea. You have not pointed out precisely what is failing so far ( except for you DP not working ) nor have you written now what you think what is missing before. Please note that when you reply, all subscribed get an email - the above does not contribute much in my opinion to having it work for others. Please consider that when you post, and please be detailed in your own posts if you expect that of others - this will also make it possible for others to help. Also be aware that people contributing do this on a voluntary basis, and be kind and precise in communication to stay on point ans constructive. Thanks

I'm afraid I don't follow. I've been clear that Display ports don't work by simply following the steps in this post.

This post provided missing detail.

I have not had a chance to try the steps outlined in the second link yet, but will as soon as I have the time.

Thanks.

VGerris commented 2 years ago

@swills1 your post does not contain any useful information from my point of view. Please do not post repetition, or 'I'm working on it' it is not useful to anyone. To everyone reading: Since I created a new ticket for the installer support here : https://github.com/DisplayLink/evdi/issues/370 and someone is working on an rpm installer, I am closing this ticket, please respond to the corresponding ticket if you have something constructive to add, thank you.

swills1 commented 2 years ago

As I posted above, this is the link to the rpm installer. Version 1.11 will work with the 5.18 kernel.

https://github.com/displaylink-rpm/displaylink-rpm/releases

To anoyone reading. Please note that the top most post here alone will not work alone. Please read this comment for a better baseline of what to try and look for.

https://github.com/DisplayLink/evdi/issues/367#issuecomment-1183478465

jfreedman0 commented 2 years ago

FYI I need to manually install EVDI first (followed the instructions via: https://fedora.pkgs.org/36/rpm-sphere-x86_64/evdi-1.10.1-1.x86_64.rpm.html)

I also hadn't yet installed libdrm-devel (sudo dnf install libdrm-devel)