DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
711 stars 185 forks source link

Asus MB14AC - Evdi/Xorg crash #288

Open Busata opened 3 years ago

Busata commented 3 years ago

I'm trying to get an Asus MB14AC to work.

I've followed https://wiki.archlinux.org/title/DisplayLink these steps, assuming it's a usb3 device I went for the evdi(git) / displaylink service route. The screen will turn on when booting, but once I've logged in it will say that the device does not support dp alt mode. I then plug it out it/in & restart the displaylink service, which does add it as a monitor, but it resets my scaling from 200% back to 100% & my monitors are not in the right place anymore (virtually!). The device is shown in the display settings, but once I try to change anything about the settings & apply them, X seems to do a hard crash, this is what I find in the logs:

image

Using: Manjaro, kernel 5.12.9 Displaylink 5.4-3 evdi-git 1.9.1.r5.g65e12fc-1

Gnome 40.1.0 with Xorg proprietary NVIDIA (linux512-nvidia 465.31-7)

ryepup commented 3 years ago

I get a similar error; snippet from kern.log:

[   88.673443] ------------[ cut here ]------------
[   88.673445] kernel BUG at drivers/dma-buf/dma-buf.c:1269!
[   88.673459] invalid opcode: 0000 [#1] SMP NOPTI
[   88.673468] CPU: 12 PID: 2623 Comm: Xorg Tainted: P        W  OE     5.11.0-7620-generic #21~1624379747~20.04~3abeff8~dev-Ubuntu
[   88.673476] Hardware name: System76 Oryx Pro/Oryx Pro, BIOS 2021-03-16_7c3e89e 03/11/2021
[   88.673481] RIP: 0010:dma_buf_vunmap+0x82/0x90
[   88.673495] Code: e6 48 89 df e8 3f e5 5f 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 4c 89 ef e8 c5 09 3f 00 5b 41 5c 41 5d 5d c3 <0f> 0b 0f 0b c3 0f 0b 0f 0b 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
[   88.673502] RSP: 0018:ffffba65c44f3a68 EFLAGS: 00010297
[   88.673510] RAX: ffffba65c77eb000 RBX: ffff8eb9757d3600 RCX: 0000000000000000
[   88.673515] RDX: 0000000000000001 RSI: ffffba65c44f3a90 RDI: ffff8eb9757d3600
[   88.673520] RBP: ffffba65c44f3a80 R08: ffff8eb94d233318 R09: ffff8eb9160a9240
[   88.673524] R10: 0000000000000000 R11: ffff8eb9160a9390 R12: ffffba65c44f3a90
[   88.673528] R13: ffff8eb94d233300 R14: ffff8eb915cbac18 R15: ffff8eb915cbac00
[   88.673532] FS:  00007f06e1412a40(0000) GS:ffff8ec03e500000(0000) knlGS:0000000000000000
[   88.673538] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   88.673543] CR2: 000055fb1c787208 CR3: 0000000170234005 CR4: 00000000007706e0
[   88.673549] PKRU: 55555554
[   88.673552] Call Trace:
[   88.673561]  evdi_gem_vunmap+0xb3/0xd0 [evdi]
[   88.673589]  evdi_gem_free_object+0x1c/0xb0 [evdi]
[   88.673610]  drm_gem_object_free+0x1d/0x30 [drm]
[   88.673680]  evdi_user_framebuffer_destroy+0x53/0x70 [evdi]
[   88.673694]  drm_framebuffer_free+0x2f/0x40 [drm]
[   88.673768]  drm_mode_object_put.part.0+0x46/0x60 [drm]
[   88.673841]  drm_mode_object_put+0x15/0x20 [drm]
[   88.673916]  evdi_painter_set_scanout_buffer+0x6e/0x80 [evdi]
[   88.673938]  evdi_plane_atomic_update+0xc1/0x1e0 [evdi]
[   88.673954]  drm_atomic_helper_commit_planes+0xbc/0x220 [drm_kms_helper]
[   88.674000]  drm_atomic_helper_commit_tail+0x2c/0x70 [drm_kms_helper]
[   88.674038]  commit_tail+0xd6/0x130 [drm_kms_helper]
[   88.674076]  drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper]
[   88.674114]  drm_atomic_commit+0x4a/0x50 [drm]
[   88.674186]  drm_atomic_helper_set_config+0x7c/0xc0 [drm_kms_helper]
[   88.674225]  drm_mode_setcrtc+0x20d/0x7e0 [drm]
[   88.674289]  ? drm_mode_getcrtc+0x190/0x190 [drm]
[   88.674365]  drm_ioctl_kernel+0xae/0xf0 [drm]
[   88.674435]  drm_ioctl+0x241/0x3f0 [drm]
[   88.674487]  ? drm_mode_getcrtc+0x190/0x190 [drm]
[   88.674546]  __x64_sys_ioctl+0x91/0xc0
[   88.674556]  do_syscall_64+0x38/0x90
[   88.674568]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   88.674577] RIP: 0033:0x7f06e177250b
[   88.674583] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
[   88.674590] RSP: 002b:00007ffffeb99ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   88.674598] RAX: ffffffffffffffda RBX: 00007ffffeb99f30 RCX: 00007f06e177250b
[   88.674603] RDX: 00007ffffeb99f30 RSI: 00000000c06864a2 RDI: 0000000000000018
[   88.674607] RBP: 00000000c06864a2 R08: 0000000000000000 R09: 000055fb1b79c1a0
[   88.674611] R10: 0000000000000000 R11: 0000000000000246 R12: 000055fb1aec9c10
[   88.674615] R13: 0000000000000018 R14: 000055fb1aec7b28 R15: 0000000000000001
[   88.674623] Modules linked in: rfcomm rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace nfs_ssc fscache xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c bpfilter br_netfilter bridge stp llc ccm cmac algif_hash overlay algif_skcipher af_alg bnep nvidia_uvm(POE) nls_iso8859_1 x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm nvidia_drm(POE) nvidia_modeset(POE) crct10dif_pclmul ghash_clmulni_intel aesni_intel nvidia(POE) crypto_simd cryptd glue_helper intel_rapl_msr rapl snd_hda_codec_realtek snd_hda_codec_generic snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_hda_codec_hdmi snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi ledtrig_audio snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec iwlmvm
[   88.674761]  snd_hda_core soundwire_bus snd_usb_audio snd_soc_core mac80211 cdc_mbim snd_usbmidi_lib snd_compress cdc_wdm ac97_bus snd_hwdep snd_pcm_dmaengine btusb snd_pcm btrtl libarc4 btbcm btintel snd_seq_midi bluetooth snd_seq_midi_event snd_rawmidi iwlwifi uvcvideo snd_seq videobuf2_vmalloc snd_seq_device videobuf2_memops intel_cstate videobuf2_v4l2 cdc_ncm snd_timer videobuf2_common cdc_ether videodev serio_raw snd usbnet processor_thermal_device input_leds joydev mii cfg80211 ecdh_generic efi_pstore processor_thermal_rfim ee1004 mc hid_multitouch soundcore ecc processor_thermal_mbox processor_thermal_rapl intel_rapl_common int340x_thermal_zone intel_soc_dts_iosf intel_pch_thermal intel_hid mac_hid sparse_keymap sch_fq_codel msr evdi(OE) parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 system76_io(OE) hid_logitech_hidpp hid_logitech_dj hid_generic usbhid i915 rtsx_pci_sdmmc i2c_algo_bit wmi drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec rc_core
[   88.674949]  crc32_pclmul nvme psmouse drm r8169 thunderbolt intel_lpss_pci i2c_i801 rtsx_pci nvme_core intel_lpss i2c_smbus realtek ahci idma64 xhci_pci virt_dma libahci i2c_hid xhci_pci_renesas hid video pinctrl_cannonlake system76_acpi(OE)
[   88.675014] ---[ end trace 167d1c5e2c86ff3e ]---
[   88.725733] RIP: 0010:dma_buf_vunmap+0x82/0x90
digitalkram commented 3 years ago

