With kernel version 5.6.0-1048-oem, the stack trace looks different, but
the problem is still present.

[ 4881.023648] ------------[ cut here ]------------
[ 4881.023782] WARNING: CPU: 1 PID: 1113 at 
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:1555 
dcn20_program_front_end_for_ctx+0x574/0x580 [amdgpu]
[ 4881.023783] Modules linked in: bnep snd_hda_codec_realtek 
snd_hda_codec_generic snd_hda_codec_hdmi nls_iso8859_1 snd_hda_intel 
snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence 
snd_hda_codec snd_soc_dmic snd_acp3x_rn snd_hda_core snd_acp3x_pdm_dma 
soundwire_bus tps6598x snd_soc_core snd_compress ac97_bus iwlmvm 
snd_pcm_dmaengine btusb edac_mce_amd snd_usb_audio btrtl btbcm snd_seq_midi 
snd_usbmidi_lib btintel kvm_amd mac80211 snd_seq_midi_event joydev snd_hwdep 
kvm serio_raw input_leds bluetooth libarc4 snd_rawmidi cdc_ether uvcvideo 
usbnet snd_pcm snd_seq wmi_bmof ecdh_generic videobuf2_vmalloc r8152 
videobuf2_memops ecc videobuf2_v4l2 mii videobuf2_common videodev mc 
thinkpad_acpi ccp iwlwifi snd_seq_device nvram snd_timer snd_rn_pci_acp3x 
ledtrig_audio snd_pci_acp3x cfg80211 snd ipmi_devintf ipmi_msghandler ucsi_acpi 
soundcore typec_ucsi i2c_multi_instantiate typec mac_hid sch_fq_codel 
parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic
[ 4881.023814]  usbhid hid dm_crypt amdgpu rtsx_pci_sdmmc amd_iommu_v2 
crct10dif_pclmul gpu_sched i2c_algo_bit crc32_pclmul ghash_clmulni_intel ttm 
aesni_intel drm_kms_helper crypto_simd cryptd syscopyarea glue_helper 
sysfillrect sysimgblt fb_sys_fops cec psmouse rc_core i2c_piix4 drm nvme r8169 
rtsx_pci nvme_core realtek wmi video i2c_scmi
[ 4881.023834] CPU: 1 PID: 1113 Comm: Xorg Tainted: G        W         
5.6.0-1048-oem #52-Ubuntu
[ 4881.023835] Hardware name: LENOVO 20UH001AGE/20UH001AGE, BIOS R1CET61W(1.30 
) 12/21/2020
[ 4881.023951] RIP: 0010:dcn20_program_front_end_for_ctx+0x574/0x580 [amdgpu]
[ 4881.023953] Code: c0 74 cb 4c 89 e2 48 89 df e8 f8 36 dd fa eb be 49 8b 45 
00 8b 90 e4 01 00 00 85 d2 75 d5 8b 86 4c 04 00 00 85 c0 75 cb eb a4 <0f> 0b e9 
14 fb ff ff 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41
[ 4881.023954] RSP: 0018:ffffc087019c7810 EFLAGS: 00010202
[ 4881.023956] RAX: ffffa07c6bec5c00 RBX: ffffa07c6bf50000 RCX: 0000000000000008
[ 4881.023957] RDX: 0000000000000001 RSI: ffffa07bd83e0000 RDI: ffffa07c6bf50000
[ 4881.023958] RBP: ffffc087019c7848 R08: 0000000000000001 R09: 0000000000000000
[ 4881.023959] R10: 0000000000000001 R11: 0000000000000004 R12: ffffa07bd83e0000
[ 4881.023960] R13: ffffa07bd83e01b8 R14: ffffa07bd83e01b8 R15: 0000000000000000
[ 4881.023962] FS:  00007f5369b0ca40(0000) GS:ffffa07c7f840000(0000) 
knlGS:0000000000000000
[ 4881.023963] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4881.023964] CR2: 000055bf4e2329c8 CR3: 00000003f6eb2000 CR4: 0000000000340ee0
[ 4881.023965] Call Trace:
[ 4881.024076]  dc_commit_state_no_check+0x2cd/0x8a0 [amdgpu]
[ 4881.024177]  dc_commit_state+0x96/0xb0 [amdgpu]
[ 4881.024287]  amdgpu_dm_atomic_commit_tail+0x344/0x11d0 [amdgpu]
[ 4881.024387]  ? amdgpu_cgs_read_register+0x14/0x20 [amdgpu]
[ 4881.024484]  ? dm_read_reg_func+0x40/0xc0 [amdgpu]
[ 4881.024576]  ? generic_reg_get+0x22/0x40 [amdgpu]
[ 4881.024582]  ? _cond_resched+0x19/0x30
[ 4881.024658]  ? amdgpu_bo_pin_restricted+0x64/0x2b0 [amdgpu]
[ 4881.024665]  ? ttm_bo_move_to_lru_tail+0x2d/0xc0 [ttm]
[ 4881.024668]  ? ww_mutex_unlock+0x26/0x30
[ 4881.024673]  ? ttm_eu_backoff_reservation+0x49/0x70 [ttm]
[ 4881.024748]  ? amdgpu_bo_gpu_offset+0x23/0xa0 [amdgpu]
[ 4881.024852]  ? dm_plane_helper_prepare_fb+0x143/0x270 [amdgpu]
[ 4881.024855]  ? _cond_resched+0x19/0x30
[ 4881.024858]  ? wait_for_completion_timeout+0x3a/0x120
[ 4881.024859]  ? _cond_resched+0x19/0x30
[ 4881.024861]  ? wait_for_completion_interruptible+0x37/0x160
[ 4881.024877]  commit_tail+0x99/0x130 [drm_kms_helper]
[ 4881.024887]  drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper]
[ 4881.024990]  amdgpu_dm_atomic_commit+0x95/0xa0 [amdgpu]
[ 4881.025013]  drm_atomic_commit+0x4a/0x50 [drm]
[ 4881.025031]  drm_atomic_connector_commit_dpms+0xdf/0x100 [drm]
[ 4881.025051]  drm_mode_obj_set_property_ioctl+0x156/0x2d0 [drm]
[ 4881.025070]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[ 4881.025086]  drm_connector_property_set_ioctl+0x3b/0x60 [drm]
[ 4881.025103]  drm_ioctl_kernel+0xae/0xf0 [drm]
[ 4881.025119]  drm_ioctl+0x234/0x3d0 [drm]
[ 4881.025134]  ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[ 4881.025209]  amdgpu_drm_ioctl+0x4e/0x80 [amdgpu]
[ 4881.025213]  ksys_ioctl+0x9d/0xd0
[ 4881.025216]  __x64_sys_ioctl+0x1a/0x20
[ 4881.025219]  do_syscall_64+0x57/0x1b0
[ 4881.025223]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 4881.025225] RIP: 0033:0x7f5369e6c50b
[ 4881.025227] 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
[ 4881.025228] RSP: 002b:00007ffca7c0edc8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000010
[ 4881.025230] RAX: ffffffffffffffda RBX: 00007ffca7c0ee00 RCX: 00007f5369e6c50b
[ 4881.025231] RDX: 00007ffca7c0ee00 RSI: 00000000c01064ab RDI: 000000000000000d
[ 4881.025231] RBP: 00000000c01064ab R08: 0000000000000000 R09: 00007f5369744d10
[ 4881.025232] R10: 00007f5369744d20 R11: 0000000000000246 R12: 000055bf4e6e33f0
[ 4881.025233] R13: 000000000000000d R14: 0000000000000000 R15: 000055bf4e255980
[ 4881.025236] ---[ end trace 454162de3e2a2fb8 ]---

