From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107213] [amdgpu/DisplayPort] KDE Wayland session is segfaulting right after login Date: Wed, 05 Sep 2018 12:52:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1658075274==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id DDE706E472 for ; Wed, 5 Sep 2018 12:52:16 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1658075274== Content-Type: multipart/alternative; boundary="15361519362.695BE7174.18954" Content-Transfer-Encoding: 7bit --15361519362.695BE7174.18954 Date: Wed, 5 Sep 2018 12:52:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107213 --- Comment #13 from Shmerl --- I have a recent kernel and userland stack with Debian testing, it's still crashing and falling back into sddm. But with newest kernel I don't see the segfault message in dmesg anymore. Linux 4.19.0-rc2-amd64 #1 SMP Debian 4.19~rc2-1~exp1 (2018-09-03) x86_64 GNU/Linux firmware-amd-graphics: 20180825+dfsg-1 I see this in dmesg: [ 21.111724] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u= s * 3000 tries - dce110_stream_encoder_dp_blank line:922 [ 21.111795] WARNING: CPU: 6 PID: 153 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu] [ 21.111796] Modules linked in: devlink(E) ebtable_filter(E) ebtables(E) ip6table_filter(E) ip6_tables(E) iptable_filter(E) cmac(E) bnep(E) nls_asci= i(E) nls_cp437(E) vfat(E) fat(E) arc4(E) amdkfd(E) snd_hda_codec_realtek(E) snd_hda_codec_generic(E) uvcvideo(E) edac_mce_amd(E) btusb(E) snd_hda_codec_hdmi(E) btrtl(E) mxm_wmi(E) wmi_bmof(E) videobuf2_vmalloc(E) btbcm(E) btintel(E) amdgpu(E) kvm_amd(E) videobuf2_memops(E) iwlmvm(E) bluetooth(E) snd_hda_intel(E) chash(E) videobuf2_v4l2(E) kvm(E) irqbypass(E) snd_usb_audio(E) gpu_sched(E) snd_hda_codec(E) mac80211(E) snd_usbmidi_lib(= E) videobuf2_common(E) snd_hda_core(E) crct10dif_pclmul(E) jitterentropy_rng(E) crc32_pclmul(E) ttm(E) snd_rawmidi(E) snd_seq_device(E) snd_hwdep(E) efi_pstore(E) videodev(E) evdev(E) drm_kms_helper(E) ghash_clmulni_intel(E) [ 21.111824] snd_pcm(E) iwlwifi(E) pcspkr(E) drbg(E) efivars(E) media(E) drm(E) ansi_cprng(E) snd_timer(E) cfg80211(E) ecdh_generic(E) snd(E) soundcore(E) rfkill(E) sp5100_tco(E) crc16(E) k10temp(E) ccp(E) rng_core(E) sg(E) wmi(E) pcc_cpufreq(E) button(E) acpi_cpufreq(E) nct6775(E) hwmon_vid(= E) parport_pc(E) ppdev(E) lp(E) parport(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) xfs(E) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhas= h(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) hid_generic(E) usbhid(E) hid(E) sd_mod(E) crc32c_intel(E) ahci(E) xhci_pci(E) aesni_intel(E) aes_x86_64(E) libahci(E) crypto_simd(E) xhci_hcd(E) igb(E) cryptd(E) glue_helper(E) libat= a(E) i2c_piix4(E) nvme(E) i2c_algo_bit(E) dca(E) usbcore(E) scsi_mod(E) usb_common(E) nvme_core(E) gpio_amdpt(E) gpio_generic(E) [ 21.111860] CPU: 6 PID: 153 Comm: kworker/6:3 Tainted: G E=20= =20=20=20 4.19.0-rc2-amd64 #1 Debian 4.19~rc2-1~exp1 [ 21.111861] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X370 Taichi, BIOS L4.64 04/03/2018 [ 21.111877] Workqueue: events drm_mode_rmfb_work_fn [drm] [ 21.111931] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu] [ 21.111932] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 = 50 48 c7 c7 20 dd 1e c2 e8 64 76 ab fe 83 7d 18 01 44 8b 4c 24 08 74 02 <0f> 0= b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f [ 21.111933] RSP: 0018:ffffaf830207fa20 EFLAGS: 00010297 [ 21.111935] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000000 [ 21.111936] RDX: 0000000000000000 RSI: ffff96dcceb966a8 RDI: ffff96dcceb966a8 [ 21.111937] RBP: ffff96dcc61f1700 R08: 0000000000000005 R09: 0000000000010200 [ 21.111938] R10: 0000000000000498 R11: ffffffff9a1dc6ed R12: 0000000000000bb9 [ 21.111938] R13: 00000000000051e2 R14: 0000000000010000 R15: 0000000000000000 [ 21.111940] FS: 0000000000000000(0000) GS:ffff96dcceb80000(0000) knlGS:0000000000000000 [ 21.111941] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.111942] CR2: 000055ab41a08358 CR3: 00000003f4b52000 CR4: 00000000003406e0 [ 21.111943] Call Trace: [ 21.112005] dce110_stream_encoder_dp_blank+0x12c/0x1a0 [amdgpu] [ 21.112061] core_link_disable_stream+0x54/0x220 [amdgpu] [ 21.112116] dce110_reset_hw_ctx_wrap+0xc1/0x1e0 [amdgpu] [ 21.112170] dce110_apply_ctx_to_hw+0x45/0x650 [amdgpu] [ 21.112224] ? dc_remove_plane_from_context+0x1fc/0x240 [amdgpu] [ 21.112276] dc_commit_state+0x2c6/0x520 [amdgpu] [ 21.112334] amdgpu_dm_atomic_commit_tail+0x37a/0xd80 [amdgpu] [ 21.112338] ? __wake_up_common_lock+0x89/0xc0 [ 21.112341] ? _cond_resched+0x15/0x30 [ 21.112342] ? wait_for_completion_timeout+0x3b/0x1a0 [ 21.112399] ? amdgpu_dm_atomic_commit_tail+0xd80/0xd80 [amdgpu] [ 21.112407] commit_tail+0x3d/0x70 [drm_kms_helper] [ 21.112414] drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper] [ 21.112428] drm_framebuffer_remove+0x361/0x410 [drm] [ 21.112442] drm_mode_rmfb_work_fn+0x4f/0x60 [drm] [ 21.112446] process_one_work+0x1a7/0x360 [ 21.112447] worker_thread+0x30/0x390 [ 21.112449] ? pwq_unbound_release_workfn+0xd0/0xd0 [ 21.112451] kthread+0x112/0x130 [ 21.112452] ? kthread_bind+0x30/0x30 [ 21.112454] ret_from_fork+0x22/0x40 [ 21.112456] ---[ end trace b22dbbbbffd241d9 ]--- --=20 You are receiving this mail because: You are the assignee for the bug.= --15361519362.695BE7174.18954 Date: Wed, 5 Sep 2018 12:52:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 13 on bug 10721= 3 from = Shmerl
I have a recent kernel and userland stack with Debian testing,=
 it's still