Same here:

Aug  9 08:05:52 ssc01cn423l kernel: [  202.742642] ------------[ cut here ]------------
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742643] kernel BUG at drivers/dma-buf/dma-buf.c:1269!
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742649] invalid opcode: 0000 [#1] SMP PTI
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742653] CPU: 8 PID: 1977 Comm: Xorg Tainted: P           O      5.11.0-25-generic #27~20.04.1-Ubuntu
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742656] Hardware name: LENOVO 20QNS1XJ00/20QNS1XJ00, BIOS N2NET41W (1.26 ) 10/27/2020
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742657] RIP: 0010:dma_buf_vunmap+0x82/0x90
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742663] Code: e6 48 89 df e8 8f df 5f 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 4c 89 ef e8 85 14 3f 00 5b 41 5c 41 5d 5d c3 <0f> 0b 0f 0b c3 0f 0b 0f 0b 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742666] RSP: 0018:ffff9b9f4333fa68 EFLAGS: 00010297
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742668] RAX: ffff9b9f45001000 RBX: ffff8b68928d1a00 RCX: 0000000000000000
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742670] RDX: 0000000000000001 RSI: ffff9b9f4333fa90 RDI: ffff8b68928d1a00
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742672] RBP: ffff9b9f4333fa80 R08: ffff8b6852adae18 R09: ffff8b68427fe238
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742674] R10: 0000000000000000 R11: ffff8b68427fe380 R12: ffff9b9f4333fa90
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742676] R13: ffff8b6852adae00 R14: ffff8b6858b94818 R15: ffff8b6858b94800
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742678] FS:  00007fb0b6c60a40(0000) GS:ffff8b6f5e600000(0000) knlGS:0000000000000000
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742680] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742682] CR2: 00005625d1d6b300 CR3: 0000000110f34003 CR4: 00000000003706e0
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742684] Call Trace:
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742688]  evdi_gem_vunmap+0xb3/0xd0 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742696]  evdi_gem_free_object+0x1c/0xb0 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742703]  drm_gem_object_free+0x1d/0x30 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742731]  evdi_user_framebuffer_destroy+0x53/0x70 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742737]  drm_framebuffer_free+0x2f/0x40 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742768]  drm_mode_object_put.part.0+0x46/0x60 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742800]  drm_mode_object_put+0x15/0x20 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742830]  evdi_painter_set_scanout_buffer+0x6e/0x80 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742837]  evdi_plane_atomic_update+0xc1/0x1e0 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742843]  drm_atomic_helper_commit_planes+0xbc/0x220 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742862]  drm_atomic_helper_commit_tail+0x2c/0x70 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742879]  commit_tail+0xd6/0x130 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742895]  drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742912]  drm_atomic_commit+0x4a/0x50 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742942]  drm_atomic_helper_set_config+0x7c/0xc0 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742959]  drm_mode_setcrtc+0x20d/0x7e0 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742987]  ? drm_mode_getcrtc+0x190/0x190 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743014]  drm_ioctl_kernel+0xae/0xf0 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743041]  drm_ioctl+0x241/0x3f0 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743067]  ? drm_mode_getcrtc+0x190/0x190 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743095]  __x64_sys_ioctl+0x91/0xc0
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743099]  do_syscall_64+0x38/0x90
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743103]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743106] RIP: 0033:0x7fb0b6fc050b
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743109] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743112] RSP: 002b:00007ffd6fbcb3d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743115] RAX: ffffffffffffffda RBX: 00007ffd6fbcb410 RCX: 00007fb0b6fc050b
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743117] RDX: 00007ffd6fbcb410 RSI: 00000000c06864a2 RDI: 000000000000001b
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743118] RBP: 00000000c06864a2 R08: 0000000000000000 R09: 00005625d2bb2580
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743120] R10: 0000000000000000 R11: 0000000000000246 R12: 00005625d1b2aeb0
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743122] R13: 000000000000001b R14: 00005625d1b1eec8 R15: 0000000000000001
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743125] Modules linked in: rfcomm xt_nat veth nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ccm xt_comment iptable_raw nft_chain_nat dummy xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bpfilter aufs cmac algif_hash algif_skcipher af_alg bnep overlay nvidia_uvm(PO) nls_iso8859_1 nvidia_drm(PO) nvidia_modeset(PO) snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi joydev mei_hdcp intel_rapl_msr x86_pkg_temp_thermal intel_powerclamp coretemp nvidia(PO) rapl intel_cstate snd_hda_codec_hdmi cdc_mbim cdc_wdm iwlmvm snd_hda_codec_conexant snd_hda_codec_generic serio_raw mac80211 cdc_ncm cdc_ether usbnet snd_hda_intel efi_pstore snd_intel_dspcfg mii libarc4
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743186]  soundwire_intel soundwire_generic_allocation uvcvideo soundwire_cadence btusb videobuf2_vmalloc snd_hda_codec btrtl videobuf2_memops videobuf2_v4l2 btbcm snd_usb_audio iwlwifi snd_hda_core btintel wmi_bmof videobuf2_common soundwire_bus snd_usbmidi_lib intel_wmi_thunderbolt snd_hwdep snd_soc_core thinkpad_acpi ee1004 bluetooth elan_i2c cfg80211 snd_compress nvram snd_seq_midi ac97_bus ledtrig_audio snd_pcm_dmaengine snd_seq_midi_event videodev snd_rawmidi 8250_dw input_leds ecdh_generic snd_pcm mc ecc mei_me snd_seq mei snd_seq_device snd_timer processor_thermal_device processor_thermal_rfim processor_thermal_mbox ucsi_acpi snd processor_thermal_rapl typec_ucsi intel_rapl_common intel_soc_dts_iosf intel_pch_thermal typec int3403_thermal soundcore int340x_thermal_zone mac_hid int3400_thermal acpi_thermal_rel acpi_pad sch_fq_codel kvm_intel kvm iptable_filter ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables msr evdi(O) nfsd parport_pc ppdev binfmt_misc
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743246]  nfs_acl auth_rpcgss lockd lp grace parport sunrpc nfs_ssc ip_tables x_tables autofs4 btrfs blake2b_generic dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_jabra hid_generic usbhid hid crct10dif_pclmul i915 crc32_pclmul ghash_clmulni_intel i2c_algo_bit aesni_intel drm_kms_helper crypto_simd cryptd syscopyarea glue_helper sysfillrect sysimgblt fb_sys_fops sdhci_pci psmouse cec cqhci rc_core e1000e i2c_i801 sdhci i2c_smbus drm intel_lpss_pci thunderbolt nvme xhci_pci intel_lpss xhci_pci_renesas nvme_core idma64 virt_dma wmi pinctrl_cannonlake video
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743297] ---[ end trace 6e7edf13e4152fc4 ]---
Aug  9 08:05:53 ssc01cn423l kernel: [  202.995351] RIP: 0010:dma_buf_vunmap+0x82/0x90

