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

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-14-2017, 01:29 PM   #1
thomasmeier
Junior Member
 
Join Date: Jan 2017
Posts: 7
Exclamation Gentoo: It's not working :(

Hi,

just got a new display link adapter and can't get it working.

My environment is as follows:
- Gentoo Linux with vanilla kernel 4.9.2
- compiled the kernel with the UDL kernel module
- installed evdi-1.2.64-r1 and displaylink-driver-1.2.58 from the hossie-Overlay
- Desktop environment: GDM / Mate desktop

Before starting the X server I load the drivers:
# modprobe udl
# systemctl start dlm

After starting X:
$ xrandr --setprovideroutputsource 1 0

Result:
The screen appears in the screen configuration tool, but trying to set it on fails with an error notification: "The selected configuration for displays could not be applied".
It also doesn't work when I try to set a lower resolution / refresh rate.

dmesg gives me this on loading the drivers:
[ 55.270643] evdi: [I] Initialising logging on level 5
[ 61.020047] evdi: [D] add_store:195 Increasing device count to 1
[ 61.020389] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[ 61.020887] evdi: [W] evdi_painter_crtc_state_notify:377 Painter does not exist!
[ 61.020887] evdi: [D] evdi_detect:72 Painter is disconnected
[ 61.020892] evdi evdi.0: No connectors reported connected with modes
[ 61.020896] [drm] Cannot find any crtc or sizes - going 1024x768
[ 61.022335] evdi evdi.0: fb1: evdidrmfb frame buffer device
[ 61.022404] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 61.022460] [drm] No driver support for vblank timestamp query.
[ 61.022511] [drm] evdi: evdi_stats_init
[ 61.022553] [drm] Initialized evdi 1.2.64 20161003 on minor 1

sometimes it finds a second device for no reason (without reconnecting the hardware; yup I set the outputsource to 2 0 then)
[ 87.532339] evdi: [D] add_store:195 Increasing device count to 2
[ 87.532805] evdi: [D] evdi_crtc_init:312 drm_crtc_init: 0
[ 87.532976] evdi: [W] evdi_painter_crtc_state_notify:377 Painter does not exist!
[ 87.533041] evdi: [D] evdi_detect:72 Painter is disconnected
[ 87.533080] evdi evdi.1: No connectors reported connected with modes
[ 87.533118] [drm] Cannot find any crtc or sizes - going 1024x768
[ 87.535229] evdi evdi.1: fb2: evdidrmfb frame buffer device
[ 87.535303] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 87.535366] [drm] No driver support for vblank timestamp query.
[ 87.535407] [drm] evdi: evdi_stats_init
[ 87.535445] [drm] Initialized evdi 1.2.64 20161003 on minor 2

And this occurs in the log while trying to enable the screen:
[ 109.021113] evdi: [D] evdi_detect:72 Painter is disconnected
[ 109.021191] evdi: [D] evdi_detect:72 Painter is disconnected
[ 109.024898] evdi: [D] evdi_detect:72 Painter is disconnected
[ 109.024981] evdi: [D] evdi_detect:72 Painter is disconnected
[ 109.026080] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=0) Notifying crtc state: 3
[ 109.026081] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 109.026295] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=0) Notifying crtc state: 3
[ 109.026297] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 109.095448] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=0) Notifying crtc state: 3
[ 109.095453] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 109.096573] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=0) Notifying crtc state: 3
[ 109.096577] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 109.124447] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88023f744c00 tries to close us
[ 109.124450] evdi: [W] evdi_painter_disconnect:479 - ignoring
[ 109.129533] evdi: [W] evdi_painter_disconnect:478 (dev=0) An unknown connection to ffff88023f744c00 tries to close us
[ 109.129535] evdi: [W] evdi_painter_disconnect:479 - ignoring
[ 109.952698] evdi: [D] evdi_painter_connect:448 (dev=0) Connected with (null)
[ 109.952705] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 109.952735] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=1) Notifying crtc state: 3
[ 109.954142] evdi: [D] evdi_detect:72 Painter is disconnected
[ 109.954248] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 109.954253] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 119.037574] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 119.037580] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 119.037672] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 119.037674] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 119.039098] evdi: [D] evdi_detect:72 Painter is disconnected
[ 119.039137] evdi: [D] evdi_detect:72 Painter is disconnected
[ 119.039808] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=1) Notifying crtc state: 3
[ 119.039991] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=0) Notifying crtc state: 3
[ 119.039993] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!
[ 119.050904] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=1) Notifying crtc state: 3
[ 119.051925] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=0) Notifying crtc state: 3
[ 119.051929] evdi: [W] evdi_painter_send_crtc_state:266 Painter is not connected!

I appreciate any help
Thanks!
thomasmeier is offline   Reply With Quote
Old 01-15-2017, 05:13 PM   #2
thomasmeier
Junior Member
 
Join Date: Jan 2017
Posts: 7
Default

After upgrading to the 1.2.65 drivers it does still not work, but dmesg looks a bit different now:

[ 231.847679] evdi: [D] evdi_painter_connect:448 (dev=-1) Connected with (null)
[ 231.847690] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 231.847739] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=1) Notifying crtc state: 3
[ 231.849305] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 231.849309] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 231.852768] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 231.852775] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 236.006141] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 236.006149] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 245.125530] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 245.125540] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 249.059168] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 249.059175] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 249.072617] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 249.072623] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 365.476734] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 365.476741] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff


So it says the Painter is connected now, which is probably a good thing?

Using the screen still fails:
$ xrandr --auto
xrandr: Configure crtc 3 failed
thomasmeier is offline   Reply With Quote
Old 01-28-2017, 04:58 PM   #3
taiki
Junior Member
 
Join Date: Jan 2017
Posts: 3
Default I have the same problem

I have the same problem

Linux mint 17.3 rosa
kernel 4.5.2



[ 6004.296071] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 6004.296137] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=1) Notifying crtc state: 3
[ 6004.298068] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 6004.298079] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 6004.299521] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 6004.299531] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 6004.744124] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 6004.744134] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
...repeat
Pls help me.

Quote:
Originally Posted by thomasmeier View Post
After upgrading to the 1.2.65 drivers it does still not work, but dmesg looks a bit different now:

[ 231.847679] evdi: [D] evdi_painter_connect:448 (dev=-1) Connected with (null)
[ 231.847690] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 231.847739] evdi: [D] evdi_painter_crtc_state_notify:374 (dev=1) Notifying crtc state: 3
[ 231.849305] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 231.849309] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 231.852768] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 231.852775] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 236.006141] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 236.006149] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 245.125530] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 245.125540] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 249.059168] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 249.059175] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 249.072617] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 249.072623] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff
[ 365.476734] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
[ 365.476741] evdi: [D] evdi_painter_get_edid_copy:192 (dev=1) 00 ff ff


So it says the Painter is connected now, which is probably a good thing?

Using the screen still fails:
$ xrandr --auto
xrandr: Configure crtc 3 failed
taiki is offline   Reply With Quote
Reply

Tags
displaylink, gentoo, linux

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:04 PM.


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