DisplayLink Forum

DisplayLink Forum (https://www.displaylink.org/forum/index.php)
-   Linux and Open Source (https://www.displaylink.org/forum/forumdisplay.php?f=29)
-   -   Displaylink docking station on Gentoo (https://www.displaylink.org/forum/showthread.php?t=69546)

schmidi314 03-02-2025 02:01 PM

Displaylink docking station on Gentoo
 
Hello all,

again a Gentoo issue. One that doesn't show up in the threads yet, I think. But basically I can't get it up and running.


So, I managed to compile the evdi library and kernel module with the ubuntu displaylink installer (6.1.0-17). I can modprobe evdi and it shows up in system log. But somehow something is still missing. It would be great to get some help as I cannot read the DisplayLinkManager logs.

So, here's what I see: Upon loading evdi (modprobe evdi) I get this

PHP Code:

Mar 02 13:47:05 tuxedo kernel: evdi: [I] Initialising logging on level 4
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] Atomic driver: yes
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] Increasing device count to 4
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] (card0) Opened by Task 7934 (modprobe) of process 7934 (modprobe)
Mar 02 13:47:05 tuxedo kernel: evdi evdi.0: [drm] Cannot find any crtc or sizes
Mar 02 13
:47:05 tuxedo kernel: [drm] Initialized evdi 1.14.7 for evdi.0 on minor 0
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] Evdi platform_device create
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] (card1) Opened by Task 7934 (modprobe) of process 7934 (modprobe)
Mar 02 13:47:05 tuxedo kernel: evdi evdi.1: [drm] Cannot find any crtc or sizes
Mar 02 13
:47:05 tuxedo kernel: [drm] Initialized evdi 1.14.7 for evdi.1 on minor 1
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] Evdi platform_device create
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] (card2) Opened by Task 7934 (modprobe) of process 7934 (modprobe)
Mar 02 13:47:05 tuxedo kernel: evdi evdi.2: [drm] Cannot find any crtc or sizes
Mar 02 13
:47:05 tuxedo kernel: [drm] Initialized evdi 1.14.7 for evdi.2 on minor 2
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] Evdi platform_device create
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] (card3) Opened by Task 7934 (modprobe) of process 7934 (modprobe)
Mar 02 13:47:05 tuxedo kernel: evdi evdi.3: [drm] Cannot find any crtc or sizes
Mar 02 13
:47:05 tuxedo kernel: [drm] Initialized evdi 1.14.7 for evdi.3 on minor 3
Mar 02 13
:47:05 tuxedo kernel: evdi: [I] Evdi platform_device create 

I can also see the corresponding files in `/sys/devices/evdi` as long as evdi is loaded (after modprobe -r evdi, they vanish as expected).

Later on in the Xorg part of the log I see this

PHP Code:

Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) config/udev: removing GPU device /sys/devices/platform/evdi.3/drm/card3 /dev/dri/card3
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) config/udev: Adding drm device (/dev/dri/card3)
Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) xfree86: Adding drm device (/dev/dri/card3)
Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) Platform probe for /sys/devices/platform/evdi.3/drm/card3
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (EE) systemd-logind: failed to take device /dev/dri/card3: Invalid argument
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) config/udev: removing GPU device /sys/devices/platform/evdi.1/drm/card1 /dev/dri/card1
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) config/udev: Adding drm device (/dev/dri/card1)
Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) xfree86: Adding drm device (/dev/dri/card1)
Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) Platform probe for /sys/devices/platform/evdi.1/drm/card1
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (EE) systemd-logind: failed to take device /dev/dri/card1: Invalid argument
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) config/udev: removing GPU device /sys/devices/platform/evdi.2/drm/card2 /dev/dri/card2
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) config/udev: Adding drm device (/dev/dri/card2)
Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) xfree86: Adding drm device (/dev/dri/card2)
Mar 02 13:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (II) Platform probe for /sys/devices/platform/evdi.2/drm/card2
Mar 02 13
:47:05 tuxedo /usr/libexec/gdm-x-session[1275]: (EE) systemd-logind: failed to take device /dev/dri/card2: Invalid argument 

And this is where I fail. What does this "failed to take device /dev/dri/cardX: Invalid argument" mean?

I'd really appreciate some help!

Thanks,
Manuel


All times are GMT. The time now is 02:09 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.