7 ms·
Exagear: Run x86 Applications on Raspberry Pi
- yjftsjthsd-h 9y agoSo, proprietary software that only does as much as qemu? Any advantages to this?
- cuckcuckspruce 9y agoYeah, Eltechs makes between $12 and $50 from you. Oh, you mean for you? It's not clear if there are. You possibly save time trying to configure everything (qemu, storage for disk images, installing an OS under qemu, configuring the OS for OpenGL acceleration under qemu), so that might be worth it if you don't have the time or don't want to learn how to do it yourself.
- fulafel 9y agoYou don't need disk images, qemu can run foreign arch Linux binaries in your existing filesystem environment. Eg qemu-i386 ./myprogram
- kogepathic 9y ago> proprietary software that only does as much as qemu? Any advantages to this? Well, they claim it's "like QEMU but 5 times faster!" but that's probably in some specific test conditions. I can't find any proof to this claim such as an independent review of their software across a variety of productive use scenarios. > You can even run Windows applications on your ARM Mini PC using x86 Wine. Or, wait until Microsoft finalises their x86 translation layer for Windows 10 ARM, and don't bother with running an i686 Linux distribution under emulation and running Wine within that. They don't seem to support x86_64 Linux distributions, so I wonder what they're planning to do since some distributions will be dropping i686 support soon. [0] If you wanted to run Windows binaries on an ARM board, I can't see why you'd go for this over Windows 10 with x86 translation. No sane x86 proprietary software vendor would ever support Exagear's solution. [0] https://www.archlinux.org/news/phasing-out-i686-support/ https://www.archlinux.org/news/phasing-out-i686-support/
- tyingq 9y agoTheir benchmarks are here: https://eltechs.com/qemu-exagear-on-raspberry-pi/ https://eltechs.com/qemu-exagear-on-raspberry-pi/ Not vouching for them, just noting that some were published.
- deleted 9y ago[deleted]
- kogepathic 9y agoThere's precious little detail here. For example, one test the benchmark runs is x264 – H.264 video encoding where apparently ExaGear is an amazing 9.21 times faster than QEMU. No frame rate mentioned for either QEMU or ExaGear, and they don't include a comparison to x264 encoding running natively (probably because it would make ExaGear look quite bad). They also don't mention at all what QEMU options they're using. Maybe they're emulating an x86 in QEMU which lacks SIMD instructions? It's impossible to know without them publishing more information about their test methodology.
- deaddodo 9y agoThey pretty clearly layout that PARSEC is their benchmarking suite. You can see that here: http://parsec.cs.princeton.edu/ http://parsec.cs.princeton.edu/ Feel free to bug Princeton if you need specifics. I mean, I don't really care about this program, but it's not that difficult to beat qemu. Their whole thing is that they focus on accuracy and cross-platform compatibility. Both those things make optimizations difficult-at-best. If you're only coding a VM for a certain translation (x86->ARM, for instance), you can optimize like crazy.
- slipstream- 9y ago>Or, wait until Microsoft finalises their x86 translation layer for Windows 10 ARM ARM64, not ARMv7. Also, from what I hear, binaries need to be compiled specifically for this - others just use a slower JIT emulator.
- 9y ago
- mitchty 9y agoBeyond using binfmt and qemu? Not that I can see, outside of reducing your wallet. https://wiki.debian.org/QemuUserEmulation https://wiki.debian.org/QemuUserEmulation
- pm215 9y agoQEMU's user mode emulation is a bit unloved, though. We did manage to fix some longstanding bugs a while back, but it's still I think a bit unreliable on complex multithreaded apps. It could really use somebody with a few months to work on testing some big apps (eg node.js), dig into why they're not working and fix the issues. But many more people and companies care about QEMU for KVM support and for full system emulation, so those get the lion's share of maintenance effort...
- exikyut 9y agoI don't quite have the domain knowledge required to tie weird/confusing app breakages back to specific QEMU issues, but I'm curious what "testing" actually means. For example, using american fuzzy lop to run apps inside qemu-user-??? could be one way to generate a steady stream of noise/data. Using AFL like this sounds like it could be fun to experiment/play with, although I don't know if it has the necessary comprehension to handle "emulation or host program running guest program" semantics at the moment, where two programs (the emulator and the guest program) both need to be tracked for best results. These ideas don't exactly find any time to fix bugs, however...
- pm215 9y agoNo, I mean "try big complicated programs, see whether they fail or not, narrow down what's going wrong". What we need to do is get the expected cases to work. AFL is good for checking that weird corner cases don't blow up, but we don't care so much about those for user-mode, because by definition we allow the guest app to call any syscalls it likes -- you don't need to overrun a buffer to run arbitrary code because you're already running arbitrary code. (Also, there are a number of things that are technically permitted and supported by a native Linux kernel but which QEMU's user-mode emulation doesn't support, but which don't matter because real-world programs don't use those corner cases. AFL can't tell the difference between "bug that doesn't matter" and "bug that real code will hit".)
- brudgers 9y agoIf it removes the need to understand qemu and all the other moving parts of the system in order to just do what a user wants, that's probably worth $50 to a lot of people. I mean, in the long run the learning process that goes with setting up qemu is probably worth it to some people. For a lot of people, qemu is the wrong level of abstraction. Or to put it another way, "just run qemu" is a useful response to some people and not to others.
- problems 9y agovirt-manager presents a quite nice frontend for qemu and KVM. It's all free and open source, no need to pay $50 and you get nice remote connectivity support and stuff.
- brudgers 9y agoI agree. My point is that the assumed user problem is running x86 applications on an Rpi and the suggestion of qemu comes with a big learning curve for most people [consider that the default OS for an Rpi is NOOBS]. In this context it doesn't really matter how good virt-manager is because it does not directly solve the problem. Instead it is just a for of the rabbit hole of Linux systems administration...I mean suddenly KVM got thrown into the discussion. That's great for someone whose goals include learning the difference between KVM and qemu. It's not great for someone who wants to run Winzip in NOOBS and doesn't really understand why it should be a technical issue. Don't get me wrong. I am fan of free software and think Stallman is right and has changed the world for the better. But I'm ok with people paying money to solve their problems and $50 is cheaper than hiring a consultant to setup qemu or virt-manager and configure it to solve the original problem. It's also cheaper than the time it takes to discover virt-manager and decide that it is trust worthy and understand what it does and why it solves the problem and get it installed and configured. I mean the typical event sequence is hear about qemu. Try to figure it out. Maybe install it. Struggle to get it to work. Read some more blogs that are written by people who already know qemu. Maybe see something about virt-manager after a few days. Install it. Struggle to get it to work. Read some blogs by people who already know virt-manager. Hear about KVM, think maybe that's the solution. Etc. The difficult part of Linux is that in the end the answers lie in man pages and info files and the ability to read and parse those has a long and often steep learning curve. Spending all one's workdays in a community of people working up the same learning curve makes it easier. For the person who is often the most technical person in the room simply because they can run command.com and type dir, qemu and virt-manager are not NOOBS friendly.
- ericfrederich 9y agoWhen will this end? This only happens because of proprietary software shipped in binary format. I'm not against proprietary software, but at some point vendors need to ship in a different format like LLVM bitcode or something that the customer can re-target.
- DeepRote 9y agoThe sooner intel dies a fiery death. Microsoft is already preparing for the ARM-war with Windows 10 on ARM, intel has already made threats that x86 emulation is a litigious minefield, etc. They need to go, and I think Microsoft has their hammer and nails ready for the service. Bill Gates should spend some of that charity money on LLVM, that'd be great too.
- lazyjones 9y ago> at some point vendors need to ship in a different format like LLVM bitcode or something that the customer can re-target. Sun set out to solve this 23 years ago. It didn't work out very well, mainly because of a) Microsoft and b) native UIs being different and Java's UI solutions being slow (IMHO). Also, Sun failed...
- wybiral 9y agoThose little chat popups on the side of sites like this drive me crazy. I closed the chat, switched tabs, and then when I came back it was there again. Ahhhh I don't want to chat.
- 0x0 9y agoI just answer their "chat question" with "no" in the text input.
- stevekemp 9y agoEvery single time I see a popup-chat window I type "popup chats are annoying". 90% of the time I receive an auto-reply that "support is offline", and am prompted to enter an email address. Which just proves the whole thing is pointless when you have customers/users/visitors in foreign timezones.
- CaptSpify 9y agoblock javascript! Yes, designers should make quality webpages. But if history is any indicator, they won't. It's easier, imo, to filter out those bad designs.
- Drdrdrq 9y agoExcept then the prices are hidden too. Truly, a pearl of web pages. </s>
- PyComfy 9y agoHow long before Intel sues them?
- Asooka 9y agoFrom what I understand, Intel would only sue for hardware-assisted x86 emulation/reimplementation, not pure software emulation.
- monocasa 9y agohttps://arstechnica.com/information-technology/2017/06/intel-fires-warning-shots-at-microsoft-claims-x86-emulation-is-a-patent-minefield/ https://arstechnica.com/information-technology/2017/06/intel...
- yoz-y 9y agoCan this be used to reasonably run Chrome with DRM plugins on the RPi3? I would like to profit from the Amazon Prime subscription but sadly Google does not publish their plugin for ARM (outside of ChromeOS and moving the plugin from there no longer works)
- khedoros1 9y agoThis was posted to the Facebook Pi group a few days ago: https://thepi.io/how-to-watch-netflix-on-the-raspberry-pi/ https://thepi.io/how-to-watch-netflix-on-the-raspberry-pi/ It seems like someone packaged up Chromium with Widevine already installed, and then provided instructions for changing the agent string to something appropriate. The post is under a month old, and it came up in a discussion about a couple of alternate Linux distros for the Pi that are trying to make their name based on Netflix compatibility.
- yoz-y 9y agoThank you! I was following old tutorials and given up a few months ago.
- vadik_lyutiy 9y agoYes! You can run x86 Chrome and run Netflix on RPi. But Netflix is still a little bit laggy :(
- kelvin0 9y agoBesides being really cool, what are the commercial applications for this? Especially on a Raspberry Pi, wouldn't performance be a huge issue? Any feedback from people using something similar and their uses cases is interesting to me. Thanks!
- vadik_lyutiy 9y agoA couple of popular apps and games you can find here https://docs.eltechs.com/faq/supported-apps-and-games https://docs.eltechs.com/faq/supported-apps-and-games
- faragon 9y agoThat's very serious stuff: that people is also behind Elbrus microprocessor x86 emulation [1] [1] https://eltechs.com/company/about-us/ https://eltechs.com/company/about-us/
- vadik_lyutiy 9y agoEltechs also develops apps for Android to run x86 apps on Android. https://play.google.com/store/apps/developer?id=Eltechs https://play.google.com/store/apps/developer?id=Eltechs