Complete "dmesg" output is attached.

Lenovo replaced both the motherboard and docking station, but the
problem is still present. However, I still believe it might be a
hardware issue, since monitors also get dropped under Windows 10 or even
in UEFI screen sporadically. Still communicating with Lenovo to
investigate the issue.

** Attachment added: "dmesg-2021-03-09.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1899336/+attachment/5475366/+files/dmesg-2021-03-09.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1899336

Title:
  Thinkpad T14s (AMD) external monitors on docking station no longer
  detected

Status in Ubuntu Budgie:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I run Ubuntu Budgie 20.04 on my Lenovo ThinkPad T14s with Ryzen 4750U
  processor together with the "Lenovo ThinkPad USB-C Dock (Gen 2)"
  (40AS0090EU).

  The docking station is connected via USB-C to the system, supplies it
  with power via USB Power Delivery and provides USB 3.1 Gen 2 (10
  Gbit/s) connectivity (including an Ethernet controller and audio codec
  running over the USB data path), as well as support for two monitors
  via "DisplayPort alternate mode" of USB-C, so technically it will
  configure the four high-speed lanes of USB-C as one lane for
  SuperSpeed+ RX, one lane for SuperSpeed+ TX, and two lanes for
  DisplayPort 1.4, the latter of which the docking station will then
  demultiplex onto two full-size DisplayPort connectors like an MST hub.

  So far, external monitors have worked fine most of the time. However,
  for a couple of days now, I cannot get the system to detect the
  external monitors connected to my docking station anymore.

  The "BIOS" (EFI) boot screen (with the Lenovo logo) still shows up on
  the external monitors. However, both the LUKS/dm-crypt pre-boot-
  authentication screen (since I use full-disk-encryption) and also the
  desktop after login show up on the internal display, even with the
  laptop connected to the docking station, so it appears like the kernel
  no longer detects the monitors connecting via "DisplayPort alternate
  mode". Yesterday, I could get the monitors to show up by disconnecting
  the laptop from the docking station and reconnecting it again. Today,
  not even this appears to work. Sometimes the external monitors are
  detected (and shown as "enabled") in the display settings of Budgie,
  sometimes they do not even show up. Even when they show up and are
  enabled, nothing is displayed on them. The monitors say they do not
  receive a signal and I should check the connection. Unplugging and
  replugging the cables from the docking station to the monitors does
  not change anything.

  Audio, Ethernet and USB runs fine over the docking station, just
  DisplayPort does not. This is obviously very bad, since I now have to
  work on the internal display even with the laptop docked.

  I have the "amdgpu.exp_hw_support=1" in my kernel arguments (*) and
  the Ryzen 4000 GPU appears to be recognized.

  $ lspci -k
  06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Renoir (rev d1)
   Subsystem: Lenovo Renoir
   Kernel driver in use: amdgpu
   Kernel modules: amdgpu
  $

  (*) When I installed Ubuntu Budgie 20.04, I needed to add this in
  order to extend my desktop over the two external monitors. Without
  this argument, the system only showed a single display in the
  settings, the same content was displayed on all connected monitors
  (mirrored) and there was no way to change that.

  I have attached parts of "dmesg" output which I deem relevant.

  $ uname -a
  Linux thinkpad-t14s 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 
