Skip to contentSkip to conversation

Question about Iris SID override assertion on Yoga Slim 7x

DISCUSSION Birk Skyum 2 participants 7 messages Sep 13 – Sep 24

Subsystems (2)
lore
Share & tools
lore

Birk Skyum

author
#0 lore raw

Hi Vikash and Dikshita,

I'm testing Iris video decoding on a Lenovo Yoga Slim 7x (83ED, X1E80100). This is a request for guidance on a firmware assertion. It currently reproduces on a modified test stack, and I'm working on reducing it to an unmodified-driver reproduction.

After repeated runtime-suspend/resume cycles, VP9 startup intermittently hits this firmware assertion before initial stream settings or CAPTURE START:

VenusCoreCtrl_InitSS(506): un-expected SID override configuration WaitForHWidle(462): VENUS is idle, no HW is running assert_loop(500): FW Assertion - venusCoreController.c:507

The first HFI error is 0x05000003. The SFR names the same source line. Later venus_c2_parsing.c:1550 assertions follow automatic recovery; they are not the original failure.

Could you clarify what the SID override check expects on X1E80100, and whether there is a known firmware, secure-firmware, or resume-sequencing requirement I should check? Which diagnostics would help distinguish a driver sequencing problem from a firmware requirement? I can test a targeted diagnostic or patch.

The firmware is qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn from linux-firmware-qcom 20260810-2:

video-firmware.3.1-e5aea20c64cb6df9a1c9be99e206053b36424939 PROD, build May 9 2024
SHA256 3456a15e01528c2ba2957ef2b78daefd875841b262dc02f0c3bb03c33cba657f

That hash matches the current linux-firmware main file. The BIOS is NHCN62WW, dated 12/02/2025. The device tree lists qcom,x1e80100-iris with the qcom,sm8550-iris fallback.

The test repeatedly decodes the same synthetic 1280x720 VP9 clip, 120 frames at normal speed, closes the decoder, verifies runtime_status is suspended for 100 seconds, then starts again. FFmpeg is 9.0.1 with a local fix to requeue empty non-LAST ERROR capture buffers. Successful runs match every decoded frame against software decoding.

On one cold boot, three 100-second idle trials with power/control=on passed. After restoring auto, two suspended-idle trials passed and the third failed. On another boot with auto throughout, two passed and the third failed. A separate codec guard removed an unnecessary AV1-only partial buffer from VP9; its warning disappeared, but the fourth suspended-idle trial still hit the same SID assertion. These comparisons do not establish runtime PM as the cause or keeping power on as a fix.

This is a modified test stack, not a pristine-mainline reproduction. The kernel is 7.2.0-1.1-aarch64-ARCH-camera1, with camera patches. The in-tree Iris and video-clock sources were built as external modules. Iris also has experimental initial-CAPTURE deferral and pre-start buffer ownership changes, a bounded HFI/SFR diagnostic, and Renjiang Han's firmware-logging patch with an early debug-queue drain to retain the pre-assertion messages. The failing session receives OPEN acknowledgement and its first compressed input before the fatal error. No looping or seek is reached.

Testing stops at the first failure and resumes only after a clean shutdown and physical power-on. No clock-module reloads are involved. I can provide the synthetic clip, exact source changes and filtered HFI trace if useful.

Thanks,
Birk

#1 lore raw

Hello Birk,

Quoted 18 lines · Birk Skyum

Hi Vikash and Dikshita,

I'm testing Iris video decoding on a Lenovo Yoga Slim 7x (83ED, X1E80100). This is a request for guidance on a firmware assertion. It currently reproduces on a modified test stack, and I'm working on reducing it to an unmodified-driver reproduction.

After repeated runtime-suspend/resume cycles, VP9 startup intermittently hits this firmware assertion before initial stream settings or CAPTURE START:

VenusCoreCtrl_InitSS(506): un-expected SID override configuration WaitForHWidle(462): VENUS is idle, no HW is running assert_loop(500): FW Assertion - venusCoreController.c:507

The first HFI error is 0x05000003. The SFR names the same source line. Later venus_c2_parsing.c:1550 assertions follow automatic recovery; they are not the original failure.

Quoted 5 lines

Could you clarify what the SID override check expects on X1E80100, and whether there is a known firmware, secure-firmware, or resume-sequencing requirement I should check? Which diagnostics would help distinguish a driver sequencing problem from a firmware requirement? I can test a targeted diagnostic or patch.

Same failure was seen once in windows based X1E80100, and i was informed that doing an explicit GDSC (vcodec) power on before doing a warm boot i.e iris_vpu_boot_firmware() helped the case in windows. I have checked, in iris, iris_vpu_power_on() would get the vcodec GDSC on before iris_vpu_boot_firmware().

I am gathering more info on SID override configuration part.

+ing Renjiang who is helping to debug this issue along with me.

Quoted 12 lines

The firmware is qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn from linux-firmware-qcom 20260810-2:

   video-firmware.3.1-e5aea20c64cb6df9a1c9be99e206053b36424939
   PROD, build May 9 2024
   SHA256 3456a15e01528c2ba2957ef2b78daefd875841b262dc02f0c3bb03c33cba657f

That hash matches the current linux-firmware main file. The BIOS is NHCN62WW, dated 12/02/2025. The device tree lists qcom,x1e80100-iris with the qcom,sm8550-iris fallback.

Quoted 5 lines

The test repeatedly decodes the same synthetic 1280x720 VP9 clip, 120 frames at normal speed, closes the decoder, verifies runtime_status is suspended for 100 seconds, then starts again. FFmpeg is 9.0.1 with a local fix to requeue empty non-LAST ERROR capture buffers. Successful runs match every decoded frame against software decoding.

Could you please share details on the FFmpeg test and the local fix ? We will repro this locally to get better insight of this issue.

Quoted 18 lines

On one cold boot, three 100-second idle trials with power/control=on passed. After restoring auto, two suspended-idle trials passed and the third failed. On another boot with auto throughout, two passed and the third failed. A separate codec guard removed an unnecessary AV1-only partial buffer from VP9; its warning disappeared, but the fourth suspended-idle trial still hit the same SID assertion. These comparisons do not establish runtime PM as the cause or keeping power on as a fix.

This is a modified test stack, not a pristine-mainline reproduction. The kernel is 7.2.0-1.1-aarch64-ARCH-camera1, with camera patches. The in-tree Iris and video-clock sources were built as external modules. Iris also has experimental initial-CAPTURE deferral and pre-start buffer ownership changes, a bounded HFI/SFR diagnostic, and Renjiang Han's firmware-logging patch with an early debug-queue drain to retain the pre-assertion messages. The failing session receives OPEN acknowledgement and its first compressed input before the fatal error. No looping or seek is reached.

Quoted 6 lines

Testing stops at the first failure and resumes only after a clean shutdown and physical power-on. No clock-module reloads are involved. I can provide the synthetic clip, exact source changes and filtered HFI trace if useful.

Thanks,
Birk

Regards,
Vikash

author
#2 lore raw

Hi Vikash and Renjiang,

Thanks, that is helpful. I've attached a bundle with the original synthetic VP9 clip, the FFmpeg 9.0.1 patch and build options, the test harness, the exact Iris source changes, and the first-failure HFI/SFR trace.

The FFmpeg fix requeues empty CAPTURE buffers marked ERROR but not LAST, rather than treating them as the end of decoding. The test starts a fresh FFmpeg process after each verified 100-second runtime-suspended interval and compares all 120 frames with software decoding. It stops at the first failure.

On the firmware-logging boot, the warmup and first two idle trials passed. The third hit the SID assertion before producing a frame. The separate AV1-only partial-buffer guard removed the VP9 warning but did not prevent the assertion on another cold boot.

This still reproduces on the modified stack described in my first mail. The bundle separates the baseline and experimental Iris sources and includes the camera-kernel configuration and delta, so those differences are explicit.

I haven't established whether the vcodec GDSC behavior explains this case. Please let me know if there is a particular baseline or targeted diagnostic you would prefer me to test next.

Thanks,
Birk

author
#3 lore raw
In reply to Vikash Garodia

Hi Vikash and Renjiang,

My previous reply was rejected by Qualcomm's mail gateway. I'm resending without the attachment and have made the reproducer bundle available here:

https://github.com/birkskyum/iris-sid-reproducer/releases/tag/2026-09-17

The archive is unchanged from the attachment. Its SHA256 is:
5b38ccc616d8f1166334896e1840fa5546b59268569d0d226c2986edea64e97f

It contains the original synthetic VP9 clip, the FFmpeg 9.0.1 patch and build options, the test harness, the exact Iris source changes, and the first-failure HFI/SFR trace. The files can also be browsed in the repository.

The FFmpeg fix requeues empty CAPTURE buffers marked ERROR but not LAST, rather than treating them as the end of decoding. The test starts a fresh FFmpeg process after each verified 100-second runtime-suspended interval and compares all 120 frames with software decoding. It stops at the first failure.

On the firmware-logging boot, the warmup and first two idle trials passed. The third hit the SID assertion before producing a frame. The separate AV1-only partial-buffer guard removed the VP9 warning but did not prevent the assertion on another cold boot.

This still reproduces on the modified stack described in my first mail. The bundle separates the baseline and experimental Iris sources and includes the camera-kernel configuration and delta, so those differences are explicit.

Thanks for the GDSC lead. I haven't established whether that behavior explains this case. Please let me know if there is a particular baseline or targeted diagnostic you would prefer me to test next.

Thanks,
Birk

#4 lore raw
In reply to Vikash Garodia
Quoted 16 lines · Vikash Garodia

Hello Birk,

Quoted 13 lines · Birk Skyum

Hi Vikash and Dikshita,

I'm testing Iris video decoding on a Lenovo Yoga Slim 7x (83ED, X1E80100). This is a request for guidance on a firmware assertion. It currently reproduces on a modified test stack, and I'm working on reducing it to an unmodified-driver reproduction.

After repeated runtime-suspend/resume cycles, VP9 startup intermittently hits this firmware assertion before initial stream settings or CAPTURE START:

   VenusCoreCtrl_InitSS(506): un-expected SID override configuration WaitForHWidle(462): VENUS is idle, no HW is running assert_loop(500): FW Assertion - venusCoreController.c:507

Could you please try the usecase with the fix

https://lore.kernel.org/all/[email protected]/

Regards,
Vikash

Quoted 64 lines
Quoted 10 lines

The first HFI error is 0x05000003. The SFR names the same source line. Later venus_c2_parsing.c:1550 assertions follow automatic recovery; they are not the original failure.

Could you clarify what the SID override check expects on X1E80100, and whether there is a known firmware, secure-firmware, or resume-sequencing requirement I should check? Which diagnostics would help distinguish a driver sequencing problem from a firmware requirement? I can test a targeted diagnostic or patch.

Same failure was seen once in windows based X1E80100, and i was informed that doing an explicit GDSC (vcodec) power on before doing a warm boot i.e iris_vpu_boot_firmware() helped the case in windows. I have checked, in iris, iris_vpu_power_on() would get the vcodec GDSC on before iris_vpu_boot_firmware().

I am gathering more info on SID override configuration part.

+ing Renjiang who is helping to debug this issue along with me.

Quoted 12 lines

The firmware is qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn from linux-firmware-qcom 20260810-2:

   video-firmware.3.1-e5aea20c64cb6df9a1c9be99e206053b36424939 PROD, build May 9 2024
   SHA256 3456a15e01528c2ba2957ef2b78daefd875841b262dc02f0c3bb03c33cba657f

That hash matches the current linux-firmware main file. The BIOS is NHCN62WW, dated 12/02/2025. The device tree lists qcom,x1e80100-iris with the qcom,sm8550-iris fallback.

Quoted 5 lines

The test repeatedly decodes the same synthetic 1280x720 VP9 clip, 120 frames at normal speed, closes the decoder, verifies runtime_status is suspended for 100 seconds, then starts again. FFmpeg is 9.0.1 with a local fix to requeue empty non-LAST ERROR capture buffers. Successful runs match every decoded frame against software decoding.

Could you please share details on the FFmpeg test and the local fix ? We will repro this locally to get better insight of this issue.

Quoted 18 lines

On one cold boot, three 100-second idle trials with power/control=on passed. After restoring auto, two suspended-idle trials passed and the third failed. On another boot with auto throughout, two passed and the third failed. A separate codec guard removed an unnecessary AV1-only partial buffer from VP9; its warning disappeared, but the fourth suspended-idle trial still hit the same SID assertion. These comparisons do not establish runtime PM as the cause or keeping power on as a fix.

This is a modified test stack, not a pristine-mainline reproduction. The kernel is 7.2.0-1.1-aarch64-ARCH-camera1, with camera patches. The in- tree Iris and video-clock sources were built as external modules. Iris also has experimental initial-CAPTURE deferral and pre-start buffer ownership changes, a bounded HFI/SFR diagnostic, and Renjiang Han's firmware- logging patch with an early debug-queue drain to retain the pre-assertion messages. The failing session receives OPEN acknowledgement and its first compressed input before the fatal error. No looping or seek is reached.

Quoted 6 lines

Testing stops at the first failure and resumes only after a clean shutdown and physical power-on. No clock-module reloads are involved. I can provide the synthetic clip, exact source changes and filtered HFI trace if useful.

Thanks,
Birk

Regards,
Vikash

author Tested-by
#5 lore raw

