Skip to content

With IMX477 on CAM DISP 0 and IMX219 on CAM DISP 1, pulling in #6798 corrupts IMX219 output #7106

Closed

Description

@sandyol55

Describe the bug

With the following configuration:-

IMX477 camera on CAM DISP 0
IMX219 camera on CAM DISP 1

Both cameras output normally with rpicam-hello.

Pull in #6798 with sudo rpi-update pulls/6798 and make no changes to config.txt, ie still using autodetect.
IMX477 camera operates normally but IMX219 on CAM DISP 1 generates corrupted frames.

Tested with two different IMX219 cameras on CAM 1 and is repeatable.

Steps to reproduce the behaviour

IMX477 camera on CAM DISP 0
IMX219 camera on CAM DISP 1

Both cameras output normally with rpicam-hello.

Pull in #6798 with sudo rpi-update pulls/6798 and make no changes to config.txt, ie still using autodetect.

Device (s)

Raspberry Pi 5

System

4Gb Pi 5 with a fresh Trixie OS, fully updated and upgraded.
With no changes to config.txt

Logs

No response

Additional context

No response

Activity

  1. naushir commented on Oct 24, 2025

    @naushir
    Contributor

    I've just tried this on a ToT build of the kernel running on a Pi 5 and cannot seem to reproduce this. I tried running cameras individually and concurrently. What kind corruption are you seeing?

  2. sandyol55 commented on Oct 24, 2025

    @sandyol55
    ContributorAuthor

    The frames are broken up into ~19 blocky rows of 'interleaved' imagery with alternate rows or partial rows being magenta tinted.
    This appears also with only the imx219 camera being displayed , i.e with the imx477 connected but not being displayed.

  3. naushir commented on Oct 24, 2025

    @naushir
    Contributor

    Could you take a screenshot and post here please?

  4. naushir commented on Oct 24, 2025

    @naushir
    Contributor

    I presume running just the IMX219 without the IMX477 attached is working correctly?

  5. sandyol55 commented on Oct 24, 2025

    @sandyol55
    ContributorAuthor
    Image
  6. sandyol55 commented on Oct 24, 2025

    @sandyol55
    ContributorAuthor

    I presume running just the IMX219 without the IMX477 attached is working correctly?

    Just checked, and with the 477 disconnected the corruption from the 219 is still present.

  7. naushir commented on Oct 24, 2025

    @naushir
    Contributor

    What command are you using for this test? I've been simply running rpicam-hello -t 0 on my setup.

  8. sandyol55 commented on Oct 24, 2025

    @sandyol55
    ContributorAuthor

    What command are you using for this test? I've been simply running rpicam-hello -t 0 on my setup.

    Yup, just the rpicam-hello -t 0.

  9. sandyol55 commented on Oct 24, 2025

    @sandyol55
    ContributorAuthor

    Just a couple of other observations.
    Previous test with the 477 disconnected was with the FFC disconnected at the camera end and left 'floating' still connected to the 22pin Pi5 connector. A retest with the FFC fully disconnected showed no change, still corruption on the imx219 image.

    And a reversion back to
    Linux FlyTip 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
    with
    sudo apt install --reinstall linux-image-rpi-v8 linux-image-rpi-2712 raspi-firmware
    returns normal operation to the imx219 output.

  10. naushir commented on Oct 24, 2025

    @naushir
    Contributor

    Can you try with sudo rpi-update pulls/7107 which is what I'm running now?

    There have been some recent changes to the binning mode and pixel-rate calculations for IMX219, but I thought it might only effect framerate and not the image output.

  11. sandyol55 commented on Oct 24, 2025

    @sandyol55
    ContributorAuthor

    Pulled in 7107 which updated to 6.12.55-v8-16k+.
    IMX219 is now functioning normally.
    Also tested the enhanced link frequency on the imx477 at the same time and all seems good.
    Thanks for the quick response.

  12. naushir commented on Oct 24, 2025

    @naushir
    Contributor

    Thanks for confirming. Resolving now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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