Skip to content

SSC338Q / EMAX Wyvern encoder pipeline threads stuck in DW state (vif0/vpe0/venc0) with Majestic #89

@dang-itt

Description

@dang-itt

Hardware:

EMAX Wyvern Link
SigmaStar SSC338Q
IMX415 sensor

Build:

OpenIPC builder device target:devices/ssc338q_fpv_emax-wyvern-link

Defconfig:ssc338q_fpv_emax-wyvern-link_defconfig

SOC family:infinity6e

Kernel config pulled by defconfig:board/infinity6e/infinity6e-ssc012b.config

Symptoms:

Majestic starts normally

Video initially streams correctly

After some time, load average climbs very high while CPU remains mostly idle

top shows kernel threads stuck in DW state:

[vif0_P0_MAIN]

[vpe0_P0_MAIN]

[venc0_P0_MAIN]

sometimes [mi_log]

Sometimes majestic itself enters D state

UDP video may continue briefly even while load climbs

Eventually the video pipeline wedges/freezes

Observed logs:

Frequent spam of:INT_WAVE5_ENC_LOW_LATENCY

Example:[ven-w][wrap] INT_WAVE5_ENC_LOW_LATENCY ll=1, u_firecnt=0xf10 ...

top output example:CPU: 95-100% idleLoad average: 12+[vif0_P0_MAIN] DW[vpe0_P0_MAIN] DW[venc0_P0_MAIN] DW

Current Majestic config tested:video0:enabled: truecodec: h264fps: 30bitrate: 2000rcMode: cbrgopSize: 30profile: basesliceUnits: 1size: 854x480

outgoing:enabled: truenaluSize: 1200

Notes:

H265 appears less stable than H264
CPU and memory usage remain low when the issue occurs
Device sometimes refuses to boot immediately after power cycling and hangs at:"Auto-Negotiation..."but will boot if left powered off for 1-2 minutes

Question:

Is this a known issue with:
Wave5 encoder low latency mode?
Majestic regression?
SigmaStar Infinity6E vendor blobs?
SSC338Q encoder driver deadlock?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions