Skip to content
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

RPM builds and Installs on Fedora 28 but does not install evdi module nor displaylink manager ? #63

Closed
viktormadarasz opened this issue Jun 27, 2018 · 10 comments

Comments

@viktormadarasz
Copy link

Hi

I have two machines where I m trying to make this work under Fedora 28
lenovo Thinkpad Ultra USB 3 dock with HDMI and Displayport out ( trying to use HDMI Out)

Both machines are running Nvidia propietary drivers.

RPM Builds and installs without error message on both but evdi module and displaylink manager service does not seem to be installed

$modprobe evdi
modprobe: FATAL: Module evdi not found in directory /lib/modules/4.17.2-200.fc28.x86_64

systemctl does not recognize a service as displaylink.service

Viktor

@sdjohnson72
Copy link

sdjohnson72 commented Jun 29, 2018

Viktor,
I have found that the rpm install is a false success. I have had to go look at the displaylink.log file in /var/log/displaylink to see what is still required for building of the module and service. From memory I can recall rpm-build needs to be installed and libdrm-devel. Then once you have got the missing dependencies installed you have to force a reinstall of the RPM. Just a install will fail as it says in the DB that the previous attempt was successful.
I am fighting a Fedora 28 install issue of my own on a separate issue. If you get this working, please let me know.

Thanks
Shane

@viktormadarasz
Copy link
Author

viktormadarasz commented Jun 30, 2018

sdjohnson72

Mine after building the src rpm and installing it does not even create a displaylink log file in /var/logs on Fedora 28 ? strange

i already have libdrm-devel and rpm-build installed:

[viktormadarasz@fedoraws log]$ sudo dnf install libdrm-devel rpm-build
Failed to synchronize cache for repo 'username-vte291-ng', disabling.
Failed to synchronize cache for repo 'bintray-tvheadend-stable', disabling.
Last metadata expiration check: 0:00:00 ago on Sat 30 Jun 2018 09:53:41 CEST.
Package libdrm-devel-2.4.92-1.fc28.x86_64 is already installed, skipping.
Package rpm-build-4.14.1-9.fc28.x86_64 is already installed, skipping.

Output of installing the src rpm:

[viktormadarasz@fedoraws displaylink-rpm]$ sudo rpm -ivh displaylink-1.5.0.2-2.src.rpm
Updating / installing...
1:displaylink-1.5.0.2-2 ################################# [100%]

Output of not finding the displaylink log file:

[viktormadarasz@fedoraws log]$ cat /var/log/displaylink
cat: /var/log/displaylink: No such file or directory

Viktor

@sdjohnson72
Copy link

What happens if you run dnf reinstall ./displaylink-1.5.0.2-2.src.rpm from the directory where your rpm is saved to?

@viktormadarasz
Copy link
Author

it tells me

sudo dnf reinstall displaylink-1.5.0.2-2.src.rpm

Failed to synchronize cache for repo 'username-vte291-ng', disabling.
Failed to synchronize cache for repo 'bintray-tvheadend-stable', disabling.
Last metadata expiration check: 0:00:24 ago on Sat 30 Jun 2018 21:34:59 CEST.
Package displaylink-1.5.0.2-2.src not installed, cannot reinstall it
.No match for argument: displaylink-1.5.0.2-2.src.rpm

if i try to install via dnf it tells me:

sudo dnf install displaylink-1.5.0.2-2.src.rpm

Failed to synchronize cache for repo 'username-vte291-ng', disabling.
Failed to synchronize cache for repo 'bintray-tvheadend-stable', disabling.
Last metadata expiration check: 0:00:00 ago on Sat 30 Jun 2018 21:37:15 CEST

Error: Will not install a source rpm package (displaylink-1.5.0.2-2.src).

@sdjohnson72
Copy link

sdjohnson72 commented Jul 2, 2018

Viktor, It appears that displaylink-1.5.0.2-2.src.rpm only installs the following:
rpm -ql ./displaylink-1.5.0.2-2.src.rpm 20-displaylink.conf 99-displaylink.rules DisplayLink USB Graphics Software for Ubuntu 4.2.29.zip displaylink-sleep-extractor.sh displaylink.service displaylink.spec v1.5.0.2.tar.gz

I use the displaylink-1.5.0.2-2.x86_64.rpm file. This should install everything.

@viktormadarasz
Copy link
Author

Where can I get displaylink-1.5.0.2-2.x86_64.rpm file?

mine only creates the source rpm file

any chance to share? would work on F28?

@sdjohnson72
Copy link

When I built from source it was in the x86_64 directory from where I ran make from.

@ssaavedra
Copy link
Collaborator

I have just committed a change to add Fedora 28 to the build matrix in Travis, it should get built in the tag that has just been pushed to the repo.

@ssaavedra
Copy link
Collaborator

If the rpm built by Travis solves your problems, then it's a problem with your build environment. If you get to identify which is it, then a small excerpt for inclusion in the README would be very appreciated so that other people can avoid repeating the mistake.

If the rpm built by Travis does not solve your issues, then we've got a problem with displaylink-rpm and Fedora 28 which should need more research :)

@viktormadarasz
Copy link
Author

Ok i got further and installed the normal rpm it created , it launches the external display when i connect to it but the screen resolution is not recognized correctly (nor offered the proper ones) also the main screen does a scrolling motion towards the left till a while before the cursor passes over to the external screen on the left ( resolution set and being correct on laptops main screen but still doing this mentioned effect laptop main screen is the left screen

is there any irc or discord chat ( where perhaps i can link video or picture ) to continue this discussion as the issue itself can be closed as it indeed builds correctly on F28 its just something with my config on my side

THanks

Viktor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants