Click Here
home features news forums classifieds faqs links search
5665 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Channel: #Amigaworld
Channel Policy and Guidelines

(Uses JAVA Applet and Port 1024)
Visit the Chatroom Website

Who's Online
 48 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 g01df1sh:  22 mins ago
 Rob:  27 mins ago
 Robert:  31 mins ago
 redfox:  33 mins ago
 simplex:  52 mins ago
 OneTimer1:  1 hr 12 mins ago
 AmigaBlitter:  1 hr 17 mins ago
 Cheese:  1 hr 20 mins ago
 lionstorm:  1 hr 43 mins ago
 zipper:  1 hr 54 mins ago

/  Forum Index
   /  Amiga PPC Linux
      /  AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Register To Post

PosterThread
Al89 
AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 1-Jan-2018 2:26:20
#1 ]
Member
Joined: 26-Dec-2017
Posts: 26
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
Profile     Report this post  
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: 8552
From: Unknown

@Al89

Wow! Nice!

 Status: Offline
Profile     Report this post  
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: 2433
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
Profile     Report this post  
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: 2433
From: Amiga land

Like this




https://scontent-mxp1-1.xx.fbcdn.net/v/t31.0-8/23736392_10210458571002160_1686200539074557373_o.jpg?oh=69bfe07afeca1803280ae5893b64f99f&oe=5AA2FE83

https://scontent-mxp1-1.xx.fbcdn.net/v/t31.0-8/23593736_10210458571322168_968515332760685389_o.jpg?oh=21782f40860770b621b14c001394f46d&oe=5AA163FC

https://scontent-mxp1-1.xx.fbcdn.net/v/t31.0-8/23592382_10210458571562174_5199810763891272165_o.jpg?oh=454a2f5fcc3092bfedf8d5d800544571&oe=5AAEFFCE

Last edited by tlosm on 01-Jan-2018 at 11:14 AM.
Last edited by tlosm on 01-Jan-2018 at 11:14 AM.
Last edited by tlosm on 01-Jan-2018 at 11:12 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
Profile     Report this post  
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: 2280
From: Perugia, ITALY

@Al89

Nice!
But performances? Useable?

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
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: 2433
From: Amiga land

@Tuxedo

i think he is using the wineexplorer of wine compiled for ppc not the x86 package . if im right pratically programs need to be recompiled for wine-ppc for run.

this is a pure x86 wine Explorer running on my g5

https://scontent-mxp1-1.xx.fbcdn.net/v/t1.0-9/23231589_10210388207403114_8987252111172414533_n.jpg?oh=d6d22ec670875204eb4e386a99aacb9f&oe=5A6A609E

Last edited by tlosm on 01-Jan-2018 at 11:39 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
Profile     Report this post  
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: 2280
From: Perugia, ITALY

@tlosm

well..same question...
useable?

_________________
Simone"Tuxedo"Monsignori, Perugia, ITALY.

 Status: Offline
Profile     Report this post  
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: 8792
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
Profile     Report this post  
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: 2433
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
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 0:05:51
#10 ]
Member
Joined: 26-Dec-2017
Posts: 26
From: Unknown

Here is another screenshot of it running notepad++ X86 32 bit for Windows:

 Status: Offline
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 0:05:54
#11 ]
Member
Joined: 26-Dec-2017
Posts: 26
From: Unknown

Here is another screenshot of it running notepad++ X86 32 bit for Windows:

 Status: Offline
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 0:06:00
#12 ]
Member
Joined: 26-Dec-2017
Posts: 26
From: Unknown

Here is another screenshot of it running notepad++ X86 32 bit for Windows:

 Status: Offline
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 0:06:00
#13 ]
Member
Joined: 26-Dec-2017
Posts: 26
From: Unknown

Here is another screenshot of it running notepad++ X86 32 bit for Windows:

 Status: Offline
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 0:57:35
#14 ]
Member
Joined: 26-Dec-2017
Posts: 26
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
Profile     Report this post  
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: 2433
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
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 6:36:59
#16 ]
Member
Joined: 26-Dec-2017
Posts: 26
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
Profile     Report this post  
Al89 
Re: AmigaOne X5000 + Linux + qemu + wine + Internet Explorer
Posted on 3-Jan-2018 7:00:02
#17 ]
Member
Joined: 26-Dec-2017
Posts: 26
From: Unknown

@tlosm

It sounds like you may have a better implementation. Would you care to share how you did it?

 Status: Offline
Profile     Report this post  
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: 2433
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
Profile     Report this post  

[ home ][ about us ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright 2000 - 2017 Amigaworld.net.

Amigaworld.net was originally founded by David Doyle