PDA

View Full Version : 1.1.62 / 16.04 with Thinkpad USB 3.0 Dock on Lenovo X1 Carbon


vlahan
05-18-2016, 12:19 PM
Hi all,

I am using the Thinkpad USB 3.0 Dock with 2 additional monitors. Since the upgrade to 1.1.62 on Ubuntu 16.04 without unity (i3wm) I started getting evdi core dumps:

[ 16.321440] evdi: [D] add_store:195 Increasing device count to 1
[ 16.321620] evdi: [D] evdi_crtc_init:304 drm_crtc_init: 0
[ 16.321685] evdi: [W] evdi_painter_crtc_state_notify:362 Painter does not exist!
[ 16.321688] evdi: [D] evdi_detect:72 Painter is disconnected
[ 16.321690] evdi evdi.0: No connectors reported connected with modes
[ 16.321692] [drm] Cannot find any crtc or sizes - going 1024x768
[ 16.322509] evdi evdi.0: fb1: evdidrmfb frame buffer device
[ 16.322521] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 16.322522] [drm] No driver support for vblank timestamp query.
[ 16.322523] [drm] evdi: evdi_stats_init
[ 16.322528] [drm] Initialized evdi 1.1.61 20160510 on minor 1
[ 16.325823] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff880210e93a00 tries to close us
[ 16.325826] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 16.326276] evdi: [W] evdi_painter_disconnect:462 (dev=0) An unknown connection to ffff880210e93a00 tries to close us
[ 16.326278] evdi: [W] evdi_painter_disconnect:463 - ignoring
[ 16.326333] ------------[ cut here ]------------
[ 16.326341] WARNING: CPU: 0 PID: 1611 at include/drm/drm_gem.h:146 evdi_dumb_create+0xdd/0xf0 [evdi]()
[ 16.326342] Modules linked in: msr acpi_call(OE) ipt_MASQUERADE nf_nat_masquerade_ipv4 rfcomm iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) evdi(OE) vboxdrv(OE) bnep snd_usb_audio snd_usbmidi_lib btusb btrtl btbcm btintel bluetooth uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media cdc_mbim cdc_ncm usbnet cdc_acm cdc_wdm mii binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul arc4 aesni_intel snd_seq_midi iwldvm aes_x86_64 lrw snd_seq_midi_event gf128mul mac80211 glue_helper ablk_helper cryptd joydev input_leds snd_hda_codec_hdmi snd_hda_codec_realtek iwlwifi serio_raw snd_hda_codec_generic snd_rawmidi snd_hda_intel cfg80211 snd_hda_codec
[ 16.326386] snd_hda_core snd_hwdep thinkpad_acpi nvram mei_me snd_pcm shpchp lpc_ich mei snd_seq snd_seq_device snd_timer snd soundcore intel_smartconnect soc_button_array mac_hid kvm_intel kvm irqbypass ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_multiport xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter parport_pc ip_tables ppdev x_tables lp parport autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid i915 i2c_algo_bit psmouse drm_kms_helper ahci sdhci_pci syscopyarea libahci sysfillrect sdhci sysimgblt fb_sys_fops drm
[ 16.326430] wmi fjes video
[ 16.326434] CPU: 0 PID: 1611 Comm: Xorg Tainted: G OE 4.4.0-22-generic #40-Ubuntu
[ 16.326436] Hardware name: LENOVO 3460CLG/3460CLG, BIOS G6ETA7WW (2.67 ) 06/12/2014
[ 16.326438] 0000000000000286 0000000025235cd4 ffff8802130c3d10 ffffffff813e9c53
[ 16.326441] 0000000000000000 ffffffffc0912bf1 ffff8802130c3d48 ffffffff81080fb2
[ 16.326444] 0000000000000000 ffff8802130c3de8 ffff8802112bff00 0000000000000072
[ 16.326447] Call Trace:
[ 16.326453] [<ffffffff813e9c53>] dump_stack+0x63/0x90
[ 16.326457] [<ffffffff81080fb2>] warn_slowpath_common+0x82/0xc0
[ 16.326460] [<ffffffff810810fa>] warn_slowpath_null+0x1a/0x20
[ 16.326464] [<ffffffffc090f8bd>] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 16.326485] [<ffffffffc0045948>] drm_mode_create_dumb_ioctl+0xa8/0xc0 [drm]
[ 16.326498] [<ffffffffc0035712>] drm_ioctl+0x152/0x540 [drm]
[ 16.326512] [<ffffffffc00458a0>] ? drm_mode_page_flip_ioctl+0x370/0x370 [drm]
[ 16.326516] [<ffffffff8122aa73>] ? __fd_install+0x33/0xe0
[ 16.326519] [<ffffffff8122026f>] do_vfs_ioctl+0x29f/0x490
[ 16.326522] [<ffffffff8121bfa4>] ? putname+0x54/0x60
[ 16.326525] [<ffffffff8120b9cf>] ? do_sys_open+0x1bf/0x2a0
[ 16.326528] [<ffffffff812204d9>] SyS_ioctl+0x79/0x90
[ 16.326532] [<ffffffff818252f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 16.326534] ---[ end trace 29e652455877aed6 ]---
[ 16.352421] evdi: [D] evdi_detect:72 Painter is disconnected
[ 16.352478] evdi: [D] evdi_detect:72 Painter is disconnected
[ 16.353465] cdc_ncm 4-2.4.1:1.5 enx0050b666b4f9: renamed from usb0
[ 16.353738] ------------[ cut here ]------------


