DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
715 stars 186 forks source link

Cant compile on latest OpenSuze version #415

Open maxime-bern opened 1 year ago

maxime-bern commented 1 year ago

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 commented 1 year ago

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

marcelolaia commented 1 year ago

Probable duplicated with this one

displaylink-emajewsk commented 1 year ago

@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

grinco commented 1 year ago

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

maxime-bern commented 1 year ago

@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.

displaylink-emajewsk commented 1 year ago

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

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

maxime-bern commented 1 year ago

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
displaylink-emajewsk commented 1 year ago

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

maxime-bern commented 1 year ago

Nice, thanx for the help !

grinco commented 1 year ago

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

maxime-bern commented 1 year ago

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

displaylink-emajewsk commented 1 year ago

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