evdi icon indicating copy to clipboard operation
evdi copied to clipboard

Cant compile on latest OpenSuze version

Open maxime-bern opened this issue 2 years ago • 12 comments

  • Are you using the latest driver? yes

  • Are you using the latest EVDI version? yes

  • If you are using a DisplayLink device, have you checked 'troubleshooting' on DisplayLink's website? yes

  • Is this issue related to evdi/kernel? yes

  • Linux distribution and its version openSUSE Tumbleweed x86_64 20230416

  • Linux kernel version 6.2.10-1-default (64-bit)

  • Xorg version (if used)

X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0  
  • Desktop environment in use KDE Plasma

Hello,

I can't compile the module. here are the logs: https://pastebin.com/rKvuDbaT As you can see I use gcc 13, do you think that could be the cause of these errors ?

Thanks in advance for your help !

maxime-bern avatar Apr 18 '23 09:04 maxime-bern

After further research, It seems that the problem comes from the libdrm package which is not found by the installation script.

error: include/drm: entry file of the link editor not found: No file or folder of this type

maxime-bern avatar Apr 20 '23 08:04 maxime-bern

Probable duplicated with this one

marcelolaia avatar Apr 21 '23 17:04 marcelolaia

@maxime-bern @grinco Have you tried using the new standalone 5.7 driver?

https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu

Only Ubuntu is supported in an official manner, but I can assist you with some troubleshooting

displaylink-emajewsk avatar Apr 24 '23 07:04 displaylink-emajewsk

@displaylink-emajewsk make.log I did. evdi fails to build (see log attached).

grinco avatar Apr 24 '23 13:04 grinco

@displaylink-emajewsk

It's now succesfuly installing with the new driver ! But even after a reboot i can't use my USB dock.

How can i check if the driver is started ? I can't find it with systemctl.

maxime-bern avatar Apr 25 '23 11:04 maxime-bern

I have a free moment rn. Let me try installing tumbleweed

displaylink-driver service should start after plugging in the dock.

displaylink-emajewsk avatar Apr 25 '23 11:04 displaylink-emajewsk

It's seems that evdi is not installed even after the installer say it's ok.

> modprobe evdi
modprobe: FATAL: Module evdi not found in directory /lib/modules/6.2.12-1-default

maxime-bern avatar Apr 26 '23 11:04 maxime-bern

Yes. It is unable to find libdrm headers even though they're installed. I managed to reproduce (and fix) your issue on Tumbleweed but I'll elaborate on it later. Very short on time today. I believe the same thing happens in #412

displaylink-emajewsk avatar Apr 26 '23 11:04 displaylink-emajewsk

Nice, thanx for the help !

maxime-bern avatar Apr 26 '23 11:04 maxime-bern

Can confirm this version work: https://github.com/DisplayLink/evdi/issues/412#issuecomment-1512886563 Using this change: https://github.com/DisplayLink/evdi/issues/412#issuecomment-1523694684

grinco avatar Apr 27 '23 07:04 grinco

@displaylink-emajewsk can you estimate when an official fix will be pushed ?

maxime-bern avatar May 09 '23 07:05 maxime-bern

I have pushed the fix to the GitHub repository, but cannot be sure when the updated driver will be released.

displaylink-emajewsk avatar May 16 '23 13:05 displaylink-emajewsk