[Q] x86 emulator (QEMU, BOCHS etc) slow on x86 based Android - Android Q&A, Help & Troubleshooting

Hi,
I hope this is the right place to ask. I haven't found anything similar until now.
I was experimenting with QEMU, x86 emulator on Android on my Asus Memo FHD tab which is already based on an x86 Atom architecture.
I see way slower speeds (unusable) than I read about arm based counterparts. I assume this is because QEMU assumes ARM architecture and the x86 atom is also emulating ARM.
-Is there an other way to emulate a complete x86 system faster on this architecture?
Thank you!

demodl said:
Hi,
I hope this is the right place to ask. I haven't found anything similar until now.
I was experimenting with QEMU, x86 emulator on Android on my Asus Memo FHD tab which is already based on an x86 Atom architecture.
I see way slower speeds (unusable) than I read about arm based counterparts. I assume this is because QEMU assumes ARM architecture and the x86 atom is also emulating ARM.
-Is there an other way to emulate a complete x86 system faster on this architecture?
Thank you!
Click to expand...
Click to collapse
QEMU is extremely slow because it interprets and convferts code on the fly.
You would be better off to burn an iso of this http://sourceforge.net/projects/android-x86/files/Release 4.4/android-x86-4.4-RC1.iso/download
and burn it to usb stick with Unetbootin. THen boot off of that with a pc that can do so.

Lgrootnoob said:
QEMU is extremely slow because it interprets and convferts code on the fly.
You would be better off to burn an iso of this http://sourceforge.net/projects/android-x86/files/Release 4.4/android-x86-4.4-RC1.iso/download
and burn it to usb stick with Unetbootin. THen boot off of that with a pc that can do so.
Click to expand...
Click to collapse
Thanks, running x86 virtual OS (Windows) on an android tablet sounded fun and I was just wondering if there is a more efficient solution for systems already based on x86. I guess there isn't.
Thanks!

demodl said:
Thanks, running x86 virtual OS (Windows) on an android tablet sounded fun and I was just wondering if there is a more efficient solution for systems already based on x86. I guess there isn't.
Thanks!
Click to expand...
Click to collapse
Well, there is an emulator I use, but it is extremely slow also. We just don't have native virtualization acceleration support on our processors in the phones. Otherwise it would be lightning speed.

Lgrootnoob said:
Well, there is an emulator I use, but it is extremely slow also. We just don't have native virtualization acceleration support on our processors in the phones. Otherwise it would be lightning speed.
Click to expand...
Click to collapse
Found this: http://forum.xda-developers.com/showthread.php?t=2600589
Based on the specification the intel Atom Z2560 (x86) cpu supports virtualization, however there is not software to utilize this yet.
I hope this changes, it could be useful.

Looks like someone has already did it. I hope it'll be available for the public.
See: https://www.youtube.com/watch?v=sZQ-xZfc8NA

Related

Windows NT on Ameo

Since Windows NT supports RISC CPU's, and the PPC CPU's are based on RISC, I was wondering if it is possible to somehow install Windows NT on an Pocket Pc.
What do you guy's think ?
Not snowball's chance in hell. NT was only ever built for x86, SPARC, MIPS and ALPHA (I think there may have been a couple of others) - never for any ARM cores. Same goes for Win 9x/ME/2k/XP/Vista/Whatever.
-- The only alternative OSes you are ever likely to see are *nix/BSD derivatives. --
yes, but what i meant is that nt supports risc cpu architecture. so thats why my question came up
fek NT - get ubuntu
so could i install ubuntu?
they got a new ubuntu-mobile edition comming up
would that work?
soothomas said:
yes, but what i meant is that nt supports risc cpu architecture. so thats why my question came up
Click to expand...
Click to collapse
RISC Architecture is not a "standard" like x86, it's more a theory of processor archiecture design. Windows NT supported some RISC architecture processor families as it supported some CISC processors. One might argue that since it supported CISC, it should run on Motorola 680x0 or Natsemi 32016. Clearly it doesn't
You specificially said NT so this probably doesnt help, but there are tutorials and guides out there to help you get Win95/98 emulated and away on your PPC. Runs sub-par though, but if I recall this was done back in 2005, PPCs and emulating software might have come a long way since then..

Windows 98 on X7500

Seems good
Take a look
http://www.pocketgamer.org/showthread.php?s=&threadid=3660
With Dosbox emulator
Is there anyway to use Dosbox as Bootloader of pda's
I know touchscreen emulation is a problem
I think this is not a unbreakable block for developers ( C++ masters )
Actually XScale is a 32 bit X86 processor too.
I'm not professional about that but
I guess windows 98 ( or windows Xp without servicepack 1&2 ) can work on our
pda's.
I know these problems ( Services, drivers, memory adresing etc.. )
any one have an idea or can we make a discussion
oorrrr
any professional programmer can say a few ideas.
Whatever
At the end.
It's funny right?
Regards.
"Actually XScale is a 32 bit X86 processor too."
no it's arm based which is a pretty different architecture based on RISC
http://en.wikipedia.org/wiki/ARM_architecture
where x86 are CISC
http://en.wikipedia.org/wiki/X86
so it's an emulation
worst of all is that it's an emulation of a cpu architecture which is more
powerfull
http://forum.xda-developers.com/showthread.php?t=362344
Yeah But I've miss wrote.
Rudegar said:
"Actually XScale is a 32 bit X86 processor too."
no it's arm based which is a pretty different architecture based on RISC
http://en.wikipedia.org/wiki/ARM_architecture
where x86 are CISC
http://en.wikipedia.org/wiki/X86
so it's an emulation
worst of all is that it's an emulation of a cpu architecture which is more
powerfull
http://forum.xda-developers.com/showthread.php?t=362344
Click to expand...
Click to collapse
So... Fin...

Troubles installing Android SDK in Ubuntu Chroot

Hello, my TouchPad has Ubuntu Chroot but I can't manage to install the Android SDK to be able to program on eclipse in my TouchPad, is it possible ? I believe Chroot lacks the ubuntu installer or something
SkynightZ said:
Hello, my TouchPad has Ubuntu Chroot but I can't manage to install the Android SDK to be able to program on eclipse in my TouchPad, is it possible ? I believe Chroot lacks the ubuntu installer or something
Click to expand...
Click to collapse
It is still a _very_ slow computer compared with your PC. Why not do the compiling on your PC and remotely login from your touchpad (if you really like to use touchpad with bluetooth keyboard as a termninal)?
goTouchGo said:
It is still a _very_ slow computer compared with your PC. Why not do the compiling on your PC and remotely login from your touchpad (if you really like to use touchpad with bluetooth keyboard as a termninal)?
Click to expand...
Click to collapse
I wouldn't say very slow, with emphasis. My secondary craptop only has a 1.73 Ghz 1st gen dual core Intel processor w/ a 5 year old video card. I think the Touchpad could def. give it a run for its money. Very slow, with emphasis, to me is a Pentium 4 @ 2 Ghz or less and a GeForce 2 MX.
SpikeyPsyche said:
I wouldn't say very slow, with emphasis. My secondary craptop only has a 1.73 Ghz 1st gen dual core Intel processor w/ a 5 year old video card. I think the Touchpad could def. give it a run for its money. Very slow, with emphasis, to me is a Pentium 4 @ 2 Ghz or less and a GeForce 2 MX.
Click to expand...
Click to collapse
Not a fair comparison at all. Just because an ARM processor and the comparable x86 processor may have the same clock speed, it doesn't mean that they'll compete. The x86 architecture has been much more widely accepted and hence developed over the years. An x86 will beat out an ARM processor clock for clock until there's more development done for ARM.
Are you making sure to use a version of the android sdk that is compiled against ARM? Some of it is java, but there are some compiled native libraries too.
Eclipse is not the fastest IDE even on a PC. I mean my netbook runs it pretty sluggest and it's a higher end atom (2 cores). I think much more than vim or emacs would start to annoy me.

League Of Legends/Ubuntu?

Just a quick question from someone who is new to this kinda scene, just curious if anyone knows if its possible to run LoL on my eee pad prime (not using a remote rdc though) if i installed linux and used wine would this work? (or are there any other possibilities)
Looking at the minimum system requirements:
Minimum System Requirements
2 GHz processor
1 GB RAM (Windows Vista and 7 users will want 2 GB of RAM or more)
750 MB available hard disk space
Shader version 2.0 capable video card
Support for DirectX v9.0c or better
Windows XP, Windows Vista, or Windows 7 (Mac OS is currently not supported)
Click to expand...
Click to collapse
I really don't see being able to play this game on the Prime, especially via Wine.
Only processor speed will be questionable. We do have quad core though. Once we overclock even higher, 2ghz will be easily obtained, it will be possible. That will be dependent of how well a dual boot of Ubuntu will be. Right now it runs alongside android so it shares CPU power etc...Once we dual boot, then ubuntu will have full access to whatever CPU/gpu power it needs. Then it'll just be a manner of getting LoL to load/install on it. Those other specs prime already has or better. PRIME is a beast. Alot more powerful than people may realize. Especially now that we already overclocked to 1.6ghz without even a custom rom or bootloader unlocked. It'll only get better from here. I'd say we doing great, developement wise, in Prime first month of usage. OVERCLOCK, root, ICS, Ubuntu, Fedora, Linux(Backtrk5), added drivers, themes, n so on.
The problem here is you will be trying to run an x86 game on ARM. I'm not sure if x86 emulators even exist to the required standard to even attempt this, but even if they do then you'll likely need a machine with way more power than the prime. Probably 3-5 times at least.
Emulating is very resource demanding.
Thanks for the replies everyone im looking forward to seeing what the prime can do in the near future, i do really enjoy having one, i cant wait untill everything runs perfect with it (rdcs with keyboard bindings for the dock, alt/esc and left/right click working properly) thanks again everyone

Linux games on Mobile?

So this might night be possible, but....
Gaming was basically dominantly windows. Now, with windows 8, which is less focused on gaming, is probably going to be the end of windows gaming and the start of linux gaming. Even Gabe Newell, head of the company Valve, started focusing on ditching windows, porting games to linux, and encouraging developers to dev for linux. They've also found that games run better on OpenGL than DirectX.
So then that made me think... Android is based off of linux, right? So would it be possible for a dev to make something like Wine that would allow linux programs to run on Android?
It sounds very possible since the games would use OpenGL instead of the windows-only closed source DirectX. And preformance probably won't be an issue if you keep the settings low since we have such advanced mobile GPUs and processors.
This would open a whole new gaming window for Android - We'd be able to play any linux game. That means Mass Effect, Half Life, Assassin's Creed, and all the other top games on our devices.
So is this possible? Could a future update add the ability to use linux programs on android? Is this not plausible because of ARM processors? Would it be too slow?
http://en.m.wikipedia.org/wiki/OpenGL_ES
Who needs to port anything?
Sent from my SGH-I777 using xda premium
There is the whole x86 vs ARM issue. If the game is open source it could be compiled for ARM android, but a closed source x86 Linux game is useless on ARM.
yousefak said:
So this might night be possible, but....
Gaming was basically dominantly windows. Now, with windows 8, which is less focused on gaming, is probably going to be the end of windows gaming and the start of linux gaming. Even Gabe Newell, head of the company Valve, started focusing on ditching windows, porting games to linux, and encouraging developers to dev for linux. They've also found that games run better on OpenGL than DirectX.
So then that made me think... Android is based off of linux, right? So would it be possible for a dev to make something like Wine that would allow linux programs to run on Android?
It sounds very possible since the games would use OpenGL instead of the windows-only closed source DirectX. And preformance probably won't be an issue if you keep the settings low since we have such advanced mobile GPUs and processors.
This would open a whole new gaming window for Android - We'd be able to play any linux game. That means Mass Effect, Half Life, Assassin's Creed, and all the other top games on our devices.
So is this possible? Could a future update add the ability to use linux programs on android? Is this not plausible because of ARM processors? Would it be too slow?
Click to expand...
Click to collapse
A few misconceptions here in need of clarification.
Android is a Linux system.
Android runs OpenGL.
The games to Android are Android/Linux OpenGL games.
A program compiled for the standard PC x86 platform can not run on the Android ARM CPU because the CPUs are not compatible.
The standard Android device does not have enough processor/memory/gpu capacity for PC Crysis 2 etc, even if it was compiled for the ARM CPU.
The Android device definitely isn't fast enough to emulate the x86 CPU with the speed needed for game performance.
Wine emulates the OS API, but the processor architecture must be the same.
So yes, you can run Half Life on Android, but only if Valve makes a port to Android of it first.

Categories

Resources