If I do any of those actions the crash/hangs occurs:

KDE Neon 5.22.4 (Ubunutu 20.04) kernel 5.11.0-25-generic evdi 1.9.1-1ubuntu4~20.04.1 xorg-server 2:1.20.11-1ubuntu1~20.04.2 pixman 0.38.4 DisplayLink 5.4.0-55.153 from https://www.synaptics.com/sites/default/files/exe_files/2021-04/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.4-EXE.zip Proprietary NVIDIA driver 460.91.03

EDIT: When reverting OS to kernel 5.8.0-63-generic everything is fine.

terox commented 3 years ago

Same here:

Aug  9 08:05:52 ssc01cn423l kernel: [  202.742642] ------------[ cut here ]------------
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742643] kernel BUG at drivers/dma-buf/dma-buf.c:1269!
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742649] invalid opcode: 0000 [#1] SMP PTI
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742653] CPU: 8 PID: 1977 Comm: Xorg Tainted: P           O      5.11.0-25-generic #27~20.04.1-Ubuntu
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742656] Hardware name: LENOVO 20QNS1XJ00/20QNS1XJ00, BIOS N2NET41W (1.26 ) 10/27/2020
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742657] RIP: 0010:dma_buf_vunmap+0x82/0x90
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742663] Code: e6 48 89 df e8 8f df 5f 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 4c 89 ef e8 85 14 3f 00 5b 41 5c 41 5d 5d c3 <0f> 0b 0f 0b c3 0f 0b 0f 0b 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742666] RSP: 0018:ffff9b9f4333fa68 EFLAGS: 00010297
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742668] RAX: ffff9b9f45001000 RBX: ffff8b68928d1a00 RCX: 0000000000000000
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742670] RDX: 0000000000000001 RSI: ffff9b9f4333fa90 RDI: ffff8b68928d1a00
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742672] RBP: ffff9b9f4333fa80 R08: ffff8b6852adae18 R09: ffff8b68427fe238
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742674] R10: 0000000000000000 R11: ffff8b68427fe380 R12: ffff9b9f4333fa90
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742676] R13: ffff8b6852adae00 R14: ffff8b6858b94818 R15: ffff8b6858b94800
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742678] FS:  00007fb0b6c60a40(0000) GS:ffff8b6f5e600000(0000) knlGS:0000000000000000
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742680] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742682] CR2: 00005625d1d6b300 CR3: 0000000110f34003 CR4: 00000000003706e0
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742684] Call Trace:
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742688]  evdi_gem_vunmap+0xb3/0xd0 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742696]  evdi_gem_free_object+0x1c/0xb0 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742703]  drm_gem_object_free+0x1d/0x30 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742731]  evdi_user_framebuffer_destroy+0x53/0x70 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742737]  drm_framebuffer_free+0x2f/0x40 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742768]  drm_mode_object_put.part.0+0x46/0x60 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742800]  drm_mode_object_put+0x15/0x20 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742830]  evdi_painter_set_scanout_buffer+0x6e/0x80 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742837]  evdi_plane_atomic_update+0xc1/0x1e0 [evdi]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742843]  drm_atomic_helper_commit_planes+0xbc/0x220 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742862]  drm_atomic_helper_commit_tail+0x2c/0x70 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742879]  commit_tail+0xd6/0x130 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742895]  drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742912]  drm_atomic_commit+0x4a/0x50 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742942]  drm_atomic_helper_set_config+0x7c/0xc0 [drm_kms_helper]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742959]  drm_mode_setcrtc+0x20d/0x7e0 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.742987]  ? drm_mode_getcrtc+0x190/0x190 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743014]  drm_ioctl_kernel+0xae/0xf0 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743041]  drm_ioctl+0x241/0x3f0 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743067]  ? drm_mode_getcrtc+0x190/0x190 [drm]
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743095]  __x64_sys_ioctl+0x91/0xc0
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743099]  do_syscall_64+0x38/0x90
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743103]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743106] RIP: 0033:0x7fb0b6fc050b
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743109] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743112] RSP: 002b:00007ffd6fbcb3d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743115] RAX: ffffffffffffffda RBX: 00007ffd6fbcb410 RCX: 00007fb0b6fc050b
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743117] RDX: 00007ffd6fbcb410 RSI: 00000000c06864a2 RDI: 000000000000001b
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743118] RBP: 00000000c06864a2 R08: 0000000000000000 R09: 00005625d2bb2580
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743120] R10: 0000000000000000 R11: 0000000000000246 R12: 00005625d1b2aeb0
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743122] R13: 000000000000001b R14: 00005625d1b1eec8 R15: 0000000000000001
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743125] Modules linked in: rfcomm xt_nat veth nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ccm xt_comment iptable_raw nft_chain_nat dummy xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bpfilter aufs cmac algif_hash algif_skcipher af_alg bnep overlay nvidia_uvm(PO) nls_iso8859_1 nvidia_drm(PO) nvidia_modeset(PO) snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi joydev mei_hdcp intel_rapl_msr x86_pkg_temp_thermal intel_powerclamp coretemp nvidia(PO) rapl intel_cstate snd_hda_codec_hdmi cdc_mbim cdc_wdm iwlmvm snd_hda_codec_conexant snd_hda_codec_generic serio_raw mac80211 cdc_ncm cdc_ether usbnet snd_hda_intel efi_pstore snd_intel_dspcfg mii libarc4
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743186]  soundwire_intel soundwire_generic_allocation uvcvideo soundwire_cadence btusb videobuf2_vmalloc snd_hda_codec btrtl videobuf2_memops videobuf2_v4l2 btbcm snd_usb_audio iwlwifi snd_hda_core btintel wmi_bmof videobuf2_common soundwire_bus snd_usbmidi_lib intel_wmi_thunderbolt snd_hwdep snd_soc_core thinkpad_acpi ee1004 bluetooth elan_i2c cfg80211 snd_compress nvram snd_seq_midi ac97_bus ledtrig_audio snd_pcm_dmaengine snd_seq_midi_event videodev snd_rawmidi 8250_dw input_leds ecdh_generic snd_pcm mc ecc mei_me snd_seq mei snd_seq_device snd_timer processor_thermal_device processor_thermal_rfim processor_thermal_mbox ucsi_acpi snd processor_thermal_rapl typec_ucsi intel_rapl_common intel_soc_dts_iosf intel_pch_thermal typec int3403_thermal soundcore int340x_thermal_zone mac_hid int3400_thermal acpi_thermal_rel acpi_pad sch_fq_codel kvm_intel kvm iptable_filter ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables msr evdi(O) nfsd parport_pc ppdev binfmt_misc
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743246]  nfs_acl auth_rpcgss lockd lp grace parport sunrpc nfs_ssc ip_tables x_tables autofs4 btrfs blake2b_generic dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_jabra hid_generic usbhid hid crct10dif_pclmul i915 crc32_pclmul ghash_clmulni_intel i2c_algo_bit aesni_intel drm_kms_helper crypto_simd cryptd syscopyarea glue_helper sysfillrect sysimgblt fb_sys_fops sdhci_pci psmouse cec cqhci rc_core e1000e i2c_i801 sdhci i2c_smbus drm intel_lpss_pci thunderbolt nvme xhci_pci intel_lpss xhci_pci_renesas nvme_core idma64 virt_dma wmi pinctrl_cannonlake video
Aug  9 08:05:52 ssc01cn423l kernel: [  202.743297] ---[ end trace 6e7edf13e4152fc4 ]---
Aug  9 08:05:53 ssc01cn423l kernel: [  202.995351] RIP: 0010:dma_buf_vunmap+0x82/0x90

