[Kernel-packages] [Bug 2024774] Re: AMD Rembrandt / Phoenix PSR-SU related freezes

2023-07-04 Thread Roemer Claasen
Hi Mario,

Not entirely sure if this is the exact logging you are looking for, but
this is the result from my testing.

I've installed the latest firmware, running mainline kernel 6.4.0 on
Jammy LTS on an AMD 6850u T14s Gen 3.

Hope this helps to pinpoint the PSR problems. If you would like me to
try patches or would like more logs, please let me know what I can do to
support.

Thanks for all the work, kind regards,

Roemer


➜  ~ sudo python Downloads/psr.py

DRI device 0 DMCUB F/W version: 0x043c
○ PSR 2 with Y coordinates (eDP 1.4a) [3]
○ Sink OUI: Parade
○ resv_40f: 01
○ ID String: 08-03
○ PSR Status: 00-00-02


➜  ~ cat /proc/cmdline   
BOOT_IMAGE=/boot/vmlinuz-6.4.0-060400-generic 
root=UUID=41d8f993-282a-48a5-b355-6f537a3a17ab ro quiet splash 
amdgpu.dcdebugmask=0x0 vt.handoff=7


Linux firmware
➜  ~ git log 
commit ee91452dac5abfc4c5b9827cf55e701d8c0ca678 (HEAD -> main, tag: 20230625, 
origin/main, origin/HEAD)
Author: Emil Velikov 
Date:   Mon Jun 5 14:58:12 2023 +0100

20230703 kern.log: amdgpu crash, no freeze, system recovering

Jul  3 19:45:50 rct14s kernel: [ 1001.214627] [ cut here 
]
Jul  3 19:45:50 rct14s kernel: [ 1001.214638] WARNING: CPU: 3 PID: 237 at 
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:126 
dmub_psr_get_state+0xcc/0xe0 [amdgpu]
Jul  3 19:45:50 rct14s kernel: [ 1001.215248] Modules linked in: xt_conntrack 
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat 
nf_tables libcrc32c nfnetlink br_netfilter bridge stp llc nvme_fabrics ccm 
michael_mic rfcomm vboxnetadp(OE) vboxnetflt(OE) snd_seq_dummy snd_hrtimer 
vboxdrv(OE) cmac algif_hash algif_skcipher af_alg bnep overlay qrtr_mhi amdgpu 
snd_soc_dmic snd_acp6x_pdm_dma snd_soc_acp6x_mach snd_sof_amd_rembrandt 
snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci intel_rapl_msr 
snd_sof_xtensa_dsp intel_rapl_common snd_sof snd_sof_utils edac_mce_amd qrtr 
snd_soc_core ath11k_pci snd_compress ath11k btusb ac97_bus snd_ctl_led 
snd_pcm_dmaengine kvm_amd btrtl iommu_v2 uvcvideo snd_pci_ps btbcm drm_buddy 
joydev snd_hda_codec_realtek btintel videobuf2_vmalloc qmi_helpers kvm 
snd_rpl_pci_acp6x btmtk gpu_sched snd_hda_codec_generic binfmt_misc 
snd_hda_codec_hdmi uvc mac80211 snd_acp_pci irqbypass snd_hda_intel 
drm_suballoc_helper snd_seq_midi crct10dif_pclmul
Jul  3 19:45:50 rct14s kernel: [ 1001.215324]  bluetooth drm_ttm_helper 
snd_seq_midi_event snd_intel_dspcfg videobuf2_memops snd_pci_acp6x ttm 
polyval_clmulni videobuf2_v4l2 snd_intel_sdw_acpi ecdh_generic snd_rawmidi 
snd_hda_codec drm_display_helper polyval_generic nls_iso8859_1 ecc input_leds 
ghash_clmulni_intel snd_pci_acp5x videodev snd_hda_core sha512_ssse3 cec 
cfg80211 aesni_intel snd_hwdep rc_core videobuf2_common snd_seq thinkpad_acpi 
crypto_simd snd_rn_pci_acp3x snd_pcm nvram drm_kms_helper mc libarc4 cryptd 
think_lmi snd_acp_config ledtrig_audio serio_raw i2c_algo_bit snd_seq_device 
hid_multitouch snd_soc_acpi firmware_attributes_class wmi_bmof platform_profile 
sch_fq_codel k10temp ucsi_acpi syscopyarea rapl mhi sysfillrect snd_pci_acp3x 
sysimgblt snd_timer typec_ucsi ccp snd typec soundcore mac_hid amd_pmc acpi_tad 
msr parport_pc ppdev lp parport drm ramoops reed_solomon pstore_blk pstore_zone 
efi_pstore ip_tables x_tables autofs4 nvme nvme_core video hid_generic 
crc32_pclmul psmouse thunderbolt xhci_pci i2c_piix4 xhci_pci_renesas
Jul  3 19:45:50 rct14s kernel: [ 1001.215425]  nvme_common i2c_hid_acpi i2c_hid 
wmi hid
Jul  3 19:45:50 rct14s kernel: [ 1001.215431] CPU: 3 PID: 237 Comm: 
kworker/3:1H Tainted: G   OE  6.4.0-060400-generic #202306271339
Jul  3 19:45:50 rct14s kernel: [ 1001.215435] Hardware name: LENOVO 
21CQCTO1WW/21CQCTO1WW, BIOS R22ET60W (1.30 ) 02/09/2023
Jul  3 19:45:50 rct14s kernel: [ 1001.215437] Workqueue: events_highpri 
dm_irq_work_func [amdgpu]
Jul  3 19:45:50 rct14s kernel: [ 1001.216051] RIP: 
0010:dmub_psr_get_state+0xcc/0xe0 [amdgpu]
Jul  3 19:45:50 rct14s kernel: [ 1001.216792] Code: 04 25 28 00 00 00 75 26 48 
83 c4 10 5b 41 5c 41 5d 41 5e 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc 
3d ff 00 00 00 75 cf <0f> 0b eb cb e8 db 0e 96 ed 66 66 2e 0f 1f 84 00 00 00 00 
00 90 90
Jul  3 19:45:50 rct14s kernel: [ 1001.216795] RSP: 0018:a87c809ffc68 
EFLAGS: 00010246
Jul  3 19:45:50 rct14s kernel: [ 1001.216798] RAX: 00ff RBX: 
03e9 RCX: 
Jul  3 19:45:50 rct14s kernel: [ 1001.216800] RDX:  RSI: 
 RDI: 
Jul  3 19:45:50 rct14s kernel: [ 1001.216801] RBP: a87c809ffc98 R08: 
 R09: 
Jul  3 19:45:50 rct14s kernel: [ 1001.216803] R10:  R11: 
 R12: 92f1735d9000
Jul  3 19:45:50 rct14s kernel: [ 1001.216819] R13:  R14: 
a87c809ffcac R15: 92f1453d23c0
Jul  3 19:45:50 rct14s kernel: [ 1001.216820] FS:  

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
No luck running with the patch and without "amdgpu.dcdebugmask=0x10",
sadly.

There is still occasional screen flickering, and sometimes (once every
15 mimutes or so) a blank screen.

Then after a few hours of use, the display froze completely, and I could
only reclaim control through 1) suspend and 2) TTY1. See kern.log below.

$ cat /var/log/kern.log:

Jun  7 23:32:11 rct14s kernel: [ 8513.360433] amdgpu :33:00.0: [drm] 
*ERROR* [CRTC:72:crtc-0] flip_done timed out
Jun  7 23:32:56 rct14s kernel: [ 8558.928374] amdgpu :33:00.0: [drm] 
*ERROR* flip_done timed out
Jun  7 23:32:56 rct14s kernel: [ 8558.928380] amdgpu :33:00.0: [drm] 
*ERROR* [CRTC:72:crtc-0] commit wait timed out
Jun  7 23:33:07 rct14s kernel: [ 8569.168721] amdgpu :33:00.0: [drm] 
*ERROR* flip_done timed out
Jun  7 23:33:07 rct14s kernel: [ 8569.168728] amdgpu :33:00.0: [drm] 
*ERROR* [PLANE:55:plane-3] commit wait timed out
Jun  7 23:33:07 rct14s kernel: [ 8569.168816] [ cut here 
]
Jun  7 23:33:07 rct14s kernel: [ 8569.168817] WARNING: CPU: 4 PID: 1109 at 
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8145 
amdgpu_dm_atomic_commit_tail+0x3b30/0x41f0 [amdgpu]
Jun  7 23:33:07 rct14s kernel: [ 8569.169357] Modules linked in: tls ccm 
michael_mic xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat 
nf_tables libcrc32c nfnetlink rfcomm snd_seq_dummy snd_hrtimer nvme_fabrics 
cmac algif_hash algif_skcipher af_alg bnep qrtr_mhi amdgpu qrtr ath11k_pci 
snd_soc_dmic snd_acp6x_pdm_dma snd_soc_acp6x_mach snd_sof_amd_rembrandt 
snd_sof_amd_renoir joydev ath11k snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp 
snd_sof intel_rapl_msr intel_rapl_common btusb btrtl edac_mce_amd snd_ctl_led 
btbcm iommu_v2 snd_hda_codec_realtek qmi_helpers btintel drm_buddy gpu_sched 
btmtk kvm_amd snd_hda_codec_generic snd_sof_utils mac80211 snd_hda_codec_hdmi 
drm_suballoc_helper bluetooth uvcvideo drm_ttm_helper kvm snd_hda_intel 
snd_soc_core ttm binfmt_misc snd_intel_dspcfg videobuf2_vmalloc 
snd_intel_sdw_acpi uvc snd_hda_codec videobuf2_memops drm_display_helper 
videobuf2_v4l2 snd_compress videod
 ev snd_hda_core ac97_bus irqbypass cec crct10dif_pclmul
Jun  7 23:33:07 rct14s kernel: [ 8569.169428]  snd_pcm_dmaengine 
polyval_clmulni snd_hwdep snd_pci_ps rc_core polyval_generic 
ghash_clmulni_intel snd_rpl_pci_acp6x sha512_ssse3 snd_seq_midi thinkpad_acpi 
snd_acp_pci aesni_intel snd_seq_midi_event crypto_simd drm_kms_helper 
snd_rawmidi videobuf2_common nvram ecdh_generic snd_pci_acp6x input_leds cryptd 
cfg80211 snd_pcm ecc think_lmi i2c_algo_bit ledtrig_audio nls_iso8859_1 rapl mc 
serio_raw snd_seq hid_multitouch firmware_attributes_class platform_profile 
wmi_bmof snd_pci_acp5x syscopyarea ucsi_acpi snd_seq_device snd_rn_pci_acp3x 
sysfillrect typec_ucsi ccp k10temp snd_timer snd_acp_config libarc4 sysimgblt 
snd_soc_acpi mhi typec snd snd_pci_acp3x sch_fq_codel soundcore mac_hid amd_pmc 
acpi_tad overlay iptable_filter ip6table_filter ip6_tables br_netfilter bridge 
stp llc arp_tables drm msr parport_pc ppdev lp parport ramoops pstore_blk 
reed_solomon pstore_zone efi_pstore ip_tables x_tables autofs4 nvme hid_generic 
thunderbolt psmouse 
 crc32_pclmul nvme_core xhci_pci i2c_hid_acpi i2c_piix4
Jun  7 23:33:07 rct14s kernel: [ 8569.169508]  xhci_pci_renesas i2c_hid 
nvme_common video hid wmi
Jun  7 23:33:07 rct14s kernel: [ 8569.169515] CPU: 4 PID: 1109 Comm: 
systemd-logind Tainted: GW  6.4.0-rc5patch_541535-dirty #1
Jun  7 23:33:07 rct14s kernel: [ 8569.169520] Hardware name: LENOVO 
21CQCTO1WW/21CQCTO1WW, BIOS R22ET60W (1.30 ) 02/09/2023
Jun  7 23:33:07 rct14s kernel: [ 8569.169522] RIP: 
0010:amdgpu_dm_atomic_commit_tail+0x3b30/0x41f0 [amdgpu]
Jun  7 23:33:07 rct14s kernel: [ 8569.169988] Code: ff 41 b9 01 00 00 00 31 f6 
4c 89 9d 88 fc ff ff ba 01 00 00 00 4c 89 95 a8 fc ff ff 50 51 48 c7 c1 b0 44 
72 c2 e9 e7 f9 ff ff <0f> 0b e9 a3 f3 ff ff 0f 0b 0f 0b e9 43 f3 ff ff 0f 0b e9 
b2 f3 ff
Jun  7 23:33:07 rct14s kernel: [ 8569.169991] RSP: 0018:a13f82d874f8 
EFLAGS: 00010002
Jun  7 23:33:07 rct14s kernel: [ 8569.169993] RAX: 0246 RBX: 
4e93 RCX: 
Jun  7 23:33:07 rct14s kernel: [ 8569.169995] RDX:  RSI: 
 RDI: 
Jun  7 23:33:07 rct14s kernel: [ 8569.169996] RBP: a13f82d87888 R08: 
 R09: 0002
Jun  7 23:33:07 rct14s kernel: [ 8569.169998] R10:  R11: 
 R12: 0246
Jun  7 23:33:07 rct14s kernel: [ 8569.16] R13: 9499aafb4118 R14: 
9499d0473980 R15: 9499aafb4000
Jun  7 23:33:07 rct14s kernel: [ 8569.17] FS:  7ff2bd8c7980() 
GS:94a07db0() knlGS:
Jun  7 23:33:07 rct14s kernel: [ 8569.170002] CS:  0010 DS:  ES:  CR0: 
80050033
Jun  7 23:33:07 rct14s kernel: [ 8569.170004] CR2: 

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
Hi Mario,

I've recompiled kernel 6.4-rc5 with the patch applied, and get the same
error (see below). No screen tearing/ flicker - yet. I'll report back
after a day of work to see if the patch had any effect.

Thanks again for your support, best,

Roemer


$ cat /proc/cmdline:

BOOT_IMAGE=/boot/vmlinuz-6.4.0-rc5patch_541535-dirty
root=UUID=41d8f993-282a-48a5-b355-6f537a3a17ab ro quiet splash
vt.handoff=7

$ cat /var/log/kern.log:

Jun  7 21:30:28 rct14s kernel: [ 1211.044086] WARNING: CPU: 3 PID: 7362 at 
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:226 
dmub_psr_enable+0x10b/0x120 [amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.044741] Modules linked in: tls ccm 
michael_mic xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat 
nf_tables libcrc32c nfnetlink rfcomm snd_seq_dummy snd_hrtimer nvme_fabrics 
cmac algif_hash algif_skcipher af_alg bnep qrtr_mhi amdgpu qrtr ath11k_pci 
snd_soc_dmic snd_acp6x_pdm_dma snd_soc_acp6x_mach snd_sof_amd_rembrandt 
snd_sof_amd_renoir joydev ath11k snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp 
snd_sof intel_rapl_msr intel_rapl_common btusb btrtl edac_mce_amd snd_ctl_led 
btbcm iommu_v2 snd_hda_codec_realtek qmi_helpers btintel drm_buddy gpu_sched 
btmtk kvm_amd snd_hda_codec_generic snd_sof_utils mac80211 snd_hda_codec_hdmi 
drm_suballoc_helper bluetooth uvcvideo drm_ttm_helper kvm snd_hda_intel 
snd_soc_core ttm binfmt_misc snd_intel_dspcfg videobuf2_vmalloc 
snd_intel_sdw_acpi uvc snd_hda_codec videobuf2_memops drm_display_helper 
videobuf2_v4l2 snd_compress videod
 ev snd_hda_core ac97_bus irqbypass cec crct10dif_pclmul
Jun  7 21:30:28 rct14s kernel: [ 1211.044873]  snd_pcm_dmaengine 
polyval_clmulni snd_hwdep snd_pci_ps rc_core polyval_generic 
ghash_clmulni_intel snd_rpl_pci_acp6x sha512_ssse3 snd_seq_midi thinkpad_acpi 
snd_acp_pci aesni_intel snd_seq_midi_event crypto_simd drm_kms_helper 
snd_rawmidi videobuf2_common nvram ecdh_generic snd_pci_acp6x input_leds cryptd 
cfg80211 snd_pcm ecc think_lmi i2c_algo_bit ledtrig_audio nls_iso8859_1 rapl mc 
serio_raw snd_seq hid_multitouch firmware_attributes_class platform_profile 
wmi_bmof snd_pci_acp5x syscopyarea ucsi_acpi snd_seq_device snd_rn_pci_acp3x 
sysfillrect typec_ucsi ccp k10temp snd_timer snd_acp_config libarc4 sysimgblt 
snd_soc_acpi mhi typec snd snd_pci_acp3x sch_fq_codel soundcore mac_hid amd_pmc 
acpi_tad overlay iptable_filter ip6table_filter ip6_tables br_netfilter bridge 
stp llc arp_tables drm msr parport_pc ppdev lp parport ramoops pstore_blk 
reed_solomon pstore_zone efi_pstore ip_tables x_tables autofs4 nvme hid_generic 
thunderbolt psmouse 
 crc32_pclmul nvme_core xhci_pci i2c_hid_acpi i2c_piix4
Jun  7 21:30:28 rct14s kernel: [ 1211.045018]  xhci_pci_renesas i2c_hid 
nvme_common video hid wmi
Jun  7 21:30:28 rct14s kernel: [ 1211.045030] CPU: 3 PID: 7362 Comm: 
kworker/3:2H Not tainted 6.4.0-rc5patch_541535-dirty #1
Jun  7 21:30:28 rct14s kernel: [ 1211.045035] Hardware name: LENOVO 
21CQCTO1WW/21CQCTO1WW, BIOS R22ET60W (1.30 ) 02/09/2023
Jun  7 21:30:28 rct14s kernel: [ 1211.045039] Workqueue: events_highpri 
dm_irq_work_func [amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.045632] RIP: 
0010:dmub_psr_enable+0x10b/0x120 [amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.046182] Code: 48 2b 04 25 28 00 00 00 75 
24 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 89 c2 89 c1 89 c6 89 c7 41 
89 c0 c3 cc cc cc cc <0f> 0b eb cd e8 5c cb 89 d7 66 66 2e 0f 1f 84 00 00 00 00 
00 90 90
Jun  7 21:30:28 rct14s kernel: [ 1211.046186] RSP: 0018:a13f8b907c80 
EFLAGS: 00010246
Jun  7 21:30:28 rct14s kernel: [ 1211.046191] RAX:  RBX: 
03e9 RCX: 
Jun  7 21:30:28 rct14s kernel: [ 1211.046193] RDX:  RSI: 
 RDI: 
Jun  7 21:30:28 rct14s kernel: [ 1211.046195] RBP: a13f8b907cf8 R08: 
 R09: 
Jun  7 21:30:28 rct14s kernel: [ 1211.046197] R10:  R11: 
 R12: 
Jun  7 21:30:28 rct14s kernel: [ 1211.046198] R13: 9499a513f4c0 R14: 
 R15: 9499a52b8c00
Jun  7 21:30:28 rct14s kernel: [ 1211.046200] FS:  () 
GS:94a07dac() knlGS:
Jun  7 21:30:28 rct14s kernel: [ 1211.046203] CS:  0010 DS:  ES:  CR0: 
80050033
Jun  7 21:30:28 rct14s kernel: [ 1211.046205] CR2: 55ffdb0e9040 CR3: 
00011bf0c000 CR4: 00750ee0
Jun  7 21:30:28 rct14s kernel: [ 1211.046208] PKRU: 5554
Jun  7 21:30:28 rct14s kernel: [ 1211.046209] Call Trace:
Jun  7 21:30:28 rct14s kernel: [ 1211.046213]  
Jun  7 21:30:28 rct14s kernel: [ 1211.046218]  ? show_regs+0x72/0x90
Jun  7 21:30:28 rct14s kernel: [ 1211.046229]  ? dmub_psr_enable+0x10b/0x120 
[amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.04]  ? __warn+0x8d/0x160
Jun  7 21:30:28 rct14s kernel: [ 1211.046672]  ? dmub_psr_enable+0x10b/0x120 

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
Hi Mario,

I have to apologize, I was a little bit too fast sending that update.
Immediately afterwards I had the screen flickering again, with some
blackouts as well. I was able to make a video, see
https://www.youtube.com/watch?v=yjL9OuXhdeg. No errors in the log
though.

I will have to see if I can compile with the patch, not sure yet if I
can find the time.

Thank you for your support!

Roemer

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Confirmed

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
UPDATE 2 after testing 6.4rc5.

Still a PSR-related problem when running without
"amdgpu.dcdebugmask=0x10" (see kern.log below), apart from that very
happy with 6.4-rc5. The flicker/ tearing issue seems to be solved
(yeah!).

Without the kernel parameter I do get the following error though,
apparently related to PSR:

Jun  7 14:46:12 rct14s kernel: [ 1057.362873] WARNING: CPU: 3 PID: 226 at 
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:226 
dmub_psr_enable+0x115/0x120 [amdgpu]
Jun  7 14:46:12 rct14s kernel: [ 1057.363546] Modules linked in: ccm 
michael_mic xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat 
nf_tables libcrc32c nfnetlink rfcomm snd_seq_dummy snd_hrtimer nvme_fabrics 
cmac algif_hash algif_skcipher af_alg bnep qrtr_mhi amdgpu snd_soc_dmic 
snd_acp6x_pdm_dma snd_soc_acp6x_mach snd_sof_amd_rembrandt snd_sof_amd_renoir 
snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof intel_rapl_msr 
intel_rapl_common snd_sof_utils edac_mce_amd snd_soc_core iommu_v2 drm_buddy 
snd_compress ac97_bus snd_ctl_led gpu_sched snd_pcm_dmaengine qrtr kvm_amd 
drm_suballoc_helper snd_hda_codec_realtek drm_ttm_helper snd_pci_ps ath11k_pci 
snd_hda_codec_generic binfmt_misc snd_hda_codec_hdmi ttm snd_rpl_pci_acp6x 
thinkpad_acpi snd_acp_pci kvm ath11k uvcvideo drm_display_helper nvram 
snd_hda_intel irqbypass videobuf2_vmalloc ledtrig_audio cec qmi_helpers 
snd_intel_dspcfg platform_profi
 le crct10dif_pclmul uvc snd_pci_acp6x polyval_clmulni
Jun  7 14:46:12 rct14s kernel: [ 1057.363616]  snd_intel_sdw_acpi rc_core 
videobuf2_memops polyval_generic snd_hda_codec snd_pci_acp5x snd_seq_midi 
ghash_clmulni_intel input_leds videobuf2_v4l2 drm_kms_helper sha512_ssse3 
snd_seq_midi_event mac80211 snd_rn_pci_acp3x aesni_intel i2c_algo_bit 
snd_hda_core videodev crypto_simd snd_rawmidi snd_acp_config syscopyarea 
snd_hwdep cryptd sysfillrect videobuf2_common snd_soc_acpi snd_pcm sysimgblt 
nls_iso8859_1 ccp snd_pci_acp3x rapl mc serio_raw snd_seq hid_multitouch 
cfg80211 btusb snd_seq_device think_lmi firmware_attributes_class wmi_bmof 
btrtl snd_timer btbcm libarc4 btintel snd ucsi_acpi btmtk mhi typec_ucsi 
k10temp typec soundcore mac_hid amd_pmc acpi_tad bluetooth ecdh_generic ecc 
sch_fq_codel overlay iptable_filter ip6table_filter ip6_tables br_netfilter 
bridge stp llc arp_tables msr parport_pc ppdev lp parport drm ramoops 
reed_solomon pstore_blk pstore_zone efi_pstore ip_tables x_tables autofs4 nvme 
nvme_core video hid_generic crc32_
 pclmul psmouse thunderbolt xhci_pci i2c_piix4 xhci_pci_renesas
Jun  7 14:46:12 rct14s kernel: [ 1057.363702]  nvme_common i2c_hid_acpi i2c_hid 
wmi hid
Jun  7 14:46:12 rct14s kernel: [ 1057.363708] CPU: 3 PID: 226 Comm: 
kworker/3:1H Not tainted 6.4.0-060400rc5-generic #202306041930
Jun  7 14:46:12 rct14s kernel: [ 1057.363712] Hardware name: LENOVO 
21CQCTO1WW/21CQCTO1WW, BIOS R22ET60W (1.30 ) 02/09/2023
Jun  7 14:46:12 rct14s kernel: [ 1057.363714] Workqueue: events_highpri 
dm_irq_work_func [amdgpu]
Jun  7 14:46:12 rct14s kernel: [ 1057.364201] RIP: 
0010:dmub_psr_enable+0x115/0x120 [amdgpu]
Jun  7 14:46:12 rct14s kernel: [ 1057.364777] Code: 45 d0 65 48 2b 04 25 28 00 
00 00 75 21 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 31 d2 31 c9 31 f6 
31 ff c3 cc cc cc cc <0f> 0b eb d0 e8 e2 71 b1 ee 66 90 90 90 90 90 90 90 90 90 
90 90 90
Jun  7 14:46:12 rct14s kernel: [ 1057.364780] RSP: 0018:b3f6c08f3ca8 
EFLAGS: 00010246
Jun  7 14:46:12 rct14s kernel: [ 1057.364783] RAX:  RBX: 
03e9 RCX: 
Jun  7 14:46:12 rct14s kernel: [ 1057.364785] RDX:  RSI: 
 RDI: 
Jun  7 14:46:12 rct14s kernel: [ 1057.364786] RBP: b3f6c08f3d20 R08: 
 R09: 
Jun  7 14:46:12 rct14s kernel: [ 1057.364788] R10:  R11: 
 R12: 
Jun  7 14:46:12 rct14s kernel: [ 1057.364789] R13: 96828546aa30 R14: 
 R15: 9682aa84a9c0
Jun  7 14:46:12 rct14s kernel: [ 1057.364791] FS:  () 
GS:96899eec() knlGS:
Jun  7 14:46:12 rct14s kernel: [ 1057.364792] CS:  0010 DS:  ES:  CR0: 
80050033
Jun  7 14:46:12 rct14s kernel: [ 1057.364794] CR2: 7fb6c403760c CR3: 
000483c3a000 CR4: 00750ee0
Jun  7 14:46:12 rct14s kernel: [ 1057.364796] PKRU: 5554
Jun  7 14:46:12 rct14s kernel: [ 1057.364798] Call Trace:
Jun  7 14:46:12 rct14s kernel: [ 1057.364800]  
Jun  7 14:46:12 rct14s kernel: [ 1057.364803]  ? show_regs+0x6d/0x80
Jun  7 14:46:12 rct14s kernel: [ 1057.364808]  ? __warn+0x89/0x160
Jun  7 14:46:12 rct14s kernel: [ 1057.364813]  ? dmub_psr_enable+0x115/0x120 
[amdgpu]
Jun  7 14:46:12 rct14s kernel: [ 1057.365007]  ? report_bug+0x17e/0x1b0
Jun  7 14:46:12 rct14s kernel: [ 1057.365011]  ? handle_bug+0x46/0x90
Jun  7 14:46:12 rct14s kernel: [ 1057.365014]  ? 

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-05-16 Thread Roemer Claasen
Testing 6.4-rc2 now, it seems the S/G mode issue is indeed resolved.
It's been 2 days only, but the new kernel seems really stable.

I'm now running without the "amdgpu.sg_display=0" kernel param.

It seems the tearing issue is still there though, the
"amdgpu.dcdebugmask=0x10" is still needed.

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  Confirmed

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-04-07 Thread Roemer Claasen
** Summary changed:

- [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel
+ [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
** Attachment added: "PXL_20230406_120734843.jpg"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+attachment/5661609/+files/PXL_20230406_120734843.jpg

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
Short, massive flickering while running with parameters
"amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0", see video:
https://www.youtube.com/watch?v=7WPtMy1nrT8

I suspect this is a separate issue, as I have not seen flickering on
this scale before, it used to be a very quick, hardly noticeable tear.
It appeared to be only the application with focus: first Pycharm, then
Chrome.

At the same time I now notice applications being replicated across
workspaces, see pictures. Seems related to the massive flickering in the
video (suspicion only), not to the AMD PSR kernel parameter.

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
Test 2, no external monitor connected

Another system halt with the following error:

Apr  6 12:51:59 rct14s kernel: [11686.738468] amdgpu :33:00.0: [drm]
*ERROR* [CRTC:72:crtc-0] flip_done timed out

I am now re-enabling "amdgpu.dcdebugmask=0x10" since that seemed to be
running quite well.


kern.log | grep amdgpu:

Apr  6 09:37:17 rct14s kernel: [0.00] Command line: 
BOOT_IMAGE=/boot/vmlinuz-6.3.0-060300rc5-generic 
root=UUID=41d8f993-282a-48a5-b355-6f537a3a17ab ro quiet splash 
amdgpu.sg_display=0 vt.handoff=7
Apr  6 09:37:17 rct14s kernel: [0.004000] Kernel command line: 
BOOT_IMAGE=/boot/vmlinuz-6.3.0-060300rc5-generic 
root=UUID=41d8f993-282a-48a5-b355-6f537a3a17ab ro quiet splash 
amdgpu.sg_display=0 vt.handoff=7
Apr  6 09:37:17 rct14s kernel: [5.089998] [drm] amdgpu kernel modesetting 
enabled.
Apr  6 09:37:17 rct14s kernel: [5.105793] amdgpu: Virtual CRAT table 
created for CPU
Apr  6 09:37:17 rct14s kernel: [5.105810] amdgpu: Topology: Add CPU node
Apr  6 09:37:17 rct14s kernel: [5.105975] amdgpu :33:00.0: enabling 
device (0006 -> 0007)
Apr  6 09:37:17 rct14s kernel: [5.108157] amdgpu :33:00.0: amdgpu: 
Fetched VBIOS from VFCT
Apr  6 09:37:17 rct14s kernel: [5.108161] amdgpu: ATOM BIOS: 
113-REMBRANDT-X37
Apr  6 09:37:17 rct14s kernel: [5.112655] amdgpu :33:00.0: vgaarb: 
deactivate vga console
Apr  6 09:37:17 rct14s kernel: [5.112658] amdgpu :33:00.0: amdgpu: 
Trusted Memory Zone (TMZ) feature disabled as experimental (default)
Apr  6 09:37:17 rct14s kernel: [5.112662] amdgpu :33:00.0: amdgpu: PCIE 
atomic ops is not supported
Apr  6 09:37:17 rct14s kernel: [5.112720] amdgpu :33:00.0: amdgpu: 
VRAM: 1024M 0x00F4 - 0x00F43FFF (1024M used)
Apr  6 09:37:17 rct14s kernel: [5.112723] amdgpu :33:00.0: amdgpu: 
GART: 1024M 0x - 0x3FFF
Apr  6 09:37:17 rct14s kernel: [5.112725] amdgpu :33:00.0: amdgpu: AGP: 
267419648M 0x00F8 - 0x
Apr  6 09:37:17 rct14s kernel: [5.113338] [drm] amdgpu: 1024M of VRAM 
memory ready
Apr  6 09:37:17 rct14s kernel: [5.113343] [drm] amdgpu: 15421M of GTT 
memory ready.
Apr  6 09:37:17 rct14s kernel: [5.115154] amdgpu :33:00.0: amdgpu: Will 
use PSP to load VCN firmware
Apr  6 09:37:17 rct14s kernel: [5.284417] amdgpu :33:00.0: amdgpu: RAS: 
optional ras ta ucode is not available
Apr  6 09:37:17 rct14s kernel: [5.296530] amdgpu :33:00.0: amdgpu: RAP: 
optional rap ta ucode is not available
Apr  6 09:37:17 rct14s kernel: [5.296533] amdgpu :33:00.0: amdgpu: 
SECUREDISPLAY: securedisplay ta ucode is not available
Apr  6 09:37:17 rct14s kernel: [5.298687] amdgpu :33:00.0: amdgpu: SMU 
is initialized successfully!
Apr  6 09:37:17 rct14s kernel: [5.326714] snd_hda_intel :33:00.1: bound 
:33:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
Apr  6 09:37:17 rct14s kernel: [5.441665] kfd kfd: amdgpu: Allocated 
3969056 bytes on gart
Apr  6 09:37:17 rct14s kernel: [5.441734] amdgpu: sdma_bitmap: 3
Apr  6 09:37:18 rct14s kernel: [5.481933] amdgpu: HMM registered 1024MB 
device memory
Apr  6 09:37:18 rct14s kernel: [5.482032] amdgpu: SRAT table not found
Apr  6 09:37:18 rct14s kernel: [5.482033] amdgpu: Virtual CRAT table 
created for GPU
Apr  6 09:37:18 rct14s kernel: [5.482249] amdgpu: Topology: Add dGPU node 
[0x1681:0x1002]
Apr  6 09:37:18 rct14s kernel: [5.482252] kfd kfd: amdgpu: added device 
1002:1681
Apr  6 09:37:18 rct14s kernel: [5.482272] amdgpu :33:00.0: amdgpu: SE 
1, SH per SE 2, CU per SH 6, active_cu_number 12
Apr  6 09:37:18 rct14s kernel: [5.482394] amdgpu :33:00.0: amdgpu: ring 
gfx_0.0.0 uses VM inv eng 0 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482397] amdgpu :33:00.0: amdgpu: ring 
comp_1.0.0 uses VM inv eng 1 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482399] amdgpu :33:00.0: amdgpu: ring 
comp_1.1.0 uses VM inv eng 4 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482401] amdgpu :33:00.0: amdgpu: ring 
comp_1.2.0 uses VM inv eng 5 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482403] amdgpu :33:00.0: amdgpu: ring 
comp_1.3.0 uses VM inv eng 6 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482405] amdgpu :33:00.0: amdgpu: ring 
comp_1.0.1 uses VM inv eng 7 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482407] amdgpu :33:00.0: amdgpu: ring 
comp_1.1.1 uses VM inv eng 8 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482408] amdgpu :33:00.0: amdgpu: ring 
comp_1.2.1 uses VM inv eng 9 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482410] amdgpu :33:00.0: amdgpu: ring 
comp_1.3.1 uses VM inv eng 10 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482412] amdgpu :33:00.0: amdgpu: ring 
kiq_2.1.0 uses VM inv eng 11 on hub 0
Apr  6 09:37:18 rct14s kernel: [5.482414] amdgpu :33:00.0: amdgpu: ring 
sdma0 uses VM inv eng 12 on hub 0
Apr  6 

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
Test 1: amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0 
All well, no observations during a full workday.

Test 2: amggpu.sg_display=0 
Flicker/tear is back, and a full screen freeze within 10 minutes.

About the screen freeze: contrary to yesterday the laptop was now
connected to a second screen. I was using both the internal laptop
screen (PSR capable, theoretically), and an older external HDMI monitor
(non-PSR capable presumably, if that even matters).

The laptop screen froze, while the external monitor was still
functioning (the mouse pointer was fixed mid-screen on the laptop, while
I could move it on the external monitor).

I will repeat test 2 with no external monitor connected.

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-05 Thread Roemer Claasen
Hi Mario, thanks for your support!

I will test the following kernel parameter settings and report back:

Test 1: amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0 (running now)
Test 2: amggpu.sg_display=0

Cheers,

Roemer

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-04 Thread Roemer Claasen
I've tried 6.3rc5 (6.3.0-060300rc5-generic) without the parameter, and
the flickering is still there at times. It appears to be a lot less than
on 6.1/6.2 (without parameter set), though that's a very subjective
observation.

@Mario: Is there anything I can do to analyze further?

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-03-31 Thread Roemer Claasen
@Timo: I tried 6.1.21 recently, and an older 6.2 mainline kernel
(6.2.2?) from the kernel-ppa. The screen flicker/ tearing was still
present on both.

As a whole the system appeared somewhat unstable (occasional system
halt), but I did not investigate, just went back to linux-oem-6.1.

Should it be fixed in the mainline and on linux-oem-6.1 without the
kernel parameter? I can retry if that would help?!

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

Title:
  [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.1 source package in Jammy:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: Screen flickering/ tearing on 6.1 kernel

2023-03-30 Thread Roemer Claasen
@Daniel: so yes, this was indeed PSR. Disabling it fixes this issue.
Thanks for the support!

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

Title:
  Screen flickering/ tearing on  6.1 kernel

Status in linux-meta-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.1 package in Ubuntu:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-6.1/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: Screen flickering/ tearing on 6.1 kernel

2023-03-30 Thread Roemer Claasen
Adding the kernel boot parameter fixes the flickering screen.

Short HOWTO:

 - open `/etc/ default/grub` 
 - add "amdgpu.dcdebugmask=0x10" as kernel boot parameter to 
`GRUB_CMDLINE_LINUX_DEFAULT` (on my system this now reads "quiet splash 
amdgpu.dcdebugmask=0x10")
 - call `sudo update-grub`
 - reboot

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

Title:
  Screen flickering/ tearing on  6.1 kernel

Status in linux-meta-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.1 package in Ubuntu:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-6.1/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2009952] Re: Screen flickering/ tearing on 6.1 kernel

2023-03-28 Thread Roemer Claasen
Daniel, thanks for the suggestion!

This is quite possibly a duplicate of
https://gitlab.freedesktop.org/drm/amd/-/issues/2352.

I'm evaluating the suggestion to add "amdgpu.dcdebugmask=0x10" to the
kernel boot parameters. That parameter seems to disable PSR, see below.

➜  ~ sudo cat /sys/kernel/debug/dri/0/eDP-1/psr_state 
[sudo] password for roemer: 
0
➜  ~ sudo cat /sys/kernel/debug/dri/0/eDP-1/psr_capability
Sink support: yes [0x03]
Driver support: no [0x]

Kernel package: Ubuntu linux-oem-22.04c, current version 6.1.0-1008-oem.

I'll report back in a few days to see if this indeed fixes the
flickering.





** Bug watch added: gitlab.freedesktop.org/drm/amd/-/issues #2352
   https://gitlab.freedesktop.org/drm/amd/-/issues/2352

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

Title:
  Screen flickering/ tearing on  6.1 kernel

Status in linux-meta-oem-6.1 package in Ubuntu:
  New
Status in linux-oem-6.1 package in Ubuntu:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-6.1/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-03-10 Thread Roemer Claasen
Screen flickering/ tear bug filed in
https://bugs.launchpad.net/ubuntu/+source/linux-meta-
oem-6.1/+bug/2009952.

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

Status in linux-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

  EDIT:

  Changed title after confirmation for earlier Ryzen 5000 CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2009952] [NEW] Screen flickering/ tearing on 6.1 kernel

2023-03-10 Thread Roemer Claasen
Public bug reported:

After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there is
occasional screen flicker/ tear. It happens around every minute; it
seems connected to window/ pointer movement, but I have no clear way of
reproducing. Disruption is minor,  but annoying.

