Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-14-2017, 04:49 AM   #1
Irene
Junior Member
 
Join Date: Jun 2017
Posts: 4
Default

Hi

dmesg output:

[ 164.078839] evdi: [I] Initialising logging on level 5
[ 172.524122] evdi: [D] add_store:195 Increasing device count to 1
[ 172.525220] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[ 172.530773] evdi: [W] evdi_painter_crtc_state_notify:363 Painter does not exist!
[ 172.530776] evdi: [D] evdi_detect:78 Painter is disconnected
[ 172.530781] evdi evdi.0: No connectors reported connected with modes
[ 172.530783] [drm] Cannot find any crtc or sizes - going 1024x768
[ 172.531782] evdi evdi.0: fb1: evdidrmfb frame buffer device
[ 172.531785] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 172.531786] [drm] No driver support for vblank timestamp query.
[ 172.531787] [drm] evdi: evdi_stats_init
[ 172.531793] [drm] Initialized evdi 1.3.43 20170117 on minor 1
[ 172.531936] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d9e66e00 tries to close us
[ 172.531938] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 172.532172] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d9e66e00 tries to close us
[ 172.532173] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 172.534136] evdi: [D] evdi_detect:78 Painter is disconnected
[ 172.534171] evdi: [D] evdi_detect:78 Painter is disconnected
[ 172.534477] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 172.534479] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 172.534484] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 172.534486] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 172.540189] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.940932] evdi: [D] add_store:195 Increasing device count to 2
[ 173.942171] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[ 173.944008] evdi: [W] evdi_painter_crtc_state_notify:363 Painter does not exist!
[ 173.944016] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.944025] evdi evdi.1: No connectors reported connected with modes
[ 173.944031] [drm] Cannot find any crtc or sizes - going 1024x768
[ 173.946559] evdi evdi.1: fb2: evdidrmfb frame buffer device
[ 173.946565] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 173.946568] [drm] No driver support for vblank timestamp query.
[ 173.946571] [drm] evdi: evdi_stats_init
[ 173.946579] [drm] Initialized evdi 1.3.43 20170117 on minor 2
[ 173.952568] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.962865] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aeee00 tries to close us
[ 173.962868] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 173.963089] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aeee00 tries to close us
[ 173.963091] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 173.964430] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.964467] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.964755] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 173.964758] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 173.964763] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 173.964764] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 173.967110] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.968620] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.968661] evdi: [D] evdi_detect:78 Painter is disconnected
[ 173.971103] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8b9b400 tries to close us
[ 173.971105] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 173.989708] evdi: [E] evdi_painter_connect:421 Wrong edid size. Expected 128 but is 130
[ 173.989796] evdi: [E] evdi_painter_grabpix_ioctl:555 Scanout buffer not set
[ 174.090577] evdi: [W] evdi_painter_request_update_ioctl:643 (dev=0) Update was already requested - ignoring
[ 174.090621] evdi: [E] evdi_painter_grabpix_ioctl:555 Scanout buffer not set
[ 174.190926] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d9b72000 tries to close us
[ 174.190927] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 174.190932] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d9b72000 tries to close us
[ 174.190932] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 229.080287] evdi: [D] add_store:195 Increasing device count to 3
[ 229.081785] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[ 229.081938] evdi: [W] evdi_painter_crtc_state_notify:363 Painter does not exist!
[ 229.081944] evdi: [D] evdi_detect:78 Painter is disconnected
[ 229.081952] evdi evdi.2: No connectors reported connected with modes
[ 229.081958] [drm] Cannot find any crtc or sizes - going 1024x768
[ 229.085510] evdi evdi.2: fb3: evdidrmfb frame buffer device
[ 229.085516] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 229.085519] [drm] No driver support for vblank timestamp query.
[ 229.085523] [drm] evdi: evdi_stats_init
[ 229.085531] [drm] Initialized evdi 1.3.43 20170117 on minor 3
[ 229.104964] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aef400 tries to close us
[ 229.104967] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 229.113445] evdi: [E] evdi_painter_connect:421 Wrong edid size. Expected 128 but is 130
[ 229.119879] evdi: [W] evdi_painter_request_update_ioctl:643 (dev=0) Update was already requested - ignoring
[ 229.120949] evdi: [E] evdi_painter_grabpix_ioctl:555 Scanout buffer not set
[ 229.226030] evdi: [W] evdi_painter_request_update_ioctl:643 (dev=0) Update was already requested - ignoring
[ 229.228431] evdi: [E] evdi_painter_grabpix_ioctl:555 Scanout buffer not set
[ 229.342211] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aef400 tries to close us
[ 229.342217] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 229.344896] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aef400 tries to close us
[ 229.344900] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 238.223905] evdi: [D] add_store:195 Increasing device count to 4
[ 238.224336] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[ 238.225203] evdi: [W] evdi_painter_crtc_state_notify:363 Painter does not exist!
[ 238.225210] evdi: [D] evdi_detect:78 Painter is disconnected
[ 238.225218] evdi evdi.3: No connectors reported connected with modes
[ 238.225224] [drm] Cannot find any crtc or sizes - going 1024x768
[ 238.227377] evdi evdi.3: fb4: evdidrmfb frame buffer device
[ 238.227381] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 238.227384] [drm] No driver support for vblank timestamp query.
[ 238.227387] [drm] evdi: evdi_stats_init
[ 238.227395] [drm] Initialized evdi 1.3.43 20170117 on minor 4
[ 238.261068] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aeea00 tries to close us
[ 238.261072] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 238.274334] evdi: [E] evdi_painter_connect:421 Wrong edid size. Expected 128 but is 130
[ 238.281992] evdi: [W] evdi_painter_request_update_ioctl:643 (dev=0) Update was already requested - ignoring
[ 238.282774] evdi: [E] evdi_painter_grabpix_ioctl:555 Scanout buffer not set
[ 238.385820] evdi: [W] evdi_painter_request_update_ioctl:643 (dev=0) Update was already requested - ignoring
[ 238.388765] evdi: [E] evdi_painter_grabpix_ioctl:555 Scanout buffer not set
[ 238.503011] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aeea00 tries to close us
[ 238.503016] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 238.505523] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d8aeea00 tries to close us
[ 238.505527] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 264.832453] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 264.832455] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 264.832458] evdi: [D] evdi_detect:78 Painter is disconnected
[ 264.832467] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 264.832468] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 264.832470] evdi: [D] evdi_detect:78 Painter is disconnected
[ 264.891523] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff880035707600 tries to close us
[ 264.891525] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 264.891834] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff880035707600 tries to close us
[ 264.891835] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 264.894730] evdi: [D] evdi_detect:78 Painter is disconnected
[ 264.894818] evdi: [D] evdi_detect:78 Painter is disconnected
[ 264.895457] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 264.895463] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 264.895473] evdi: [D] evdi_painter_crtc_state_notify:360 (dev=0) Notifying crtc state: 3
[ 264.895476] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 264.898864] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d9a07a00 tries to close us
[ 264.898870] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 264.899414] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff8802d9a07a00 tries to close us
[ 264.899418] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 264.902454] evdi: [D] evdi_detect:78 Painter is disconnected

Regards
Irene
Irene is offline   Reply With Quote
Old 06-14-2017, 05:50 AM   #2
Irene
Junior Member
 
Join Date: Jun 2017
Posts: 4
Default

Hi,

I tried the wrapper program u suggested, not sure if i did it right but this is the output I got.

OUTPUT :

irs1cob@irs1cob-vm:~/target/bin$ sudo ./monitorsim /sys/class/drm/card0/card0-VGA-1/edid
[libevdi] ioctl: drop_master error=-1
[libevdi] ioctl: drop_master error=-1
[libevdi] ioctl: drop_master error=-1
[libevdi] evdi version:1.3.43[libevdi] doesn't match libevdi compatibility one 1.4.0
No usable EVDI found
irs1cob@irs1cob-vm:~/target/bin$ sudo ./example /sys/class/drm/card0/card0-VGA-1/edid
[libevdi] ioctl: drop_master error=-1
Attempting to use device /dev/dri/card5...
[libevdi] ioctl: drop_master error=-1
[libevdi] evdi version:1.3.43[libevdi] doesn't match libevdi compatibility one 1.4.0
No usable EVDI found


Regards,
Irene
Irene is offline   Reply With Quote
Old 06-14-2017, 02:49 PM   #3
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

To use the wrapper, you need to have fresh evdi from GitHub so the versioning check doesn't stop you. Your evdi is 1.3.x, the library is 1.4.

Have you read https://displaylink.github.io/evdi/ ?

You're passing 130 as the EDID length - why? It should be 128, or more if you have extension block (but you don't).

There are other things which are explained better in the docs, or you could peek at the example client how they're done. Device adding, buffer allocation, connection, registering event handler and handling events - have a look at the example code, you'll see how they should be used in practice.

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:12 PM.


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