Thanks! This fixes the SID override assertion I reported on the Lenovo Yoga Slim 7x (X1E80100).

I applied it to the same Iris build that hit the assertion, with the same kernel and firmware, and reran the same test: decode a 720p VP9 clip, let the device runtime-suspend for 100 seconds, and decode again. All 9 trials passed, every frame matched software decoding, and there was no firmware assertion or system error. Without the patch, this test failed on the third or fourth trial.

This was on the modified test stack from my report, not a pristine mainline build.

Quoted 108 lines · Vikash Garodia
Quoted 18 lines · Vikash Garodia

Hello Birk,

Quoted 15 lines · Birk Skyum

Hi Vikash and Dikshita,

I'm testing Iris video decoding on a Lenovo Yoga Slim 7x (83ED, X1E80100).
This is a request for guidance on a firmware assertion. It currently reproduces on a modified test stack, and I'm working on reducing it to an unmodified-driver reproduction.

After repeated runtime-suspend/resume cycles, VP9 startup intermittently hits this firmware assertion before initial stream settings or CAPTURE START:

VenusCoreCtrl_InitSS(506): un-expected SID override configuration WaitForHWidle(462): VENUS is idle, no HW is running assert_loop(500): FW Assertion - venusCoreController.c:507

Could you please try the usecase with the fix

https://lore.kernel.org/all/[email protected]/

Regards,
Vikash

Quoted 78 lines
Quoted 10 lines

The first HFI error is 0x05000003. The SFR names the same source line. Later venus_c2_parsing.c:1550 assertions follow automatic recovery; they are not the original failure.

Could you clarify what the SID override check expects on X1E80100, and whether there is a known firmware, secure-firmware, or resume-sequencing requirement I should check? Which diagnostics would help distinguish a driver sequencing problem from a firmware requirement? I can test a targeted diagnostic or patch.

Same failure was seen once in windows based X1E80100, and i was informed that doing an explicit GDSC (vcodec) power on before doing a warm boot i.e iris_vpu_boot_firmware() helped the case in windows. I have checked, in iris, iris_vpu_power_on() would get the vcodec GDSC on before iris_vpu_boot_firmware().

I am gathering more info on SID override configuration part.

+ing Renjiang who is helping to debug this issue along with me.

Quoted 13 lines

The firmware is qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn from linux-firmware-qcom 20260810-2:

   video-firmware.3.1-e5aea20c64cb6df9a1c9be99e206053b36424939
   PROD, build May 9 2024
   SHA256

3456a15e01528c2ba2957ef2b78daefd875841b262dc02f0c3bb03c33cba657f

That hash matches the current linux-firmware main file. The BIOS is NHCN62WW, dated 12/02/2025. The device tree lists qcom,x1e80100-iris with the qcom,sm8550-iris fallback.

Quoted 6 lines

The test repeatedly decodes the same synthetic 1280x720 VP9 clip, 120 frames at normal speed, closes the decoder, verifies runtime_status is suspended for 100 seconds, then starts again. FFmpeg is 9.0.1 with a local
fix to requeue empty non-LAST ERROR capture buffers. Successful runs match every decoded frame against software decoding.

Could you please share details on the FFmpeg test and the local fix ? We will repro this locally to get better insight of this issue.

Quoted 29 lines

On one cold boot, three 100-second idle trials with power/control=on passed. After restoring auto, two suspended-idle trials passed and the third failed. On another boot with auto throughout, two passed and the third failed. A separate codec guard removed an unnecessary AV1-only partial buffer from VP9; its warning disappeared, but the fourth suspended-idle trial still hit the same SID assertion. These comparisons do not establish runtime PM as the cause or keeping power on as a fix.

This is a modified test stack, not a pristine-mainline reproduction. The kernel is 7.2.0-1.1-aarch64-ARCH-camera1, with camera patches. The in- tree
Iris and video-clock sources were built as external modules. Iris also has experimental initial-CAPTURE deferral and pre-start buffer ownership changes, a bounded HFI/SFR diagnostic, and Renjiang Han's firmware- logging
patch with an early debug-queue drain to retain the pre-assertion messages.
The failing session receives OPEN acknowledgement and its first compressed
input before the fatal error. No looping or seek is reached.

Testing stops at the first failure and resumes only after a clean shutdown
and physical power-on. No clock-module reloads are involved. I can provide
the synthetic clip, exact source changes and filtered HFI trace if useful.

Quoted 2 lines

Thanks,
Birk

Regards,
Vikash

#6 lore raw
Quoted 2 lines · Birk Skyum

