Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "mpp" from apt instead of building from source #16

Merged
merged 2 commits into from
Oct 19, 2024

Conversation

seriyps
Copy link
Collaborator

@seriyps seriyps commented Oct 4, 2024

No description provided.

@seriyps
Copy link
Collaborator Author

seriyps commented Oct 4, 2024

Hmm, apparently this only works on Radxa images. Or maybe they have a separate repo, let me check

@seriyps seriyps force-pushed the use-mpp-from-apt branch 4 times, most recently from eb0c62f to 245223d Compare October 4, 2024 19:49
@seriyps
Copy link
Collaborator Author

seriyps commented Oct 4, 2024

turned out to be more difficult than I expected. Will make another attempt later

@luastoned
Copy link
Collaborator

Does the Radxa repo include gst plugins for mppvideodec ?

@seriyps
Copy link
Collaborator Author

seriyps commented Oct 5, 2024

You can see what is in their repo here https://radxa-repo.github.io/bullseye/files.list

But the problem with this PR is that Radxa repo is obviusly not included in standard Debian image and for some reason my attempts to add it fail.

@luastoned
Copy link
Collaborator

Peeking into here https://radxa-repo.github.io/bullseye/pkgs.json I don't see librockchip-mpp-dev at all.

@JohnDGodwin
Copy link

You can see what is in their repo here https://radxa-repo.github.io/bullseye/files.list

But the problem with this PR is that Radxa repo is obviusly not included in standard Debian image and for some reason my attempts to add it fail.

It's present and available in rsdk builds.

@seriyps
Copy link
Collaborator Author

seriyps commented Oct 19, 2024

Finally success. The trick was to add 2 repositories, not one:

deb [signed-by=/usr/share/keyrings/radxa-archive-keyring.gpg] https://radxa-repo.github.io/bullseye/ bullseye main
deb [signed-by=/usr/share/keyrings/radxa-archive-keyring.gpg] https://radxa-repo.github.io/bullseye rockchip-bullseye main

Now build takes ~4 minutes instead of ~8!

@seriyps seriyps merged commit af9790b into OpenIPC:master Oct 19, 2024
1 check passed
@JohnDGodwin
Copy link

Finally success. The trick was to add 2 repositories, not one:

deb [signed-by=/usr/share/keyrings/radxa-archive-keyring.gpg] https://radxa-repo.github.io/bullseye/ bullseye main
deb [signed-by=/usr/share/keyrings/radxa-archive-keyring.gpg] https://radxa-repo.github.io/bullseye rockchip-bullseye main

Now build takes ~4 minutes instead of ~8!

This is for Radxa only, for the orange pi series one must add a separate repo. I've been using this:
https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia

@seriyps
Copy link
Collaborator Author

seriyps commented Oct 21, 2024

@JohnDGodwin A-ha.. interesting. Well, we are using this library here just to test that pixelpilot can be successfully compiled on Debian Bullseye arm64 in GitHub CI. We can't run pixelpilot for real in CI because we don't have actual rockchip available in CI.

Do you think building pixelpilot with Raspberry version of the library will make any difference?

@seriyps
Copy link
Collaborator Author

seriyps commented Oct 21, 2024

Or you saying we need to mention this PPA in the README?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants