DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   Kernel 4.7: Edid length too small (https://displaylink.org/forum/showthread.php?t=64868)

davirtavares 10-19-2016 02:02 AM

Kernel 4.7: Edid length too small
 
Hello, I'm using a DisplayLink with the kernel 4.7, as soon as I plug the device and try to start my X server it crashes with the folowwing error:

Code:

[  24.528706] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.528711] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.528714] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.528716] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.650483] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.650490] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.650493] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.650496] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.650657] evdi: [E] evdi_painter_connect:415 Edid length too small
[  24.650713] evdi: [D] evdi_detect:72 Painter is disconnected
[  24.652852] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88046bd1dc00 tries to close us
[  24.652856] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  29.790082] ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[  29.791558] ACPI: \_SB_.PCI0.RP01.PEGP: failed to evaluate _DSM
[  29.791577] ACPI Warning: \_SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[  29.792364] nouveau 0000:01:00.0: DRM: evicting buffers...
[  29.792372] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[  29.792406] nouveau 0000:01:00.0: DRM: suspending client object trees...
[  29.796619] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
[  59.390370] evdi: [D] add_store:195 Increasing device count to 2
[  59.391159] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[  59.391535] evdi: [W] evdi_painter_crtc_state_notify:377 Painter does not exist!
[  59.391547] evdi: [D] evdi_detect:72 Painter is disconnected
[  59.391564] evdi evdi.1: No connectors reported connected with modes
[  59.391574] [drm] Cannot find any crtc or sizes - going 1024x768
[  59.394964] evdi evdi.1: fb2: evdidrmfb frame buffer device

Here is my EDID, as per /var/log/displaylink:

Code:

00000000: 00ff ffff ffff ff00 1e6d 1f4c 0101 0101  .........m.L....
00000010: 0419 0103 8029 1778 ead0 25a2 5855 9c28  .....).x..%.XU.(
00000020: 0f50 54a5 6a00 314f 454f 614f 0101 0101  .PT.j.1OEOaO....
00000030: 0101 0101 0101 6621 56aa 5100 1e30 468f  ......f!V.Q..0F.
00000040: 3300 9ae6 1000 001e 0000 00fd 0038 4b1e  3............8K.
00000050: 3d09 000a 2020 2020 2020 0000 00fc 0031  =...      .....1
00000060: 3945 4231 330a 2020 2020 2020 0000 00ff  9EB13.      ....
00000070: 0053 6572 6961 6c4e 756d 6265 720a 00ba  .SerialNumber...
00000080: 0a

I appreciate any help (or directions) you guys can give me, I have some experience in programming and debugging, so I can give more information if necessary.

mlukaszek 10-19-2016 11:37 AM

This is odd - the EDID is indeed too short. Could you attach all logs, gathered with our Linux Support Tool?

Regards,
Michal

davirtavares 10-19-2016 03:40 PM

1 Attachment(s)
Here it is, hope it helps.

davirtavares 10-19-2016 05:08 PM

1 Attachment(s)
Update: I tested with a different monitor, still not working, the error message appears to be different tho.

mlukaszek 10-20-2016 02:54 PM

Thanks,

We can reproduce the issue with your original monitor. We should be able to fix it.
As for the other attempt, there are no signs of loading evdi kernel module at all in dmesg?

Regards,
Michal

davirtavares 10-20-2016 03:21 PM

1 Attachment(s)
You are right Michal.

I probably had unloaded it for being able to start X server.

That's good news. The two displays are from LG, and they are very similar, despite their sizes, maybe the problem is related.

I'm sending the files again. Please let me know if you need anything else.

Best regards.

hschmitt 10-24-2016 01:59 PM

1 Attachment(s)
I got the same error about EDID. Attached my edid information. Please note that the external monitor was working before I switched from ubuntu 16.04 to 16.10.
Now my pc crashes if I plug the docking station in. I have the latest driver installed

mlukaszek 11-03-2016 02:18 PM

Update: so far we've narrowed down the problem to be specific to Intel+NVIDIA systems using nouveau, running Ubuntu 16.10.

Cheers,
Michal

Matej 11-04-2016 01:36 PM

Same problem here
 
1 Attachment(s)
It was working on ubuntu 16.04 not on 16.10.
I had some problems with my laptop and 16.04 that's why I switched to 16.10 (kernel 4.8.0-26-generic).

I have two monitors: Dell U2415 and Dell P2314H.
And the same problem with both.

Laptop: Acer Aspire VN7-591G, BIOS V1.13 01/08/2015

davirtavares 11-04-2016 03:08 PM

Quote:

Originally Posted by mlukaszek (Post 81798)
Update: so far we've narrowed down the problem to be specific to Intel+NVIDIA systems using nouveau, running Ubuntu 16.10.

Cheers,
Michal

Thanks Michal!

Is this related to the opensource part of the driver (evdi)? If so, I can spend some time investigating, if there are any "How to contribute" or "How to debug" page, that would be even better :)

mlukaszek 11-04-2016 04:07 PM

Yes, I am pretty sure it would be reproducible with any evdi client on such systems.

About contributing - thank you for the offer.
In fact, I have just published a very simple client for evdi - completely unrelated to DisplayLink hardware - but with full source code, with an intention to show how evdi can be used. Hopefully this can make some reproductions and diagnostics easier (as I am certain you could reproduce most, if not all, issues with such client, too)

https://github.com/mlukaszek/evdipp

Cheers,
Michal

skvist 11-21-2016 08:33 PM

1 Attachment(s)
Hi,

I also get this error.

Laptop: Asus UX303UB, Kubuntu 16.10, Nvidia/Intel graphics.
USB screen: Asus MB169B+

Thanks!

davirtavares 02-01-2017 01:42 AM

Any news?
 
It's been a while, just wanted to know if there are any news about this problem.

Have a great week!

jgilliland_apqc 04-14-2017 07:15 PM

I understand based on the earlier discussion it sounds like this is an EVDI problem? Is there a better place for us to track this(bug report or gitlab issue) so I know when I can look at updating *buntu on my laptop?

baldyman 09-29-2017 10:14 AM

I also have this issue with Linux Mint 18.2 Kernel 4.4.0. on Dell M3800 Intel+NVidia

Code:

[  138.183835] usb 4-6: new SuperSpeed USB device number 2 using xhci_hcd
[  138.200611] usb 4-6: New USB device found, idVendor=17e9, idProduct=ff03
[  138.200615] usb 4-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  138.200617] usb 4-6: Product: MB168B+
[  138.200618] usb 4-6: Manufacturer: DisplayLink
[  138.200620] usb 4-6: SerialNumber: f5lmtf073897
[  158.022941] evdi: [D] add_store:195 Increasing device count to 4
[  158.023192] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[  158.023277] evdi: [W] evdi_painter_crtc_state_notify:377 Painter does not exist!
[  158.023281] evdi: [D] evdi_detect:72 Painter is disconnected
[  158.023285] evdi evdi.3: No connectors reported connected with modes
[  158.023288] [drm] Cannot find any crtc or sizes - going 1024x768
[  158.024308] evdi evdi.3: fb4: evdidrmfb frame buffer device
[  158.024311] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  158.024312] [drm] No driver support for vblank timestamp query.
[  158.024314] [drm] evdi: evdi_stats_init
[  158.024318] [drm] Initialized evdi 1.2.55 20160912 on minor 4
[  158.025949] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501da00 tries to close us
[  158.025951] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  158.026201] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501da00 tries to close us
[  158.026202] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  158.041540] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501da00 tries to close us
[  158.041542] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414838] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414840] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414848] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414849] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414853] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414854] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414858] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414859] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414928] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414929] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414934] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414935] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414939] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414939] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414944] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414944] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414977] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414977] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414982] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414982] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414986] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414987] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.414991] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.414992] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.415020] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.415021] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.415025] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.415026] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.415030] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.415031] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  159.415035] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895400 tries to close us
[  159.415035] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.430956] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501ca00 tries to close us
[  160.430958] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.430965] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501ca00 tries to close us
[  160.430966] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.430971] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501ca00 tries to close us
[  160.430972] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.430978] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff8800c501ca00 tries to close us
[  160.430979] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.435436] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88041a71f800 tries to close us
[  160.435438] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.435510] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88041a71f800 tries to close us
[  160.435511] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.435583] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88041a71f800 tries to close us
[  160.435584] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.435640] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88041a71f800 tries to close us
[  160.435640] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.441404] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895600 tries to close us
[  160.441406] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.441412] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895600 tries to close us
[  160.441413] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.441418] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895600 tries to close us
[  160.441418] evdi: [W] evdi_painter_disconnect:479  - ignoring
[  160.441423] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff880418895600 tries to close us
[  160.441423] evdi: [W] evdi_painter_disconnect:479  - ignoring


