You are not logged in.

#51 2019-08-04 07:26:56

seth
Member
Registered: 2012-09-03
Posts: 13,073

Re: Laptop fails to resume from inside Plasma X session

Ensure windows fast start is not/was not (re) enabled,https://wiki.archlinux.org/index.php/Dual_boot_with_Windows#Fast_Start-Up

Offline

#52 2019-08-04 08:09:02

JohnDeVries
Member
Registered: 2019-07-15
Posts: 14

Re: Laptop fails to resume from inside Plasma X session

seth wrote:

Ensure windows fast start is not/was not (re) enabled,https://wiki.archlinux.org/index.php/Dual_boot_with_Windows#Fast_Start-Up

It was enabled. It's disabled now, but I still get the same problem: laptop wakes up immediately and freezes.

Edit: this happens both if Bluetooth is disabled or enabled by bluedevil

Last edited by JohnDeVries (2019-08-04 08:13:22)

Offline

#53 2019-08-04 10:40:54

seth
Member
Registered: 2012-09-03
Posts: 13,073

Re: Laptop fails to resume from inside Plasma X session

Just to be really sure, did you cold-reboot linux and windows after disabling fast-boot (completely power off the system, not just reboot from one OS into the other)

Offline

#54 2019-08-04 13:49:39

JohnDeVries
Member
Registered: 2019-07-15
Posts: 14

Re: Laptop fails to resume from inside Plasma X session

seth wrote:

Just to be really sure, did you cold-reboot linux and windows after disabling fast-boot (completely power off the system, not just reboot from one OS into the other)

Tried again after shut down from both OSs. No change.

Offline

#55 2019-08-07 10:00:07

cspack
Member
Registered: 2016-09-01
Posts: 26

Re: Laptop fails to resume from inside Plasma X session

This commit in xf86-video-amdgpu is where the problem surfaces: https://github.com/freedesktop/xorg-xf8 … 8176c2d512. It's the last commit before it's bumped to 19.0.0.  Adding amdgpu.dc=1 to kernel options seems to be a functional workaround. With this I'm able to suspend/resume using kernel 5.2+

Edit: Although amdgpu.dc=1 seems to work most of the time, I did get it to fail eventually so it's not a foolproof workaround.

Last edited by cspack (2019-08-07 13:34:56)

Offline

#56 2019-08-07 21:40:24

JohnDeVries
Member
Registered: 2019-07-15
Posts: 14

Re: Laptop fails to resume from inside Plasma X session

cspack wrote:

This commit in xf86-video-amdgpu is where the problem surfaces: https://github.com/freedesktop/xorg-xf8 … 8176c2d512. It's the last commit before it's bumped to 19.0.0.  Adding amdgpu.dc=1 to kernel options seems to be a functional workaround. With this I'm able to suspend/resume using kernel 5.2+

Edit: Although amdgpu.dc=1 seems to work most of the time, I did get it to fail eventually so it's not a foolproof workaround.

amdgpu.dc=1 had no effect on my machine

Offline

#57 2019-08-12 19:50:58

JoeCool
Member
Registered: 2019-08-12
Posts: 3

Re: Laptop fails to resume from inside Plasma X session

I just had a similar crash but without hibernating. I was in the middle of browsing the web in firefox and had a few flicker issues with Steam Big Picture before.
I went back to linux-lts 4.19.66-1-lts which seems to run fine.

I was able to sync and reboot with sysrq.
Here is the log:

