DVPP Engine Error
Symptom
Video decoding fails. The error message "[dvpp_ioct1_vpc 845] call proc failed:-512, engine_id:1" is printed in the device-side log, as shown in Figure 1.
Possible Cause
According to the log, it is an error code returned by the VPC engine. -512 indicates that it is caused by the abnormal interrupt when waiting for video decoding. It may occur when the user-mode process exits, resulting in abnormal interrupt when waiting for decoding.
Solution
View the host-side log to check the cause of the abnormal exit of the user-mode process.
Other Error Codes
In addition to the -512 error code returned by the VPC in the samples, other engines of the DVPP driver have their own return codes, as shown in Table 1.
Similarly, you can determine the engine that returns the error code based on the service type and the error code displayed in the device-side log file. Then, obtain the corresponding error code description based on the error code value to preliminarily determine the fault cause.
|
Engine Type |
IOCTL Return Code |
Description |
Common Error Log |
|---|---|---|---|
|
JPEGE |
-22 |
Argument invalid or not supported. |
Common error log messages:
|
|
-11 |
Abnormal engine processing. Try again. |
||
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-35 |
Encoding timed out. |
||
|
-5 |
Encoding failed and reset succeeded. |
||
|
5 |
Encoding and reset failed. |
||
|
-512 |
Abnormal interrupt when waiting for encoding. |
||
|
PNGD |
-22 |
Argument invalid or not supported. |
Common error log messages:
|
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-5 |
Decoding failed and reset succeeded. |
||
|
5 |
Decoding and reset failed. |
||
|
JPEGD |
-22 |
Argument invalid or not supported; or decoding succeeded but register reset failed. |
Common error log messages:
|
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-1 |
Decoding failed and reset succeeded. |
||
|
-2/-3 |
Decoding times out and reset succeeded. |
||
|
-23 |
Decoding and reset failed. |
||
|
-24/-25 |
Decoding timed out and reset failed. |
||
|
VPC |
-22 |
Argument invalid or not supported. |
Common error log messages:
|
|
-11 |
Abnormal engine processing. Try again. |
||
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-35 |
Decoding timed out. |
||
|
-512 |
Abnormal interrupt when waiting for decoding. |
||
|
-32 |
An exception detected by the driver when hardware decoding failed. |
||
|
VPC_cmdlist |
-22 |
Argument invalid or not supported. |
Common error log messages:
|
|
-11 |
Abnormal engine processing. Try again. |
||
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-35 |
Decoding timed out. |
||
|
-512 |
Abnormal interrupt when waiting for decoding. |
||
|
-32 |
Hardware decoding failed. |
||
|
VENC |
-22 |
Argument invalid or not supported. |
Common error log messages:
|
|
-11 |
Abnormal engine processing. Try again. |
||
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-35 |
Encoding failed before the completion interrupt received. |
||
|
-61 |
Encoding timeout interrupt. |
||
|
VDEC |
-22 |
Argument invalid or not supported. |
Common error log messages:
|
|
-11 |
Abnormal engine processing. Try again. |
||
|
-14 |
Abnormal address during user-mode data copy or engine destruction failure. |
||
|
-16 |
Engine application failed. |
||
|
-35 |
Decoding timed out. |
||
|
-61 |
Decoding error reporting interrupted. |
||
|
-4 |
Abnormal interrupt when waiting for decoding. |
