Skip to content

Instantly share code, notes, and snippets.

@gvolpe
Created December 17, 2020 09:23
Show Gist options
  • Save gvolpe/8bc75f89f3a58f596dfd556be54c5387 to your computer and use it in GitHub Desktop.
Save gvolpe/8bc75f89f3a58f596dfd556be54c5387 to your computer and use it in GitHub Desktop.
[Dec16 23:16] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -2!
[ +0.000908] gmc_v9_0_process_interrupt: 24 callbacks suppressed
[ +0.000010] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000007] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f0000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00640C51
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x6
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x5
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x1
[ +0.000007] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f1000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[ +0.000007] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f2000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[ +0.000006] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f3000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000002] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[ +0.000004] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f4000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[ +0.000007] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f5000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[ +0.000004] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f6000 from client 27
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
[ +0.000007] amdgpu 0000:04:00.0: amdgpu: [gfxhub0] retry page fault (src_id:0 ring:0 vmid:6 pasid:32769, for process X pid 1073 thread X:cs0 pid 1095)
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x00008001018f7000 from client 27
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
[ +0.000002] amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
[ +0.000000] amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
[ +0.000001] amdgpu 0000:04:00.0: amdgpu: RW: 0x0
@gvolpe
Copy link
Author

gvolpe commented Feb 26, 2021

@tmp6154 I reported the issue here and I've been pointed to a Mesa bug that might be related. There was a PR (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9006) allegedly fixing the issue.

I'm now running Linux Kernel 5.11.0 with a Mesa build from master that includes this fix but since I've been traveling I had to turn off the laptop a couple of times, couldn't test it properly. I will start testing it this Sunday.

@ostrosablin
Copy link

@gvolpe Oh, that's great! Will try fixed version as well (both Mesa and newer kernel) and test them as well.

@gvolpe
Copy link
Author

gvolpe commented Mar 2, 2021

I bumped into a different issue while testing Linux Kernel 5.11.0 and a Mesa version with that fix.

Mar 02 10:09:32 tongfang-amd kernel: amdgpu 0000:04:00.0: amdgpu: 000000002db3ee17 pin failed
Mar 02 10:09:32 tongfang-amd kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

I reported it here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment