Poster | Thread |
Al89
| |
AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 2:26:20
| | [ #1 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| I just got this working and I wanted to tell some one. I am running x86 Internet Explorer on my AmigaOne X5000. Here is a screenshot:
|
|
Status: Offline |
|
|
pavlor
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 8:05:07
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 10-Jul-2005 Posts: 9588
From: Unknown | | |
|
| |
Status: Offline |
|
|
tlosm
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 10:55:38
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| @Al89
bravo . next step is have 3D accelerated windows apps running on wine on your x5000 Last edited by tlosm on 01-Jan-2018 at 10:58 AM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
tlosm
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 11:12:17
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| |
Status: Offline |
|
|
Tuxedo
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 11:28:16
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 28-Nov-2003 Posts: 2341
From: Perugia, ITALY | | |
|
| @Al89
Nice! But performances? Useable? _________________ Simone"Tuxedo"Monsignori, Perugia, ITALY. |
|
Status: Offline |
|
|
tlosm
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 11:36:52
| | [ #6 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| |
Status: Offline |
|
|
Tuxedo
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 13:49:22
| | [ #7 ] |
|
|
|
Elite Member |
Joined: 28-Nov-2003 Posts: 2341
From: Perugia, ITALY | | |
|
| @tlosm
well..same question... useable? _________________ Simone"Tuxedo"Monsignori, Perugia, ITALY. |
|
Status: Offline |
|
|
Hypex
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 14:05:56
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11209
From: Greensborough, Australia | | |
|
| @Al89
Why would you want to do that? I mean the whole concept of what you are doing is cool. But why Internet Explorer? A lot of people consider that to be a virus they replace ASAP. |
|
Status: Offline |
|
|
tlosm
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 1-Jan-2018 15:22:24
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| @Tuxedo
My solution On G5 yes . performances in computing are same of exagear (commercial app)on pi3. the exagear is more efficient because have nvidia gf 5800 wrapper that made Windows 3d apps run good.
here an extra example from me
Perfect Parallel integration on debian ppc64. PPC and X86 OS running on same desktop. Up Pannel xfce is PPC . Down Pannel is x86 . Right apps are x86 left are PPC. The down lxde x86 showing x86 and ppc apps in his tab 8
https://scontent-mxp1-1.xx.fbcdn.net/v/t31.0-8/26024249_10210705283009806_3731512569153000648_o.jpg?oh=2a12cc63c93e136590ca29bac13b9b66&oe=5AB76C02
if wine-ppc is not usable at all... or better is only usable for the 6 apps included in it pkg .. Explorer,mine,regedit,winexplorer,notepad,taskmaager Last edited by tlosm on 01-Jan-2018 at 03:28 PM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 0:05:51
| | [ #10 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| Here is another screenshot of it running notepad++ X86 32 bit for Windows:
|
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 0:05:54
| | [ #11 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| Here is another screenshot of it running notepad++ X86 32 bit for Windows:
|
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 0:06:00
| | [ #12 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| Here is another screenshot of it running notepad++ X86 32 bit for Windows:
|
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 0:06:00
| | [ #13 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| Here is another screenshot of it running notepad++ X86 32 bit for Windows:
|
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 0:57:35
| | [ #14 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| Just in case someone wants to know how I did it, here is the answer:
Please backup your install of Linux before starting! With the way we are going to mount some folders you could remove your home folder if you try to remove the chroot. First, I installed all the other dependencies with pkgsrc for qemu except zlib. sudo -s wget http://zlib.net/zlib-1.2.11.tar.gz gzip -xvzpf zlib-1.2.11.tar.gz cd zlib-1.2.11 ./configure make make install
Install qemu: git clone git://git.qemu.org/qemu.git cd qemu ./configure --target-list=i386-linux-user --static make
setup chroot: mount -t binfmt_misc none /proc/sys/fs/binfmt_misc echo -1 > /proc/sys/fs/binfmt_misc/status echo ':i386:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/bin/qemu-i386-static:' > /proc/sys/fs/binfmt_misc/register debootstrap --arch=i386 --foreign wheezy chroot-wheezy-i386 http://ftp.de.debian.org/debian cp ~/qemu/i386-linux-user/qemu-i386 ~/chroot-wheezy-i386/usr/bin/qemu-i386-static DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C chroot chroot-wheezy-i386 /debootstrap/debootstrap --second-stage echo "deb http://ftp.de.debian.org/debian/ wheezy main" > chroot-wheezy-i386/etc/apt/sources.list.d/wheezy.list env -i TERM=xterm /usr/sbin/chroot chroot-wheezy-i386 /bin/su -l root arch (should be x86) apt-get update apt-get install libsm6 libxext6 libfreetype6 libpng12-0 libmpg123-0
Now you will need to double check the user id of amigaone (1001) adduser --uid 1001 amigaone exit arch ( should be ppc64) mount --bind /home/amigaone /home/amigaone/chroot-wheezy-i386/home/amigaone mount --bind /dev /home/amigaone/chroot-wheezy-i386/dev mount --bind /proc /home/amigaone/chroot-wheezy-i386/proc
setup wine: mkdir wine cd wine wget https://www.playonlinux.com/wine/binaries/linux-x86/PlayOnLinux-wine-2.0.3-linux-x86.pol tar -jxf PlayOnLinux-wine-2.0.3-linux-x86.pol --strip-components=1 wineversion/2.0.3 mv ~/wine/2.0.3/bin/wine-preloader ~/wine/2.0.3/bin/wine-preloader.renamed
enter chroot as amigaone: env -i TERM=xterm /usr/sbin/chroot chroot-wheezy-i386 /bin/su -l amigaone arch (should be x86) export WINEARCH=win32 export WINEPREFIX="/home/amigaone/.wine" export PATH=~/wine/2.0.3/bin:$PATH export DISPLAY=:0
Now run: winecfg
Once winecfg finishes, you should be able to run X86 32 bit windows apps.
Your mileage may very. Use at your own risk!
Last edited by Al89 on 03-Jan-2018 at 07:01 AM.
|
|
Status: Offline |
|
|
tlosm
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 6:29:21
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| @Al89
did you try to add the mount point: /dev/shm /dev/snd /dev/dri
or use the systemd instead chroot? _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 6:36:59
| | [ #16 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| @tlosm
No I did not try to use /dev/shm /dev/snd /dev/dri
I also didn't try using systemd.
Do you have an example of this?
|
|
Status: Offline |
|
|
Al89
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 7:00:02
| | [ #17 ] |
|
|
|
Member |
Joined: 26-Dec-2017 Posts: 28
From: Unknown | | |
|
| @tlosm
It sounds like you may have a better implementation. Would you care to share how you did it? |
|
Status: Offline |
|
|
tlosm
| |
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer Posted on 3-Jan-2018 7:57:20
| | [ #18 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| @Al89
use your same chroot wheezy dir . run it with systemd-nspawn instead chroot _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|