Thanks! This fixes the SID override assertion I reported on the Lenovo Yoga Slim 7x (X1E80100).

Thank you for confirming, good to see it fixes.

Quoted 126 lines

I applied it to the same Iris build that hit the assertion, with the same kernel and firmware, and reran the same test: decode a 720p VP9 clip, let the device runtime-suspend for 100 seconds, and decode again. All 9 trials passed, every frame matched software decoding, and there was no firmware assertion or system error. Without the patch, this test failed on the third or fourth trial.

This was on the modified test stack from my report, not a pristine mainline build.

Quoted 108 lines · Vikash Garodia
Quoted 18 lines · Vikash Garodia

Hello Birk,

Quoted 15 lines · Birk Skyum

Hi Vikash and Dikshita,

I'm testing Iris video decoding on a Lenovo Yoga Slim 7x (83ED, X1E80100).
This is a request for guidance on a firmware assertion. It currently reproduces on a modified test stack, and I'm working on reducing it to an unmodified-driver reproduction.

After repeated runtime-suspend/resume cycles, VP9 startup intermittently hits this firmware assertion before initial stream settings or CAPTURE START:

VenusCoreCtrl_InitSS(506): un-expected SID override configuration WaitForHWidle(462): VENUS is idle, no HW is running assert_loop(500): FW Assertion - venusCoreController.c:507

Could you please try the usecase with the fix

https://lore.kernel.org/all/[email protected]/

Regards,
Vikash

Quoted 78 lines
Quoted 10 lines

The first HFI error is 0x05000003. The SFR names the same source line. Later venus_c2_parsing.c:1550 assertions follow automatic recovery; they are not the original failure.

Could you clarify what the SID override check expects on X1E80100, and whether there is a known firmware, secure-firmware, or resume-sequencing requirement I should check? Which diagnostics would help distinguish a driver sequencing problem from a firmware requirement? I can test a targeted diagnostic or patch.

Same failure was seen once in windows based X1E80100, and i was informed that doing an explicit GDSC (vcodec) power on before doing a warm boot i.e iris_vpu_boot_firmware() helped the case in windows. I have checked, in iris, iris_vpu_power_on() would get the vcodec GDSC on before iris_vpu_boot_firmware().

I am gathering more info on SID override configuration part.

+ing Renjiang who is helping to debug this issue along with me.

Quoted 13 lines

The firmware is qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn from linux-firmware-qcom 20260810-2:

    video-firmware.3.1-e5aea20c64cb6df9a1c9be99e206053b36424939
    PROD, build May 9 2024
    SHA256

3456a15e01528c2ba2957ef2b78daefd875841b262dc02f0c3bb03c33cba657f

That hash matches the current linux-firmware main file. The BIOS is NHCN62WW, dated 12/02/2025. The device tree lists qcom,x1e80100-iris with the qcom,sm8550-iris fallback.

Quoted 6 lines

The test repeatedly decodes the same synthetic 1280x720 VP9 clip, 120 frames at normal speed, closes the decoder, verifies runtime_status is suspended for 100 seconds, then starts again. FFmpeg is 9.0.1 with a local
fix to requeue empty non-LAST ERROR capture buffers. Successful runs match every decoded frame against software decoding.

Could you please share details on the FFmpeg test and the local fix ? We will repro this locally to get better insight of this issue.

Quoted 29 lines

On one cold boot, three 100-second idle trials with power/control=on passed. After restoring auto, two suspended-idle trials passed and the third failed. On another boot with auto throughout, two passed and the third failed. A separate codec guard removed an unnecessary AV1-only partial buffer from VP9; its warning disappeared, but the fourth suspended-idle trial still hit the same SID assertion. These comparisons do not establish runtime PM as the cause or keeping power on as a fix.

This is a modified test stack, not a pristine-mainline reproduction. The kernel is 7.2.0-1.1-aarch64-ARCH-camera1, with camera patches. The in- tree
Iris and video-clock sources were built as external modules. Iris also has experimental initial-CAPTURE deferral and pre-start buffer ownership changes, a bounded HFI/SFR diagnostic, and Renjiang Han's firmware- logging
patch with an early debug-queue drain to retain the pre-assertion messages.
The failing session receives OPEN acknowledgement and its first compressed
input before the fatal error. No looping or seek is reached.

Testing stops at the first failure and resumes only after a clean shutdown
and physical power-on. No clock-module reloads are involved. I can provide
the synthetic clip, exact source changes and filtered HFI trace if useful.

Quoted 2 lines

Thanks,
Birk

Regards,
Vikash