Running x86 software - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Running x86 software (/showthread.php?tid=10196) Pages:
1
2
|
RE: Running x86 software - jiyong - 08-28-2020 You can install QEMU, Virtlib and VM Manager. All available in the Manjaro repository. You have to start VirtLib by hand. https://doc.opensuse.org/documentation/leap/archive/42.1/virtualization/html/book.virt/cha.libvirt.overview.html And here is a video with instructions: https://www.youtube.com/watch?v=_FoTnDoR4_8 RE: Running x86 software - brzegorz - 08-29-2020 I've compiled box86 on Manjaro and I've been able to run x86 vim through it. Basic instructions: - install docker(Arch wiki is your friend) - use this image as base: https://hub.docker.com/r/arm32v7/debian/ - inside the Debian container, install the dependencies and compile box86(https://github.com/ptitSeb/box86) - add i386 to apt's architecture list(https://wiki.debian.org/Multiarch/HOWTO) - install i386 vim(apt install vim:i386) - run it: "<BOX86_PATH>/box86 vim" I've been also able to install i386 wine from https://wiki.winehq.org/Debian, I had to install some dependencies from .deb packages because they weren't in Debian's repositories. My goal was to mess with old Windows games(box86 has a video of Neverwinter Nights running), but then I've managed to loss my progress and I have a thesis to write; ). Next step would be to get X11 running with debian's docker, run something like "box86 wine notepad", and then move on to trying games. It seems like just using Debian would be a more straightforward way, but I don't want to lose AUR with such limited binary package selection. RE: Running x86 software - hthiemann - 08-29-2020 (08-29-2020, 06:23 AM)brzegorz Wrote: I've compiled box86 on Manjaro and I've been able to run x86 vim through it. Basic instructions:It would be best if you could write this all into a Dockerfile, making it easier for all others (and hopefully yourself as well) to re-build a new docker image RE: Running x86 software - brzegorz - 08-29-2020 (08-29-2020, 06:43 AM)hthiemann Wrote:(08-29-2020, 06:23 AM)brzegorz Wrote: I've compiled box86 on Manjaro and I've been able to run x86 vim through it. Basic instructions:It would be best if you could write this all into a Dockerfile, making it easier for all others (and hopefully yourself as well) to re-build a new docker image I'm sure I'll do it if I get to the final result, i.e. working box86+wine+graphical interface. I wanted to share partial results since I'll probably abandon the idea for a few weeks. RE: Running x86 software - icecream95 - 08-30-2020 (08-29-2020, 06:23 AM)brzegorz Wrote: My goal was to mess with old Windows games(box86 has a video of Neverwinter Nights running), but then I've managed to loss my progress and I have a thesis to write; ). Next step would be to get X11 running with debian's docker, run something like "box86 wine notepad", and then move on to trying games. It seems like just using Debian would be a more straightforward way, but I don't want to lose AUR with such limited binary package selection. Configuring box86 with -DARM_DYNAREC=1 can significantly help performance. Debian stable has a very old version of Mesa so you'll want to use Debian testing (bullseye) or compile it yourself. To get X11 working in docker, you'll want to bind /tmp/.X11-unix and /dev/dri into the container. Maybe you'll need to set DISPLAY to what it is outside the container. box86+Wine should work with X11, though I found that I needed to run winecfg and enable the virtual desktop to get anything using OpenGL working. At least with a new enough Mesa and PAN_MESA_DEBUG=gl3, some D3D9 stuff will work through Wine's OpenGL wrapper, and I've been trying to get Gallium Nine working for native D3D9 support in Panfrost. RE: Running x86 software - slyecho - 08-30-2020 Nice, I was able to get Dwarf Fortress running! I used debootstrap to install Debian armhf, then cloned and compiled Box86 inside there. Downloaded df_linux and had to change the start script to invoke Box86, then install some missing libraries. It is working at a comparatively playable 25 FPS, but I'm sure it can be optimized with settings. RE: Running x86 software - brzegorz - 10-01-2020 I've experimented some more, without great results - I've connected X server, Docker, 32-bit Debian, i386 wine and box86, but I weren't able to run anything exciting. I'm a bit tired now, but here is the Dockerfile: Code: FROM arm32v7/debian:bullseye In order to run something, I'm using x11docker(available for AUR) with following command: Code: x11docker --hostdisplay --gpu --pulseaudio --clipboard --hostnet --limit=1 --home=$HOME --workdir=$HOME <image_name> box86 wine explorer /desktop=name,800x600 <absolute_path_to_exe> The most interesting case is Neverwinter Nights, I think, since it's flashy and it works on other devices/configs. Without PAN_MESA_DEBUG=gl3 it silently exits. With PAN_MESA_DEBUG=gl3 I get a segmentation fault. I'm able to run the launcher and the config utility, but not the actual game. I'm using GOG version extracted with innoextract. The OS is Manjaro. box86 videos on RK3399 hardware with TwisterOS Armbian V1.0 - jtremblant - 02-08-2021 We have some Videos of Box86 on RK3399 hardware mostly tested on RockPro64 and RockPi4C boards with TwisterOS Armbian V1.0 Obviously, they should run without problems on Pinebook Pro. BOX86 on RK3399: Warcraft 3 and Warcraft 2 BNE TEST https://www.youtube.com/watch?v=_Xlmhcy7-e4&t=19s BOX86 on RK3399: Farcry 1 TEST https://www.youtube.com/watch?v=8NpLhp8pTys&t=646s BOX86 (and ULTRA64) on RK3399: Killer instinct I & II https://www.youtube.com/watch?v=3xH1uuEdpng&t=238s BOX86 on RK3399 TEST : Claw (1997) and Mark of the Ninja (2012) https://www.youtube.com/watch?v=ULuVldfA5fY&t=378s BOX86 on OPI4 (RK3399) : Counter Strike 1.6 https://www.youtube.com/watch?v=E6USoxyTF-w&t=320s To Download TwisterOS Armbian for RK3399 devices: https://twisteros.com/twisterarmbian.html RE: Running x86 software - pcx - 02-14-2021 jiyong Wrote:You can install QEMU, Virtlib and VM Manager.Can I run steam by this. RE: Running x86 software - jiyong - 02-15-2021 (02-14-2021, 07:25 PM)pcx Wrote:jiyong Wrote:You can install QEMU, Virtlib and VM Manager.Can I run steam by this. Nope, itś really slow. https://youtu.be/2PXxufqXMyA Probably you can get better performance with something like Hangover, but it will take years before it gets to a usable state. https://liliputing.com/2020/11/hangover-lets-some-windows-x86-apps-run-on-linux-pcs-with-arm-or-power-chips.html |