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

Raspberry Pi 4 Support (linux 32-bit arm) #220

Open
Bastitron opened this issue Dec 3, 2023 · 8 comments
Open

Raspberry Pi 4 Support (linux 32-bit arm) #220

Bastitron opened this issue Dec 3, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@Bastitron
Copy link

Hello, I want to use skia-python on a Raspberry Pi 4 model b. The Problem: there is no pre-compiled version for the CPU architecture, I think. Would be cool if you could add support for Pi's architecture.

@HinTak HinTak added the enhancement New feature or request label Dec 3, 2023
@HinTak
Copy link
Collaborator

HinTak commented Dec 3, 2023

There is precompiled version if you are running a 64-bit distro, like Ubuntu, on the pi. Raspbian (or whatever it is called now...) still 32-bit by default?

Should work with the 64-bit version of Raspbian too.

Have a go adding that yourself using the recently added aarch64 (ie 64-bit pi) support as a guide?

@HinTak
Copy link
Collaborator

HinTak commented Dec 3, 2023

64-bit arm for pi was added less than a year ago #189

@HinTak
Copy link
Collaborator

HinTak commented Dec 3, 2023

If you use the 64-bit OS image https://www.raspberrypi.com/software/operating-systems/ the precompiled skia-python should work.

@Bastitron
Copy link
Author

I think I have the guided operating system. I will reinstall the pi with the 64-bit OS Image, thanks.

@HinTak
Copy link
Collaborator

HinTak commented Dec 3, 2023

The 64-bit build of Raspbian is faster I think (ubuntu 64-bit is definitely faster than 32-bit raspbian, on the same pi) , but with some limitations on some hardware functionality - I think some specific way of using the video core doesn't work on the 64-bit OS. That said, if you don't have any strong preference, the 64-bit OS is faster on hardware (newer / more expensive pi) that supports it. And it isn't hard just swapping another SD card if you want to try both and see which one you like.

Personally, 32-bit arm is for cheaper hardware less useful for graphic usage, so I'll leave this open and see if somebody else wants that too, before looking into it.

@HinTak HinTak changed the title Raspberry Pi 4 Support (linux arm) Raspberry Pi 4 Support (linux 32-bit arm) Dec 3, 2023
@Bastitron
Copy link
Author

It works now, thanks for helping me out!

@HinTak
Copy link
Collaborator

HinTak commented Dec 4, 2023

Good to know - I'll leave this open for adding 32-bit arm build.

Have fun with the PI - eventually you might find something you missed on 32-build OS that you must have. When you can tell the difference between 32-bit build and 64-bit build of Pi OS, hopefully by that time you'd be familiar with the PI enough yourself to contribute this addition 😉

@Bastitron
Copy link
Author

Thanks, yea, I sure will!

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

No branches or pull requests

2 participants