If I do any of those actions the crash/hangs occurs:

  • Login to KDE with the displaylink dock connected (using it after KDE login is fine).
  • Shutdown with the displaylink dock connected.
  • Unplug the displaylink dock before shutdown (with Xorg up) hoping to enable a proper shutdown

KDE Neon 5.22.4 (Ubunutu 20.04) kernel 5.11.0-25-generic evdi 1.9.1-1ubuntu4~20.04.1 xorg-server 2:1.20.11-1ubuntu1~20.04.2 pixman 0.38.4 DisplayLink 5.4.0-55.153 from https://www.synaptics.com/sites/default/files/exe_files/2021-04/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.4-EXE.zip Proprietary NVIDIA driver 460.91.03

EDIT: When reverting OS to kernel 5.8.0-63-generic everything is fine.

Similar behaviour here but with Ubuntu 20.04.2. When I go from 5.11.0-25 to 5.8.0-63 the EVDI driver modules works like expected. On the kernel 5.11.0-25 I have issues like freezes when dock is connected and shutdown or when you unplug it. Similar that it described above.

rofflecat commented 3 years ago
> Aug 17 19:56:00 kernel: ------------[ cut here ]------------
Aug 17 19:56:00 kernel: kernel BUG at drivers/dma-buf/dma-buf.c:1337!
Aug 17 19:56:00 kernel: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
Aug 17 19:56:00 kernel: CPU: 13 PID: 669 Comm: Xorg Tainted: P           OE     5.13.10-arch1-1 #1
Aug 17 19:56:00 kernel: Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401IH_GA401IH/GA401IH, BIOS GA401IH.211 12/30/2020
Aug 17 19:56:00 kernel: RIP: 0010:dma_buf_vunmap+0x7a/0x90
Aug 17 19:56:00 kernel: Code: 0b 48 89 ee 48 89 df e8 14 2a 6e 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 5b 4c 89 e7 5d 41 5c e9 e6 6b 39 00 <0f> 0b 0f 0b c3 0f 0b 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90
Aug 17 19:56:00 kernel: RSP: 0018:ffffb9f4c1d7fd20 EFLAGS: 00010202
Aug 17 19:56:00 kernel: RAX: ffffb9f4c6001000 RBX: ffff9266c526e200 RCX: 0000000000000000
Aug 17 19:56:00 kernel: RDX: 0000000000000000 RSI: ffffb9f4c1d7fd40 RDI: ffff9266c526e200
Aug 17 19:56:00 kernel: RBP: ffffb9f4c1d7fd40 R08: 0000000000000001 R09: 0000000000000000
Aug 17 19:56:00 kernel: R10: 0000000000000001 R11: ffffb9f4c1d7fd00 R12: ffff9266c8bf1a00
Aug 17 19:56:00 kernel: R13: ffff9266c8bf1b28 R14: ffff9266c8bf1a50 R15: ffff9266c8bf1a38
Aug 17 19:56:00 kernel: FS:  00007fac4306a940(0000) GS:ffff926fc7940000(0000) knlGS:0000000000000000
Aug 17 19:56:00 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 17 19:56:00 kernel: CR2: 000055c25ff66660 CR3: 000000010b20e000 CR4: 0000000000350ee0
Aug 17 19:56:00 kernel: Call Trace:
Aug 17 19:56:00 kernel:  evdi_gem_vunmap+0xbc/0xd0 [evdi]
Aug 17 19:56:00 kernel:  evdi_gem_free_object+0x18/0xb0 [evdi]
Aug 17 19:56:00 kernel:  drm_gem_object_release_handle+0x6b/0x80 [drm]
Aug 17 19:56:00 kernel:  drm_gem_handle_delete+0x58/0x90 [drm]
Aug 17 19:56:00 kernel:  ? drm_mode_destroy_dumb+0x40/0x40 [drm]
Aug 17 19:56:00 kernel:  drm_ioctl_kernel+0xb2/0x100 [drm]
Aug 17 19:56:00 kernel:  drm_ioctl+0x22a/0x3d0 [drm]
Aug 17 19:56:00 kernel:  ? drm_mode_destroy_dumb+0x40/0x40 [drm]
Aug 17 19:56:00 kernel:  __x64_sys_ioctl+0x82/0xb0
Aug 17 19:56:00 kernel:  do_syscall_64+0x40/0x80
Aug 17 19:56:00 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
Aug 17 19:56:00 kernel: RIP: 0033:0x7fac43ab359b
Aug 17 19:56:00 kernel: Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a5 a8 0c 00 f7 d8 64 89 01 48
Aug 17 19:56:00 kernel: RSP: 002b:00007fff098734d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 17 19:56:00 kernel: RAX: ffffffffffffffda RBX: 00007fff09873514 RCX: 00007fac43ab359b
Aug 17 19:56:00 kernel: RDX: 00007fff09873514 RSI: 00000000c00464b4 RDI: 0000000000000007
Aug 17 19:56:00 kernel: RBP: 00000000c00464b4 R08: 0000000000000000 R09: 0000000000000001
Aug 17 19:56:00 kernel: R10: 000055c2615ddd9c R11: 0000000000000246 R12: 0000000000000007
Aug 17 19:56:00 kernel: R13: 0000000000000007 R14: 000055c260d68150 R15: 0000000000000001
Aug 17 19:56:00 kernel: Modules linked in: ccm snd_seq_dummy snd_hrtimer snd_seq rfcomm dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod loop cmac algif_hash algif_skcipher af_alg hid_logitech_hidpp hid_logitech_dj evdi(OE) cdc_mbim cdc_wdm snd_usb_audio snd_usbmidi_lib cdc_ncm snd_rawmidi cdc_ether bne>
Aug 17 19:56:00 kernel:  fat rapl pcspkr wmi_bmof k10temp i2c_piix4 rfkill soundcore roles tpm_crb tpm_tis usbhid tpm_tis_core i2c_hid_acpi tpm i2c_hid rng_core acpi_cpufreq asus_wireless pinctrl_amd mac_hid vmmon(OE) vmw_vmci crypto_user acpi_call(OE) fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 >
Aug 17 19:56:00 kernel: ---[ end trace 8d8d7d0e71a6d415 ]---
Aug 17 19:56:00 kernel: RIP: 0010:dma_buf_vunmap+0x7a/0x90
Aug 17 19:56:00 kernel: Code: 0b 48 89 ee 48 89 df e8 14 2a 6e 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 5b 4c 89 e7 5d 41 5c e9 e6 6b 39 00 <0f> 0b 0f 0b c3 0f 0b 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 66 90
Aug 17 19:56:00 kernel: RSP: 0018:ffffb9f4c1d7fd20 EFLAGS: 00010202
Aug 17 19:56:00 kernel: RAX: ffffb9f4c6001000 RBX: ffff9266c526e200 RCX: 0000000000000000
Aug 17 19:56:00 kernel: RDX: 0000000000000000 RSI: ffffb9f4c1d7fd40 RDI: ffff9266c526e200
Aug 17 19:56:00 kernel: RBP: ffffb9f4c1d7fd40 R08: 0000000000000001 R09: 0000000000000000
Aug 17 19:56:00 kernel: R10: 0000000000000001 R11: ffffb9f4c1d7fd00 R12: ffff9266c8bf1a00
Aug 17 19:56:00 kernel: R13: ffff9266c8bf1b28 R14: ffff9266c8bf1a50 R15: ffff9266c8bf1a38
Aug 17 19:56:00 kernel: FS:  00007fac4306a940(0000) GS:ffff926fc7940000(0000) knlGS:0000000000000000
Aug 17 19:56:00 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 17 19:56:00 kernel: CR2: 000055c25ff66660 CR3: 000000010b20e000 CR4: 0000000000350ee0
Aug 17 19:56:05 kernel: kauditd_printk_skb: 11 callbacks suppressed
Aug 17 19:56:05 kernel: evdi: [I] (card2) Opened by Task 9865 (Xorg.wrap) of process 9865 (Xorg.wrap)
Aug 17 19:56:05 kernel: evdi: [I] (card2) Closed by Task 9865 (Xorg.wrap) of process 9865 (Xorg.wrap)
Aug 17 19:56:05 kernel: evdi: [I] (card2) Opened by Task 9865 (Xorg) of process 9865 (Xorg)
Aug 17 19:56:05 kernel: evdi: [I] (card2) Closed by Task 9865 (Xorg) of process 9865 (Xorg)<