Also, the syslog is full of:

[ 182.032990] [drm:drm_wait_vblank [drm]] *ERROR* Unsupported type value 0x1ed, supported mask 0x7400003f

At least on my system the upgrade seems to reduced the overall stability. I still have all the old problems like black patches when after turning off individual monitors with xrandr, incorrect detection of resolution / offsets from time to time, etc.

--Vlado

trepseq
08-22-2016, 07:14 PM
Same problem here:
[ 6.469770] WARNING: CPU: 0 PID: 2758 at include/drm/drm_gem.h:146 evdi_dumb_create+0xdd/0xf0 [evdi]()
[ 6.469771] Modules linked in: evdi(OE) bnep binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm irqbypass crct10dif_pclmul crc32_pclmul aes
ni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd joydev serio_raw arc4 input_leds snd_hda_codec_hdmi uvcvideo iwldvm videobuf2_vmalloc snd_hda_codec_conexant videobuf2_memops videobuf
2_v4l2 snd_hda_codec_generic videobuf2_core snd_seq_midi mac80211 snd_seq_midi_event v4l2_common videodev btusb snd_rawmidi snd_hda_intel media btrtl snd_hda_codec btbcm btintel bluetooth thinkpad_a
cpi iwlwifi nvram snd_seq snd_hda_core snd_hwdep cfg80211 snd_pcm snd_seq_device lpc_ich shpchp snd_timer snd soundcore mei_me mac_hid mei parport_pc ppdev lp parport autofs4 raid10 raid456 async_ra
id6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 multipath linear raid0 hid_generic usbhid hid i915 psmouse i2c_algo_bit drm_kms_helper syscopyarea firewire_ohci sysfi
llrect ahci libahci sdhci_pci sdhci firewire_core sysimgblt e1000e crc_itu_t fb_sys_fops drm ptp pps_core wmi fjes video
[ 6.469815] CPU: 0 PID: 2758 Comm: Xorg Tainted: G W OE 4.4.0-34-generic #53-Ubuntu
[ 6.469818] 0000000000000286 00000000419c1311 ffff880118647d10 ffffffff813f11b3
[ 6.469820] 0000000000000000 ffffffffc089fbf1 ffff880118647d48 ffffffff81081102
[ 6.469821] 0000000000000000 ffff880118647de8 ffff880118788100 0000000000000072
[ 6.469823] Call Trace:
[ 6.469829] [<ffffffff813f11b3>] dump_stack+0x63/0x90
[ 6.469832] [<ffffffff81081102>] warn_slowpath_common+0x82/0xc0
[ 6.469834] [<ffffffff8108124a>] warn_slowpath_null+0x1a/0x20
[ 6.469836] [<ffffffffc089c8bd>] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 6.469854] [<ffffffffc004bc28>] drm_mode_create_dumb_ioctl+0xa8/0xc0 [drm]
[ 6.469861] [<ffffffffc003b742>] drm_ioctl+0x152/0x540 [drm]
[ 6.469871] [<ffffffffc004bb80>] ? drm_mode_page_flip_ioctl+0x370/0x370 [drm]
[ 6.469874] [<ffffffff81220c3f>] do_vfs_ioctl+0x29f/0x490
[ 6.469877] [<ffffffff8120f811>] ? __sb_end_write+0x21/0x30
[ 6.469879] [<ffffffff8120d41d>] ? vfs_write+0x15d/0x1a0
[ 6.469880] [<ffffffff81220ea9>] SyS_ioctl+0x79/0x90
[ 6.469883] [<ffffffff8182def2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 6.469884] ---[ end trace 765616f40ea072a8 ]---

mlukaszek
08-23-2016, 08:58 AM
Let me get this right - does the evdi_dumb_create backtrace appear in dmesg more than three times after connecting device/starting the system? We have not yet seen any evidence that it is causing any real problems.

drm_wait_vblank was described in this thread (http://displaylink.org/forum/showthread.php?t=64523).

Cheers,
Michal