I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
system is fully functional. No crashes, nothing breaks.

Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
suspend/ resume on my laptop, see
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
(previous 22.04.1 LTS kernel) works well, with working suspend/ resume,
and without screen flicker. But that's an 'old' kernel now, missing some
nice improvements for the newer Ryzen APUs.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-oem-22.04c 6.1.0.1007.7
ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
Uname: Linux 6.1.0-1007-oem x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 10 13:09:20 2023
InstallationDate: Installed on 2023-02-06 (31 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
SourcePackage: linux-meta-oem-6.1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-meta-oem-6.1 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 amdgpu apport-bug jammy wayland-session

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

Title:
  Screen flickering/ tearing on  6.1 kernel

Status in linux-meta-oem-6.1 package in Ubuntu:
  New

Bug description:
  After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there
  is occasional screen flicker/ tear. It happens around every minute; it
  seems connected to window/ pointer movement, but I have no clear way
  of reproducing. Disruption is minor,  but annoying.

  I'm running 22.04 LTS on a new Thinkpad T14s with AMD Ryzen 6850u. The
  system is fully functional. No crashes, nothing breaks.

  Background on the use of 6.1.0-1007-oem: 5.19.0-35-generic breaks
  suspend/ resume on my laptop, see
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718.

  In a way, running 6.1 is a 'flight forward', since 5.15.0-67-generic
  (previous 22.04.1 LTS kernel) works well, with working suspend/
  resume, and without screen flicker. But that's an 'old' kernel now,
  missing some nice improvements for the newer Ryzen APUs.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-oem-22.04c 6.1.0.1007.7
  ProcVersionSignature: Ubuntu 6.1.0-1007.7-oem 6.1.6
  Uname: Linux 6.1.0-1007-oem x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 10 13:09:20 2023
  InstallationDate: Installed on 2023-02-06 (31 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: linux-meta-oem-6.1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-6.1/+bug/2009952/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-03-09 Thread Roemer Claasen
Hi Daniel, thanks for the suggestion!

My current setup:

$ uname -rv   
6.1.0-1007-oem #7-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb  8 15:41:05 UTC 2023

$ cat /sys/kernel/debug/dri/0/eDP-1/psr_capability 
Sink support: yes [0x03]
Driver support: yes [0x01]

$ cat /sys/kernel/debug/dri/0/eDP-1/psr_state 
6

I was sort of expecting psr_state to be either 0 or 1?! can't
immediately find documentation and have no time right now, but will do
some experiments later and let you know the results.

BTW this seems unrelated to the suspend/resume, and since 6.1 is still
not officially released by Ubuntu, I'm not filing another bug report.
Should I?!

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

Status in linux-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

  EDIT:

  Changed title after confirmation for earlier Ryzen 5000 CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-03-09 Thread Roemer Claasen
6.1 from linux-oem-22.04c indeed fixes this suspend/ resume issue for
me.

6.1 from linux-oem-22.04c doesn't feel as mature as 5.15 though, there
is some repaint/ flickering screen bug that I haven't seen in either
5.15 or 5.19 (but was also present in mainline 6.1). It does seem
somewhat more efficient on battery (purely subjective "measurement").

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

Status in linux-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

  EDIT:

  Changed title after confirmation for earlier Ryzen 5000 CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-02-27 Thread Roemer Claasen
** Summary changed:

- HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u
+ HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

** Description changed:

  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from
  5.15.0.60) suspend/wake up is broken on my laptop.
  
  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.
  
  Reverting back to 5.15.0.60 resolves this issue immediately.
  
  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.
  
  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.
  
  UPDATE:
  
  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!
  
  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.
  
  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.
  
  UPDATE:
  
  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has been
  working hard during "sleep time".
+ 
+ EDIT:
+ 
+ Changed title after confirmation for earlier Ryzen 5000 CPU.

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

Status in linux-meta-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

  EDIT:

  Changed title after confirmation for earlier Ryzen 5000 CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
For completeness: Apport data

** Attachment added: "Apport data"
   
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+attachment/5649649/+files/apport.txt

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
** Description changed:

  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from
  5.15.0.60) suspend/wake up is broken on my laptop.
  
  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.
  
  Reverting back to 5.15.0.60 resolves this issue immediately.
  
  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.
  
  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.
  
  UPDATE:
  
  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!
  
  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.
  
  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.
+ 
+ UPDATE:
+ 
+ I just noticed the battery was down to the low 40% from at least 80%.
+ Given the temperature on opening the laption I suspect the CPU has been
+ working hard during "sleep time".

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  New

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
** Description changed:

  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from
  5.15.0.60) suspend/wake up is broken on my laptop.
  
  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.
  
  Reverting back to 5.15.0.60 resolves this issue immediately.
  
  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.
  
  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.
+ 
+ UPDATE:
+ 
+ See attached log. This may not be a case of the laptop failing to
+ resume, but a case of the laptop not suspending properly!
+ 
+ What happened was the following. When packing in my things,  I closed
+ the laptop and put it in my bag. At home I picked it up again, and
+ immediately noticed how unusually hot it was. The laptop didn't resume
+ properly on opening the lid, but was frozen as before.
+ 
+ So this might actually be a case of the laptop FAILING TO SUSPEND
+ properly, instead of failing to wake up.

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  New

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
kern.log attached, suspend on line 59124


** Attachment added: "kern.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+attachment/5649624/+files/kern.log

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  New

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-20 Thread Roemer Claasen
Installing mainline 6.1 resolves the issues again. Now running:

Linux 6.1.12-060112-generic #202302141939 SMP PREEMPT_DYNAMIC Tue Feb 14
19:45:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  New

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-17 Thread Roemer Claasen
** Description changed:

  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from
  5.15.0.60) suspend/wake up is broken on my laptop.
  
  The system refuses to wake up in about 50% of the cases, seemingly
- random.
+ random. The only "solution" is a forced system power down.
  
  Reverting back to 5.15.0.60 resolves this issue immediately.
  
  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.
  
  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  New

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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


[Kernel-packages] [Bug 2007718] [NEW] HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-17 Thread Roemer Claasen
Public bug reported:

After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from
5.15.0.60) suspend/wake up is broken on my laptop.

The system refuses to wake up in about 50% of the cases, seemingly
random.

Reverting back to 5.15.0.60 resolves this issue immediately.

I suspect some patch was not re-applied to 5.19, since there are many
postings on Reddit (for instance) about sleep problems with newer AMD
CPUs, but 5.15 was running beautifully.

My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

** Affects: linux-meta-hwe-5.19 (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

Status in linux-meta-hwe-5.19 package in Ubuntu:
  New

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+subscriptions


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