Re: Lower glxgears FPS performance after suspend/resume
Sorry, the lower FPS is related to the window being shown or not. On Fri, Jun 15, 2018 at 9:48 PM Bráulio Bhavamitra wrote: > Hi all, > > Using raven ridge and latest amd-staging-drm-next available now. > > As you can see below, the performance after boot is about 7k FPS and 6k > FPS after the first resume. > > The hungs also are more often after resuming. > > Regards, > bráulio > > 7127 frames in 5.0 seconds = 7425.359 FPS > 36318 frames in 5.0 seconds = 7263.575 FPS > 40206 frames in 5.0 seconds = 8041.091 FPS > 37629 frames in 5.0 seconds = 7525.681 FPS > 38839 frames in 5.0 seconds = 7767.696 FPS > 37469 frames in 5.0 seconds = 7493.695 FPS > 40582 frames in 5.0 seconds = 8116.345 FPS > 39520 frames in 5.0 seconds = 7903.875 FPS > 35943 frames in 5.0 seconds = 7188.529 FPS > 37354 frames in 5.0 seconds = 7470.655 FPS > 38751 frames in 5.0 seconds = 7750.033 FPS > 37175 frames in 5.0 seconds = 7434.853 FPS > 36570 frames in 5.0 seconds = 7313.902 FPS > 38537 frames in 5.0 seconds = 7707.272 FPS > 37165 frames in 5.0 seconds = 7432.987 FPS > 33773 frames in 5.0 seconds = 6754.534 FPS > 38359 frames in 5.0 seconds = 7671.739 FPS > 35020 frames in 5.0 seconds = 7003.940 FPS > 34155 frames in 5.0 seconds = 6830.799 FPS > 22970 frames in 11.3 seconds = 2040.122 FPS > 34024 frames in 5.0 seconds = 6804.761 FPS > 30728 frames in 5.0 seconds = 6145.559 FPS > 30999 frames in 5.0 seconds = 6199.678 FPS > 31189 frames in 5.0 seconds = 6237.743 FPS > 30623 frames in 5.0 seconds = 6124.375 FPS > 31480 frames in 5.0 seconds = 6295.896 FPS > 30943 frames in 5.0 seconds = 6188.538 FPS > 30844 frames in 5.0 seconds = 6168.606 FPS > 30546 frames in 5.0 seconds = 6109.063 FPS > 31515 frames in 5.0 seconds = 6302.877 FPS > 30566 frames in 5.0 seconds = 6113.185 FPS > 31078 frames in 5.0 seconds = 6215.562 FPS > 30934 frames in 5.0 seconds = 6186.748 FPS > 30254 frames in 5.0 seconds = 6050.674 FPS > 30657 frames in 5.0 seconds = 6131.263 FPS > > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Lower glxgears FPS performance after suspend/resume
Hi all, Using raven ridge and latest amd-staging-drm-next available now. As you can see below, the performance after boot is about 7k FPS and 6k FPS after the first resume. The hungs also are more often after resuming. Regards, bráulio 7127 frames in 5.0 seconds = 7425.359 FPS 36318 frames in 5.0 seconds = 7263.575 FPS 40206 frames in 5.0 seconds = 8041.091 FPS 37629 frames in 5.0 seconds = 7525.681 FPS 38839 frames in 5.0 seconds = 7767.696 FPS 37469 frames in 5.0 seconds = 7493.695 FPS 40582 frames in 5.0 seconds = 8116.345 FPS 39520 frames in 5.0 seconds = 7903.875 FPS 35943 frames in 5.0 seconds = 7188.529 FPS 37354 frames in 5.0 seconds = 7470.655 FPS 38751 frames in 5.0 seconds = 7750.033 FPS 37175 frames in 5.0 seconds = 7434.853 FPS 36570 frames in 5.0 seconds = 7313.902 FPS 38537 frames in 5.0 seconds = 7707.272 FPS 37165 frames in 5.0 seconds = 7432.987 FPS 33773 frames in 5.0 seconds = 6754.534 FPS 38359 frames in 5.0 seconds = 7671.739 FPS 35020 frames in 5.0 seconds = 7003.940 FPS 34155 frames in 5.0 seconds = 6830.799 FPS 22970 frames in 11.3 seconds = 2040.122 FPS 34024 frames in 5.0 seconds = 6804.761 FPS 30728 frames in 5.0 seconds = 6145.559 FPS 30999 frames in 5.0 seconds = 6199.678 FPS 31189 frames in 5.0 seconds = 6237.743 FPS 30623 frames in 5.0 seconds = 6124.375 FPS 31480 frames in 5.0 seconds = 6295.896 FPS 30943 frames in 5.0 seconds = 6188.538 FPS 30844 frames in 5.0 seconds = 6168.606 FPS 30546 frames in 5.0 seconds = 6109.063 FPS 31515 frames in 5.0 seconds = 6302.877 FPS 30566 frames in 5.0 seconds = 6113.185 FPS 31078 frames in 5.0 seconds = 6215.562 FPS 30934 frames in 5.0 seconds = 6186.748 FPS 30254 frames in 5.0 seconds = 6050.674 FPS 30657 frames in 5.0 seconds = 6131.263 FPS ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Chrome crash on 4.18.1
Thanks! Em seg, 20 de ago de 2018 12:17, Michel Dänzer escreveu: > On 2018-08-18 12:39 AM, Bráulio Bhavamitra wrote: > > Chrome freezed and had to be killed, error on dmesg below. > > > > [...] > > > > [ 5898.208262] [ cut here ] > > [ 5898.208272] kernel BUG at drivers/dma-buf/reservation.c:234! > > [ 5898.208305] invalid opcode: [#1] PREEMPT SMP NOPTI > > [ 5898.208314] CPU: 6 PID: 2988 Comm: chromium Tainted: G C O > > 4.18.1-arch1-1-ARCH #1 > > [ 5898.208317] Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6, > > BIOS F.17 03/29/2018 > > [ 5898.208334] RIP: 0010:reservation_object_add_shared_fence+0x31b/0x370 > > [ 5898.208336] Code: ff 4c 89 7d 18 c7 45 10 01 00 00 00 e9 e2 fd ff ff > e8 > > 46 8c a8 ff e9 0c fe ff ff b8 18 00 00 00 ba 01 00 00 00 e9 c0 fd ff ff > > <0f> 0b 8d 50 01 48 8d 04 c5 18 00 00 00 48 01 d8 45 31 f6 4c 89 38 > > [ 5898.208373] RSP: 0018:a1b1ca9abb38 EFLAGS: 00010246 > > [ 5898.208377] RAX: 0004 RBX: 9236f1c71580 RCX: > > 0001 > > [ 5898.208380] RDX: 0001 RSI: 92371223da60 RDI: > > 9236b196ba18 > > [ 5898.208382] RBP: R08: 9236bc7c3c80 R09: > > 92374aba2378 > > [ 5898.208385] R10: 9237374cded8 R11: 9237374cdec8 R12: > > 9236b196ba18 > > [ 5898.208387] R13: 9236b1ac0130 R14: 9236bfe3c000 R15: > > 92371223da60 > > [ 5898.208390] FS: 7fffe08c2180() GS:92374ab8() > > knlGS: > > [ 5898.208393] CS: 0010 DS: ES: CR0: 80050033 > > [ 5898.208395] CR2: 265eadacf000 CR3: 0004794e4000 CR4: > > 003406e0 > > [ 5898.208398] Call Trace: > > [ 5898.208519] amdgpu_vm_update_directories+0x2a8/0x3e0 [amdgpu] > > This should be fixed with the changes merged by Linus for the 4.19 > release. The relevant fixes were marked for backporting to stable, so > they should appear in future 4.18.y releases as well. > > > -- > Earthling Michel Dänzer | http://www.amd.com > Libre software enthusiast | Mesa and X developer > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Error on boot with Raven Ridge
Yep, https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next On Mon, Jul 16, 2018 at 12:32 PM Harry Wentland wrote: > What kernel are you running? amd-staging-drm-next? > > Harry > > On 2018-07-15 07:02 PM, Bráulio Bhavamitra wrote: > > Although it is reported on dmesg, the system still boots normally > > > > [8.253073] amdgpu: [powerplay] dpm has been enabled > > [8.253210] [drm] DM_PPLIB: 40 in kHz > > [8.253211] [drm] DM_PPLIB: 933000 in kHz > > [8.253212] [drm] DM_PPLIB: 1067000 in kHz > > [8.253380] WARNING: CPU: 6 PID: 361 at > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 > dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] > > [8.253381] Modules linked in: ext4 mbcache jbd2 fscrypto joydev > mousedev amdkfd amd_iommu_v2 amdgpu(+) arc4 r8822be(C) uvcvideo btusb btrtl > btbcm btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d > hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation > hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched > hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit > kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm > mac80211 drm_kms_helper hp_wmi edac_mce_amd snd_hda_codec_realtek > sparse_keymap snd_hda_codec_generic drm wmi_bmof snd_hda_codec_hdmi kvm_amd > snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep > kvm snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfillrect irqbypass > rtsx_pci_ms sysimgblt input_leds > > [8.253444] fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp > hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev > led_class i2c_hid evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi > hp_wireless vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg > crypto_user ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c > crc32c_generic xor zstd_decompress zstd_compress xxhash hid_sensor_hub > hid_generic usbhid hid raid6_pq sd_mod crct10dif_pclmul crc32_pclmul > crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc serio_raw atkbd libps2 > mmc_core ahci libahci aesni_intel xhci_pci aes_x86_64 libata crypto_simd > xhci_hcd cryptd glue_helper usbcore scsi_mod usb_common rtsx_pci i8042 > serio lz4 lz4_compress > > [8.253511] CPU: 6 PID: 361 Comm: systemd-udevd Tainted: G C > O 4.18.0-1-custom+ #7 > > [8.253512] Hardware name: HP HP ENVY x360 Convertible > 15m-bq1xx/83C6, BIOS F.17 03/29/2018 > > [8.253630] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] > > [8.253631] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01 > 00 00 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02 > <0f> 0b 48 89 da be 04 00 00 00 48 89 ef e8 13 5b fe ff 84 c0 0f 84 > > [8.253675] RSP: 0018:9bc383b037b8 EFLAGS: 00010246 > > [8.253678] RAX: 0001 RBX: 9bc383b03818 RCX: > > > [8.253679] RDX: RSI: 0004 RDI: > > > [8.253681] RBP: 918c85651a40 R08: 0001 R09: > 039f > > [8.253683] R10: 0004 R11: R12: > 918c733ae000 > > [8.253684] R13: 918c73293300 R14: 918c733ae000 R15: > > > [8.253687] FS: 77f85d40() GS:918c8ab8() > knlGS: > > [8.253688] CS: 0010 DS: ES: CR0: 80050033 > > [8.253690] CR2: 77a28000 CR3: 000505f02000 CR4: > 003406e0 > > [8.253692] Call Trace: > > [8.253817] dcn10_create_resource_pool+0x756/0x990 [amdgpu] > > [8.253933] dc_create_resource_pool+0x42/0x180 [amdgpu] > > [8.253940] ? __kmalloc+0x1aa/0x230 > > [8.254053] ? dal_gpio_service_create+0x7c/0x110 [amdgpu] > > [8.254165] dc_create+0x228/0x650 [amdgpu] > > [8.254273] ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu] > > [8.254385] dm_hw_init+0xc8/0x130 [amdgpu] > > [8.254496] amdgpu_device_init.cold.15+0x1041/0x1253 [amdgpu] > > [8.254585] amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu] > > [8.254607] drm_dev_register+0x109/0x140 [drm] > > [8.254693] amdgpu_pci_probe+0x13c/0x1c0 [amdgpu] > > [8.254699] ? _raw_spin_unlock_irqrestore+0x20/0x40 > > [8.254704] local_pci_probe+0x41/0x90 > > [8.254709] pci_device_probe+0x189/0x1a0 > > [8.254715] driver_probe_device+0x2b9/0x460 > > [8.254719] __driver_attach+0xdd/0x110 > > [8.254722] ? driver_probe_device+0x460/0x460 > > [8.254725] bus_for_each_dev+0x76/0xc0 > > [8.254729] bus_add_driver+0
Crash report from dmesg after suspend/resume
Everything still works. [36725.271678] BUG: unable to handle kernel NULL pointer dereference at [36725.271688] PGD 0 P4D 0 [36725.271697] Oops: 0002 [#1] PREEMPT SMP NOPTI [36725.271704] CPU: 6 PID: 27625 Comm: amdgpu_cs:0 Tainted: GWC O 4.18.0-1-custom+ #7 [36725.271708] Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6, BIOS F.17 03/29/2018 [36725.271720] RIP: 0010:_raw_spin_lock+0x1a/0x40 [36725.271724] Code: e8 fb d7 97 ff 66 90 5b c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 48 89 fb bf 01 00 00 00 e8 4d 28 95 ff 31 c0 ba 01 00 00 00 0f b1 13 85 c0 75 02 5b c3 89 c6 48 8 9 df e8 c2 d7 97 ff 66 90 [36725.271778] RSP: 0018:9bc388d6fb18 EFLAGS: 00010246 [36725.271783] RAX: RBX: RCX: 0001 [36725.271786] RDX: 0001 RSI: 918b55c492d8 RDI: 0001 [36725.271790] RBP: 918b55c492f0 R08: R09: 9189dfa75700 [36725.271794] R10: 918c717b2800 R11: R12: [36725.271797] R13: 918c717b67d8 R14: 05a0 R15: [36725.271803] FS: 7fffcfb7b700() GS:918c8ab8() knlGS: [36725.271807] CS: 0010 DS: ES: CR0: 80050033 [36725.271811] CR2: CR3: 000352ff2000 CR4: 003406e0 [36725.271815] Call Trace: [36725.271831] drm_sched_entity_push_job+0x122/0x150 [gpu_sched] [36725.271918] amdgpu_cs_ioctl+0x1469/0x1af0 [amdgpu] [36725.272004] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu] [36725.272025] drm_ioctl_kernel+0xa7/0xf0 [drm] [36725.272044] drm_ioctl+0x30e/0x3c0 [drm] [36725.272111] ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu] [36725.272166] amdgpu_drm_ioctl+0x49/0x80 [amdgpu] [36725.272174] do_vfs_ioctl+0xa4/0x620 [36725.272181] ksys_ioctl+0x60/0x90 [36725.272186] __x64_sys_ioctl+0x16/0x20 [36725.272192] do_syscall_64+0x5b/0x170 [36725.272198] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [36725.272203] RIP: 0033:0x736e2667 [36725.272205] Code: 00 00 90 48 8b 05 e9 67 2c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b9 6 7 2c 00 f7 d8 64 89 01 48 [36725.272253] RSP: 002b:7fffcfb7abd8 EFLAGS: 0246 ORIG_RAX: 0010 [36725.272258] RAX: ffda RBX: 7fffcfb7acc8 RCX: 736e2667 [36725.272262] RDX: 7fffcfb7ac40 RSI: c0186444 RDI: 000b [36725.272266] RBP: 7fffcfb7ac40 R08: 7fffcfb7acf0 R09: 0010 [36725.272269] R10: 7fffcfb7acf0 R11: 0246 R12: c0186444 [36725.272272] R13: 000b R14: 0002 R15: [36725.272278] Modules linked in: ccm rfcomm fuse ipt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype ipta ble_filter xt_conntrack nf_nat nf_conntrack br_netfilter bridge stp llc bnep ext4 mbcache jbd2 fscrypto joydev mousedev amdkfd amd_iommu_v2 amdgpu arc4 r8822be(C) uvcvideo btusb btrtl btbcm btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm mac80211 drm_kms_helper hp_wmi eda c_mce_amd snd_hda_codec_realtek sparse_keymap snd_hda_codec_generic [36725.272352] drm wmi_bmof snd_hda_codec_hdmi kvm_amd snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep kvm snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfil lrect irqbypass rtsx_pci_ms sysimgblt input_leds fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev led_class i2c_hi d evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi hp_wireless vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg crypto_user ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c crc32c_ generic xor zstd_decompress zstd_compress xxhash hid_sensor_hub hid_generic usbhid hid raid6_pq sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc ser io_raw atkbd libps2 mmc_core ahci libahci aesni_intel [36725.272440] xhci_pci aes_x86_64 libata crypto_simd xhci_hcd cryptd glue_helper usbcore scsi_mod usb_common rtsx_pci i8042 serio lz4 lz4_compress [36725.272460] CR2: [36725.272465] ---[ end trace 9134c6e0a3766f31 ]--- [36725.272473] RIP: 0010:_raw_spin_lock+0x1a/0x40 [36725.272476] Code: e8 fb d7 97 ff 66 90 5b c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 48 89 fb bf 01 00 00 00 e8 4d 28 95 ff 31 c0 ba 01 00 00 00 0f b1 13 85 c0 75 02 5b c3 89 c6 48 8 9 df e8 c2 d7 97 ff 66 90 [36725.272535] RSP: 0018:9bc388d6fb18 EFLAGS: 00010246 [36725.272539] RAX: RBX: RCX:
Error on boot with Raven Ridge
Although it is reported on dmesg, the system still boots normally [8.253073] amdgpu: [powerplay] dpm has been enabled [8.253210] [drm] DM_PPLIB: 40 in kHz [8.253211] [drm] DM_PPLIB: 933000 in kHz [8.253212] [drm] DM_PPLIB: 1067000 in kHz [8.253380] WARNING: CPU: 6 PID: 361 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] [8.253381] Modules linked in: ext4 mbcache jbd2 fscrypto joydev mousedev amdkfd amd_iommu_v2 amdgpu(+) arc4 r8822be(C) uvcvideo btusb btrtl btbcm btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm mac80211 drm_kms_helper hp_wmi edac_mce_amd snd_hda_codec_realtek sparse_keymap snd_hda_codec_generic drm wmi_bmof snd_hda_codec_hdmi kvm_amd snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep kvm snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfillrect irqbypass rtsx_pci_ms sysimgblt input_leds [8.253444] fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev led_class i2c_hid evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi hp_wireless vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg crypto_user ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c crc32c_generic xor zstd_decompress zstd_compress xxhash hid_sensor_hub hid_generic usbhid hid raid6_pq sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc serio_raw atkbd libps2 mmc_core ahci libahci aesni_intel xhci_pci aes_x86_64 libata crypto_simd xhci_hcd cryptd glue_helper usbcore scsi_mod usb_common rtsx_pci i8042 serio lz4 lz4_compress [8.253511] CPU: 6 PID: 361 Comm: systemd-udevd Tainted: G C O 4.18.0-1-custom+ #7 [8.253512] Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6, BIOS F.17 03/29/2018 [8.253630] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] [8.253631] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01 00 00 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02 <0f> 0b 48 89 da be 04 00 00 00 48 89 ef e8 13 5b fe ff 84 c0 0f 84 [8.253675] RSP: 0018:9bc383b037b8 EFLAGS: 00010246 [8.253678] RAX: 0001 RBX: 9bc383b03818 RCX: [8.253679] RDX: RSI: 0004 RDI: [8.253681] RBP: 918c85651a40 R08: 0001 R09: 039f [8.253683] R10: 0004 R11: R12: 918c733ae000 [8.253684] R13: 918c73293300 R14: 918c733ae000 R15: [8.253687] FS: 77f85d40() GS:918c8ab8() knlGS: [8.253688] CS: 0010 DS: ES: CR0: 80050033 [8.253690] CR2: 77a28000 CR3: 000505f02000 CR4: 003406e0 [8.253692] Call Trace: [8.253817] dcn10_create_resource_pool+0x756/0x990 [amdgpu] [8.253933] dc_create_resource_pool+0x42/0x180 [amdgpu] [8.253940] ? __kmalloc+0x1aa/0x230 [8.254053] ? dal_gpio_service_create+0x7c/0x110 [amdgpu] [8.254165] dc_create+0x228/0x650 [amdgpu] [8.254273] ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu] [8.254385] dm_hw_init+0xc8/0x130 [amdgpu] [8.254496] amdgpu_device_init.cold.15+0x1041/0x1253 [amdgpu] [8.254585] amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu] [8.254607] drm_dev_register+0x109/0x140 [drm] [8.254693] amdgpu_pci_probe+0x13c/0x1c0 [amdgpu] [8.254699] ? _raw_spin_unlock_irqrestore+0x20/0x40 [8.254704] local_pci_probe+0x41/0x90 [8.254709] pci_device_probe+0x189/0x1a0 [8.254715] driver_probe_device+0x2b9/0x460 [8.254719] __driver_attach+0xdd/0x110 [8.254722] ? driver_probe_device+0x460/0x460 [8.254725] bus_for_each_dev+0x76/0xc0 [8.254729] bus_add_driver+0x152/0x230 [8.254732] ? 0xc124 [8.254735] driver_register+0x6b/0xb0 [8.254738] ? 0xc124 [8.254742] do_one_initcall+0x46/0x1f5 [8.254746] ? kmem_cache_alloc_trace+0x181/0x1d0 [8.254751] ? do_init_module+0x22/0x210 [8.254755] do_init_module+0x5a/0x210 [8.254759] load_module+0x2295/0x24b0 [8.254766] ? vmap_page_range_noflush+0x243/0x320 [8.254772] ? __se_sys_init_module+0x10c/0x170 [8.254776] __se_sys_init_module+0x10c/0x170 [8.254781] do_syscall_64+0x5b/0x170 [8.254786] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [8.254789] RIP: 0033:0x778f6f3a [8.254789] Code: 48 8b 0d 19 cf 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e6 ce 2b 00 f7 d8 64 89 01 48 [
Re: Error on boot with Raven Ridge
Now with the latest kernel from staging-next branch [ 13.244876] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.244877] Bluetooth: BNEP filters: protocol multicast [ 13.244882] Bluetooth: BNEP socket layer initialized [ 14.709064] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 15.282470] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 15.282533] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 15.722052] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 15.722118] Bridge firewalling registered [ 15.833492] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready [ 16.021385] fuse init (API version 7.27) [ 16.317799] Initializing XFRM netlink socket [ 16.413054] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready [ 20.588915] Bluetooth: RFCOMM TTY layer initialized [ 20.588925] Bluetooth: RFCOMM socket layer initialized [ 20.588934] Bluetooth: RFCOMM ver 1.11 [ 22.388724] core[1379]: segfault at 0 ip 00441058 sp 7fffd2f0 error 4 [ 22.388730] Code: 40 00 31 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 f5 53 48 89 fb 48 83 ec 08 e8 8f ec fd ff 89 c7 e8 f8 f0 fd ff <48> 8b 30 48 89 ea 48 89 df e8 fa eb fd ff 48 83 c4 08 b8 01 00 00 On Sun, Jul 15, 2018 at 8:02 PM Bráulio Bhavamitra wrote: > Although it is reported on dmesg, the system still boots normally > > [8.253073] amdgpu: [powerplay] dpm has been enabled > [8.253210] [drm] DM_PPLIB: 40 in kHz > [8.253211] [drm] DM_PPLIB: 933000 in kHz > [8.253212] [drm] DM_PPLIB: 1067000 in kHz > [8.253380] WARNING: CPU: 6 PID: 361 at > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 > dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] > [8.253381] Modules linked in: ext4 mbcache jbd2 fscrypto joydev > mousedev amdkfd amd_iommu_v2 amdgpu(+) arc4 r8822be(C) uvcvideo btusb btrtl > btbcm btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d > hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation > hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched > hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit > kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm > mac80211 drm_kms_helper hp_wmi edac_mce_amd snd_hda_codec_realtek > sparse_keymap snd_hda_codec_generic drm wmi_bmof snd_hda_codec_hdmi kvm_amd > snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep > kvm snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfillrect irqbypass > rtsx_pci_ms sysimgblt input_leds > [8.253444] fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp > hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev > led_class i2c_hid evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi > hp_wireless vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg > crypto_user ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c > crc32c_generic xor zstd_decompress zstd_compress xxhash hid_sensor_hub > hid_generic usbhid hid raid6_pq sd_mod crct10dif_pclmul crc32_pclmul > crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc serio_raw atkbd libps2 > mmc_core ahci libahci aesni_intel xhci_pci aes_x86_64 libata crypto_simd > xhci_hcd cryptd glue_helper usbcore scsi_mod usb_common rtsx_pci i8042 > serio lz4 lz4_compress > [8.253511] CPU: 6 PID: 361 Comm: systemd-udevd Tainted: G C O > 4.18.0-1-custom+ #7 > [8.253512] Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6, > BIOS F.17 03/29/2018 > [8.253630] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] > [8.253631] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01 00 > 00 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02 > <0f> 0b 48 89 da be 04 00 00 00 48 89 ef e8 13 5b fe ff 84 c0 0f 84 > [8.253675] RSP: 0018:9bc383b037b8 EFLAGS: 00010246 > [8.253678] RAX: 0001 RBX: 9bc383b03818 RCX: > > [8.253679] RDX: RSI: 0004 RDI: > > [8.253681] RBP: 918c85651a40 R08: 0001 R09: > 039f > [8.253683] R10: 0004 R11: R12: > 918c733ae000 > [8.253684] R13: 918c73293300 R14: 918c733ae000 R15: > > [8.253687] FS: 77f85d40() GS:918c8ab8() > knlGS: > [8.253688] CS: 0010 DS: ES: CR0: 80050033 > [8.253690] CR2: 77a28000 CR3: 000505f02000 CR4: > 003406e0 > [8.253692] Call Trace: > [8.253817] dcn10_create_resource_pool+0x756/0x990 [amdgpu] > [8.253933] dc_create_resource_pool+0x42/0x180 [amdgpu] > [8.253940] ? __kma
Re: Raven Ridge Ryzen 2500U hang reproduced
Suspend/resume are working fine now. There is big chance idle=nomwait fixed all hangs (from https://community.amd.com/thread/224000). Couldn't reproduce a hang since using it. CPU max. frequency is limited to 2000mhz, by firmware or linux 4.17, maybe due to overheating? It goes beyond 3hz on windows. Best regards, Bráulio On Mon, Mar 26, 2018 at 8:30 PM Bráulio Bhavamitra wrote: > Hi all, > > Following the random crashes happenning with many users (e.g. > https://www.phoronix.com/scan.php?page=news_item=Raven-Ridge-March-Update), > not only on Linux but also Windows, I've been struggling to reproduce and > generate any error log. > > After discovering that the error only happenned with KDE and games (at > least for me, see https://bugs.kde.org/show_bug.cgi?id=392378), I could > reproduce after a failing suspend. > > The crash most of the times allows the mouse to keep moving, but anything > else works. Except for this time the keyboard worked so I could switch the > tty and save the dmesg messages. After this I had to force reboot as it got > stuck trying to kill the lightdm service (gpu hanged?). > > The errors are, see attached the full dmesg: > [ 2899.525650] amdgpu :03:00.0: couldn't schedule ib on ring > [ 2899.525769] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs > (-22) > [ 2909.125047] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx > timeout, last signaled seq=174624, last emitted seq=174627 > [ 2909.125060] [drm] IP block:psp is hung! > [ 2909.125063] [drm] GPU recovery disabled. > [ 2914.756931] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > amdgpu_cs_list_validate(validated) failed. > [ 2914.756997] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process > the buffer list -16! > [ 2914.997372] amdgpu :03:00.0: couldn't schedule ib on ring > [ 2914.997498] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs > (-22) > [ 2930.117275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > amdgpu_cs_list_validate(validated) failed. > [ 2930.117405] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process > the buffer list -16! > [ 2930.152015] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear > memory with ring turned off. > [ 2930.157940] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear > memory with ring turned off. > [ 2930.180535] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear > memory with ring turned off. > [ 2933.781692] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready > [ 2945.477205] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > amdgpu_cs_list_validate(validated) failed. > [ 2945.477348] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process > the buffer list -16! > > System details: > HP Envy x360 Ryzen 2500U > ArchLinux, kernel 4.16rc6 and 4.15.12 > > Cheers, > bráulio > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Which branch to test latest support for Raven Ridge?
Hi all, I've been testing and mitigating the Raven Ridge crashes. I've just compiled the kernel https://cgit.freedesktop.org/~agd5f/linux/ at branch drm-next-4.18-wip to see if it would have the necessary fix for video hangs/freezes. Unfortunetely, it still crashes in the same situations. Which branch should I compile for the latest Raven Ridge support? Cheers, Bráulio -- Forwarded message - From: Bráulio Bhavamitra <brauli...@gmail.com> Date: Fri, Apr 13, 2018 at 7:24 PM Subject: Re: Raven Ridge Ryzen 2500U hang reproduced To: <amd-gfx@lists.freedesktop.org> It ALWAYS crashes on shader15 of http://www.graphicsfuzz.com/benchmark/android-v1.html. Also reported at https://bugzilla.redhat.com/show_bug.cgi?id=1562530 Using kernel 4.16 with options rcu_nocb=0-15 and amdgpu.dpm=0 Cheers, Bráulio On Mon, Mar 26, 2018 at 8:30 PM Bráulio Bhavamitra <brauli...@gmail.com> wrote: > Hi all, > > Following the random crashes happenning with many users (e.g. > https://www.phoronix.com/scan.php?page=news_item=Raven-Ridge-March-Update), > not only on Linux but also Windows, I've been struggling to reproduce and > generate any error log. > > After discovering that the error only happenned with KDE and games (at > least for me, see https://bugs.kde.org/show_bug.cgi?id=392378), I could > reproduce after a failing suspend. > > The crash most of the times allows the mouse to keep moving, but anything > else works. Except for this time the keyboard worked so I could switch the > tty and save the dmesg messages. After this I had to force reboot as it got > stuck trying to kill the lightdm service (gpu hanged?). > > The errors are, see attached the full dmesg: > [ 2899.525650] amdgpu :03:00.0: couldn't schedule ib on ring > [ 2899.525769] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs > (-22) > [ 2909.125047] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx > timeout, last signaled seq=174624, last emitted seq=174627 > [ 2909.125060] [drm] IP block:psp is hung! > [ 2909.125063] [drm] GPU recovery disabled. > [ 2914.756931] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > amdgpu_cs_list_validate(validated) failed. > [ 2914.756997] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process > the buffer list -16! > [ 2914.997372] amdgpu :03:00.0: couldn't schedule ib on ring > [ 2914.997498] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs > (-22) > [ 2930.117275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > amdgpu_cs_list_validate(validated) failed. > [ 2930.117405] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process > the buffer list -16! > [ 2930.152015] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear > memory with ring turned off. > [ 2930.157940] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear > memory with ring turned off. > [ 2930.180535] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear > memory with ring turned off. > [ 2933.781692] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready > [ 2945.477205] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > amdgpu_cs_list_validate(validated) failed. > [ 2945.477348] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process > the buffer list -16! > > System details: > HP Envy x360 Ryzen 2500U > ArchLinux, kernel 4.16rc6 and 4.15.12 > > Cheers, > bráulio > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Which branch to test latest support for Raven Ridge?
FYI, getting a blank screen and system freeze when lightdm is loaded with both drm-next-4.18-wip <https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.18-wip> and amd-staging-drm-next <https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next> branches. On Fri, Apr 13, 2018 at 10:05 PM Bráulio Bhavamitra <brauli...@gmail.com> wrote: > Hi all, > > I've been testing and mitigating the Raven Ridge crashes. I've just > compiled the kernel https://cgit.freedesktop.org/~agd5f/linux/ at branch > drm-next-4.18-wip to see if it would have the necessary fix for video > hangs/freezes. Unfortunetely, it still crashes in the same situations. > > Which branch should I compile for the latest Raven Ridge support? > > Cheers, > Bráulio > > -- Forwarded message - > From: Bráulio Bhavamitra <brauli...@gmail.com> > Date: Fri, Apr 13, 2018 at 7:24 PM > Subject: Re: Raven Ridge Ryzen 2500U hang reproduced > To: <amd-gfx@lists.freedesktop.org> > > > It ALWAYS crashes on shader15 of > http://www.graphicsfuzz.com/benchmark/android-v1.html. > > Also reported at https://bugzilla.redhat.com/show_bug.cgi?id=1562530 > > Using kernel 4.16 with options rcu_nocb=0-15 and amdgpu.dpm=0 > > Cheers, > Bráulio > > > On Mon, Mar 26, 2018 at 8:30 PM Bráulio Bhavamitra <brauli...@gmail.com> > wrote: > >> Hi all, >> >> Following the random crashes happenning with many users (e.g. >> https://www.phoronix.com/scan.php?page=news_item=Raven-Ridge-March-Update), >> not only on Linux but also Windows, I've been struggling to reproduce and >> generate any error log. >> >> After discovering that the error only happenned with KDE and games (at >> least for me, see https://bugs.kde.org/show_bug.cgi?id=392378), I could >> reproduce after a failing suspend. >> >> The crash most of the times allows the mouse to keep moving, but anything >> else works. Except for this time the keyboard worked so I could switch the >> tty and save the dmesg messages. After this I had to force reboot as it got >> stuck trying to kill the lightdm service (gpu hanged?). >> >> The errors are, see attached the full dmesg: >> [ 2899.525650] amdgpu :03:00.0: couldn't schedule ib on ring >> [ 2899.525769] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs >> (-22) >> [ 2909.125047] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx >> timeout, last signaled seq=174624, last emitted seq=174627 >> [ 2909.125060] [drm] IP block:psp is hung! >> [ 2909.125063] [drm] GPU recovery disabled. >> [ 2914.756931] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* >> amdgpu_cs_list_validate(validated) failed. >> [ 2914.756997] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process >> the buffer list -16! >> [ 2914.997372] amdgpu :03:00.0: couldn't schedule ib on ring >> [ 2914.997498] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs >> (-22) >> [ 2930.117275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* >> amdgpu_cs_list_validate(validated) failed. >> [ 2930.117405] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process >> the buffer list -16! >> [ 2930.152015] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear >> memory with ring turned off. >> [ 2930.157940] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear >> memory with ring turned off. >> [ 2930.180535] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear >> memory with ring turned off. >> [ 2933.781692] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready >> [ 2945.477205] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* >> amdgpu_cs_list_validate(validated) failed. >> [ 2945.477348] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process >> the buffer list -16! >> >> System details: >> HP Envy x360 Ryzen 2500U >> ArchLinux, kernel 4.16rc6 and 4.15.12 >> >> Cheers, >> bráulio >> > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Raven Ridge Ryzen 2500U hang reproduced
Hi Nicolai, It makes sense. The easiest way to reproduce the real freeze is to: - Run vblank_mode=0 glxgears - Open https://hangouts.google.com/start - Activate KDE compositing It will freeze within a few minutes. Cheers, Bráulio On Mon, Apr 16, 2018 at 4:44 AM Nicolai Hähnle <nhaeh...@gmail.com> wrote: > On 14.04.2018 00:24, Bráulio Bhavamitra wrote: > > It ALWAYS crashes on shader15 of > > http://www.graphicsfuzz.com/benchmark/android-v1.html. > > This is very likely an unrelated issue to any kind of desktop hang > you're seeing. The graphics fuzz shaders are the result of fuzzing to > intentionally generate unusual control flow structures which are likely > to trigger shader compiler bugs. Typical desktop workloads don't have > such shaders, so any generic desktop hang you're seeing is almost > certainly unrelated. > > Cheers, > Nicolai > > > > > > Also reported at https://bugzilla.redhat.com/show_bug.cgi?id=1562530 > > > > Using kernel 4.16 with options rcu_nocb=0-15 and amdgpu.dpm=0 > > > > Cheers, > > Bráulio > > > > On Mon, Mar 26, 2018 at 8:30 PM Bráulio Bhavamitra <brauli...@gmail.com > > <mailto:brauli...@gmail.com>> wrote: > > > > Hi all, > > > > Following the random crashes happenning with many users (e.g. > > > https://www.phoronix.com/scan.php?page=news_item=Raven-Ridge-March-Update > ), > > not only on Linux but also Windows, I've been struggling to > > reproduce and generate any error log. > > > > After discovering that the error only happenned with KDE and games > > (at least for me, see https://bugs.kde.org/show_bug.cgi?id=392378), > > I could reproduce after a failing suspend. > > > > The crash most of the times allows the mouse to keep moving, but > > anything else works. Except for this time the keyboard worked so I > > could switch the tty and save the dmesg messages. After this I had > > to force reboot as it got stuck trying to kill the lightdm service > > (gpu hanged?). > > > > The errors are, see attached the full dmesg: > > [ 2899.525650] amdgpu :03:00.0: couldn't schedule ib on ring > > > [ 2899.525769] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error > > scheduling IBs (-22) > > [ 2909.125047] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx > > timeout, last signaled seq=174624, last emitted seq=174627 > > [ 2909.125060] [drm] IP block:psp is hung! > > [ 2909.125063] [drm] GPU recovery disabled. > > [ 2914.756931] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > > amdgpu_cs_list_validate(validated) failed. > > [ 2914.756997] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to > > process the buffer list -16! > > [ 2914.997372] amdgpu :03:00.0: couldn't schedule ib on ring > > > [ 2914.997498] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error > > scheduling IBs (-22) > > [ 2930.117275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > > amdgpu_cs_list_validate(validated) failed. > > [ 2930.117405] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to > > process the buffer list -16! > > [ 2930.152015] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to > > clear memory with ring turned off. > > [ 2930.157940] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to > > clear memory with ring turned off. > > [ 2930.180535] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to > > clear memory with ring turned off. > > [ 2933.781692] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes > ready > > [ 2945.477205] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* > > amdgpu_cs_list_validate(validated) failed. > > [ 2945.477348] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to > > process the buffer list -16! > > > > System details: > > HP Envy x360 Ryzen 2500U > > ArchLinux, kernel 4.16rc6 and 4.15.12 > > > > Cheers, > > bráulio > > > > > > > > ___ > > amd-gfx mailing list > > amd-gfx@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/amd-gfx > > > > > -- > Lerne, wie die Welt wirklich ist, > Aber vergiss niemals, wie sie sein sollte. > ___ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Raven Ridge Ryzen 2500U hang reproduced
On Wed, Mar 28, 2018 at 8:46 AM Mike Lothian <m...@fireburn.co.uk> wrote: > On Tue, 27 Mar 2018, 00:30 Bráulio Bhavamitra, <brauli...@gmail.com> > wrote: > >> Hi all, >> >> Following the random crashes happenning with many users (e.g. >> https://www.phoronix.com/scan.php?page=news_item=Raven-Ridge-March-Update), >> not only on Linux but also Windows, I've been struggling to reproduce and >> generate any error log. >> >> After discovering that the error only happenned with KDE and games (at >> least for me, see https://bugs.kde.org/show_bug.cgi?id=392378), I could >> reproduce after a failing suspend. >> >> The crash most of the times allows the mouse to keep moving, but anything >> else works. Except for this time the keyboard worked so I could switch the >> tty and save the dmesg messages. After this I had to force reboot as it got >> stuck trying to kill the lightdm service (gpu hanged?). >> >> The errors are, see attached the full dmesg: >> [ 2899.525650] amdgpu :03:00.0: couldn't schedule ib on ring >> [ 2899.525769] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs >> (-22) >> [ 2909.125047] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx >> timeout, last signaled seq=174624, last emitted seq=174627 >> [ 2909.125060] [drm] IP block:psp is hung! >> [ 2909.125063] [drm] GPU recovery disabled. >> [ 2914.756931] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* >> amdgpu_cs_list_validate(validated) failed. >> [ 2914.756997] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process >> the buffer list -16! >> [ 2914.997372] amdgpu :03:00.0: couldn't schedule ib on ring >> [ 2914.997498] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs >> (-22) >> [ 2930.117275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* >> amdgpu_cs_list_validate(validated) failed. >> [ 2930.117405] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process >> the buffer list -16! >> [ 2930.152015] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear >> memory with ring turned off. >> [ 2930.157940] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear >> memory with ring turned off. >> [ 2930.180535] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear >> memory with ring turned off. >> [ 2933.781692] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready >> [ 2945.477205] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* >> amdgpu_cs_list_validate(validated) failed. >> [ 2945.477348] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process >> the buffer list -16! >> >> System details: >> HP Envy x360 Ryzen 2500U >> ArchLinux, kernel 4.16rc6 and 4.15.12 >> >> Cheers, >> bráulio >> > ___ >> amd-gfx mailing list >> amd-gfx@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx > > > Hi > > I think I've seen that issue in KDE too, where the mouse moves but nothing > else works. I found that switching VT's and back again fixes things for me > > The weird thing is I'm seeing this on i965 (amdgpu is used for games only > with PRIME) > > What version of X, Qt, KDE Frameworks and Plasma are you using? > The stable latest, from archlinux: https://www.archlinux.org/packages/?sort==kde== I could reproduce the freeze on XFCE, so it is definetely not KDE specific, Cheers, Bráulio > Cheers > > Mike > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Raven Ridge Ryzen 2500U hang reproduced
Hi all, Following the random crashes happenning with many users (e.g. https://www.phoronix.com/scan.php?page=news_item=Raven-Ridge-March-Update), not only on Linux but also Windows, I've been struggling to reproduce and generate any error log. After discovering that the error only happenned with KDE and games (at least for me, see https://bugs.kde.org/show_bug.cgi?id=392378), I could reproduce after a failing suspend. The crash most of the times allows the mouse to keep moving, but anything else works. Except for this time the keyboard worked so I could switch the tty and save the dmesg messages. After this I had to force reboot as it got stuck trying to kill the lightdm service (gpu hanged?). The errors are, see attached the full dmesg: [ 2899.525650] amdgpu :03:00.0: couldn't schedule ib on ring [ 2899.525769] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22) [ 2909.125047] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=174624, last emitted seq=174627 [ 2909.125060] [drm] IP block:psp is hung! [ 2909.125063] [drm] GPU recovery disabled. [ 2914.756931] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* amdgpu_cs_list_validate(validated) failed. [ 2914.756997] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process the buffer list -16! [ 2914.997372] amdgpu :03:00.0: couldn't schedule ib on ring [ 2914.997498] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22) [ 2930.117275] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* amdgpu_cs_list_validate(validated) failed. [ 2930.117405] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process the buffer list -16! [ 2930.152015] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off. [ 2930.157940] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off. [ 2930.180535] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off. [ 2933.781692] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready [ 2945.477205] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* amdgpu_cs_list_validate(validated) failed. [ 2945.477348] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to process the buffer list -16! System details: HP Envy x360 Ryzen 2500U ArchLinux, kernel 4.16rc6 and 4.15.12 Cheers, bráulio [1.225533] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [1.225535] usb 3-2: Product: USB2.0 Hub [1.247244] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [1.252131] ata2.00: ATA-9: SanDisk SDSSDA240G, Z33130RL, max UDMA/133 [1.252133] ata2.00: 468862128 sectors, multi 1: LBA48 NCQ (depth 31/32), AA [1.252942] hub 3-2:1.0: USB hub found [1.253280] hub 3-2:1.0: 4 ports detected [1.256819] usb 1-4: New USB device found, idVendor=04f2, idProduct=b593 [1.256821] usb 1-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [1.256823] usb 1-4: Product: HP Wide Vision FHD Camera [1.256824] usb 1-4: Manufacturer: Chicony Electronics Co.,Ltd. [1.256825] usb 1-4: SerialNumber: 1 [1.261627] ata2.00: configured for UDMA/133 [1.261871] scsi 1:0:0:0: Direct-Access ATA SanDisk SDSSDA24 30RL PQ: 0 ANSI: 5 [1.264556] sd 1:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB) [1.264593] sd 1:0:0:0: [sda] Write Protect is off [1.264596] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00 [1.264631] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [1.265224] sda: sda1 sda2 [1.265652] sd 1:0:0:0: [sda] Attached SCSI disk [1.310012] raid6: sse2x1 gen() 5511 MB/s [1.327003] raid6: sse2x1 xor() 5972 MB/s [1.344005] raid6: sse2x2 gen() 14445 MB/s [1.361004] raid6: sse2x2 xor() 9144 MB/s [1.378012] raid6: sse2x4 gen() 14636 MB/s [1.395005] raid6: sse2x4 xor() 8146 MB/s [1.412005] raid6: avx2x1 gen() 15839 MB/s [1.429002] raid6: avx2x1 xor() 11929 MB/s [1.446003] raid6: avx2x2 gen() 19894 MB/s [1.463002] raid6: avx2x2 xor() 12878 MB/s [1.480002] raid6: avx2x4 gen() 20617 MB/s [1.497004] raid6: avx2x4 xor() 10935 MB/s [1.497004] raid6: using algorithm avx2x4 gen() 20617 MB/s [1.497005] raid6: xor() 10935 MB/s, rmw enabled [1.497005] raid6: using avx2x2 recovery algorithm [1.499553] xor: automatically using best checksumming function avx [1.517926] Btrfs loaded, crc32c=crc32c-intel [1.518461] BTRFS: device label root devid 1 transid 298940 /dev/sda2 [1.528027] usb 3-2.3: new full-speed USB device number 3 using xhci_hcd [1.532082] device-mapper: uevent: version 1.0.3 [1.532198] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-de...@redhat.com [1.565789] BTRFS info (device sda2): disk space caching is enabled [1.565791] BTRFS info (device sda2): has skinny extents [1.567185] tsc: Refined TSC clocksource calibration: 1996.249 MHz [1.567197] clocksource: tsc:
Freezes back with Raven Ridge 2500u and 4.19
Hi all, 4.18 was completely stable with Raven Ridge 2500u and kernel opt idle=nomwait Now with 4.19 I'm having freezes again. And this time I cannot reboot using SysReq + B shortcut. Also the mouse is always frozen as well, before most of the times I could move it. Best Regards, Bráulio ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Freezes back with Raven Ridge 2500u and 4.19
Hi Alex, It might be the new firmware from 18.40. I'm back to linux 4.18.16 and having some freezes, although it seems less frequent than with 4.19. Regards, bráulio On Thu, Nov 1, 2018 at 11:24 AM Alex Deucher wrote: > On Thu, Nov 1, 2018 at 8:34 AM Bráulio Bhavamitra > wrote: > > > > Hi all, > > > > 4.18 was completely stable with Raven Ridge 2500u and kernel opt > idle=nomwait > > > > Now with 4.19 I'm having freezes again. And this time I cannot reboot > using SysReq + B shortcut. > > Also the mouse is always frozen as well, before most of the times I > could move it. > > Please see: > https://bugs.freedesktop.org/show_bug.cgi?id=108606 > > Alex > > > > > Best Regards, > > Bráulio > > ___ > > amd-gfx mailing list > > amd-gfx@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/amd-gfx > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: Freezes back with Raven Ridge 2500u and 4.19
Crashes seems related to newer Mesa, as disabling 3d effects on Kwin fixed them all. Reproduced problems with old and new firmware, latest 4.17, 4.18 and 4.19 kernels Now having another issue with new B19 update from HP Best, Bráulio On Thu, Nov 1, 2018 at 9:33 AM Bráulio Bhavamitra wrote: > Hi all, > > 4.18 was completely stable with Raven Ridge 2500u and kernel opt > idle=nomwait > > Now with 4.19 I'm having freezes again. And this time I cannot reboot > using SysReq + B shortcut. > Also the mouse is always frozen as well, before most of the times I could > move it. > > Best Regards, > Bráulio > ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Kernel panic on Xorg init with new HP F.19 BIOS and kernel 4.19
Hi all, After using windows to update my HP Envy x360 from BIOS to F.17 to F.19 I can't boot using kernel 4.19 anymore. FYI that update increased shared memory from 256mb to 1gb. BIOS downloaded from https://support.hp.com/us-en/drivers/selfservice/hp-envy-15-bq000-x360-convertible-pc/15551149 Caps lock starts blinking on lightdm init and get a black screen, looks like a kernel panic. Kernel 4.18.20 boots normally. Call trace from journalctl -xe -b -1: dez 09 16:25:01 braulio-laptop kernel: mousedev: PS/2 mouse device common for all mice dez 09 16:25:01 braulio-laptop kernel: amdgpu: [powerplay] dpm has been enabled dez 09 16:25:01 braulio-laptop kernel: [drm] DM_PPLIB: values for Invalid clock dez 09 16:25:01 braulio-laptop kernel: [drm] DM_PPLIB: 0 in kHz dez 09 16:25:01 braulio-laptop kernel: [drm] DM_PPLIB: 40 in kHz dez 09 16:25:01 braulio-laptop kernel: [drm] DM_PPLIB: 933000 in kHz dez 09 16:25:01 braulio-laptop kernel: [drm] DM_PPLIB: 1067000 in kHz dez 09 16:25:01 braulio-laptop kernel: WARNING: CPU: 6 PID: 377 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1372 dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: Modules linked in: joydev mousedev amdkfd amd_iommu_v2 amdgpu(+) btusb arc4 ext4 btrtl btbcm uvcvideo btintel r8822be(C) videobuf2_vmalloc hp_wmi vid> dez 09 16:25:01 braulio-laptop kernel: sysimgblt k10temp soundcore rfkill fb_sys_fops memstick i2c_piix4 battery ac hp_accel wmi lis3lv02d i2c_scmi i2c_hid input_polldev pinctrl_amd hp_wi> dez 09 16:25:01 braulio-laptop kernel: CPU: 6 PID: 377 Comm: systemd-udevd Tainted: G C OE 4.19.4-arch1-1-ARCH #1 dez 09 16:25:01 braulio-laptop kernel: Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6, BIOS F.19 11/05/2018 dez 09 16:25:01 braulio-laptop kernel: RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 78 01 00 00 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02 <0f> 0b 48 89 da > dez 09 16:25:01 braulio-laptop kernel: RSP: 0018:bb5e83c6f7d8 EFLAGS: 00010246 dez 09 16:25:01 braulio-laptop kernel: RAX: 0001 RBX: bb5e83c6f838 RCX: dez 09 16:25:01 braulio-laptop kernel: RDX: RSI: 0004 RDI: dez 09 16:25:01 braulio-laptop kernel: RBP: a121c508dd80 R08: 0001 R09: 03d7 dez 09 16:25:01 braulio-laptop kernel: R10: 0004 R11: R12: a121bbb31000 dez 09 16:25:01 braulio-laptop kernel: R13: a121bbb80f60 R14: a121bbb31000 R15: dez 09 16:25:01 braulio-laptop kernel: FS: 76033cc0() GS:a121cbb8() knlGS: dez 09 16:25:01 braulio-laptop kernel: CS: 0010 DS: ES: CR0: 80050033 dez 09 16:25:01 braulio-laptop kernel: CR2: 7fffa9e0 CR3: 000504058000 CR4: 003406e0 dez 09 16:25:01 braulio-laptop kernel: Call Trace: dez 09 16:25:01 braulio-laptop kernel: dcn10_create_resource_pool+0x781/0x9d0 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: ? dal_aux_engine_dce110_create+0x39/0x70 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: dc_create_resource_pool+0x42/0x180 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: ? __kmalloc+0x18f/0x220 dez 09 16:25:01 braulio-laptop kernel: dc_create+0x20f/0x620 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: dm_hw_init+0xc8/0x130 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: amdgpu_device_init.cold.14+0x1041/0x1253 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: drm_dev_register+0x109/0x140 [drm] dez 09 16:25:01 braulio-laptop kernel: amdgpu_pci_probe+0x13c/0x1c0 [amdgpu] dez 09 16:25:01 braulio-laptop kernel: ? _raw_spin_unlock_irqrestore+0x20/0x40 dez 09 16:25:01 braulio-laptop kernel: local_pci_probe+0x41/0x90 dez 09 16:25:01 braulio-laptop kernel: pci_device_probe+0x189/0x1a0 dez 09 16:25:01 braulio-laptop kernel: really_probe+0x235/0x3a0 dez 09 16:25:01 braulio-laptop kernel: driver_probe_device+0xb3/0xf0 dez 09 16:25:01 braulio-laptop kernel: __driver_attach+0xdd/0x110 dez 09 16:25:01 braulio-laptop kernel: ? driver_probe_device+0xf0/0xf0 dez 09 16:25:01 braulio-laptop kernel: ? driver_probe_device+0xf0/0xf0 dez 09 16:25:01 braulio-laptop kernel: bus_for_each_dev+0x76/0xc0 dez 09 16:25:01 braulio-laptop kernel: bus_add_driver+0x152/0x230 dez 09 16:25:01 braulio-laptop kernel: ? 0xc1475000 dez 09 16:25:01 braulio-laptop kernel: driver_register+0x6b/0xb0 dez 09 16:25:01 braulio-laptop kernel: ? 0xc1475000 dez 09 16:25:01 braulio-laptop kernel: do_one_initcall+0x46/0x1f5 dez 09 16:25:01 braulio-laptop kernel: ? kmem_cache_alloc_trace+0x176/0x1d0 dez 09 16:25:01