Skip to contentSkip to conversation

v6.3-rc4 Error scheduling IBs after resume from hibernate

Regression bisected Julian Wollrath 2 participants 3 messages Mar 30, 2023

lore
Share & tools
lore
#0 lore raw

Hi,

on an AMD Ryzen 5 PRO 4650U / Renoir (amdgpu: added device 1002:1636) I the screen basically freezes and I get the following errors with kernel v6.3-rc4

[   26.214541] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx_low (-110).
[   26.379624] [drm] ring 0 timeout to preempt ib
[   27.387884] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx_high (-110).
[   27.392945] [drm:process_one_work] *ERROR* ib ring test failed (-110).
[   27.400370] amdgpu 0000:03:00.0: amdgpu: couldn't schedule ib on ring <gfx_low>
[   27.400384] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling
IBs (-22)
[   44.440532] amdgpu 0000:03:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
[   61.177118] amdgpu 0000:03:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706
[   61.189275] amdgpu 0000:03:00.0: amdgpu: couldn't schedule ib on ring <gfx_low>
[   61.189286] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling

IBs (-22)

I bisected the issue, the first bad commit is b589626674de94d977e81c99bf7905872b991197 reverting it on top of v6.3-rc4 also fixes the issue.

Best regards,
Julian Wollrath

--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments

#1 lore raw

[Public]

Quoted 32 lines

-----Original Message-----
From: Julian Wollrath <[email protected]>
Sent: Thursday, March 30, 2023 10:08 AM
To: [email protected]
Cc: Huang, Tim <[email protected]>; Deucher, Alexander <[email protected]>
Subject: [Regression bisected] v6.3-rc4 Error scheduling IBs after resume from hibernate

Hi,

on an AMD Ryzen 5 PRO 4650U / Renoir (amdgpu: added device 1002:1636) I the screen basically freezes and I get the following errors with kernel v6.3-rc4

[   26.214541] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]]
*ERROR* IB test failed on gfx_low (-110).
[   26.379624] [drm] ring 0 timeout to preempt ib
[   27.387884] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]]
*ERROR* IB test failed on gfx_high (-110).
[   27.392945] [drm:process_one_work] *ERROR* ib ring test failed (-110).
[   27.400370] amdgpu 0000:03:00.0: amdgpu: couldn't schedule ib on ring
<gfx_low>
[   27.400384] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling
IBs (-22)
[   44.440532] amdgpu 0000:03:00.0: amdgpu: failed to write reg 28b4 wait reg
28c6
[   61.177118] amdgpu 0000:03:00.0: amdgpu: failed to write reg 1a6f4 wait reg
1a706
[   61.189275] amdgpu 0000:03:00.0: amdgpu: couldn't schedule ib on ring
<gfx_low>
[   61.189286] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling
Quoted 5 lines

IBs (-22)

I bisected the issue, the first bad commit is b589626674de94d977e81c99bf7905872b991197 reverting it on top of v6.3-rc4 also fixes the issue.

Fixed in:
https://patchwork.freedesktop.org/patch/529751/

Alex

Quoted 8 lines

Best regards,
Julian Wollrath

--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments

#2 lore raw

Hi Alex,

Am Thu, 30 Mar 2023 15:22:34 +0000
schrieb "Deucher, Alexander" <[email protected]>:

Quoted 36 lines

[Public]

Quoted 34 lines

-----Original Message-----
From: Julian Wollrath <[email protected]>
Sent: Thursday, March 30, 2023 10:08 AM
To: [email protected]
Cc: Huang, Tim <[email protected]>; Deucher, Alexander <[email protected]>
Subject: [Regression bisected] v6.3-rc4 Error scheduling IBs after resume from hibernate

Hi,

on an AMD Ryzen 5 PRO 4650U / Renoir (amdgpu: added device 1002:1636) I the screen basically freezes and I get the following errors with kernel v6.3-rc4

[   26.214541] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests
[amdgpu]] *ERROR* IB test failed on gfx_low (-110).
[   26.379624] [drm] ring 0 timeout to preempt ib
[   27.387884] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests
[amdgpu]] *ERROR* IB test failed on gfx_high (-110).
[   27.392945] [drm:process_one_work] *ERROR* ib ring test failed
(-110). [   27.400370] amdgpu 0000:03:00.0: amdgpu: couldn't
schedule ib on ring <gfx_low>
[   27.400384] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error
scheduling IBs (-22)
[   44.440532] amdgpu 0000:03:00.0: amdgpu: failed to write reg
28b4 wait reg 28c6
[   61.177118] amdgpu 0000:03:00.0: amdgpu: failed to write reg
1a6f4 wait reg 1a706
[   61.189275] amdgpu 0000:03:00.0: amdgpu: couldn't schedule ib on
ring <gfx_low>
[   61.189286] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error

scheduling IBs (-22)

Quoted 6 lines
Quoted 3 lines

I bisected the issue, the first bad commit is b589626674de94d977e81c99bf7905872b991197 reverting it on top of v6.3-rc4 also fixes the issue.

Fixed in:
https://patchwork.freedesktop.org/patch/529751/

thank you. I can confirm, that this patch indeed fixes the issue.

Cheers,
Julian

Quoted 11 lines

Alex

Quoted 8 lines

Best regards,
Julian Wollrath

--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments

--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments