Bug 217058 - amdgpu resets
Summary: amdgpu resets
Status: RESOLVED ANSWERED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: AMD Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-18 21:24 UTC by towo
Modified: 2023-02-19 14:39 UTC (History)
0 users

See Also:
Kernel Version: 6.0.x, 6.1.x, 6.2-rcX
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description towo 2023-02-18 21:24:36 UTC
On watching iptv or video with mpv, after some random times, the whole desktop resets and im find myself on login screen.

dmesg is showing then:

[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu: [mmhub] page fault (src_id:0 ring:24 vmid:4 pasid:32781, for process mpv pid 16088 thread mpv:cs0 pid 16100)
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   in page starting at address 0x0000800104364000 from client 0x12 (VMC)
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu: MMVM_L2_PROTECTION_FAULT_STATUS:0x00405631
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   Faulty UTCL2 client ID: VCN0 (0x2b)
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   MORE_FAULTS: 0x1
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   WALKER_ERROR: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   PERMISSION_FAULTS: 0x3
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   MAPPING_ERROR: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   RW: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu: [mmhub] page fault (src_id:0 ring:24 vmid:4 pasid:32781, for process mpv pid 16088 thread mpv:cs0 pid 16100)
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   in page starting at address 0x0000800104369000 from client 0x12 (VMC)
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu: MMVM_L2_PROTECTION_FAULT_STATUS:0x00000000
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   Faulty UTCL2 client ID: unknown (0x0)
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   MORE_FAULTS: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   WALKER_ERROR: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   PERMISSION_FAULTS: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   MAPPING_ERROR: 0x0
[Sa Feb 18 21:37:38 2023] amdgpu 0000:0b:00.0: amdgpu:   RW: 0x0
[Sa Feb 18 21:37:49 2023] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vcn_dec_0 timeout, signaled seq=81848, emitted seq=81850
[Sa Feb 18 21:37:49 2023] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process mpv pid 16088 thread mpv:cs0 pid 16100
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: amdgpu: GPU reset begin!
[Sa Feb 18 21:37:49 2023] [drm] Register(0) [mmUVD_POWER_STATUS] failed to reach value 0x00000001 != 0x00000002
[Sa Feb 18 21:37:49 2023] [drm] Register(0) [mmUVD_RBC_RB_RPTR] failed to reach value 0x00000130 != 0x000000d0
[Sa Feb 18 21:37:49 2023] [drm] Register(0) [mmUVD_POWER_STATUS] failed to reach value 0x00000001 != 0x00000002
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: amdgpu: MODE1 reset
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: amdgpu: GPU mode1 reset
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: amdgpu: GPU smu mode1 reset
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0012 address=0x467380 flags=0x0000]
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0012 address=0x4673c0 flags=0x0000]
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0012 address=0x467400 flags=0x0000]
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0012 address=0x467440 flags=0x0000]
[Sa Feb 18 21:37:49 2023] amdgpu 0000:0b:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0012 address=0x467480 flags=0x0000]
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: GPU reset succeeded, trying to resume
[Sa Feb 18 21:37:50 2023] [drm] PCIE GART of 512M enabled (table at 0x00000081FEB00000).
[Sa Feb 18 21:37:50 2023] [drm] VRAM is lost due to GPU reset!
[Sa Feb 18 21:37:50 2023] [drm] PSP is resuming...
[Sa Feb 18 21:37:50 2023] [drm] reserve 0xa00000 from 0x81fd000000 for PSP TMR
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: RAS: optional ras ta ucode is not available
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: SMU is resuming...
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: smu driver if version = 0x0000000f, smu fw if version = 0x00000013, smu fw program = 0, version = 0x003b2a00 (59.42.0)
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: SMU driver if version not matched
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: use vbios provided pptable
[Sa Feb 18 21:37:50 2023] amdgpu 0000:0b:00.0: amdgpu: SMU is resumed successfully!
[Sa Feb 18 21:37:50 2023] [drm] DMUB hardware initialized: version=0x02020017
[Sa Feb 18 21:37:51 2023] [drm] kiq ring mec 2 pipe 1 q 0
[Sa Feb 18 21:37:51 2023] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[Sa Feb 18 21:37:51 2023] [drm] JPEG decode initialized successfully.
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 1
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 1
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: recover vram bo from shadow start
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: recover vram bo from shadow done
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] amdgpu 0000:0b:00.0: amdgpu: GPU reset(2) succeeded!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm] Skip scheduling IBs!
[Sa Feb 18 21:37:51 2023] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[Sa Feb 18 21:37:51 2023] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* got no status for stream 00000000cf78e5f6 on acrtc0000000056f62870
[Sa Feb 18 21:37:51 2023] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* got no status for stream 0000000092068d11 on acrtc00000000ee859d94

Kernel i have tryed: 6.0.x, 6.1.x and at the moment 6.2-rc8.
Grapics: Radeon RX 6600 XT
CPU: AMD Ryzen 7 2700X

The whole Problem seems VA-API related.

If you need more info, i will give it to you.
Comment 1 Artem S. Tashkinov 2023-02-19 14:39:42 UTC
Please report here instead https://gitlab.freedesktop.org/drm/amd/-/issues

Note You need to log in before you can comment on or make changes to this bug.