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

Support for Apple Silicon #80

Closed
ross-paypay opened this issue Oct 20, 2022 · 4 comments · Fixed by #92
Closed

Support for Apple Silicon #80

ross-paypay opened this issue Oct 20, 2022 · 4 comments · Fixed by #92
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed released

Comments

@ross-paypay
Copy link

I'm having some issues when running on my Apple M1 Macbook Pro.

I'm getting the following output:

> docker run -it -v $(pwd):/app -w /app rlespinasse/drawio-export docs -o docs/drawio/generated
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
+ export file : drawio/example.drawio
++ export page 1 : Page-1
+++ generate pdf file
Error: fail to export using draw.io desktop
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: unknown option 'type=utility'
qemu: unknown option 'type=renderer'
[22:1020/024656.544583:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped

@rlespinasse
Copy link
Owner

To be able to support apple silicon, the base image needs to also support Apple Silicon. This is the reason for rlespinasse/docker-drawio-desktop-headless#30.

I recently gained access to an Apple Silicon and I confirm this issue.

Some Linux images can run on Apple Silicon, but the latest and the previous versions are concerned, I presume the other versions are also impacted.

@rlespinasse
Copy link
Owner

🎉 This issue has been resolved in version 4.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@swill
Copy link

swill commented Aug 3, 2023

Thank you SOO much for this feature release. I have been missing the ability to use your tool after moving from linux to mac. ❤️

@rlespinasse rlespinasse self-assigned this Aug 4, 2023
@rlespinasse
Copy link
Owner

@swill thanks you for your kind words

Finally, the key to success for this support was to wait for Drawio-desktop to support Apple Silicon itself 😄.

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

Successfully merging a pull request may close this issue.

3 participants