2020 x86_64 x86_64 x86_64 GNU/Linux
  $
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: Budgie:GNOME
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2020-07-27 (75 days ago)
  InstallationMedia: Ubuntu-Budgie 20.04 LTS "Focal Fossa" - Release amd64 
(20200423)
  MachineType: LENOVO 20UH001AGE
  Package: linux (not installed)
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-48-generic 
root=UUID=5b605ccb-8a29-46ee-b571-e0d61a323457 ro quiet splash 
amdgpu.exp_hw_support=1 vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-48-generic N/A
   linux-backports-modules-5.4.0-48-generic  N/A
   linux-firmware                            1.187.3
  Tags:  focal
  Uname: Linux 5.4.0-48-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 06/11/2020
  dmi.bios.vendor: LENOVO
  dmi.bios.version: R1CET36W(1.05 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20UH001AGE
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.modalias: 
dmi:bvnLENOVO:bvrR1CET36W(1.05):bd06/11/2020:svnLENOVO:pn20UH001AGE:pvrThinkPadT14sGen1:rvnLENOVO:rn20UH001AGE:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T14s Gen 1
  dmi.product.name: 20UH001AGE
  dmi.product.sku: LENOVO_MT_20UH_BU_Think_FM_ThinkPad T14s Gen 1
  dmi.product.version: ThinkPad T14s Gen 1
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntubudgie/+bug/1899336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to