-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Bisq works fine on Raspberry Pi, though there are issues and some patches are required #2861
Comments
Hi, @leshik I'd like to try it but I think I have knowledge enough to install it. Would it be more difficult than a Raspiblitz? |
@huey735 well it's not user-friendly nor production ready at all for now. You can either checkout and build |
@leshik well thanks for your contribution! I only got aware of your work now. Being responsible for the netlayer-part of Bisq (and having an always-up RPi3 at home) I have been thinking about getting tor for arm as well. For Bisq we need to discuss and decide on whether unofficial builds are ok (or if we can build for arm ourselves). Would you, in the meantime, file a pull-request for netlayer (external-tor branch)/tor-binary? ad if it is worth the effort: well, as Bisq has an API coming up, I can see a real use case in having a "headless" Bisq running on a low-power, always-on device and using the API to control Bisq from a mobile device for example. |
@freimair yeah, looks like for now, the only way to get Another thing is |
@leshik Thanks for your notes and patches in this issue, they were very helpful. I'm currently writing a guide to setting up Bitcoin, Lightning, etc. on a RPI4 and I hope to include Bisq in the guide as well, so I'd like to work with you on merging any necessary ARM related patches if I can help in any way. I actually hacked together a virtual frame buffer to run Bisq in, with a mobile VNC app to remote into the RPI and control Bisq, we should compare notes ;) |
Hi @leshik I have spent a few days tearing my hair out trying to get bisq working on a rpi4. I compiled from your source code on my mac (had to skip the testing because it would make it fail). Transferred over the RPI4, followed the java guide, but still no cigar. I probably shouldn't be posting this here so apologies if it's the wrong place. |
@OrfanMiner I only have RPi 3+ but it works ok for me. How do you launch it? Bisq has quite detailed logs, it should print to stdout/stderr what's happening. Would you mind to share logs? |
You mean, |
It's the last stage of the java guide you posted that fails: https://docs.gluonhq.com/embedded/ sudo /opt/jdk-11/bin/java --module-path=/opt/armv6hf-sdk/lib --add-modules=javafx.controls -cp classes/ -Dprism.verbose=true -Dembedded=monocle -Dglass.platform=Monocle sample.Main i get the message: GLFactory using com.sun.prism.es2.MonocleGLFactory
when trying to run the compiled binary on my rpi4 i get: Graphics Device initialization failed for : es2, sw |
@OrfanMiner try with Liberica
|
I can't remember now what I did (and why) to make it launch on JDK11, but in my
|
Thanks for the response! I installed JDK10 using this guide: and end up with this error: Error: Unable to access jarfile desktop-1.1.1-all.jar |
|
for some reason all i have in that folder is desktop-1.1.1-SNAPSHOT-all.jar and desktop-1.1.1-SNAPSHOT.jar. perhaps my build didn't go correctly on the mac? |
Did you build from v1.1.1-arm tag? |
yes, absolutely. |
Idk then, try |
will do, thanks :) |
I think my compile on my mac that is what's wrong. I'm a bit out of the loop with the scope of discussions on here, but feel it's probably inappropriate for me to be asking these types of questions here. Are you on the bisq slack? |
yes, and also on Telegram |
@leshik would it be possible for you to get Bisq working in Docker on Raspberry Pi ? If so, I can add the X11 virtual framebuffer VNC stuff and then we could merge the Dockerfile into BTCPay-Docker for easy setup by newbies. They could use the VNC interface to remotely access Bisq and we could get a lot more users quickly. |
@jmaurice sure, I'll publish it maybe Monday or Tuesday, after the new release comes up. Just doing some testing now. |
Tested 1.1.3 w/patches on ARM64 (Ubuntu 19.04 on Raspberry Pi 3 B+) and it works too. It has slightly greater memory consumption though. Had to add swap space, otherwise, Bisq is being killed by OOM. GUI is a true performance killer, we need to decouple API badly... |
@jmaurice @OrfanMiner I've put Docker images for |
@leshik Thanks, I am planning to add Bisq as an optional component to BTCPayServer-Docker so this is a huge help. I'll test it soon and report back |
@leshik Actually, can you do a pull-request to Bisq to add the Dockerfile? I'd like to request that Bisq officially support the configuration of running in Docker using VNC |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Feel free to reopen it if you think it is still relevant. |
Just sharing - I've had success getting v1.9.6 built from source running on Raspberry Pi 4. I have a branch with tweaks for build dependencies and write-up including setting up tor hidden service to get it working... https://gist.github.com/tmakerman/ee53a94c3cfc8362192ad9df20709547 Thanks @leshik for all the work shared which led me to the solution. |
just a keep-alive comment. I've had bisq-1.9.9 up and running for a few months using a download as described by tmakerman (above) (thanks) (bisq-on-rpi) |
Hi,
I was able to run Bisq on Raspberry Pi (3B+ in my case) successfully, but I had to patch some libs:
armhf
, but there is an ongoing effort and unofficial builds are published on sourceforge. My patches (not perfect, I know) are here and here.There is no
jpackager
for ARM thus Bisq should be launched from command line using several options. I tried Bellsoft JDK build 10.0.2 and Zulu JDK 11.0.3, both with Gluon JFX 11.0.2. It works withMonocle
embedded platform as well as with GTK frontend.There are some issues with popup windows (which show notices and help messages), sometimes they are just black rectangles, but minimizing then maximizing helps, it's unclear why. The
Monocle
platform draws windows directly on Pi hardware on top of X, thus no window manager support (but should be faster as it uses the prism es2 pipeline).The speed is, well, not fast, but I can't say that it's unusable – after the initial sync it can be used fine. In my opinion on Zulu JDK 11 it's faster, though I didn't conduct any benchmarking.
Is anybody interested or willing to try Bisq on RPi? Not sure if it's worth the effort...
The text was updated successfully, but these errors were encountered: