[RESPONDED] Blocky artifacts on AMD Framework laptop 13

Nothing to add here except to point out everything Mario indicated and requested would be helpful for troubleshooting.

This issue happens to me using an HDMI monitor as well

Running the UMR command above gives me the same output as @bullza

Here are fixes you can try:

  1. umr -i 1 --logscan -O bits,follow,empty_log as the device is exposed as 1 under dri folder
  2. amdgpu_mm_wreg and amgpu_mm_rreg are exposed as amdgpu_device_wreg and amdgpu_device_rreg. Need to fix paths within umr’s code and re-compile.

I haven’t tried these yet, but I will.

Thanks! I’ll run it tomorrow. I hope this gets fixed soon because it’s hindering my productivity

@Mario_Limonciello

Please let me know if this is enough information. If it is, I will create a bug report on AMD’s Gitlab. I am on kernel 6.6.14 now and I had to wait the entire day to reproduce the white screen error under latest GNOME.

Output of ./umr -i 1 --print-sdma

SDMA 0  RLC 0
  RB BASE 0x45f000  RPTR 0xa9a5c0  WPTR 0xa9a5c0  RPTR_ADDR 0x4015e0  CNTL 0x841817

umr -i 1 --logscan -O bits,follow,empty_log does not print anything.

Dmesg output during white screen error:

[14234.884102] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb801000 flags=0x0000]
[14234.884118] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb802000 flags=0x0000]
[14234.884133] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb803000 flags=0x0000]
[14234.884147] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb804000 flags=0x0000]
[14234.884187] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb805000 flags=0x0000]
[14234.884202] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb806000 flags=0x0000]
[14234.884217] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb807000 flags=0x0000]
[14234.884231] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb820000 flags=0x0000]
[14234.884245] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffeb80c000 flags=0x0000]
[14239.884225] amd_iommu_report_page_fault: 65429 callbacks suppressed
[14239.884233] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c20000 flags=0x0000]
[14239.884249] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c21000 flags=0x0000]
[14239.884261] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c22000 flags=0x0000]
[14239.884271] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c23000 flags=0x0000]
[14239.884281] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c24000 flags=0x0000]
[14239.884291] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c25000 flags=0x0000]
[14239.884301] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c26000 flags=0x0000]
[14239.884311] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c27000 flags=0x0000]
[14239.884321] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c28000 flags=0x0000]
[14239.884331] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffe0c44000 flags=0x0000]
[14244.888793] amd_iommu_report_page_fault: 64891 callbacks suppressed
[14244.888800] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde080000 flags=0x0000]
[14244.888808] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde081000 flags=0x0000]
[14244.888813] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde082000 flags=0x0000]
[14244.888817] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde083000 flags=0x0000]
[14244.888821] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde084000 flags=0x0000]
[14244.888825] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde085000 flags=0x0000]
[14244.888829] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde086000 flags=0x0000]
[14244.888833] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde087000 flags=0x0000]
[14244.888837] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde088000 flags=0x0000]
[14244.888841] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde094000 flags=0x0000]
[14249.891012] amd_iommu_report_page_fault: 65346 callbacks suppressed
[14249.891020] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c0000 flags=0x0000]
[14249.891029] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c1000 flags=0x0000]
[14249.891033] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c2000 flags=0x0000]
[14249.891037] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c3000 flags=0x0000]
[14249.891041] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c4000 flags=0x0000]
[14249.891045] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c5000 flags=0x0000]
[14249.891049] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c6000 flags=0x0000]
[14249.891053] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c7000 flags=0x0000]
[14249.891057] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2c8000 flags=0x0000]
[14249.891061] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffde2d4000 flags=0x0000]
[14254.894436] amd_iommu_report_page_fault: 63985 callbacks suppressed
[14254.894441] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff100000 flags=0x0000]
[14254.894448] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff101000 flags=0x0000]
[14254.894452] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff102000 flags=0x0000]
[14254.894456] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff103000 flags=0x0000]
[14254.894460] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff104000 flags=0x0000]
[14254.894464] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff105000 flags=0x0000]
[14254.894468] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff106000 flags=0x0000]
[14254.894472] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff107000 flags=0x0000]
[14254.894476] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff108000 flags=0x0000]
[14254.894479] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff114000 flags=0x0000]
[14259.898105] amd_iommu_report_page_fault: 64994 callbacks suppressed
[14259.898118] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee80000 flags=0x0000]
[14259.898135] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee81000 flags=0x0000]
[14259.898146] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee82000 flags=0x0000]
[14259.898156] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee83000 flags=0x0000]
[14259.898166] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee84000 flags=0x0000]
[14259.898176] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee85000 flags=0x0000]
[14259.898186] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee86000 flags=0x0000]
[14259.898196] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee87000 flags=0x0000]
[14259.898206] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee88000 flags=0x0000]
[14259.898215] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffee94000 flags=0x0000]
[14264.901960] amd_iommu_report_page_fault: 64286 callbacks suppressed
[14264.901972] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe770000 flags=0x0000]
[14264.901995] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe771000 flags=0x0000]
[14264.902011] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe772000 flags=0x0000]
[14264.902026] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe773000 flags=0x0000]
[14264.902040] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe774000 flags=0x0000]
[14264.902054] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe775000 flags=0x0000]
[14264.902068] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe776000 flags=0x0000]
[14264.902082] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe777000 flags=0x0000]
[14264.902096] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffe778000 flags=0x0000]
[14264.902110] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff805000 flags=0x0000]
[14269.904989] amd_iommu_report_page_fault: 64973 callbacks suppressed
[14269.904994] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb80000 flags=0x0000]
[14269.905000] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb81000 flags=0x0000]
[14269.905005] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb82000 flags=0x0000]
[14269.905009] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb83000 flags=0x0000]
[14269.905013] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb84000 flags=0x0000]
[14269.905017] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb85000 flags=0x0000]
[14269.905021] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb86000 flags=0x0000]
[14269.905025] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb87000 flags=0x0000]
[14269.905029] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb88000 flags=0x0000]
[14269.905032] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffffb94000 flags=0x0000] ```

Can you dump all the IP blocks it lets you? And also decode the rings?
That will provide more full picture.

I am guessing that I need to do the following:

  • Dump all IP blocks: ./umr -i 1 --scan <name_of_ip_block> where I can get the list of IP blocks using ./umr -i 1 --list-blocks
  • Decode the rings: ./umr -i 1 --ring-stream gfx_0.0.0
1 Like

OK I think the blocky artifacts are this issue:

There is a workaround there (some reverts). If anyone can reliably trigger them please try those reverts until a solution is ready.

So, I have the following:

  • amdgpu prints from dmesg
  • ./umr -i 1 --print-sdma
  • ./umr -i 1 --ring-stream gfx_0.0.0
  • ./umr -i 1 --scan for
    • amd15bf.df400 (4.0.0)
    • amd15bf.mp11304 (13.0.4)
    • amd15bf.lsdma601 (6.0.1)
    • amd15bf.mmhub301 (3.0.1)
    • amd15bf.osssys601 (6.0.1)
    • amd15bf.vcn402 (4.0.2) ----- I don’t have this as it triggers a hard reset of my laptop
    • amd15bf.hdp521 (5.2.1)
    • amd15bf.smuio1307 (13.0.7)
    • amd15bf.nbio770 (7.7.0)
    • amd15bf.athub301 (3.0.1)
    • amd15bf.dcn314 (3.1.4)
    • amd15bf.thm1303 (13.0.3)
    • amd15bf.mp01304 (13.0.4)
    • amd15bf.gfx1101 (11.0.1)

Okay to file a bug report here now Issues · drm / amd · GitLab ?

Yeah hopefully that’s enough to understand this. Also share information about your system, vendors for RAM, how much RAM, what speed, etc.