armbian-gaming / Install Box86, Box64 and wine on Armbian Hirsute
HTML-код
- Опубликовано: 8 фев 2025
- New video about the updated script for Jammy :
• armbian-gaming for Arm...
armbian-gaming github : github.com/Nic...
Support me on Patreon : / nicod_sbc
Support me on PayPal : paypal.me/NicoDekerf
Awsome man! Looks like I have a project to have fun with
Have fun, let me know how it went. Greetings.
Awesome video 🎉
Can you make more video about box86 on s905w (tx3mini). I want to run meta trader 4 on the tv box
Will Box64 run FlatPaks?
My desired use case: Run Steam Link on my IndieDroid Nova SBC (Rockchip RK3588S). Presumably I can use the Windows version of Steam Link through Wine, but I'd like to use Valve's FlatPak version on Box64, if possible.
No idea, haven't tried flatpaks with it. It does work with appimage so my guess is flatpak can also work. You'll have to find out for yourself. Good luck!
@@NicoDsSBCs Thanks... I'll post back here if I get it to work.
It´s possible run a Teamspeak 3 SERVER ?
i tried on a different arm devie with ubuntu
sadly didnt work
Hey sir, i trying to install this on armlogic armbian but no success error... Can you help me sir
Hi. First off you need the panfrost gpu drivers installed. In an earlier video I show how to do that for Odroid N2. This should be the same. You also need a mainline kernel image with kernel 5.10 - 5.14.
I hope that helps.
Hi! Would this work for nvidia jetson nano?
when i try to open steamcmd.exe with wine it first starts then it crashes and sais that wine was built without vulkan support. anny idea how to fix it?
No idea. I've never used steam. See if you can find anything on how to run it with OpenGL2.1
Depends on what board you are using. But only the RPi4 has Vulkan support to my knowledge.
You could ask Salvador from the RUclips channel MicroLinux. He knows a lot more about gaming on arm than I do. I just wrote the script on his insctructions. Greetings.
ok :) btw thank you for this video it helped me a lot
So i got the rock 4c+ recently. When looking it up i get alot of rock pi 4 c results. Is it the same sbc?
Hi. It is not the same. It is a lower cost version of the C. It has the RK3399T that's probably lower quality binned. So couldn't be used as real RK3399 so they sell it as T version with lower clocks.
I'm not a fan of this. For some tasks it doesn't matter much as I/O. But for gaming it has an impact. You can "overclock" to normal RK3399 clocks but stability can't be promised and heat production might be bad/worse than normal RK3399.
I do not have any RockPi4 device anymore. So not aware of the state o them. I do know it's become a mess because they made too many versions all needing their own device tree. More boards=worse support
Good luck.
@@NicoDsSBCs thanks for the answer. I'm a complete noob. I was too greedy to order a Raspberry pi and ended up getting a 130€ rock 4c+ starter kit instead 😂 was thinking of getting a risc-v sbc instead but heard something somewhere about low support for risc-v and to go with ARM.
@@S1eepers RISC-V is in early development. Will take a while before its good. These days RK3588 are the new big thing. OrangePi5 is cheapest and pretty good.
I do think a RockPi4C+ is better than Raspberry Pi. I find RaspberryPi buggy and badly designed devices. Needs "special" 5.3V PSU instead of normal 5V. And not open source or thrust worthy since using a thing called ThreadX that runs under the OS controlling everything and not knowing what it does.
This could also work on phones, right?
Nope. Maybe in Termux (F-Droid Ver.)
Also on RK3399 on a devterm, but getting an issue not being able to run it. I feel it might have do with my drivers or something, was there anything you specifically had to install or is there a tutorial you followed or have?
Required Vulkan extension VK_KHR_surface not supported or DXVK: No adapters found
Also I get a lot of D3DllCreateDevice: Failed to create a DXGI factory errors in general with a lot of games, was wondering if you had any tips?
Hi, your first message was deleted by RUclips.
It would help if you'd tell me what image you are using with what kernel. On what board, what software you try to run.
With Armbian Hirsute 5.13 there should be nothing extra you need to install.
There is no vulcan support for the RK3399. For that could be you need to use something like --usegl or so.
Hello Nico! I've used your script to install Box86 and wine on armbian hirsute and everything works great but now I would like to make a dist upgrade, since support for hirsute has ended. Do you think everything will keep working?
Hi. I have not tried that. Best thing would be to backup your image, and then try it.
Someone else made a full description on how to install it all.
forum.armbian.com/topic/19526-how-to-install-box86-box64-wine32-wine64-winetricks-on-arm64/#comment-133822
Good luck.
hey dude, which sbc did you use on this video?
I used the NanoPi M4 with RK3399, Armbian Hirsute xce4 5.13
You need an sbc and image with panrost enabled, or another working gpu driver. What are you trying it with? Board, image and kernel.
@@NicoDsSBCs Thank you bro. Just one more question. Why so many people don't like raspberry pi?
@@LucasTortaOficial Boy, if that's just one question. The answer is very long.
It got to do with many things.
Mostly for me is that you or linux doesn't control the board. A base OS ThreadX runs underneat what controls everything. It runs on the VC.
This ThreadX is closed sourced. So nobody knows what it does. Just like windows or mac. Things can be happening without you knowing.
Other sbcs do not have this.
Then there are the big design mistakes of the 3b, 3b+and 4b. All have bad powermanagement what makes it can't work with many normal PSUs. The cpu info that's shown to you is incorrect. It can be heavily throttling while showing it runs at high clocks. Many more reasons. But I need to sleep.
I once made a video, your raspberry pi is lying to you.
Not my best video, but I do show some weird things the rpi does. When bringng this up on th rpi forum it gets downplayed and swamped by moderators so not many will find it. Also they don't do good hardware testing. Rely on the community, which is very big to do the hard work, while making it hard by not sharing basic information. It is sad because they've got the most potential. But they stick to low quality hardware with high quality comunity. They didn't invent sbc, they were late, but got most promotion because it was a hit on gofundme or so. Greetings.
@@NicoDsSBCs thanks man, I liked your job on RUclips. Congratulations
Does this script install winetrick too? How do I install and use it?
I'm not sure. I have not tried it. I see I've got a link file for it.
I guess you'd need to download the x86 version, and then put it in the place the link file points at if it doesn't yet work.
I have not had time to expand the script. would also add PPSSPP and some other emulators. But I've got too many other things to do. One lifetime is too short. Good luck. Greetings.
So can my nanopi m4 run a minecraft bedrock server now?
That I do not know. I never played minecraft. If there is a amd64 Linux version this might work. Or a x86 windows version.
Quick search gives me this. Maybe the "Other Linux" could work. See if there's a .sh file to start it.
www.minecraft.net/en-us/download/alternative
@@NicoDsSBCs thank you for your response. There is an x86 linux version of the official bedrock server. Im going to try it out.
In surprised you haven't played minecraft.
Thanks again NicoD
@@redshepard5306 Did you find a way? This is exactly what I'm also looking for! :O
@@redshepard5306 And where can I get the official Bedrock server that is x86 Linux version? I've been looking like a madman, can fint anything :'(
@@redshepard5306 volta aqui e diz se funcionou
I encounter some problems on my arm64 ubuntu.here's the problems.1, box86 bash: /usr/local/bin/box86: cannot execute binary file: Exec format error. 2, wine winecfg setarch: failed to set personality to linux32: Invalid argument.
anyone can help?thanks.
I choose the install all in script.
Rip amlogic s905x armbian arm64
It doesn't work? What image do you use? What kernel? Is panfrost enabled? Now I think off it. The S905x probably doesn't have panfrost support. So it will not work. I don't have a S905x board. Only S905, S905x3 and S905x4. I could try the Odroid C2 if I find the time for it. Greetings.
It is not working today!
Scanning dependencies of target dynarec_arm
[ 0%] Built target PRINTER
[ 1%] Building C object CMakeFiles/dynarec_arm.dir/src/dynarec/dynablock.c.o
[ 1%] Building C object CMakeFiles/dynarec_arm.dir/src/dynarec/dynarec_arm.c.o
[ 1%] Building C object CMakeFiles/dynarec_arm.dir/src/dynarec/dynarec_arm_functions.c.o
[ 1%] Generating ../src/wrapped/generated/functions_list.txt
In file included from /usr/include/arm-linux-gnueabihf/bits/errno.h:26,
from /usr/include/errno.h:28,
from /media/usb-drive/Source/armbian-gaming-main/box86/src/dynarec/dynarec_arm_functions.c:5:
/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory
1 | #include
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dynarec_arm.dir/build.make:104: CMakeFiles/dynarec_arm.dir/src/dynarec/dynarec_arm_functions.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/arm-linux-gnueabihf/bits/errno.h:26,
from /usr/include/errno.h:28,
from /media/usb-drive/Source/armbian-gaming-main/box86/src/dynarec/dynarec_arm.c:4:
/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory
1 | #include
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dynarec_arm.dir/build.make:90: CMakeFiles/dynarec_arm.dir/src/dynarec/dynarec_arm.c.o] Error 1
In file included from /usr/include/arm-linux-gnueabihf/bits/errno.h:26,
from /usr/include/errno.h:28,
from /media/usb-drive/Source/armbian-gaming-main/box86/src/dynarec/dynablock.c:4:
/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory
1 | #include
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dynarec_arm.dir/build.make:76: CMakeFiles/dynarec_arm.dir/src/dynarec/dynablock.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:150: CMakeFiles/dynarec_arm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Detected same build as last run, skipping
[ 1%] Built target WRAPPERS
make: *** [Makefile:166: all] Error 2
[ 0%] Building C object CMakeFiles/dynarec_arm.dir/src/dynarec/dynablock.c.o
In file included from /usr/include/arm-linux-gnueabihf/bits/errno.h:26,
from /usr/include/errno.h:28,
from /media/usb-drive/Source/armbian-gaming-main/box86/src/dynarec/dynablock.c:4:
/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory
1 | #include
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dynarec_arm.dir/build.make:76: CMakeFiles/dynarec_arm.dir/src/dynarec/dynablock.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:150: CMakeFiles/dynarec_arm.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Greetings, NicoD
I've used only option 2 (box86 install)
It looks I moved forward, so I done next:
sudo ln -s /usr/include/asm-generic /usr/include/asm
sudo apt -f install
sudo dpkg --configure -a
sudo apt-get -f install
sudo dpkg -i --force-overwrite /var/cache/apt/archives/linux-libc-dev_22.05.3_armhf.deb
sudo cmake .. -DRK3399=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
Then the
sudo make -j$(nproc)
worked with some issues, but they seems not critical, as the process finished successfully.
Last update from me. After all the above, the box64 was installed successfully, with a few warnings. :) Hope that save someone's like me time :)
jejak
What is Box86 and Box64?
Programs that make it possible to use X86 programs and games on ARM. It is a translation layer between x86 and ARM.
It makes it possible to run x86 Linux programs and games, but also Windows programs and games with Wine.
@@NicoDsSBCs it is not an emulator? Is it like a windows dll, that on the fly converts 16but programs on the 32bit windows version?
Is Box* only for running on arm architecture or you can use it on other architectures?
I am wondering, if I could use it on E2K architecture?
Привет. Появились новые tv boxes on rk3566 with 8gb ram. Есть новости о потдержки их Armbian? Это должно быть мощнее и дешевле чем s905x2.