Aug 12 20:37:21 joe-nitro kernel: [drm] pstate TEST_DEBUG_DATA: 0x3FFC0000
Aug 12 20:37:21 joe-nitro kernel: ------------[ cut here ]------------
Aug 12 20:37:21 joe-nitro kernel: WARNING: CPU: 4 PID: 1385 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:854 dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:37:21 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:37:21 joe-nitro kernel: CPU: 4 PID: 1385 Comm: Xorg Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:37:21 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:37:21 joe-nitro kernel: RIP: 0010:dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Code: 83 c8 ff e9 4a 81 f9 ff 48 c7 c7 98 70 43 c1 e8 7d 0f 36 d5 0f 0b 83 c8 ff e9 34 81 f9 ff 48 c7 c7 98 70 43 c1 e8 67 0f 36 d5 <0f> 0b 80 bb 93 01 00 00 00 75 05 e9 be a6 f9 ff 48 8b 83 80 02 00
Aug 12 20:37:21 joe-nitro kernel: RSP: 0018:ffffb36d02293780 EFLAGS: 00010246
Aug 12 20:37:21 joe-nitro kernel: RAX: 0000000000000024 RBX: ffff9747ed752000 RCX: 0000000000000000
Aug 12 20:37:21 joe-nitro kernel: RDX: 0000000000000000 RSI: 0000000000000082 RDI: 00000000ffffffff
Aug 12 20:37:21 joe-nitro kernel: RBP: ffff9747eb86c400 R08: 0000000000000bb5 R09: 0000000000000004
Aug 12 20:37:21 joe-nitro kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff9747ed752000
Aug 12 20:37:21 joe-nitro kernel: R13: 0000000000000001 R14: ffff9747931901b8 R15: ffff974750bf7100
Aug 12 20:37:21 joe-nitro kernel: FS:  00007f9a36fe0dc0(0000) GS:ffff9747ffb00000(0000) knlGS:0000000000000000
Aug 12 20:37:21 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:37:21 joe-nitro kernel: CR2: 00007f9a36c1b000 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:37:21 joe-nitro kernel: Call Trace:
Aug 12 20:37:21 joe-nitro kernel:  dc_stream_set_cursor_attributes+0xef/0x170 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  handle_cursor_update.isra.0+0x1f6/0x350 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_commit_cursors.isra.0+0x5b/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0x1247/0x19a0 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? kmem_cache_alloc_trace+0x16b/0x1c0
Aug 12 20:37:21 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_commit+0x108/0x110 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_update_plane+0xec/0x100 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_universal+0x12c/0x240 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_common+0xde/0x230 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl_kernel+0xb8/0x100 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl+0x23d/0x3d0 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  do_vfs_ioctl+0x43d/0x6c0
Aug 12 20:37:21 joe-nitro kernel:  ? syscall_trace_enter+0x1c8/0x2e0
Aug 12 20:37:21 joe-nitro kernel:  ksys_ioctl+0x5e/0x90
Aug 12 20:37:21 joe-nitro kernel:  __x64_sys_ioctl+0x16/0x20
Aug 12 20:37:21 joe-nitro kernel:  do_syscall_64+0x5f/0x1d0
Aug 12 20:37:21 joe-nitro kernel:  ? page_fault+0x8/0x30
Aug 12 20:37:21 joe-nitro kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug 12 20:37:21 joe-nitro kernel: RIP: 0033:0x7f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: Code: 0f 1e fa 48 8b 05 75 8c 0c 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 45 8c 0c 00 f7 d8 64 89 01 48
Aug 12 20:37:21 joe-nitro kernel: RSP: 002b:00007ffc45985788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: RAX: ffffffffffffffda RBX: 00007ffc459857d0 RCX: 00007f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: RDX: 00007ffc459857d0 RSI: 00000000c02464bb RDI: 000000000000000b
Aug 12 20:37:21 joe-nitro kernel: RBP: 00000000c02464bb R08: 0000000000000001 R09: 0000000000003fff
Aug 12 20:37:21 joe-nitro kernel: R10: 000000000000007f R11: 0000000000000246 R12: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: R13: 000000000000000b R14: 0000000000000010 R15: 0000557ec2b77d10
Aug 12 20:37:21 joe-nitro kernel: ---[ end trace a462c4d3773139d8 ]---
Aug 12 20:37:21 joe-nitro kernel: [drm] pstate TEST_DEBUG_DATA: 0x3FFC0000
Aug 12 20:37:21 joe-nitro kernel: ------------[ cut here ]------------
Aug 12 20:37:21 joe-nitro kernel: WARNING: CPU: 4 PID: 1385 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:854 dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:37:21 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:37:21 joe-nitro kernel: CPU: 4 PID: 1385 Comm: Xorg Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:37:21 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:37:21 joe-nitro kernel: RIP: 0010:dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Code: 83 c8 ff e9 4a 81 f9 ff 48 c7 c7 98 70 43 c1 e8 7d 0f 36 d5 0f 0b 83 c8 ff e9 34 81 f9 ff 48 c7 c7 98 70 43 c1 e8 67 0f 36 d5 <0f> 0b 80 bb 93 01 00 00 00 75 05 e9 be a6 f9 ff 48 8b 83 80 02 00
Aug 12 20:37:21 joe-nitro kernel: RSP: 0018:ffffb36d02293760 EFLAGS: 00010246
Aug 12 20:37:21 joe-nitro kernel: RAX: 0000000000000024 RBX: ffff9747ed752000 RCX: 0000000000000000
Aug 12 20:37:21 joe-nitro kernel: RDX: 0000000000000000 RSI: 0000000000000086 RDI: 00000000ffffffff
Aug 12 20:37:21 joe-nitro kernel: RBP: ffff9747ed752000 R08: 0000000000000beb R09: 0000000000000004
Aug 12 20:37:21 joe-nitro kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff9747931901b8
Aug 12 20:37:21 joe-nitro kernel: R13: ffff9747ed752000 R14: ffff9747931901b8 R15: ffff974750bf7100
Aug 12 20:37:21 joe-nitro kernel: FS:  00007f9a36fe0dc0(0000) GS:ffff9747ffb00000(0000) knlGS:0000000000000000
Aug 12 20:37:21 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:37:21 joe-nitro kernel: CR2: 00007f9a36c1b000 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:37:21 joe-nitro kernel: Call Trace:
Aug 12 20:37:21 joe-nitro kernel:  dcn10_pipe_control_lock.part.0+0x69/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  dc_stream_set_cursor_position+0x122/0x160 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  handle_cursor_update.isra.0+0x210/0x350 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_commit_cursors.isra.0+0x5b/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0x1247/0x19a0 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? kmem_cache_alloc_trace+0x16b/0x1c0
Aug 12 20:37:21 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_commit+0x108/0x110 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_update_plane+0xec/0x100 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_universal+0x12c/0x240 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_common+0xde/0x230 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl_kernel+0xb8/0x100 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl+0x23d/0x3d0 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  do_vfs_ioctl+0x43d/0x6c0
Aug 12 20:37:21 joe-nitro kernel:  ? syscall_trace_enter+0x1c8/0x2e0
Aug 12 20:37:21 joe-nitro kernel:  ksys_ioctl+0x5e/0x90
Aug 12 20:37:21 joe-nitro kernel:  __x64_sys_ioctl+0x16/0x20
Aug 12 20:37:21 joe-nitro kernel:  do_syscall_64+0x5f/0x1d0
Aug 12 20:37:21 joe-nitro kernel:  ? page_fault+0x8/0x30
Aug 12 20:37:21 joe-nitro kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug 12 20:37:21 joe-nitro kernel: RIP: 0033:0x7f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: Code: 0f 1e fa 48 8b 05 75 8c 0c 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 45 8c 0c 00 f7 d8 64 89 01 48
Aug 12 20:37:21 joe-nitro kernel: RSP: 002b:00007ffc45985788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: RAX: ffffffffffffffda RBX: 00007ffc459857d0 RCX: 00007f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: RDX: 00007ffc459857d0 RSI: 00000000c02464bb RDI: 000000000000000b
Aug 12 20:37:21 joe-nitro kernel: RBP: 00000000c02464bb R08: 0000000000000001 R09: 0000000000003fff
Aug 12 20:37:21 joe-nitro kernel: R10: 000000000000007f R11: 0000000000000246 R12: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: R13: 000000000000000b R14: 0000000000000010 R15: 0000557ec2b77d10
Aug 12 20:37:21 joe-nitro kernel: ---[ end trace a462c4d3773139d9 ]---
Aug 12 20:37:21 joe-nitro kernel: [drm] pstate TEST_DEBUG_DATA: 0x3FFD0000
Aug 12 20:37:21 joe-nitro kernel: ------------[ cut here ]------------
Aug 12 20:37:21 joe-nitro kernel: WARNING: CPU: 4 PID: 1385 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:854 dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:37:21 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:37:21 joe-nitro kernel: CPU: 4 PID: 1385 Comm: Xorg Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:37:21 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:37:21 joe-nitro kernel: RIP: 0010:dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Code: 83 c8 ff e9 4a 81 f9 ff 48 c7 c7 98 70 43 c1 e8 7d 0f 36 d5 0f 0b 83 c8 ff e9 34 81 f9 ff 48 c7 c7 98 70 43 c1 e8 67 0f 36 d5 <0f> 0b 80 bb 93 01 00 00 00 75 05 e9 be a6 f9 ff 48 8b 83 80 02 00
Aug 12 20:37:21 joe-nitro kernel: RSP: 0018:ffffb36d02293780 EFLAGS: 00010246
Aug 12 20:37:21 joe-nitro kernel: RAX: 0000000000000024 RBX: ffff9747ed752000 RCX: 0000000000000000
Aug 12 20:37:21 joe-nitro kernel: RDX: 0000000000000000 RSI: 0000000000000082 RDI: 00000000ffffffff
Aug 12 20:37:21 joe-nitro kernel: RBP: ffff9747eb86c400 R08: 0000000000000c22 R09: 0000000000000004
Aug 12 20:37:21 joe-nitro kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff974793191bc8
Aug 12 20:37:21 joe-nitro kernel: R13: ffff9747ed752000 R14: ffff9747931901b8 R15: ffff974750bf7100
Aug 12 20:37:21 joe-nitro kernel: FS:  00007f9a36fe0dc0(0000) GS:ffff9747ffb00000(0000) knlGS:0000000000000000
Aug 12 20:37:21 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:37:21 joe-nitro kernel: CR2: 00007f9a36c1b000 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:37:21 joe-nitro kernel: Call Trace:
Aug 12 20:37:21 joe-nitro kernel:  dc_stream_set_cursor_position+0x122/0x160 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  handle_cursor_update.isra.0+0x210/0x350 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_commit_cursors.isra.0+0x5b/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0x1247/0x19a0 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? kmem_cache_alloc_trace+0x16b/0x1c0
Aug 12 20:37:21 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_commit+0x108/0x110 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_update_plane+0xec/0x100 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_universal+0x12c/0x240 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_common+0xde/0x230 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl_kernel+0xb8/0x100 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl+0x23d/0x3d0 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  do_vfs_ioctl+0x43d/0x6c0
Aug 12 20:37:21 joe-nitro kernel:  ? syscall_trace_enter+0x1c8/0x2e0
Aug 12 20:37:21 joe-nitro kernel:  ksys_ioctl+0x5e/0x90
Aug 12 20:37:21 joe-nitro kernel:  __x64_sys_ioctl+0x16/0x20
Aug 12 20:37:21 joe-nitro kernel:  do_syscall_64+0x5f/0x1d0
Aug 12 20:37:21 joe-nitro kernel:  ? page_fault+0x8/0x30
Aug 12 20:37:21 joe-nitro kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug 12 20:37:21 joe-nitro kernel: RIP: 0033:0x7f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: Code: 0f 1e fa 48 8b 05 75 8c 0c 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 45 8c 0c 00 f7 d8 64 89 01 48
Aug 12 20:37:21 joe-nitro kernel: RSP: 002b:00007ffc45985788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: RAX: ffffffffffffffda RBX: 00007ffc459857d0 RCX: 00007f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: RDX: 00007ffc459857d0 RSI: 00000000c02464bb RDI: 000000000000000b
Aug 12 20:37:21 joe-nitro kernel: RBP: 00000000c02464bb R08: 0000000000000001 R09: 0000000000003fff
Aug 12 20:37:21 joe-nitro kernel: R10: 000000000000007f R11: 0000000000000246 R12: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: R13: 000000000000000b R14: 0000000000000010 R15: 0000557ec2b77d10
Aug 12 20:37:21 joe-nitro kernel: ---[ end trace a462c4d3773139da ]---
Aug 12 20:37:21 joe-nitro kernel: [drm] pstate TEST_DEBUG_DATA: 0x3FFD0000
Aug 12 20:37:21 joe-nitro kernel: ------------[ cut here ]------------
Aug 12 20:37:21 joe-nitro kernel: WARNING: CPU: 4 PID: 1385 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:854 dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:37:21 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:37:21 joe-nitro kernel: CPU: 4 PID: 1385 Comm: Xorg Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:37:21 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:37:21 joe-nitro kernel: RIP: 0010:dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Code: 83 c8 ff e9 4a 81 f9 ff 48 c7 c7 98 70 43 c1 e8 7d 0f 36 d5 0f 0b 83 c8 ff e9 34 81 f9 ff 48 c7 c7 98 70 43 c1 e8 67 0f 36 d5 <0f> 0b 80 bb 93 01 00 00 00 75 05 e9 be a6 f9 ff 48 8b 83 80 02 00
Aug 12 20:37:21 joe-nitro kernel: RSP: 0018:ffffb36d02293760 EFLAGS: 00010246
Aug 12 20:37:21 joe-nitro kernel: RAX: 0000000000000024 RBX: ffff9747ed752000 RCX: 0000000000000000
Aug 12 20:37:21 joe-nitro kernel: RDX: 0000000000000000 RSI: 0000000000000086 RDI: 00000000ffffffff
Aug 12 20:37:21 joe-nitro kernel: RBP: ffff9747ed752000 R08: 0000000000000c58 R09: 0000000000000004
Aug 12 20:37:21 joe-nitro kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff9747931901b8
Aug 12 20:37:21 joe-nitro kernel: R13: ffff9747ed752000 R14: ffff9747931901b8 R15: ffff974750bf7100
Aug 12 20:37:21 joe-nitro kernel: FS:  00007f9a36fe0dc0(0000) GS:ffff9747ffb00000(0000) knlGS:0000000000000000
Aug 12 20:37:21 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:37:21 joe-nitro kernel: CR2: 00007f9a36c1b000 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:37:21 joe-nitro kernel: Call Trace:
Aug 12 20:37:21 joe-nitro kernel:  dcn10_pipe_control_lock.part.0+0x69/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  dc_stream_set_cursor_position+0xde/0x160 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  handle_cursor_update.isra.0+0x210/0x350 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_commit_cursors.isra.0+0x5b/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0x1247/0x19a0 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? kmem_cache_alloc_trace+0x16b/0x1c0
Aug 12 20:37:21 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_commit+0x108/0x110 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_update_plane+0xec/0x100 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_universal+0x12c/0x240 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_common+0xde/0x230 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl_kernel+0xb8/0x100 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl+0x23d/0x3d0 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  do_vfs_ioctl+0x43d/0x6c0
Aug 12 20:37:21 joe-nitro kernel:  ? syscall_trace_enter+0x1c8/0x2e0
Aug 12 20:37:21 joe-nitro kernel:  ksys_ioctl+0x5e/0x90
Aug 12 20:37:21 joe-nitro kernel:  __x64_sys_ioctl+0x16/0x20
Aug 12 20:37:21 joe-nitro kernel:  do_syscall_64+0x5f/0x1d0
Aug 12 20:37:21 joe-nitro kernel:  ? page_fault+0x8/0x30
Aug 12 20:37:21 joe-nitro kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug 12 20:37:21 joe-nitro kernel: RIP: 0033:0x7f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: Code: 0f 1e fa 48 8b 05 75 8c 0c 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 45 8c 0c 00 f7 d8 64 89 01 48
Aug 12 20:37:21 joe-nitro kernel: RSP: 002b:00007ffc45985788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: RAX: ffffffffffffffda RBX: 00007ffc459857d0 RCX: 00007f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: RDX: 00007ffc459857d0 RSI: 00000000c02464bb RDI: 000000000000000b
Aug 12 20:37:21 joe-nitro kernel: RBP: 00000000c02464bb R08: 0000000000000001 R09: 0000000000003fff
Aug 12 20:37:21 joe-nitro kernel: R10: 000000000000007f R11: 0000000000000246 R12: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: R13: 000000000000000b R14: 0000000000000010 R15: 0000557ec2b77d10
Aug 12 20:37:21 joe-nitro kernel: ---[ end trace a462c4d3773139db ]---
Aug 12 20:37:21 joe-nitro kernel: [drm] pstate TEST_DEBUG_DATA: 0x3FFD0000
Aug 12 20:37:21 joe-nitro kernel: ------------[ cut here ]------------
Aug 12 20:37:21 joe-nitro kernel: WARNING: CPU: 4 PID: 1385 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:854 dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:37:21 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:37:21 joe-nitro kernel: CPU: 4 PID: 1385 Comm: Xorg Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:37:21 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:37:21 joe-nitro kernel: RIP: 0010:dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Code: 83 c8 ff e9 4a 81 f9 ff 48 c7 c7 98 70 43 c1 e8 7d 0f 36 d5 0f 0b 83 c8 ff e9 34 81 f9 ff 48 c7 c7 98 70 43 c1 e8 67 0f 36 d5 <0f> 0b 80 bb 93 01 00 00 00 75 05 e9 be a6 f9 ff 48 8b 83 80 02 00
Aug 12 20:37:21 joe-nitro kernel: RSP: 0018:ffffb36d02293780 EFLAGS: 00010246
Aug 12 20:37:21 joe-nitro kernel: RAX: 0000000000000024 RBX: ffff9747ed752000 RCX: 0000000000000000
Aug 12 20:37:21 joe-nitro kernel: RDX: 0000000000000000 RSI: 0000000000000082 RDI: 00000000ffffffff
Aug 12 20:37:21 joe-nitro kernel: RBP: ffff9747eb86c400 R08: 0000000000000c8f R09: 0000000000000004
Aug 12 20:37:21 joe-nitro kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
Aug 12 20:37:21 joe-nitro kernel: R13: ffff9747ed752000 R14: ffff9747931901b8 R15: ffff974750bf7100
Aug 12 20:37:21 joe-nitro kernel: FS:  00007f9a36fe0dc0(0000) GS:ffff9747ffb00000(0000) knlGS:0000000000000000
Aug 12 20:37:21 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:37:21 joe-nitro kernel: CR2: 00007f9a36c1b000 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:37:21 joe-nitro kernel: Call Trace:
Aug 12 20:37:21 joe-nitro kernel:  dc_stream_set_cursor_position+0xde/0x160 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  handle_cursor_update.isra.0+0x210/0x350 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_commit_cursors.isra.0+0x5b/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0x1247/0x19a0 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? kmem_cache_alloc_trace+0x16b/0x1c0
Aug 12 20:37:21 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_commit+0x108/0x110 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_update_plane+0xec/0x100 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_universal+0x12c/0x240 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_common+0xde/0x230 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl_kernel+0xb8/0x100 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl+0x23d/0x3d0 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  do_vfs_ioctl+0x43d/0x6c0
Aug 12 20:37:21 joe-nitro kernel:  ? syscall_trace_enter+0x1c8/0x2e0
Aug 12 20:37:21 joe-nitro kernel:  ksys_ioctl+0x5e/0x90
Aug 12 20:37:21 joe-nitro kernel:  __x64_sys_ioctl+0x16/0x20
Aug 12 20:37:21 joe-nitro kernel:  do_syscall_64+0x5f/0x1d0
Aug 12 20:37:21 joe-nitro kernel:  ? page_fault+0x8/0x30
Aug 12 20:37:21 joe-nitro kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug 12 20:37:21 joe-nitro kernel: RIP: 0033:0x7f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: Code: 0f 1e fa 48 8b 05 75 8c 0c 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 45 8c 0c 00 f7 d8 64 89 01 48
Aug 12 20:37:21 joe-nitro kernel: RSP: 002b:00007ffc45985788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: RAX: ffffffffffffffda RBX: 00007ffc459857d0 RCX: 00007f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: RDX: 00007ffc459857d0 RSI: 00000000c02464bb RDI: 000000000000000b
Aug 12 20:37:21 joe-nitro kernel: RBP: 00000000c02464bb R08: 0000000000000001 R09: 0000000000003fff
Aug 12 20:37:21 joe-nitro kernel: R10: 000000000000007f R11: 0000000000000246 R12: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: R13: 000000000000000b R14: 0000000000000010 R15: 0000557ec2b77d10
Aug 12 20:37:21 joe-nitro kernel: ---[ end trace a462c4d3773139dc ]---
Aug 12 20:37:21 joe-nitro kernel: [drm] pstate TEST_DEBUG_DATA: 0x3FFD0000
Aug 12 20:37:21 joe-nitro kernel: ------------[ cut here ]------------
Aug 12 20:37:21 joe-nitro kernel: WARNING: CPU: 4 PID: 1385 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:854 dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:37:21 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:37:21 joe-nitro kernel: CPU: 4 PID: 1385 Comm: Xorg Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:37:21 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:37:21 joe-nitro kernel: RIP: 0010:dcn10_verify_allow_pstate_change_high.cold+0xc/0x229 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel: Code: 83 c8 ff e9 4a 81 f9 ff 48 c7 c7 98 70 43 c1 e8 7d 0f 36 d5 0f 0b 83 c8 ff e9 34 81 f9 ff 48 c7 c7 98 70 43 c1 e8 67 0f 36 d5 <0f> 0b 80 bb 93 01 00 00 00 75 05 e9 be a6 f9 ff 48 8b 83 80 02 00
Aug 12 20:37:21 joe-nitro kernel: RSP: 0018:ffffb36d02293760 EFLAGS: 00010246
Aug 12 20:37:21 joe-nitro kernel: RAX: 0000000000000024 RBX: ffff9747ed752000 RCX: 0000000000000000
Aug 12 20:37:21 joe-nitro kernel: RDX: 0000000000000000 RSI: 0000000000000086 RDI: 00000000ffffffff
Aug 12 20:37:21 joe-nitro kernel: RBP: ffff9747ed752000 R08: 0000000000000cc5 R09: 0000000000000004
Aug 12 20:37:21 joe-nitro kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff974793190610
Aug 12 20:37:21 joe-nitro kernel: R13: ffff974793191bc8 R14: ffff974793190610 R15: ffff974750bf7100
Aug 12 20:37:21 joe-nitro kernel: FS:  00007f9a36fe0dc0(0000) GS:ffff9747ffb00000(0000) knlGS:0000000000000000
Aug 12 20:37:21 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:37:21 joe-nitro kernel: CR2: 00007f9a36c1b000 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:37:21 joe-nitro kernel: Call Trace:
Aug 12 20:37:21 joe-nitro kernel:  dcn10_pipe_control_lock.part.0+0x69/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  dc_stream_set_cursor_attributes+0x121/0x170 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  handle_cursor_update.isra.0+0x1f6/0x350 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_commit_cursors.isra.0+0x5b/0x70 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0x1247/0x19a0 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:37:21 joe-nitro kernel:  ? kmem_cache_alloc_trace+0x16b/0x1c0
Aug 12 20:37:21 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_commit+0x108/0x110 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_atomic_helper_update_plane+0xec/0x100 [drm_kms_helper]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_universal+0x12c/0x240 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_mode_cursor_common+0xde/0x230 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl_kernel+0xb8/0x100 [drm]
Aug 12 20:37:21 joe-nitro kernel:  drm_ioctl+0x23d/0x3d0 [drm]
Aug 12 20:37:21 joe-nitro kernel:  ? drm_mode_cursor_ioctl+0x70/0x70 [drm]
Aug 12 20:37:21 joe-nitro kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Aug 12 20:37:21 joe-nitro kernel:  do_vfs_ioctl+0x43d/0x6c0
Aug 12 20:37:21 joe-nitro kernel:  ? syscall_trace_enter+0x1c8/0x2e0
Aug 12 20:37:21 joe-nitro kernel:  ksys_ioctl+0x5e/0x90
Aug 12 20:37:21 joe-nitro kernel:  __x64_sys_ioctl+0x16/0x20
Aug 12 20:37:21 joe-nitro kernel:  do_syscall_64+0x5f/0x1d0
Aug 12 20:37:21 joe-nitro kernel:  ? page_fault+0x8/0x30
Aug 12 20:37:21 joe-nitro kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Aug 12 20:37:21 joe-nitro kernel: RIP: 0033:0x7f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: Code: 0f 1e fa 48 8b 05 75 8c 0c 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 45 8c 0c 00 f7 d8 64 89 01 48
Aug 12 20:37:21 joe-nitro kernel: RSP: 002b:00007ffc45985788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: RAX: ffffffffffffffda RBX: 00007ffc459857d0 RCX: 00007f9a3840a21b
Aug 12 20:37:21 joe-nitro kernel: RDX: 00007ffc459857d0 RSI: 00000000c02464bb RDI: 000000000000000b
Aug 12 20:37:21 joe-nitro kernel: RBP: 00000000c02464bb R08: 0000000000000001 R09: 0000000000003fff
Aug 12 20:37:21 joe-nitro kernel: R10: 000000000000007f R11: 0000000000000246 R12: 0000000000000010
Aug 12 20:37:21 joe-nitro kernel: R13: 000000000000000b R14: 0000000000000010 R15: 0000557ec2b78930
Aug 12 20:37:21 joe-nitro kernel: ---[ end trace a462c4d3773139dd ]---
Aug 12 20:37:21 joe-nitro kernel: [drm] pstate took longer than expected ~50us
Aug 12 20:39:59 joe-nitro systemd[1]: Starting Cleanup of Temporary Directories...
Aug 12 20:39:59 joe-nitro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 12 20:39:59 joe-nitro kernel: audit: type=1130 audit(1565635199.228:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 12 20:39:59 joe-nitro kernel: audit: type=1131 audit(1565635199.228:43): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 12 20:39:59 joe-nitro audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 12 20:39:59 joe-nitro systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Aug 12 20:39:59 joe-nitro systemd[1]: Started Cleanup of Temporary Directories.
Aug 12 20:45:03 joe-nitro kernel: perf: interrupt took too long (2515 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
Aug 12 20:49:52 joe-nitro kernel: BUG: kernel NULL pointer dereference, address: 00000000000002b4
Aug 12 20:49:52 joe-nitro kernel: #PF: supervisor read access in kernel mode
Aug 12 20:49:52 joe-nitro kernel: #PF: error_code(0x0000) - not-present page
Aug 12 20:49:52 joe-nitro kernel: PGD 0 P4D 0 
Aug 12 20:49:52 joe-nitro kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Aug 12 20:49:52 joe-nitro kernel: CPU: 6 PID: 7 Comm: kworker/u32:0 Tainted: G        W  OE     5.2.8-arch1-1-ARCH #1
Aug 12 20:49:52 joe-nitro kernel: Hardware name: Acer Nitro AN515-42/Freed_RRS, BIOS V1.13 02/11/2019
Aug 12 20:49:52 joe-nitro kernel: Workqueue: events_unbound commit_work [drm_kms_helper]
Aug 12 20:49:52 joe-nitro kernel: RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
Aug 12 20:49:52 joe-nitro kernel: Code: 04 00 00 49 8b bc 02 b0 02 00 00 48 8b 07 48 8b 40 50 e8 2d 6d e8 d5 b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
Aug 12 20:49:52 joe-nitro kernel: RSP: 0018:ffffb36d019bbaf8 EFLAGS: 00010202
Aug 12 20:49:52 joe-nitro kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000002
Aug 12 20:49:52 joe-nitro kernel: RDX: ffffffffc1404710 RSI: 0000000000000000 RDI: ffff9747ed752000
Aug 12 20:49:52 joe-nitro kernel: RBP: ffff9747ddda8000 R08: ffff9747ddda8000 R09: 0000000000000000
Aug 12 20:49:52 joe-nitro kernel: R10: ffff9747ddda8000 R11: 0000000000000018 R12: ffff9747ed752000
Aug 12 20:49:52 joe-nitro kernel: R13: ffffb36d019bbd58 R14: ffff9747ea1bcff0 R15: 0000000000000000
Aug 12 20:49:52 joe-nitro kernel: FS:  0000000000000000(0000) GS:ffff9747ffb80000(0000) knlGS:0000000000000000
Aug 12 20:49:52 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:49:52 joe-nitro kernel: CR2: 00000000000002b4 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:49:52 joe-nitro kernel: Call Trace:
Aug 12 20:49:52 joe-nitro kernel:  dc_commit_state+0x99/0x580 [amdgpu]
Aug 12 20:49:52 joe-nitro kernel:  amdgpu_dm_atomic_commit_tail+0xc5d/0x19a0 [amdgpu]
Aug 12 20:49:52 joe-nitro kernel:  ? __switch_to_asm+0x40/0x70
Aug 12 20:49:52 joe-nitro kernel:  ? __switch_to_asm+0x34/0x70
Aug 12 20:49:52 joe-nitro kernel:  ? common_interrupt+0xa/0xf
Aug 12 20:49:52 joe-nitro kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:49:52 joe-nitro kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 12 20:49:52 joe-nitro kernel:  process_one_work+0x1d1/0x3e0
Aug 12 20:49:52 joe-nitro kernel:  worker_thread+0x4a/0x3d0
Aug 12 20:49:52 joe-nitro kernel:  kthread+0xfb/0x130
Aug 12 20:49:52 joe-nitro kernel:  ? process_one_work+0x3e0/0x3e0
Aug 12 20:49:52 joe-nitro kernel:  ? kthread_park+0x80/0x80
Aug 12 20:49:52 joe-nitro kernel:  ret_from_fork+0x22/0x40
Aug 12 20:49:52 joe-nitro kernel: Modules linked in: uinput fuse rfcomm bnep arc4 edac_mce_amd kvm_amd ccp amdgpu btusb kvm btrtl btbcm btintel uvcvideo irqbypass bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 nls_iso8859_1 nls_cp437 videobuf2_common crct10dif_pclmul vfat fat wmi_bmof videodev crc32_pclmul ecdh_generic ecc acer_wmi sparse_keymap ghash_clmulni_intel joydev ath10k_pci media mousedev ath10k_core snd_hda_codec_realtek amd_iommu_v2 gpu_sched snd_hda_codec_generic ath ledtrig_audio snd_hda_codec_hdmi i2c_algo_bit snd_hda_intel mac80211 ttm aesni_intel snd_hda_codec drm_kms_helper snd_hda_core aes_x86_64 drm crypto_simd snd_hwdep cryptd glue_helper snd_pcm input_leds pcspkr snd_timer agpgart sp5100_tco cfg80211 snd i2c_piix4 k10temp syscopyarea r8169 sysfillrect sysimgblt rtsx_pci_ms soundcore fb_sys_fops tpm_crb memstick rfkill realtek libphy tpm_tis battery tpm_tis_core ac tpm wmi i2c_hid rng_core pinctrl_amd evdev mac_hid pcc_cpufreq acer_wireless acpi_cpufreq vboxnetflt(OE)
Aug 12 20:49:52 joe-nitro kernel:  vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_mod hid_steam hid_generic usbhid hid sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci crc32c_intel libahci libata xhci_pci scsi_mod xhci_hcd rtsx_pci i8042 serio
Aug 12 20:49:52 joe-nitro kernel: CR2: 00000000000002b4
Aug 12 20:49:52 joe-nitro kernel: ---[ end trace a462c4d3773139de ]---
Aug 12 20:49:52 joe-nitro kernel: RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
Aug 12 20:49:52 joe-nitro kernel: Code: 04 00 00 49 8b bc 02 b0 02 00 00 48 8b 07 48 8b 40 50 e8 2d 6d e8 d5 b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
Aug 12 20:49:52 joe-nitro kernel: RSP: 0018:ffffb36d019bbaf8 EFLAGS: 00010202
Aug 12 20:49:52 joe-nitro kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000002
Aug 12 20:49:52 joe-nitro kernel: RDX: ffffffffc1404710 RSI: 0000000000000000 RDI: ffff9747ed752000
Aug 12 20:49:52 joe-nitro kernel: RBP: ffff9747ddda8000 R08: ffff9747ddda8000 R09: 0000000000000000
Aug 12 20:49:52 joe-nitro kernel: R10: ffff9747ddda8000 R11: 0000000000000018 R12: ffff9747ed752000
Aug 12 20:49:52 joe-nitro kernel: R13: ffffb36d019bbd58 R14: ffff9747ea1bcff0 R15: 0000000000000000
Aug 12 20:49:52 joe-nitro kernel: FS:  0000000000000000(0000) GS:ffff9747ffb80000(0000) knlGS:0000000000000000
Aug 12 20:49:52 joe-nitro kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 20:49:52 joe-nitro kernel: CR2: 00000000000002b4 CR3: 0000000439022000 CR4: 00000000003406e0
Aug 12 20:50:26 joe-nitro kernel: sysrq: Keyboard mode set to system default
Aug 12 20:50:26 joe-nitro kernel: sysrq: Terminate All Tasks
Aug 12 20:50:26 joe-nitro systemd-journald[326]: Journal stopped

I had a few amdgpu pstate warnings before since 5.2 but the system never locked up before.

EDIT: Something else I noticed: radeontop shows completely wrong usage on kernel >= 5.2 for Raven Ridge (and probably Polaris)

Last edited by JoeCool (2019-08-12 19:55:27)

Offline

#58 2019-08-22 20:03:20

ryazor
Member
From: Berlin
Registered: 2010-05-18
Posts: 8

Re: Laptop fails to resume from inside Plasma X session

cspack wrote:

This commit in xf86-video-amdgpu is where the problem surfaces: https://github.com/freedesktop/xorg-xf8 … 8176c2d512. It's the last commit before it's bumped to 19.0.0.  Adding amdgpu.dc=1 to kernel options seems to be a functional workaround. With this I'm able to suspend/resume using kernel 5.2+

Edit: Although amdgpu.dc=1 seems to work most of the time, I did get it to fail eventually so it's not a foolproof workaround.

Thank you very much cspack for your information!

So, amdgpu.dc=1 indeed works but produces graphical glitches. Thus I tried to remove the bad commit and it works on my system.
Config: Lenovo 530S-14ARR, firmware 8pcn55ww, kernel 5.2.9-arch1-ARCH

Please see following modified xf86-video-amdgpu-git PKGBUILD if interested:

# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Credit: Laurent Carlier <lordheavym@gmail.com>

pkgname=xf86-video-amdgpu-git
_pkgname=xf86-video-amdgpu
pkgver=19.0.1.11
pkgrel=1
pkgdesc="X.org amdgpu video driver (git version)"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=(''systemd-libs'' 'mesa')
makedepends=('xorg-server-devel' 'systemd' 'git' 'pixman')
conflicts=('xf86-video-amdgpu' 'xorg-server<1.20.0')
provides=('xf86-video-amdgpu')
groups=('xorg-drivers')
source=("${pkgname}::git+https://gitlab.freedesktop.org/xorg/driver/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
  local version count

  cd "${pkgname}"

  version="$(git describe --abbrev=0 --tags)"
  count="$(git rev-list --count ${version}..)"
  printf '%s.%s' "${version#v}" "${count}"|sed 's/^xf86-video-amdgpu-//'
}

build() {
  cd "${pkgname}"

  # Checkout commit before a2b32e72fdaff3007a79b84929997d8176c2d512 (bad commit)
  git checkout 2798244be78df3ef3a7841597577506bfbe50156

  # Create branch "repair"
  git checkout -b repair

  # Cherry-pick commit after bad commit
  git cherry-pick 9534bf3bb33d14cd3a5af08e36ef42b309647fc7

  # Switch to master
  git checkout master

  # Reset to commit before bad commit
  git reset --hard 2798244be78df3ef3a7841597577506bfbe50156

  # Merge fixed branch into master
  git merge repair

  # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
  # With them, module fail to load with undefined symbol.
  # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
  export CFLAGS=${CFLAGS/-fno-plt}
  export CXXFLAGS=${CXXFLAGS/-fno-plt}
  export LDFLAGS=${LDFLAGS/,-z,now}

  ./autogen.sh --prefix=/usr \
    --enable-glamor
  make
}

check() {
  cd "${pkgname}"
  make check
}

package() {
  cd "${pkgname}"

  make "DESTDIR=${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}

BR, R.

Offline

#59 2019-08-24 17:27:28

LogXx
Member
Registered: 2019-07-25
Posts: 10

Re: Laptop fails to resume from inside Plasma X session

most interesting part for me is that if i leave laptop for 10 minutes, it sleeps and wakes fine, but not if i suspend it via "systemctl suspend"

Offline

#60 2019-08-28 21:03:33

checooh
Member
Registered: 2019-08-28
Posts: 1

Re: Laptop fails to resume from inside Plasma X session

ryazor wrote:

Please see following modified xf86-video-amdgpu-git PKGBUILD if interested:

This fix has helped me, thank you very much!
For the info, my laptop is HP Pavilion - 15-cw0401ng with Ryzen 3 2300U / Vega 6, and the kernel is 5.2.9-arch1-1-ARCH

Last edited by checooh (2019-08-28 21:04:30)

Offline

#61 2019-09-04 11:52:44

LogXx
Member
Registered: 2019-07-25
Posts: 10

Re: Laptop fails to resume from inside Plasma X session

ryazor wrote:
cspack wrote:

This commit in xf86-video-amdgpu is where the problem surfaces: https://github.com/freedesktop/xorg-xf8 … 8176c2d512. It's the last commit before it's bumped to 19.0.0.  Adding amdgpu.dc=1 to kernel options seems to be a functional workaround. With this I'm able to suspend/resume using kernel 5.2+

Edit: Although amdgpu.dc=1 seems to work most of the time, I did get it to fail eventually so it's not a foolproof workaround.

Thank you very much cspack for your information!

So, amdgpu.dc=1 indeed works but produces graphical glitches. Thus I tried to remove the bad commit and it works on my system.
Config: Lenovo 530S-14ARR, firmware 8pcn55ww, kernel 5.2.9-arch1-ARCH

Please see following modified xf86-video-amdgpu-git PKGBUILD if interested:

# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Credit: Laurent Carlier <lordheavym@gmail.com>

pkgname=xf86-video-amdgpu-git
_pkgname=xf86-video-amdgpu
pkgver=19.0.1.11
pkgrel=1
pkgdesc="X.org amdgpu video driver (git version)"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=(''systemd-libs'' 'mesa')
makedepends=('xorg-server-devel' 'systemd' 'git' 'pixman')
conflicts=('xf86-video-amdgpu' 'xorg-server<1.20.0')
provides=('xf86-video-amdgpu')
groups=('xorg-drivers')
source=("${pkgname}::git+https://gitlab.freedesktop.org/xorg/driver/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
  local version count

  cd "${pkgname}"

  version="$(git describe --abbrev=0 --tags)"
  count="$(git rev-list --count ${version}..)"
  printf '%s.%s' "${version#v}" "${count}"|sed 's/^xf86-video-amdgpu-//'
}

build() {
  cd "${pkgname}"

  # Checkout commit before a2b32e72fdaff3007a79b84929997d8176c2d512 (bad commit)
  git checkout 2798244be78df3ef3a7841597577506bfbe50156

  # Create branch "repair"
  git checkout -b repair

  # Cherry-pick commit after bad commit
  git cherry-pick 9534bf3bb33d14cd3a5af08e36ef42b309647fc7

  # Switch to master
  git checkout master

  # Reset to commit before bad commit
  git reset --hard 2798244be78df3ef3a7841597577506bfbe50156

  # Merge fixed branch into master
  git merge repair

  # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
  # With them, module fail to load with undefined symbol.
  # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
  export CFLAGS=${CFLAGS/-fno-plt}
  export CXXFLAGS=${CXXFLAGS/-fno-plt}
  export LDFLAGS=${LDFLAGS/,-z,now}

  ./autogen.sh --prefix=/usr \
    --enable-glamor
  make
}

check() {
  cd "${pkgname}"
  make check
}

package() {
  cd "${pkgname}"

  make "DESTDIR=${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}

BR, R.

while this does help with suspend, it doesn't with hibernation for me

Offline

#62 2019-09-09 21:50:24

ClementL33
Member
Registered: 2019-09-09
Posts: 2

Re: Laptop fails to resume from inside Plasma X session

Hi, I come here from ubuntu but with that exact same problem you're talking about, and I have no fix yet. Black or corrupted screen on wake up from suspend, but computer still responding (I can control the keyboard light, and sometimes move the mouse on screen)

I have AMD Ryzen R5 2500U with Radeon Vega 8

My only fix was to stop lightdm before suspending and start it when waking up, with the command lines mode.
My Kernel is 5.2.13, and I tried several early ones, without success.

Also, when suspending from command line with ligtdm stopped, I have theses lines in the terminal:

ata1: failed stop FIS RX (-16)
kfd2kgd: cp queue preemption time out.

Hope someone here will find a fix for this, I'll keep following the thread

Offline

#63 2019-09-10 20:17:08

ClementL33
Member
Registered: 2019-09-09
Posts: 2

Re: Laptop fails to resume from inside Plasma X session

I finally managed to fix it by setting amd_iommu=off as a kernel parameter.

Source: https://bbs.archlinux.org/viewtopic.php … 5#p1858315

Offline

Board footer

Powered by FluxBB