On 10/04/2024 13:23, Marc Gonzalez wrote:
FWIW, I get the same behavior with 854x480 and 2560x1440:
1) If mpv runs with '--length=N' (play only part of the file)
then mpv exits cleanly, with no kernel messages.
On -next ?
I think you mentioned before you were doing your work on an older kernel
and forward porting patches ?
2) If mpv plays the entire file, then mpv hangs at the end
(needs CTRL-C to exit) and driver prints to kernel:
[68643.935888] qcom-venus cc00000.video-codec: session error: event id:1001 (deadb000), session id:79d42000
[68643.935995] qcom-venus-decoder cc00000.video-codec:video-decoder: dec: event : 1001
Hmm
#define HFI_ERR_SESSION_FATAL 0x1001
Something is causing the firmware to return this packet to you.
Probably worth tracing the last five messages sent by the firmware prior
to that to see if we can root-cause.
---
bod