View Single Post
Old 01-14-2017, 12: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