Asus Zephyrus G14 docked to a Targus DOCK190.

I'm able to achieve output on my external display when using both the iGPU and the dGPU, the iGPU providing full capability to undock without hard locks but with abysmal performance. When the dGPU is set as primary, performance is as expected, but undocking results in the system transitioning to an unresponsive state (although logging continues in the background and HD activity indicator continues to show a workload). I also experience the same behavior if a manual stop of the displaylink service happens by issuing "systemctl stop displaylink". Can also confirm that this dock used to work without issue prior 5.10 and the displaylink/evdi updates, provided mesa was not upgraded beyond a certain point.

- Arch Linux (rolling) - KDE 5.85.0 / Plasma 5.22.4
- 5.13.10-arch1-1
- nvidia-dkms 470.63.01-1
- displaylink 5.4-3
- evdi-git 1.9.1.r32.gb0b2c80-1
- optimus-manager 1.4-2
KobraCai commented 3 years ago

Same thing here, but not asus Mobo: Gigabyte Auros Z490 Elite (Has an RTL8125 which likes the 5.9+ kernel.) CPU: Intel i7-10700k GPU: PNY XLR8 RTX 3070 Dock: D6000

OS: Linux Mint 20.2 Kernel: 5.11.0-34-generic NVidia Drivers: 470.63.01-ubuntu0.20.04.2 Displaylink: 5.4.1-55.174 evdi: 1.9.1-1ubuntu4~20.04.1

