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

arm64 image complains of missing cpu feature #510

Closed
2 tasks done
jodab opened this issue Apr 3, 2024 · 13 comments
Closed
2 tasks done

arm64 image complains of missing cpu feature #510

jodab opened this issue Apr 3, 2024 · 13 comments

Comments

@jodab
Copy link

jodab commented Apr 3, 2024

The problem

Been using signal-cli-rest-api for a long time on an aarch64 vps without any issues but after updating the image today I'm seeing the following:

"/v1/receive/(redacted number)?ignore_attachments=false&ignore_stories=false&timeout=10"
time="2024-04-03T04:00:00+03:00" level=error msg="AUTO_RECEIVE_SCHEDULE: Couldn't call receive for number >(redacted number): {The current machine does not support all of the following CPU features that are required by the >image: [FP, ASIMD, AES, PMULL, SHA1, SHA2, CRC32, LSE, DCPOP, SHA3, SHA512, SVE, PACA, SVEBITPERM, SVE2].\nPlease >rebuild the executable with an appropriate setting of the -march option.}"

The CPU in the VPS claims to be an ARM Neoverse-N1 with the following cpu flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs

Are you using the latest released version?

  • Yes

Have you read the troubleshooting page?

  • Yes

What type of installation are you running?

signal-cli-rest-api Docker Container

In which mode are you using the docker container?

Native Mode

What's the architecture of your host system?

arm64

Additional information

No response

@jodab jodab changed the title aarch64 image complains of missing cpu feature arm64 image complains of missing cpu feature Apr 3, 2024
@ajdelgado
Copy link

Same issue with x86_64 (podman container) in latest, falling back to 0.81 worked.

@bbernhard
Copy link
Owner

bbernhard commented Apr 3, 2024

Same issue with x86_64 (podman container) in latest, falling back to 0.81 worked.

Please give bbernhard/signal-cli-rest-api:0.155-dev a try. For testing purposes I am now building the native image with -march=compatibility which should (according to the GraalVM documentation) result in the best compatibility. Hope that helps (and doesn't have a severe performance impact on other, newer, machines).

regarding the arm64 image: the arm64 native build is kindly provided by @morph027 and his project https://gitlab.com/packaging/signal-cli, so I am afraid there is not that much I can do here.

@morph027
Copy link

morph027 commented Apr 3, 2024

Thanks for pinging me, created an issue over there and will fix it with a new build soon

https://gitlab.com/packaging/signal-cli/-/issues/22

@bbernhard
Copy link
Owner

Thanks for pinging me, created an issue over there and will fix it with a new build soon

https://gitlab.com/packaging/signal-cli/-/issues/22

Thank you very much - that is greatly appreciated!

@morph027
Copy link

morph027 commented Apr 4, 2024

Created v0.13.2+3 with the fix and build pipeline is running right now. Should be ready for testing soon.

@JaCoLJcL
Copy link

JaCoLJcL commented Apr 4, 2024

For me works go to mode: json-rpc in settings but waiting for fix

@bbernhard
Copy link
Owner

Created v0.13.2+3 with the fix and build pipeline is running right now. Should be ready for testing soon.

Many thanks!

I've updated the version and triggered a build.

When the job finishes successfully, there should be this docker image tag available for testing: bbernhard/signal-cli-rest-api:0.157-dev

@Joelius300
Copy link

Created v0.13.2+3 with the fix and build pipeline is running right now. Should be ready for testing soon.

Many thanks!

I've updated the version and triggered a build.

When the job finishes successfully, there should be this docker image tag available for testing: bbernhard/signal-cli-rest-api:0.157-dev

Works on Raspberry Pi 4, thanks :)

@jodab
Copy link
Author

jodab commented Apr 5, 2024

Working fine for me too now with 0.157-dev :)

Many thanks!

@mike4001
Copy link

mike4001 commented Apr 7, 2024

Hi, sorry to bother but do you know when the next version will be released?

Since I cannot download easily in Home Assistant I would need Version 0.83 for the Addon to start working again on my Raspberry Pi 4.

Thank you

@bbernhard
Copy link
Owner

Hi, sorry to bother but do you know when the next version will be released?

Since I cannot download easily in Home Assistant I would need Version 0.83 for the Addon to start working again on my Raspberry Pi 4.

Thank you

should be released now :)

@RaceAap
Copy link

RaceAap commented Apr 8, 2024

Just updated to 0.83 and can confirm that it works again on my Synology.

@bbernhard
Copy link
Owner

great, then I'll close this issue here. Thanks to everybody - especially @morph027!

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

No branches or pull requests

8 participants