crashing and falling back into sddm. But with newest kernel I don't see the
segfault message in dmesg anymore.

Linux 4.19.0-rc2-amd64 #1 SMP Debian 4.19~rc2-1~exp1 (2018-09-03) x86_64
GNU/Linux

firmware-amd-graphics: 20180825+dfsg-1

I see this in dmesg:

[   21.111724] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10u=
s *
3000 tries - dce110_stream_encoder_dp_blank line:922
[   21.111795] WARNING: CPU: 6 PID: 153 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[   21.111796] Modules linked in: devlink(E) ebtable_filter(E) ebtables(E)
ip6table_filter(E) ip6_tables(E) iptable_filter(E) cmac(E) bnep(E) nls_asci=
i(E)
nls_cp437(E) vfat(E) fat(E) arc4(E) amdkfd(E) snd_hda_codec_realtek(E)
snd_hda_codec_generic(E) uvcvideo(E) edac_mce_amd(E) btusb(E)
snd_hda_codec_hdmi(E) btrtl(E) mxm_wmi(E) wmi_bmof(E) videobuf2_vmalloc(E)
btbcm(E) btintel(E) amdgpu(E) kvm_amd(E) videobuf2_memops(E) iwlmvm(E)
bluetooth(E) snd_hda_intel(E) chash(E) videobuf2_v4l2(E) kvm(E) irqbypass(E)
snd_usb_audio(E) gpu_sched(E) snd_hda_codec(E) mac80211(E) snd_usbmidi_lib(=
E)
videobuf2_common(E) snd_hda_core(E) crct10dif_pclmul(E) jitterentropy_rng(E)
crc32_pclmul(E) ttm(E) snd_rawmidi(E) snd_seq_device(E) snd_hwdep(E)
efi_pstore(E) videodev(E) evdev(E) drm_kms_helper(E) ghash_clmulni_intel(E)
[   21.111824]  snd_pcm(E) iwlwifi(E) pcspkr(E) drbg(E) efivars(E) media(E)
drm(E) ansi_cprng(E) snd_timer(E) cfg80211(E) ecdh_generic(E) snd(E)
soundcore(E) rfkill(E) sp5100_tco(E) crc16(E) k10temp(E) ccp(E) rng_core(E)
sg(E) wmi(E) pcc_cpufreq(E) button(E) acpi_cpufreq(E) nct6775(E) hwmon_vid(=
E)
parport_pc(E) ppdev(E) lp(E) parport(E) efivarfs(E) ip_tables(E) x_tables(E)
autofs4(E) xfs(E) btrfs(E) xor(E) zstd_decompress(E) zstd_compress(E) xxhas=
h(E)
raid6_pq(E) libcrc32c(E) crc32c_generic(E) hid_generic(E) usbhid(E) hid(E)
sd_mod(E) crc32c_intel(E) ahci(E) xhci_pci(E) aesni_intel(E) aes_x86_64(E)
libahci(E) crypto_simd(E) xhci_hcd(E) igb(E) cryptd(E) glue_helper(E) libat=
a(E)
i2c_piix4(E) nvme(E) i2c_algo_bit(E) dca(E) usbcore(E) scsi_mod(E)
usb_common(E) nvme_core(E) gpio_amdpt(E) gpio_generic(E)
[   21.111860] CPU: 6 PID: 153 Comm: kworker/6:3 Tainted: G            E=20=
=20=20=20
4.19.0-rc2-amd64 #1 Debian 4.19~rc2-1~exp1
[   21.111861] Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./X370 Taichi, BIOS L4.64 04/03/2018
[   21.111877] Workqueue: events drm_mode_rmfb_work_fn [drm]
[   21.111931] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[   21.111932] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 =
50
48 c7 c7 20 dd 1e c2 e8 64 76 ab fe 83 7d 18 01 44 8b 4c 24 08 74 02 <0f=
> 0b 48
83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[   21.111933] RSP: 0018:ffffaf830207fa20 EFLAGS: 00010297
[   21.111935] RAX: 0000000000000000 RBX: 000000000000000a RCX:
0000000000000000
[   21.111936] RDX: 0000000000000000 RSI: ffff96dcceb966a8 RDI:
ffff96dcceb966a8
[   21.111937] RBP: ffff96dcc61f1700 R08: 0000000000000005 R09:
0000000000010200
[   21.111938] R10: 0000000000000498 R11: ffffffff9a1dc6ed R12:
0000000000000bb9
[   21.111938] R13: 00000000000051e2 R14: 0000000000010000 R15:
0000000000000000
[   21.111940] FS:  0000000000000000(0000) GS:ffff96dcceb80000(0000)
knlGS:0000000000000000
[   21.111941] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   21.111942] CR2: 000055ab41a08358 CR3: 00000003f4b52000 CR4:
00000000003406e0
[   21.111943] Call Trace:
[   21.112005]  dce110_stream_encoder_dp_blank+0x12c/0x1a0 [amdgpu]
[   21.112061]  core_link_disable_stream+0x54/0x220 [amdgpu]
[   21.112116]  dce110_reset_hw_ctx_wrap+0xc1/0x1e0 [amdgpu]
[   21.112170]  dce110_apply_ctx_to_hw+0x45/0x650 [amdgpu]
[   21.112224]  ? dc_remove_plane_from_context+0x1fc/0x240 [amdgpu]
[   21.112276]  dc_commit_state+0x2c6/0x520 [amdgpu]
[   21.112334]  amdgpu_dm_atomic_commit_tail+0x37a/0xd80 [amdgpu]
[   21.112338]  ? __wake_up_common_lock+0x89/0xc0
[   21.112341]  ? _cond_resched+0x15/0x30
[   21.112342]  ? wait_for_completion_timeout+0x3b/0x1a0
[   21.112399]  ? amdgpu_dm_atomic_commit_tail+0xd80/0xd80 [amdgpu]
[   21.112407]  commit_tail+0x3d/0x70 [drm_kms_helper]
[   21.112414]  drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper]
[   21.112428]  drm_framebuffer_remove+0x361/0x410 [drm]
[   21.112442]  drm_mode_rmfb_work_fn+0x4f/0x60 [drm]
[   21.112446]  process_one_work+0x1a7/0x360
[   21.112447]  worker_thread+0x30/0x390
[   21.112449]  ? pwq_unbound_release_workfn+0xd0/0xd0
[   21.112451]  kthread+0x112/0x130
[   21.112452]  ? kthread_bind+0x30/0x30
[   21.112454]  ret_from_fork+0x22/0x40
[   21.112456] ---[ end trace b22dbbbbffd241d9 ]---


You are receiving this mail because:
  • You are the assignee for the bug.
= --15361519362.695BE7174.18954-- --===============1658075274== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1658075274==--