hgcoin 09-23-2018 02:02 PM

Confirming EDID lockup after idle period 4.15.0-34-generic/ 18.04 LTS bionic
 
In a multimonitor setup where the displaylink 5500 usb is attached, after an idle period of some hours, the log fills with tens of thousands of
evdi: [E] evdi_painter_connect:529 Edid length too small

All screens appear dark but active (blanked, not 'sleep' or 'off'). The only remedy is to reboot - but it is possible to get a console window to do a soft-reboot. The processor is:

Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz. The system is a Dell XPS 8910 MB 1.1.7 latest bios. The native HD graphics 530 v6 controls two monitors. An GM107 / Nvidia geforce gtx 750 Ti rev a2 controls three monitors. The Diamond displaylink controls one. The nvidia uses the nouveau driver.

The only other abnormal symptom is:

During normal operations, from time to time when using the USB mouse I see vertically elongated rectangle damage, perhaps 30 pixels wide and 150 tall, usually white, with a normal gap of maybe 80 pixels atop another rectangle, repeated perhaps 4 or 5 times in a vertical stripe of sorts. As the mouse moves that description of vertical screen damage gets repainted perhaps every 300 horizontal pixels as the mouse moves on the intel-chip controlled monitors. Not on the display link monitor when it works, nor the nvidia controller monitors. The screen buffer damage can be repaired by dragging any window across the damaged area.

So, I'm guessing the evdi driver in response to usb activity decides to write on the memory space used by the intel graphics chip.

Back to the displaylink evdi complaint:

Here's a fairly typical example of the onset of the problem. The system was unattended for some hours at that point:

...
Sep 21 19:03:11 homenx systemd[1]: Started Run anacron jobs.
Sep 21 19:03:11 homenx anacron[12786]: Anacron 2.3 started on 2018-09-21
Sep 21 19:03:11 homenx anacron[12786]: Normal exit (0 jobs run)
Sep 21 19:03:15 homenx kernel: [16331.484410] evdi: [E] evdi_painter_connect:529 Edid length too small
Sep 21 19:03:15 homenx kernel: [16331.484412] evdi: [E] evdi_painter_connect:529 Edid length too small
... x multiple tens of thousands...
The monitor is a Dell 1907FP.

The way to recover was to press numlock, then ctl-alt-F1, F2.. This would temporarily flash the tty console before reblanking all the monitors. After attempting to re-connect to the GUI tty (which would display nothing but a solid cursor line), the following attempt to tty0 would not blank. The evdi controlled monitor would be black, the rest would display a normal console tty0, and a log-in would work normally. Lightdm /lxde/lubuntu was crashed at that point. Console operations were normal.

I tried it with the 4.2.29 driver native. I downloaded the git version, set it up with dkms, same thing. I signed it and rebooted with the secure boot, same thing. The monitor controlled by the display link is a dell at 1280x1024 resolution. DVI-I-2-2 connected 1280x1024+2960+1076 (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.02*+ 75.02

hgcoin 09-23-2018 02:12 PM

support tool output attached
 
1 Attachment(s)
FYI, support tool output is attached.

hgcoin 09-23-2018 02:39 PM

FWIW, I moved the displaylink adapter from a USB 3 port to a USB 2 port. We'll see if that matters during the next day or two.

hgcoin 09-25-2018 01:52 PM

Same problem when plugged in the USB 2 port. It worked normally for longer, but this morning it was the same symptom. It does appear related to a period of idleness. Not being able to unblank? Though the system power settings were to only blank the screen, not enter into any suspend or sleep state.

Is anyone at DisplayLink reading this?

advance512 07-16-2020 04:36 PM

This happens to me with the latest DisplayLink version, with a Lenovo P1 Gen2 and a Thunderbolt 3 Workstation Dock, with Ubuntu 20.04. Latest BIOS/firmware/everything.

I cannot log into the GNOME desktop, unless I disconnect the dock. If I reconnect it, only one external display is used.

Previously, prior to update to the latest firmware, this did not happen.


All times are GMT. The time now is 08:18 AM.

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