PhoenicisOrg / phoenicis

Phoenicis PlayOnLinux and PlayOnMac 5 repository
https://phoenicis.org/
GNU Lesser General Public License v3.0
687 stars 73 forks source link

Raspberry Pi support #1959

Open qparis opened 5 years ago

ImperatorS79 commented 5 years ago

Is not it a bit a "far away" feature ? I mean what windows app would you want to launch on a rasberry ? ^^

qparis commented 5 years ago

Maybe ... But it could be useful for some small programs.

Think about it, now that we have managed to build hangover winebuilds for macOS (very few programs will run though), we have pretty much everything to support Raspberry / Android

ImperatorS79 commented 5 years ago

I do not see well how building hangover help you build wine for android.

qparis commented 5 years ago

It won't help build wine for android, but it will help run x86 programs on android

ImperatorS79 commented 5 years ago

There is not 32 bits deps under android ? How do winehq's provided apks works ?

Second, I saw you tried to use some llvm based thing for 32 bits support (-mwine32), is it still a way to go ? It looks better than hangover emulation.

qparis commented 5 years ago

They only run windows's ARM apps afaik.

I think -mwine32 is a way better solution, but it seems that we need to have wine patched to make it work. I think hangover might still be useful on some other cases, for example when apple decide to switch to arm architecture. We really need to stay informed about both initiatives I guess

ImperatorS79 commented 5 years ago

Okay.

plata commented 5 years ago

Do we need to change something in the software or is it only winebuild?

qparis commented 5 years ago

I think it is more about winebuild. However, I have the feeling that we are going to need to differenciate the host (system) wine architecture and the guest (program) one

qparis commented 5 years ago

This is more general than raspberry support though

Kreyren commented 5 years ago

+1, but it probably blocked by cli-mode

qparis commented 5 years ago

raspberry

It seems that we can make it work without much effort.

plata commented 5 years ago

Which Raspberry version do you use?

qparis commented 5 years ago

rpi3 with raspbian

madoar commented 5 years ago

What about the exception shown in the terminal? It seems to be related to a graphical issue. Is JavaFX fully supported on the raspberry pi?

qparis commented 5 years ago

The exception is about javafx.web. It was not installed when I tested.

JavaFX is supported on rpi, but by default it does not render on a X11 window, even if X11 is run. It renders by default inside the framebuffer (which can be pretty cool for embeded applications by the way).

In our case, we need to set javafx.platform=x11

madoar commented 5 years ago

How did you install Phoenicis? Via the deb installer, or did you "directly" execute the jar file?

qparis commented 5 years ago

mvn exec:java after installing a runtime. The deb is compiled for x86