Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Mon Jan 21, 2013 5:40 pm

Hi all,
I am just compiling glibc-2.5 with gcc-3.4.4 on Raspi.
Again what a crazy fight with compiler errors, nightmare.
I never saw this behavior in Windows. It is, because a lib from today does know nothing about the same lib from yesterday :? .
I really wonder, if anybody has glibc-2.5 with linuxthreads for raspi:-), or even an older Kernel.
glibc-2.5 is the last glibc version where you can enable linuxthreads (pthread, NO nptl).
gcc-3.4.4 is the last version, which works with them. Even gcc-3.4.6 does not :mrgreen: .
I remember my posts from last summer. In the comment from Fabrice Bellard from 2003 I noticed,
that he only writes about success for his testclone.c and testthread.c for pthreads.
I still verified the power of qemu-i386 with pthreads.
Now we will see. I very much hope, that never qemu can be compiled against this linuxthread glibc-2.5
Dietmar

PS: In any case we will have a working qemu-i386 and this means Wine. But newer qemu are much faster than old ones.

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Sun Jan 27, 2013 11:04 am

Hi,
after a week :mrgreen: of compiling glibc-2.5 (last glibc with Linuxthreads)
for Lenny on Raspberry Pi I just run make check there.
Some errors in math tests, but others seem ok.
I really wonder, if anywhere in this world a glibc-2.5 without NPTL, without TLS but with
Linuxthreads (Pthreads) for arm-unknown-linux-gnueabi exist. 19 errors in sourcecode I have to bring down during compiling. My configure for compiling glibc-2.5 on Lenny on Raspi is

Code: Select all

../configure --prefix=/usr --without-tls --host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi --enable-add-ons=linuxthreads,ports --without-fp --disable-sanity-checks

Now I am going to install this new :lol: glibc-2.5 on Raspi and take a look,
what Qemu User mode qemu-i386 say to it. When I am right, the door for WINE on Raspi is open wide,
Dietmar

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Sun Jan 27, 2013 6:13 pm

Yeppa :D ,
with

Code: Select all

init=/bin/bash
I get rid of my old libs :mrgreen: (and all other stuff).
Now, it is really Raspi from scratch,
here Lenny. After this, I type make install from folder with new glibc-2.5
and ... /lib/libc.so.6 showed, waiting for install... :lol:

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Sun Jan 27, 2013 7:08 pm

Hm, only ./libc.so.6 works, so not all is killed via init=/bin/bash.

GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.4 (release) (CodeSourcery ARM 2005q3-2).
Compiled on a Linux >>2.6.26-2-versatile<< system on 2013-01-26.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU libio by PER Bothner
linuxthreads-0.10 by Xavier Leroy
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Sun Jan 27, 2013 10:44 pm

Hm, maybe not so easy.
I get a message, that the new glibc is installed well.
But I dont believe this. When I set

Code: Select all

export LD_ASSUME_KERNEL=2.4.19
I get a message, that this and this lib*.so cant be startet.
So, it seems to be a problem, to start a nonNPTL glibc
on a real Kernel >= 2.6. Any help is welcome,
Dietmar
PS: I saw, that there was a patch 2.4.21-rmk2-arm1 for an 2.4 Kernel for
VersatilePB. But I do no found it in Internet.

calben
Posts: 4
Joined: Sun Feb 10, 2013 4:46 pm

Re: Wine on Raspberry Pi

Sun Feb 10, 2013 6:22 pm

Dietmar do you think that this video is real: https://www.youtube.com/watch?v=hqGzc7f ... ata_player
I know the device in the video is not a raspberry pi, but (at least if you believe what's in the description) the maker of the video uses a combination of wine and qemu to run a windows game on a device with a arm processor (a htc one x) on backtrack (in a chroot), so i think it's nearly the same thing. (Sorry for my bad english)

User avatar
Fluo
Posts: 12
Joined: Fri May 18, 2012 1:44 pm
Location: Poland

Re: Wine on Raspberry Pi

Sun Feb 10, 2013 6:59 pm

calben - I think is a VNC client running on smartphone. You can see on the clip that the mouse is connected to something other than smartphone (it isn't wireless mouse).

Edit: In the film we can se windows bar and the mouse it is Logitech G300
A man who won't lie to a woman has very little consideration for her feelings.

calben
Posts: 4
Joined: Sun Feb 10, 2013 4:46 pm

Re: Wine on Raspberry Pi

Sun Feb 10, 2013 8:30 pm

Fluo wrote: calben - I think is a VNC client running on smartphone. You can see on the clip that the mouse is connected to something other than smartphone (it isn't wireless mouse).

Edit: In the film we can se windows bar and the mouse it is Logitech G300
I saw that too, but i think (if this is real) that he is using a vnc client on his pc to connect to backtrack (running guild wars 2) which is running on his htc one x and uses the mouse which is connected to the pc to control backtrack via the vnc client. Then he uses something like splashtop to show the screen of his pc on his htc one x. So what you see on the htc one x is the screen of his pc showing backtrack (running guild wars 2 running side by side with android as a chroot on his htc one x. At least that's what i think. (And again sorry for my bad english)

User avatar
Fluo
Posts: 12
Joined: Fri May 18, 2012 1:44 pm
Location: Poland

Re: Wine on Raspberry Pi

Sun Feb 10, 2013 11:00 pm

But computer is on x86 architecture. Raspberry Pi and HTC working on ARM architecture.

In this case the HTC is only a client and all of the calculations (eg. graphics rendering) are done on the PC with x86 architecture

Ps Black Track can be run on the Arm Architecture

Sorry for a mistakes.
A man who won't lie to a woman has very little consideration for her feelings.

calben
Posts: 4
Joined: Sun Feb 10, 2013 4:46 pm

Re: Wine on Raspberry Pi

Sun Feb 10, 2013 11:15 pm

Fluo wrote:But computer is on x86 architecture. Raspberry Pi and HTC working on ARM architecture.

In this case the HTC is only a client and all of the calculations (eg. graphics rendering) are done on the PC with x86 architecture

Ps Black Track can be run on the Arm Architecture

Sorry for a mistakes.
It means backtrack.
You are right, the htc one x (and also backtrack when it's running on it) and raspberry pi are based on arm and can't execute x86 code directly, but you can use qemu user mode emulation to emulate a x86 processor (or something like that, i'm not sure) and execute x86 code (a program compiled for x86) with the help of it on an arm processor. With the combination of this and wine it is possible to run programs (and even games) for windows on an arm based device like the raspberry pi or the htc one x. That's what dietmar wants to do, and if the video isn't a fake, the maker of the video is doing. Maybe he is really only using splashtop to stream the game, but it's not impossible that it is really running on the htc one x.
(And sorry for my bad english)

calben
Posts: 4
Joined: Sun Feb 10, 2013 4:46 pm

Re: Wine on Raspberry Pi

Thu Feb 14, 2013 1:50 pm

Ok, I think it's really running directly on the pc and he only streams it with splashtop to his htc one x. It's a fake.

magindia
Posts: 1
Joined: Tue Jul 16, 2013 11:22 am

Re: Wine on Raspberry Pi

Tue Jul 16, 2013 11:25 am

Hi Dietmar,

Can you please upload and share the link of image file(.img) of your wine enabled PI
It will save our 15 Hrs + trouble shooting time :)

Thanks

shivansps
Posts: 36
Joined: Thu Jan 26, 2012 5:11 pm

Re: Wine on Raspberry Pi

Mon Aug 05, 2013 2:06 am

We really need to wrap this up... and make a step by step guide to do it.

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Mon Aug 19, 2013 6:25 pm

Hi all,
I make a testrun with the testsuite linux-user-test-0.3
from the Qemu homepage.
I do not know, what those people for Qemu do (129 work on version 1.6).
But the testclone program counts until 19, and then crashes.
So, nothing changed against before,
qemu user-mode for i386 processor does not work, even on qemu homepage is told other :mrgreen: brrr,
Dietmar

felipebr
Posts: 4
Joined: Wed Jan 29, 2014 3:03 pm

Re: Wine on Raspberry Pi

Wed Jan 29, 2014 3:06 pm

Hi, can you please help me to test with the new version of qemu ? It's 1.7 but look's like they solved the problem of user-space.
The problem is I don't know how to install wine i386 in raspibian with the dependencies.

Thank you
Regards

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Wed Jan 29, 2014 5:11 pm

Hi felipebr,
I make a try with newest Raspian from 7 January 2014
and the qemu 1.7, I get with
git clone git://git.qemu-project.org/qemu.git
It is always the newest qemu on market :mrgreen:
I am not sure, if something changed to better,
but I have 4 days free and so I give it a try with Wine also,
greetings from germany
Dietmar

felipebr
Posts: 4
Joined: Wed Jan 29, 2014 3:03 pm

Re: Wine on Raspberry Pi

Wed Jan 29, 2014 6:15 pm

Hi Dietmar, thank you for your quick answer... can you give me some hints about it please ?
I tryed to use multiarch to install it but.. so far.. didn't work. :(
Would be great if you can add me on gtalk or skype, my gtalk is [email protected] and skype felipe.oliveira.alert.
I have some free time also.. I already compiled qemu 1.7 in raspibian, I only don't know how to copy and install wine x86 in raspibian.

Thank you
Regards

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Wed Jan 29, 2014 6:30 pm

Hi felipebr,
please write me here your ./configure
line, with which you compiled qemu 1.7
greetings Dietmar

felipebr
Posts: 4
Joined: Wed Jan 29, 2014 3:03 pm

Re: Wine on Raspberry Pi

Wed Jan 29, 2014 6:40 pm

Hi Dietmar, the only thing I specified is the target-list param. I compiled with the 2 targets, user-spacei386 and softmmui386.
Sorry but I can not remember exactly now but you can check it typing ./configure -help

This will list all parameters for you.
Sorry for insist but can you add me for talk about it ?

Thank you
Regards

Dietmar
Posts: 361
Joined: Sun Sep 04, 2011 5:43 pm
Contact: Website

Re: Wine on Raspberry Pi

Fri Jan 31, 2014 12:23 pm

Hm, bad news.
I installed all for qemu user mode.
But: The testclone program fails again.
And also I tested the Quake2 for i386, wish I tested before on real debian Wheezy i386, where it works.
Starts loading with qemu-i386 quake2
but then again
qemu: Unsupported syscall: 101

So, really nothing changed to better in Qemu User-Mode :? ,
greetings Dietmar

EDIT: with softx, the quake2 windows opens for a second, and then segfault message from Qemu. This message I have seen hundreds of times...brrr
It simple means, that Qemu User mode cannot operate with the Clone function (see fall of testclone program), exact the opposit what they tell on their homepage!

felipebr
Posts: 4
Joined: Wed Jan 29, 2014 3:03 pm

Re: Wine on Raspberry Pi

Fri Feb 07, 2014 12:55 am

Hi Dietmar, thank you anyway for trying. Can you tell me please how did you install wine x86 in raspberry pi ?
I tryed many things but none worked.

Thank you
Regards

Nikhil
Posts: 1
Joined: Tue Feb 11, 2014 10:29 am

Re: Wine on Raspberry Pi

Tue Feb 18, 2014 7:08 am

Dietmar wrote:Hi all,
after small time of 15 hours :D
I succeed to compile full wine-1.5.9 with gcc instruction -marm
without any errors on the Raspberry Pi.
Now funs starts, this is a nice day today
Dietmar

Please share the procedure for the same.
Thanks in advance

WrathOfTheAngels
Posts: 20
Joined: Thu Sep 20, 2012 7:31 pm

Re: Wine on Raspberry Pi

Tue Apr 29, 2014 2:39 pm

Hi, I'm trying to run a software for linux (kindlegen) with qemu-i386, but I get the "Unsupported syscall: 240". Did someone find a solution for this problem? I don't need to run wine, but I post in this topic because it seems that the problem is the same...

Maybe also an alternative to qemu-i386 is good...

Or running the windows version of the software with wine... but this doesn't seem a good solution for me, as exists a linux version of it...

Killertechno
Posts: 181
Joined: Wed Jan 02, 2013 8:28 am

Re: Wine on Raspberry Pi

Mon Sep 08, 2014 10:21 am

Hi, I have this trouble: I got binaries on Ubuntu (i386) and I would run on Raspberry.
Let's suppose I have /home/pi/myUbuntuBinaries folder, how can I run i386 binaries on Raspberry with Qemu?
Thanks.

realtebo
Posts: 37
Joined: Tue Apr 30, 2013 11:56 am

Re: Wine on Raspberry Pi

Sat Feb 28, 2015 12:51 pm

Sorry fore resuming old post.
Can yout tell me how to install or build + install wine on raspberry pi?

I've a .NET sw to run, but first I must install.. so I need wine for the installer and mono (already succesfully installed) for running the sw.

Return to “Other projects”