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:ffffa13f8b907c80 
EFLAGS: 00010246
Jun  7 21:30:28 rct14s kernel: [ 1211.046191] RAX: 0000000000000000 RBX: 
00000000000003e9 RCX: 0000000000000000
Jun  7 21:30:28 rct14s kernel: [ 1211.046193] RDX: 0000000000000000 RSI: 
0000000000000000 RDI: 0000000000000000
Jun  7 21:30:28 rct14s kernel: [ 1211.046195] RBP: ffffa13f8b907cf8 R08: 
0000000000000000 R09: 0000000000000000
Jun  7 21:30:28 rct14s kernel: [ 1211.046197] R10: 0000000000000000 R11: 
0000000000000000 R12: 0000000000000000
Jun  7 21:30:28 rct14s kernel: [ 1211.046198] R13: ffff9499a513f4c0 R14: 
0000000000000000 R15: ffff9499a52b8c00
Jun  7 21:30:28 rct14s kernel: [ 1211.046200] FS:  0000000000000000(0000) 
GS:ffff94a07dac0000(0000) knlGS:0000000000000000
Jun  7 21:30:28 rct14s kernel: [ 1211.046203] CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
Jun  7 21:30:28 rct14s kernel: [ 1211.046205] CR2: 000055ffdb0e9040 CR3: 
000000011bf0c000 CR4: 0000000000750ee0
Jun  7 21:30:28 rct14s kernel: [ 1211.046208] PKRU: 55555554
Jun  7 21:30:28 rct14s kernel: [ 1211.046209] Call Trace:
Jun  7 21:30:28 rct14s kernel: [ 1211.046213]  <TASK>
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.046666]  ? __warn+0x8d/0x160
Jun  7 21:30:28 rct14s kernel: [ 1211.046672]  ? dmub_psr_enable+0x10b/0x120 
[amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.047113]  ? report_bug+0x1bb/0x1d0
Jun  7 21:30:28 rct14s kernel: [ 1211.047122]  ? handle_bug+0x46/0x90
Jun  7 21:30:28 rct14s kernel: [ 1211.047128]  ? exc_invalid_op+0x19/0x80
Jun  7 21:30:28 rct14s kernel: [ 1211.047131]  ? asm_exc_invalid_op+0x1b/0x20
Jun  7 21:30:28 rct14s kernel: [ 1211.047137]  ? dmub_psr_enable+0x10b/0x120 
[amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.047498]  ? 
__pfx_dmub_psr_enable+0x10/0x10 [amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.047896]  
edp_set_psr_allow_active+0x1ed/0x2c0 [amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.048246]  dp_handle_hpd_rx_irq+0x334/0x370 
[amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.048611]  
dc_link_handle_hpd_rx_irq+0x26/0x40 [amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.048928]  handle_hpd_rx_irq+0xe1/0x490 
[amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.049259]  ? __schedule+0x3da/0x15f0
Jun  7 21:30:28 rct14s kernel: [ 1211.049265]  dm_irq_work_func+0x19/0x30 
[amdgpu]
Jun  7 21:30:28 rct14s kernel: [ 1211.049590]  process_one_work+0x21f/0x440
Jun  7 21:30:28 rct14s kernel: [ 1211.049596]  worker_thread+0x50/0x3f0
Jun  7 21:30:28 rct14s kernel: [ 1211.049599]  ? __pfx_worker_thread+0x10/0x10
Jun  7 21:30:28 rct14s kernel: [ 1211.049601]  kthread+0xf7/0x130
Jun  7 21:30:28 rct14s kernel: [ 1211.049607]  ? __pfx_kthread+0x10/0x10
Jun  7 21:30:28 rct14s kernel: [ 1211.049610]  ret_from_fork+0x2c/0x50
Jun  7 21:30:28 rct14s kernel: [ 1211.049617]  </TASK>
Jun  7 21:30:28 rct14s kernel: [ 1211.049618] ---[ end trace 0000000000000000 
]---

-- 
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

Reply via email to