Sep 12 10:36:05  kernel: ------------[ cut here ]------------
Sep 12 10:36:05  kernel: kernel BUG at drivers/dma-buf/dma-buf.c:1269!
Sep 12 10:36:05  kernel: invalid opcode: 0000 [#2] SMP NOPTI
Sep 12 10:36:05  kernel: CPU: 6 PID: 1403 Comm: InputThread Tainted: P      D    OE     5.11.0-34-generic #36~20.04.1-Ubuntu
Sep 12 10:36:05  kernel: Hardware name: Gigabyte Technology Co., Ltd. Z490 AORUS ELITE/Z490 AORUS ELITE, BIOS F6c 12/14/2020
Sep 12 10:36:05  kernel: RIP: 0010:dma_buf_vunmap+0x82/0x90
Sep 12 10:36:05  kernel: Code: e6 48 89 df e8 af c0 5f 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 4c 89 ef e8 45 15 3f 00 5b 41 5c 41 5d 5d c3 <0f> 0b 0f 0b c3 0f 0b 0f 0b 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
Sep 12 10:36:05  kernel: RSP: 0018:ffffc018419a7b00 EFLAGS: 00010297
Sep 12 10:36:05  kernel: RAX: ffffc01846001000 RBX: ffffa0184b1c0600 RCX: 0000000000000000
Sep 12 10:36:05  kernel: RDX: 0000000000000001 RSI: ffffc018419a7b28 RDI: ffffa0184b1c0600
Sep 12 10:36:05  kernel: RBP: ffffc018419a7b18 R08: 0000000000000001 R09: ffffffffc0550800
Sep 12 10:36:05  kernel: R10: ffffa0185add2f40 R11: 0000000000000001 R12: ffffc018419a7b28
Sep 12 10:36:05  kernel: R13: ffffa018581a35d8 R14: ffffa0184d834928 R15: ffffa01857346dd8
Sep 12 10:36:05  kernel: FS:  0000000000000000(0000) GS:ffffa01fe5d80000(0000) knlGS:0000000000000000
Sep 12 10:36:05  kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 12 10:36:05  kernel: CR2: 00007f12dbf90f18 CR3: 0000000110410002 CR4: 00000000007706e0
Sep 12 10:36:05  kernel: PKRU: 55555554
Sep 12 10:36:05  kernel: Call Trace:
Sep 12 10:36:05  kernel:  evdi_gem_vunmap+0xb3/0xd0 [evdi]
Sep 12 10:36:05  kernel:  ? drm_gem_prime_mmap+0x120/0x170 [drm]
Sep 12 10:36:05  kernel:  evdi_gem_free_object+0x1c/0xb0 [evdi]
Sep 12 10:36:05  kernel:  drm_gem_object_free+0x1d/0x30 [drm]
Sep 12 10:36:05  kernel:  drm_gem_object_handle_put_unlocked+0xa6/0xe0 [drm]
Sep 12 10:36:05  kernel:  drm_gem_object_release_handle+0x71/0x80 [drm]
Sep 12 10:36:05  kernel:  ? drm_gem_object_handle_put_unlocked+0xe0/0xe0 [drm]
Sep 12 10:36:05  kernel:  idr_for_each+0x60/0xd0
Sep 12 10:36:05  kernel:  ? drm_fb_release+0x107/0x130 [drm]
Sep 12 10:36:05  kernel:  drm_gem_release+0x21/0x30 [drm]
Sep 12 10:36:05  kernel:  drm_file_free.part.0+0x22b/0x250 [drm]
Sep 12 10:36:05  kernel:  drm_close_helper.isra.0+0x65/0x70 [drm]
Sep 12 10:36:05  kernel:  drm_release+0x6e/0xf0 [drm]
Sep 12 10:36:05  kernel:  __fput+0x9f/0x250
Sep 12 10:36:05  kernel:  ____fput+0xe/0x10
Sep 12 10:36:05  kernel:  task_work_run+0x70/0xb0
Sep 12 10:36:05  kernel:  do_exit+0x389/0xaf0
Sep 12 10:36:05  kernel:  ? schedule_hrtimeout_range_clock+0xf9/0x110
Sep 12 10:36:05  kernel:  do_group_exit+0x43/0xa0
Sep 12 10:36:05  kernel:  get_signal+0x15c/0x850
Sep 12 10:36:05  kernel:  arch_do_signal_or_restart+0xf0/0x290
Sep 12 10:36:05  kernel:  ? wait_woken+0x80/0x80
Sep 12 10:36:05  kernel:  exit_to_user_mode_prepare+0x115/0x1a0
Sep 12 10:36:05  kernel:  syscall_exit_to_user_mode+0x27/0x50
Sep 12 10:36:05  kernel:  do_syscall_64+0x45/0x90
Sep 12 10:36:05  kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Sep 12 10:36:05  kernel: RIP: 0033:0x7f4a876665ce
Sep 12 10:36:05  kernel: Code: Unable to access opcode bytes at RIP 0x7f4a876665a4.
Sep 12 10:36:05  kernel: RSP: 002b:00007f4a127faee0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e8
Sep 12 10:36:05  kernel: RAX: fffffffffffffffc RBX: 00007f4a127faf10 RCX: 00007f4a876665ce
Sep 12 10:36:05  kernel: RDX: 0000000000000100 RSI: 00007f4a127faf10 RDI: 000000000000002e
Sep 12 10:36:05  kernel: RBP: 0000562f519fff58 R08: 0000000000000000 R09: 00007f4a74008bb0
Sep 12 10:36:05  kernel: R10: 00000000ffffffff R11: 0000000000000293 R12: 0000562f511f8930
Sep 12 10:36:05  kernel: R13: 0000562f519fff90 R14: 00007fff619a1370 R15: 00007f4a127fbcc0
Sep 12 10:36:05  kernel: Modules linked in: corsair_psu nvidia_uvm(POE) intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp nvidia_drm(POE) nvidia_modeset(POE) corsair_cpro coretemp nvidia(POE) mei_hdcp snd_hda_c>
Sep 12 10:36:05  kernel:  nf_defrag_ipv4 rc_core fb_sys_fops syscopyarea sysfillrect sysimgblt ip6table_filter ip6_tables parport_pc iptable_filter ppdev bpfilter lp parport drm ip_tables x_tables autofs4 btrfs blake2b_generic xor >
Sep 12 10:36:05  kernel: ---[ end trace a972ab0ea92f0f14 ]---
Sep 12 10:36:05  kernel: RIP: 0010:dma_buf_vunmap+0x82/0x90
Sep 12 10:36:05  kernel: Code: e6 48 89 df e8 af c0 5f 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 4c 89 ef e8 45 15 3f 00 5b 41 5c 41 5d 5d c3 <0f> 0b 0f 0b c3 0f 0b 0f 0b 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
Sep 12 10:36:05  kernel: RSP: 0018:ffffc018414dbc90 EFLAGS: 00010297
Sep 12 10:36:05  kernel: RAX: ffffc01844127000 RBX: ffffa01853c71000 RCX: 0000000000000000
Sep 12 10:36:05  kernel: RDX: 0000000000000001 RSI: ffffc018414dbcb8 RDI: ffffa01853c71000
Sep 12 10:36:05  kernel: RBP: ffffc018414dbca8 R08: 0000000000000001 R09: ffffffffc0550800
Sep 12 10:36:05  kernel: R10: ffffa018487a17c0 R11: 0000000000000001 R12: ffffc018414dbcb8
Sep 12 10:36:05  kernel: R13: ffffa018581a05d8 R14: ffffa01855035128 R15: ffffa01855035038
Sep 12 10:36:05  kernel: FS:  0000000000000000(0000) GS:ffffa01fe5d80000(0000) knlGS:0000000000000000
Sep 12 10:36:05  kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 12 10:36:05  kernel: CR2: 00007f12dbf90f18 CR3: 0000000114ff2004 CR4: 00000000007706e0
Sep 12 10:36:05  kernel: PKRU: 55555554
Sep 12 10:36:05  kernel: Fixing recursive fault but reboot is needed!
Sep 12 10:36:13  systemd[1]: lightdm.service: State 'stop-sigterm' timed out. Killing.
Sep 12 10:36:13  systemd[1]: lightdm.service: Killing process 1071 (lightdm) with signal SIGKILL.
Sep 12 10:36:13  systemd[1]: lightdm.service: Killing process 1102 (n/a) with signal SIGKILL.
Sep 12 10:36:05  kernel: R13: ffffa018581a35d8 R14: ffffa0184d834928 R15: ffffa01857346dd8
Sep 12 10:36:05  kernel: FS:  0000000000000000(0000) GS:ffffa01fe5d80000(0000) knlGS:0000000000000000
Sep 12 10:36:05  kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 12 10:36:05  kernel: CR2: 00007f12dbf90f18 CR3: 0000000110410002 CR4: 00000000007706e0
Sep 12 10:36:05  kernel: PKRU: 55555554
Sep 12 10:36:05  kernel: Call Trace:
Sep 12 10:36:05  kernel:  evdi_gem_vunmap+0xb3/0xd0 [evdi]
Sep 12 10:36:05  kernel:  ? drm_gem_prime_mmap+0x120/0x170 [drm]
Sep 12 10:36:05  kernel:  evdi_gem_free_object+0x1c/0xb0 [evdi]
Sep 12 10:36:05  kernel:  drm_gem_object_free+0x1d/0x30 [drm]
Sep 12 10:36:05  kernel:  drm_gem_object_handle_put_unlocked+0xa6/0xe0 [drm]
Sep 12 10:36:05  kernel:  drm_gem_object_release_handle+0x71/0x80 [drm]
Sep 12 10:36:05  kernel:  ? drm_gem_object_handle_put_unlocked+0xe0/0xe0 [drm]
Sep 12 10:36:05  kernel:  idr_for_each+0x60/0xd0
Sep 12 10:36:05  kernel:  ? drm_fb_release+0x107/0x130 [drm]
Sep 12 10:36:05  kernel:  drm_gem_release+0x21/0x30 [drm]
Sep 12 10:36:05  kernel:  drm_file_free.part.0+0x22b/0x250 [drm]
Sep 12 10:36:05  kernel:  drm_close_helper.isra.0+0x65/0x70 [drm]
Sep 12 10:36:05  kernel:  drm_release+0x6e/0xf0 [drm]
Sep 12 10:36:05  kernel:  __fput+0x9f/0x250
Sep 12 10:36:05  kernel:  ____fput+0xe/0x10
Sep 12 10:36:05  kernel:  task_work_run+0x70/0xb0
Sep 12 10:36:05  kernel:  do_exit+0x389/0xaf0
Sep 12 10:36:05  kernel:  ? schedule_hrtimeout_range_clock+0xf9/0x110
Sep 12 10:36:05  kernel:  do_group_exit+0x43/0xa0
Sep 12 10:36:05  kernel:  get_signal+0x15c/0x850
Sep 12 10:36:05  kernel:  arch_do_signal_or_restart+0xf0/0x290
Sep 12 10:36:05  kernel:  ? wait_woken+0x80/0x80
Sep 12 10:36:05  kernel:  exit_to_user_mode_prepare+0x115/0x1a0
Sep 12 10:36:05  kernel:  syscall_exit_to_user_mode+0x27/0x50
Sep 12 10:36:05  kernel:  do_syscall_64+0x45/0x90
Sep 12 10:36:05  kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Sep 12 10:36:05  kernel: RIP: 0033:0x7f4a876665ce
Sep 12 10:36:05  kernel: Code: Unable to access opcode bytes at RIP 0x7f4a876665a4.
Sep 12 10:36:05  kernel: RSP: 002b:00007f4a127faee0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e8
Sep 12 10:36:05  kernel: RAX: fffffffffffffffc RBX: 00007f4a127faf10 RCX: 00007f4a876665ce
Sep 12 10:36:05  kernel: RDX: 0000000000000100 RSI: 00007f4a127faf10 RDI: 000000000000002e
Sep 12 10:36:05  kernel: RBP: 0000562f519fff58 R08: 0000000000000000 R09: 00007f4a74008bb0
Sep 12 10:36:05  kernel: R10: 00000000ffffffff R11: 0000000000000293 R12: 0000562f511f8930
Sep 12 10:36:05  kernel: R13: 0000562f519fff90 R14: 00007fff619a1370 R15: 00007f4a127fbcc0
Sep 12 10:36:05  kernel: Modules linked in: corsair_psu nvidia_uvm(POE) intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp nvidia_drm(POE) nvidia_modeset(POE) corsair_cpro coretemp nvidia(POE) mei_hdcp snd_hda_c>
Sep 12 10:36:05  kernel:  nf_defrag_ipv4 rc_core fb_sys_fops syscopyarea sysfillrect sysimgblt ip6table_filter ip6_tables parport_pc iptable_filter ppdev bpfilter lp parport drm ip_tables x_tables autofs4 btrfs blake2b_generic xor >
Sep 12 10:36:05  kernel: ---[ end trace a972ab0ea92f0f14 ]---
Sep 12 10:36:05  kernel: RIP: 0010:dma_buf_vunmap+0x82/0x90
Sep 12 10:36:05  kernel: Code: e6 48 89 df e8 af c0 5f 00 80 7b 58 00 48 c7 43 50 00 00 00 00 74 04 c6 43 58 00 4c 89 ef e8 45 15 3f 00 5b 41 5c 41 5d 5d c3 <0f> 0b 0f 0b c3 0f 0b 0f 0b 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
Sep 12 10:36:05  kernel: RSP: 0018:ffffc018414dbc90 EFLAGS: 00010297
Sep 12 10:36:05  kernel: RAX: ffffc01844127000 RBX: ffffa01853c71000 RCX: 0000000000000000
Sep 12 10:36:05  kernel: RDX: 0000000000000001 RSI: ffffc018414dbcb8 RDI: ffffa01853c71000
Sep 12 10:36:05  kernel: RBP: ffffc018414dbca8 R08: 0000000000000001 R09: ffffffffc0550800
Sep 12 10:36:05  kernel: R10: ffffa018487a17c0 R11: 0000000000000001 R12: ffffc018414dbcb8
Sep 12 10:36:05  kernel: R13: ffffa018581a05d8 R14: ffffa01855035128 R15: ffffa01855035038
Sep 12 10:36:05  kernel: FS:  0000000000000000(0000) GS:ffffa01fe5d80000(0000) knlGS:0000000000000000
Sep 12 10:36:05  kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 12 10:36:05  kernel: CR2: 00007f12dbf90f18 CR3: 0000000114ff2004 CR4: 00000000007706e0
Sep 12 10:36:05  kernel: PKRU: 55555554
Sep 12 10:36:05  kernel: Fixing recursive fault but reboot is needed!
Sep 12 10:36:13  systemd[1]: lightdm.service: State 'stop-sigterm' timed out. Killing.
Sep 12 10:36:13  systemd[1]: lightdm.service: Killing process 1071 (lightdm) with signal SIGKILL.
Sep 12 10:36:13  systemd[1]: lightdm.service: Killing process 1102 (n/a) with signal SIGKILL.

I haven't messed a whole lot with unplugging or anything like that. So far i've only seen issues with shutting down or rebooting. Regardless of how I do it, my two monitors connected to my D6000 drop, as they should, then my primary monitor just sits there with my desktop wallpaper. Nothing happens, it just stalls out and I have to force a reboot.

nouveau drivers don't support multiple monitors, and apparenlty not even the 144hz my monitor supports. I'll probably

rofflecat commented 3 years ago

I'm actually throwing in the towel on my DL dock. The price that is charged for docks based on their higher end feature sets demand a far greater scope of support than what is provided. Their lack of commitment to the Linux community is both laughable and damning at the same time.

For now, I actually have a Lenovo dock (without DL) that work issued and it works just fine. It's not as port dense as the one I bought, and the PD is slightly lower, but still more than enough to power my laptop.

At this point, DisplayLink is a junk technology in my mind, wish I could get my money back on the dock I bought. Hate it for the people that bought a dock hoping for a workable solution, and ended up with nothing but misery instead.

groovyman commented 3 years ago

On Intel-based notebooks you may better try to use thunderbold (by Intel) that may be better supported than DisplayLink untrustworthy kind of support for linux.