Regressions in amd-staging-4.12 and amd-staging-drm-next
Hello,
At first congrats for submitting the pull request. I hope the dc code is accepted and included in the 4.15 kernel.
Me and some other users of my kernel builds (https://github.com/M-Bab/l
inux-kernel-amdgpu-binaries) found further regressions in builds based on amd-staging-4.12 and amd-staging-drm-next. I can confirm these regressions affecting my PC with R9 380 GPU, running on Xubuntu 17.04 with mesa 17.2 stable:
amd-staging-4.12: When the GPU needs to wake up there is a significant chance that the display freezes (black screen, login screen or crazy pattern). Can't tell if the whole system is frozen as well. This can happen either after wake-up from standby or after resuming from lockscreen (where the GPU seams to be shut off as well).
amd-staging-drm-next: Considering it is the latest codebase the performance is a bit underwhelming: It starts with trace messages in dmesg during boot (attached). Later on running anything graphical results in full-screen flicker and flickering black lines.
Are these issues known already? I can try to git bisect any of them if you are interested.
How should dc-kernel users proceed? Is the amd-staging-drm-next the recommended branch until the dc-code is merged?
Many regards,
Martin
[ 1.758422] ------------[ cut here ]------------ [ 1.758427] WARNING: CPU: 5 PID: 184 at drivers/gpu/drm/drm_mode_object.c:237 drm_object_property_set_value+0x57/0x70 [drm] [ 1.758427] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+) chash i2c_algo_bit ttm drm_kms_helper e1000e(+) syscopyarea sysfillrect ptp sysimgblt fb_sys_fops pps_core r8169 drm mii ahci libahci wmi video pinctrl_sunrisepoint pinctrl_intel i2c_hid hid [ 1.758435] CPU: 5 PID: 184 Comm: systemd-udevd Not tainted 4.13.4+ #1 [ 1.758435] Hardware name: Gigabyte Technology Co., Ltd. B250-HD3P/B250-HD3P-CF, BIOS F3 12/07/2016 [ 1.758435] task: ffff9157d2c85580 task.stack: ffffaf3b82058000 [ 1.758438] RIP: 0010:drm_object_property_set_value+0x57/0x70 [drm] [ 1.758439] RSP: 0018:ffffaf3b8205b830 EFLAGS: 00010246 [ 1.758439] RAX: ffffffffc05f96e0 RBX: ffff9157d3245000 RCX: ffff9157d32451a0 [ 1.758440] RDX: 0000000000000000 RSI: ffff9157d325d400 RDI: ffff9157d3245028 [ 1.758440] RBP: ffffaf3b8205b830 R08: ffff9157d3245148 R09: ffff9157dc306100 [ 1.758440] R10: 000000000000003a R11: ffff9157ddc3a429 R12: 0000000000000000 [ 1.758441] R13: ffff9157d37b0000 R14: ffff9157d3245028 R15: ffff9157d37b0000 [ 1.758441] FS: 00007f9c6d4b38c0(0000) GS:ffff9157eed40000(0000) knlGS:0000000000000000 [ 1.758442] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.758442] CR2: 00007ffc8a28fc18 CR3: 0000000412fdb000 CR4: 00000000003406e0 [ 1.758443] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1.758443] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1.758444] Call Trace: [ 1.758480] amdgpu_dm_add_sink_to_freesync_module+0x8d/0x1b0 [amdgpu] [ 1.758506] amdgpu_dm_update_connector_after_detect+0xb9/0x210 [amdgpu] [ 1.758529] amdgpu_dm_initialize_drm_device+0x350/0x750 [amdgpu] [ 1.758531] ? printk+0x52/0x6e [ 1.758555] ? mod_freesync_create+0x13e/0x190 [amdgpu] [ 1.758580] amdgpu_dm_init+0x15f/0x270 [amdgpu] [ 1.758602] dm_hw_init+0x12/0x20 [amdgpu] [ 1.758620] amdgpu_device_init+0xf16/0x1650 [amdgpu] [ 1.758621] ? kmalloc_order+0x18/0x40 [ 1.758622] ? kmalloc_order_trace+0x24/0xa0 [ 1.758639] amdgpu_driver_load_kms+0x8b/0x2e0 [amdgpu] [ 1.758642] drm_dev_register+0x146/0x1d0 [drm] [ 1.758660] amdgpu_pci_probe+0x118/0x140 [amdgpu] [ 1.758661] local_pci_probe+0x45/0xa0 [ 1.758662] pci_device_probe+0x151/0x1a0 [ 1.758664] driver_probe_device+0x29c/0x450 [ 1.758665] __driver_attach+0xdf/0xf0 [ 1.758666] ? driver_probe_device+0x450/0x450 [ 1.758667] bus_for_each_dev+0x6c/0xc0 [ 1.758668] driver_attach+0x1e/0x20 [ 1.758669] bus_add_driver+0x170/0x260 [ 1.758670] driver_register+0x60/0xe0 [ 1.758670] __pci_register_driver+0x4c/0x50 [ 1.758692] amdgpu_init+0x91/0xa4 [amdgpu] [ 1.758692] ? 0xffffffffc06b3000 [ 1.758693] do_one_initcall+0x52/0x1a0 [ 1.758694] ? __vunmap+0x81/0xb0 [ 1.758696] ? kfree+0x14a/0x160 [ 1.758697] ? kmem_cache_alloc_trace+0x149/0x1a0 [ 1.758698] do_init_module+0x5f/0x1f9 [ 1.758699] load_module+0x267f/0x2c90 [ 1.758701] ? ima_post_read_file+0x7e/0xa0 [ 1.758702] SYSC_finit_module+0xe5/0x120 [ 1.758703] ? SYSC_finit_module+0xe5/0x120 [ 1.758704] SyS_finit_module+0xe/0x10 [ 1.758705] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 1.758705] RIP: 0033:0x7f9c6c3239f9 [ 1.758706] RSP: 002b:00007ffc8a297198 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1.758707] RAX: ffffffffffffffda RBX: 00007f9c6d45e182 RCX: 00007f9c6c3239f9 [ 1.758707] RDX: 0000000000000000 RSI: 00007f9c6cc46e23 RDI: 0000000000000014 [ 1.758707] RBP: 00007ffc8a296270 R08: 0000000000000000 R09: 0000000000000000 [ 1.758708] R10: 0000000000000014 R11: 0000000000000246 R12: 00007ffc8a296282 [ 1.758708] R13: 00007ffc8a295198 R14: 000055d3a24d02b0 R15: 000055d3a24c7450 [ 1.758709] Code: 38 85 ff 7e 24 49 3b 70 08 74 24 49 8d 48 10 31 c0 eb 0a 48 83 c1 08 48 3b 71 f8 74 14 83 c0 01 39 f8 75 ef b8 ea ff ff ff 5d c3 <0f> ff eb c6 31 c0 48 98 49 89 94 c0 c8 00 00 00 31 c0 5d c3 0f [ 1.758722] ---[ end trace 9564183383bee1d2 ]---
[ 10.151723] ------------[ cut here ]------------ [ 10.151729] WARNING: CPU: 0 PID: 1196 at drivers/gpu/drm/drm_mode_object.c:294 drm_object_property_get_value+0x22/0x30 [drm] [ 10.151730] Modules linked in: bnep binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel crypto_simd glue_helper cryptd aes_x86_64 intel_cstate snd_hda_codec_realtek dm_crypt snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl_perf serio_raw snd_seq_midi snd_hda_intel snd_seq_midi_event input_leds snd_hda_codec snd_rawmidi snd_hda_core snd_hwdep joydev snd_seq snd_pcm snd_seq_device snd_timer snd mei_me btusb btrtl soundcore mei shpchp hci_uart btbcm serdev btqca btintel bluetooth ecdh_generic intel_lpss_acpi intel_lpss acpi_als acpi_pad tpm_infineon mac_hid kfifo_buf industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid amdkfd amd_iommu_v2 amdgpu [ 10.151747] chash i2c_algo_bit ttm drm_kms_helper e1000e syscopyarea sysfillrect ptp sysimgblt fb_sys_fops pps_core r8169 drm mii ahci libahci wmi video pinctrl_sunrisepoint pinctrl_intel i2c_hid hid [ 10.151754] CPU: 0 PID: 1196 Comm: Xorg Tainted: G W 4.13.4+ #1 [ 10.151754] Hardware name: Gigabyte Technology Co., Ltd. B250-HD3P/B250-HD3P-CF, BIOS F3 12/07/2016 [ 10.151755] task: ffff9157d43b0000 task.stack: ffffaf3b821f8000 [ 10.151758] RIP: 0010:drm_object_property_get_value+0x22/0x30 [drm] [ 10.151758] RSP: 0018:ffffaf3b821fbbc0 EFLAGS: 00010282 [ 10.151759] RAX: ffffffffc05f96e0 RBX: ffff9157d37b0000 RCX: 0000000000000000 [ 10.151759] RDX: ffffaf3b821fbbe0 RSI: ffff9157d325dc80 RDI: ffff9157d3245028 [ 10.151760] RBP: ffffaf3b821fbbc0 R08: ffff9157dbc32a40 R09: ffff9157d99a3800 [ 10.151760] R10: ffff9157d99a3800 R11: 0000000000000000 R12: ffff9157d3245000 [ 10.151760] R13: 00000000ffffffea R14: ffff9157d922bc80 R15: ffff9157d3245028 [ 10.151761] FS: 00007fe21c66ca40(0000) GS:ffff9157eec00000(0000) knlGS:0000000000000000 [ 10.151762] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.151762] CR2: 000055b81b0e1008 CR3: 0000000417a53000 CR4: 00000000003406f0 [ 10.151763] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 10.151763] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 10.151763] Call Trace: [ 10.151785] amdgpu_dm_connector_atomic_set_property+0xf4/0x170 [amdgpu] [ 10.151789] drm_atomic_set_property+0x186/0x4a0 [drm] [ 10.151792] drm_mode_obj_set_property_ioctl+0x126/0x260 [drm] [ 10.151795] ? drm_mode_connector_set_obj_prop+0x70/0x70 [drm] [ 10.151798] drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm] [ 10.151801] drm_ioctl_kernel+0x69/0xb0 [drm] [ 10.151803] drm_ioctl+0x33c/0x3f0 [drm] [ 10.151806] ? drm_mode_connector_set_obj_prop+0x70/0x70 [drm] [ 10.151808] ? __handle_mm_fault+0xd81/0x1040 [ 10.151816] amdgpu_drm_ioctl+0x4f/0x90 [amdgpu] [ 10.151818] do_vfs_ioctl+0xa3/0x600 [ 10.151819] ? handle_mm_fault+0xce/0x1c0 [ 10.151820] ? __do_page_fault+0x266/0x4e0 [ 10.151821] SyS_ioctl+0x79/0x90 [ 10.151823] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 10.151823] RIP: 0033:0x7fe21a07a587 [ 10.151824] RSP: 002b:00007ffe83cf1ca8 EFLAGS: 00003246 ORIG_RAX: 0000000000000010 [ 10.151824] RAX: ffffffffffffffda RBX: 000055b81b0e0fe0 RCX: 00007fe21a07a587 [ 10.151825] RDX: 00007ffe83cf1ce0 RSI: 00000000c01064ab RDI: 000000000000000e [ 10.151825] RBP: 00007fe21a33db00 R08: 0000000000000055 R09: 0000000000000001 [ 10.151826] R10: 0000000000000004 R11: 0000000000003246 R12: 00007fe21a33db58 [ 10.151826] R13: 000055b81b0e0fc0 R14: 0000000000002710 R15: 0000000000000020 [ 10.151827] Code: e5 e8 83 ad ff ff 5d f3 c3 0f 1f 44 00 00 48 8b 46 60 55 48 89 e5 48 8b 80 70 03 00 00 48 83 78 20 00 75 07 e8 70 ff ff ff 5d c3 <0f> ff e8 67 ff ff ff 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 [ 10.151840] ---[ end trace 9564183383bee1d3 ]---
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 29 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Martin Babutzka
Sent: Friday, September 29, 2017 2:00 PM
To: [email protected]
Subject: Regressions in amd-staging-4.12 and amd-staging-drm-nextHello,
At first congrats for submitting the pull request. I hope the dc code is accepted and included in the 4.15 kernel.
Me and some other users of my kernel builds (https://github.com/M-Bab/l
inux-kernel-amdgpu-binaries) found further regressions in builds based on amd-staging-4.12 and amd-staging-drm-next. I can confirm these regressions affecting my PC with R9 380 GPU, running on Xubuntu 17.04 with mesa 17.2 stable:amd-staging-4.12: When the GPU needs to wake up there is a significant chance that the display freezes (black screen, login screen or crazy pattern). Can't tell if the whole system is frozen as well. This can happen either after wake-up from standby or after resuming from lockscreen (where the GPU seams to be shut off as well).
amd-staging-drm-next: Considering it is the latest codebase the performance is a bit underwhelming: It starts with trace messages in dmesg during boot (attached). Later on running anything graphical results in full-screen flicker and flickering black lines.
Quoted 4 lines
Are these issues known already? I can try to git bisect any of them if you are interested.
How should dc-kernel users proceed? Is the amd-staging-drm-next the recommended branch until the dc-code is merged?
drm-next-4.15-dc has the latest dc code for upstream. It has some additional fixes for dc against the latest core drm changes in drm-next that are not in amd-staging-drm-next yet.
Alex
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 24 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Martin Babutzka
Sent: Friday, September 29, 2017 2:00 PM
To: [email protected]
Subject: Regressions in amd-staging-4.12 and amd-staging-drm-nextHello,
At first congrats for submitting the pull request. I hope the dc code is accepted and included in the 4.15 kernel.
Me and some other users of my kernel builds (https://github.com/M-Bab/l
inux-kernel-amdgpu-binaries) found further regressions in builds based on amd-staging-4.12 and amd-staging-drm-next. I can confirm these regressions affecting my PC with R9 380 GPU, running on Xubuntu 17.04 with mesa 17.2 stable:amd-staging-4.12: When the GPU needs to wake up there is a significant chance that the display freezes (black screen, login screen or crazy pattern). Can't tell if the whole system is frozen as well. This can happen either after wake-up from standby or after resuming from lockscreen (where the GPU seams to be shut off as well).
Quoted 4 lines
amd-staging-drm-next: Considering it is the latest codebase the performance is a bit underwhelming: It starts with trace messages in dmesg during boot (attached). Later on running anything graphical results in full-screen flicker and flickering black lines.
If you can bisect the flickering, that would be helpful.
Thanks,
Alex
Quoted 8 lines
Are these issues known already? I can try to git bisect any of them if you are interested.
How should dc-kernel users proceed? Is the amd-staging-drm-next the recommended branch until the dc-code is merged?Many regards,
Martin
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx