SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Introducing Rpi686 2.0

Sun Sep 08, 2019 1:20 am

Hello everyone! I have just watched the NovaSpirit Tech video about running x86 programs on Raspberry Pi. But I was able to do it without having to compile the kernel (there is another way to run Wine). And a while ago when I just started Linux, I would not have been able to do this. So I have made a script that does it for you. It doesn't require you to compile the kernel, and you don't have to pay for it *cough, cough Exagear*. It does take a long time to setup though. On my Raspberry Pi 3B+ it took about an hour.

I have wrote the instructions on the Rpi686 Wiki in Github. Here is the Link - https://github.com/SkywalkerSW5/Rpi686/ ... oad-Rpi686

Then your done! I want to give a HUGE thanks to NovaSpirit Tech. If there is any criticism, ideas, or something not working, please tell me!
Last edited by SkywalkerSW5 on Sun Sep 08, 2019 8:18 pm, edited 1 time in total.
Random dude. Likes dogs. And Linux. Complete NOOB.

SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Re: Rpi686: A way to run x86 programs on Raspberry Pi

Sun Sep 08, 2019 2:01 am

Oh I forgot to mention a couple things. Because you don't compile the kernel, I found that Eltechs (people who made ExaGear) made a version of Wine that is 2G/2G. I will add that to the post in a little bit. And in the second version of Rpi686 I will add Pi386 integration. 2 layers of x86!!! Really you can't have enough x86. Anyways, I will go into the Pi386 code and edit it for lovely integration.

Edit: As of now, I am downloading Leafpad. and will add screenshots.
Edit 2: Man, my interweb connection is slow. Also I noticed my first error. The i686 system can't write logs. Need to mount something.
Random dude. Likes dogs. And Linux. Complete NOOB.

SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Re: Rpi686: A way to run x86 programs on Raspberry Pi

Sun Sep 08, 2019 2:22 am

Alrighty. I have redone this post, because I have screwed up yet again. Follow these instructions to install Rpi686 1.2 .

Download Rpi686 Above, delete

Code: Select all

Rpi686
and download the new files:

Code: Select all

wget https://raw.githubusercontent.com/SkywalkerSW5/Rpi686/1.2/Rpi686-root

Code: Select all

wget https://raw.githubusercontent.com/SkywalkerSW5/Rpi686/1.2/Rpi686
Once you have downloaded them both, chmod, and run Rpi686 as usual, but to install programs run

Code: Select all

sudo chmod +x Rpi-686-root

Code: Select all

[code/]
Rpi686-root[/code].
Last edited by SkywalkerSW5 on Sun Sep 08, 2019 3:45 am, edited 1 time in total.
Random dude. Likes dogs. And Linux. Complete NOOB.

SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Re: Rpi686: A way to run x86 programs on Raspberry Pi

Sun Sep 08, 2019 2:52 am

Oh, here is the screenshot. Image
Random dude. Likes dogs. And Linux. Complete NOOB.

jdonald
Posts: 398
Joined: Fri Nov 03, 2017 4:36 pm

Re: Rpi686: A way to run x86 programs on Raspberry Pi

Sun Sep 08, 2019 4:26 am

Nice work. A few tips/suggestions:
  • Raspbian Buster comes with a 3G/1G kernel. I wouldn't recommend supporting Eltech's 2G/2G port of Wine because it's relatively old and no longer necessary. Recent versions of Wine i386 for Stretch can be found in this source:

    Code: Select all

    deb https://dl.winehq.org/wine-builds/debian/ stretch main
    
  • I heard that Buster no longer requires copying qemu-i386-static into the chroot's /usr/bin. I haven't verified this myself. Give it a shot without that line.
  • This appears to be a typo:

    Code: Select all

    sudo mount -t sysfs sys ./rpi686/sys/
    
    (Your subfolder is named pi686, not rpi686.)
  • I've found leafpad to be an odd choice of demo considering it's available on Raspbian proper. Someone should think of a better x86-only program on Debian.

SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Re: Rpi686: A way to run x86 programs on Raspberry Pi

Sun Sep 08, 2019 1:15 pm

Got it. I will have those fixed by version 2. And I did Leafpad because a while ago I tried to install it (probably should have updated the system, but I was a noob) but I couldn't. I'll try Spotify.

Edit: Spotify's a pain. I'm doing Virtualbox. In version 2, Virtualbox will already be able to be installed.
Random dude. Likes dogs. And Linux. Complete NOOB.

hippy
Posts: 5796
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Rpi686: A way to run x86 programs on Raspberry Pi

Sun Sep 08, 2019 2:56 pm

SkywalkerSW5 wrote:
Sun Sep 08, 2019 2:22 am
Alrighty. I have redone this post, because I have screwed up yet again.
SkywalkerSW5 wrote:
Sun Sep 08, 2019 1:15 pm
Got it. I will have those fixed by version 2.
May I suggest you edit your earlier posts, delete all the stuff which is wrong, replace that ( or make a new post ) with the complete and correct instructions. Otherwise it gets utterly confusing trying to figure out what the complete step-by-step should be.

SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Re: Introducing Rpi686 2.0

Sun Sep 08, 2019 8:33 pm

So integrating pi386 is going to take a while. I'm going to hold that off. In Version 2, I have fixed some bugs, added a way to check the version, and made it to where you can install virtualbox by just typing

Code: Select all

apt install virtualbox-5.2
. Enjoy!
Random dude. Likes dogs. And Linux. Complete NOOB.

SkywalkerSW5
Posts: 21
Joined: Fri Apr 19, 2019 3:54 pm

Re: Introducing Rpi686 2.0

Mon Sep 09, 2019 12:05 am

I have decided that Rpi686 3.0 is going to be amd64 instead of i686. pi386 will be the i686 system. Rpi686 will be out by the end of this week.
Random dude. Likes dogs. And Linux. Complete NOOB.

jdonald
Posts: 398
Joined: Fri Nov 03, 2017 4:36 pm

Re: Introducing Rpi686 2.0

Fri Sep 13, 2019 10:55 pm

I agree an x86_64 system wine+qemu-user system the better way to go. For many useful packages, various vendors don't even release i386 packages anymore. Ubuntu 19.10's threat to drop 32-bit x86 is related.

One issue that stands out with the i386 systems is a warning about not finding the vc4 Mesa driver component. Debian i386 apparently doesn't provide this due to the reasonable assumption that i386 systems don't normally run on Broadcom. Software rendering is bad, and emulated software rendering is even worse.

I suspect Debian x86_64 will have the same problem, and in order to resolve this someone would need to rebuild Mesa from source with the right options. Otherwise, the practical use of these systems remains limited to non-graphical programs.

Return to “General discussion”