AndreRH / hangover

Hangover runs simple Win32 applications on arm64 Linux
GNU Lesser General Public License v2.1
1.24k stars 91 forks source link

Why Android port was removed and will it come back? #113

Open artdeell opened 3 years ago

artdeell commented 3 years ago

System Details

Platform: Android

Build host: Linux Debian Bullseye

Compiler: clang90 aarch64-linux-android

Problems Description

I did nothing yet

Was the Android build removed because regular Wine build for arm64-v8a is broken? If armv7 version of Hangover's qemu will be made, will Android port be returned?

Yes, i did read #84

stefand commented 3 years ago

Its a mix of all of this. Upstream Wine is broken, even when hangover was working it only worked for a handful of people. Due to the different screen and input formats running Windows applications on Android is nothing more than a curiosity anyhow.

artdeell commented 3 years ago

Just checked - Hangover on Android (0.4.0 release) can't run most executables because most of the libraries are either "not found" or Qemu can't reserve address space for the image. Wonder why it's like that...

AndreRH commented 3 years ago

It's lot of work for nearly no users. If you want to hack on it I could try to support you, though.

artdeell commented 3 years ago

Actually, there's a pretty big user base of Exagear users, which also emulates x86 but on the Linux side, so there are a lot of potential users. Because afaik Hangover is faster, there can be a lot of people that will go with Hangover

Mathias-Boulay commented 3 years ago

A lot of people are trying to run even "simple" PC games, so much so there are dedicated YT channels for trying to do so.

SakiNawak commented 3 years ago

Exagear user here. Hangover seems to have an huge potential because it's faster than Exagear so a lot of players will use it.

AndreRH commented 3 years ago

So, you can still download hangover 0.4 for Android, but we never had a huge user base when we supported it...

Mathias-Boulay commented 3 years ago

Mainly due to its limited usability state. Solutions like exagear are "working" but are far from being fast 👀

SakiNawak commented 3 years ago

Yes on my phone every .exe are not working on hangover 0.4.0 that's the problem But hangover can beat Exagear because it's very slow

AndreRH commented 3 years ago

How do you know hangover is faster?

SakiNawak commented 3 years ago

I don't say it's faster but Hangover is working almost natively while exagear need to emulate an x86 Ubuntu then wine.

AndreRH commented 3 years ago

Ok, I added a goal to my patreon for this

SevenIsNotNumber commented 3 years ago

Ok, I added a goal to my patreon for this

Cool!

simon-i1-h commented 3 years ago

Does https://github.com/termux/termux-packages make porting the hangover to the Android partially easy?

SevenIsNotNumber commented 3 years ago

Does https://github.com/termux/termux-packages make porting the hangover to the Android partially easy?

Just use proot (fakeroot) 😎😎. Jk. There's no hardware acceleration

SevenIsNotNumber commented 3 years ago

:(

kote2345 commented 3 years ago

A lot of people are trying to run even "simple" PC games, so much so there are dedicated YT channels for trying to do so.

Recently able to launch games with hardware acceleration. For example STALKER on snapdragon 865: https://youtu.be/UMrKEE4FYhU POSTAL 2 on snapdragon 632: https://youtu.be/aNP4yWuTHCk Worms 4 on snapdragon 845: https://www.youtube.com/watch?v=yAID4vSzTNw FurMark on snapdragon 845: https://www.youtube.com/watch?v=eWTfZtRpCgY

But many games work with artifacts, but it seems like developer virgl (https://github.com/mittorn/virglrenderer-android) will fix all artifacts and will improve performance. And in games GPU is loaded by only 5-10%, even in fullhd resolution. GPU is loaded 100% only in FurMark. Apparently cpu is a bottleneck

artdeell commented 3 years ago

A lot of people are trying to run even "simple" PC games, so much so there are dedicated YT channels for trying to do so.

Recently able to launch games with hardware acceleration. For example STALKER on snapdragon 865: https://youtu.be/UMrKEE4FYhU POSTAL 2 on snapdragon 632: https://youtu.be/aNP4yWuTHCk Worms 4 on snapdragon 845: https://www.youtube.com/watch?v=yAID4vSzTNw FurMark on snapdragon 845: https://www.youtube.com/watch?v=eWTfZtRpCgY

But many games work with artifacts, but it seems like developer virgl (https://github.com/mittorn/virglrenderer-android) will fix all artifacts and will improve performance. And in games GPU is loaded by only 5-10%, even in fullhd resolution. GPU is loaded 100% only in FurMark. Apparently cpu is a bottleneck

Virgl gives a lot of overhead, that's why

Mathias-Boulay commented 3 years ago

Recently able to launch games with hardware acceleration. For example STALKER on snapdragon 865: https://youtu.be/UMrKEE4FYhU POSTAL 2 on snapdragon 632: https://youtu.be/aNP4yWuTHCk Worms 4 on snapdragon 845: https://www.youtube.com/watch?v=yAID4vSzTNw FurMark on snapdragon 845: https://www.youtube.com/watch?v=eWTfZtRpCgY

But many games work with artifacts, but it seems like developer virgl (https://github.com/mittorn/virglrenderer-android) will fix all artifacts and will improve performance. And in games GPU is loaded by only 5-10%, even in fullhd resolution. GPU is loaded 100% only in FurMark. Apparently cpu is a bottleneck

Nice to hear such alternatives exist. Any luck with 2d games (such as celeste ?)

kote2345 commented 3 years ago

Recently able to launch games with hardware acceleration. For example STALKER on snapdragon 865: https://youtu.be/UMrKEE4FYhU POSTAL 2 on snapdragon 632: https://youtu.be/aNP4yWuTHCk Worms 4 on snapdragon 845: https://www.youtube.com/watch?v=yAID4vSzTNw FurMark on snapdragon 845: https://www.youtube.com/watch?v=eWTfZtRpCgY But many games work with artifacts, but it seems like developer virgl (https://github.com/mittorn/virglrenderer-android) will fix all artifacts and will improve performance. And in games GPU is loaded by only 5-10%, even in fullhd resolution. GPU is loaded 100% only in FurMark. Apparently cpu is a bottleneck

Nice to hear such alternatives exist. Any luck with 2d games (such as celeste ?) I launch Starbound https://youtu.be/83i8Bh4V34U Game is demanding, on my laptop with i5 3570 and 8750m can not pull 60 fps, sometimes there are drawdowns below 30 fps. This game seems to be very demanding on CPU

SevenIsNotNumber commented 3 years ago

A lot of people are trying to run even "simple" PC games, so much so there are dedicated YT channels for trying to do so.

Recently able to launch games with hardware acceleration. For example STALKER on snapdragon 865: https://youtu.be/UMrKEE4FYhU POSTAL 2 on snapdragon 632: https://youtu.be/aNP4yWuTHCk Worms 4 on snapdragon 845: https://www.youtube.com/watch?v=yAID4vSzTNw FurMark on snapdragon 845: https://www.youtube.com/watch?v=eWTfZtRpCgY But many games work with artifacts, but it seems like developer virgl (https://github.com/mittorn/virglrenderer-android) will fix all artifacts and will improve performance. And in games GPU is loaded by only 5-10%, even in fullhd resolution. GPU is loaded 100% only in FurMark. Apparently cpu is a bottleneck

Virgl gives a lot of overhead, that's why

We cant forget to pojav launcher team attempt (artdeell is included)... They port Gl-streaming to android... (Originally gl streaming is created for transmitting open gl es command from a linux pc without a gpu e.g parallella to a raspberry pi)

SevenIsNotNumber commented 3 years ago

It have some success but as they said gl-streaming with gl4ez didn't work

artdeell commented 3 years ago

I like how this went from Hangover on Android to gl-streamimg

пн, 15 мар. 2021 г., 10:44 SevenIsNotNumber @.***>:

It have some success but as they said gl-streaming with gl4ez didn't work

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AndreRH/hangover/issues/113#issuecomment-799193054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6SASTOOIMGWV5TCVVVMRTTDW3EPANCNFSM4YMVDPJQ .

SevenIsNotNumber commented 3 years ago

I like how this went from Hangover on Android to gl-streamimg пн, 15 мар. 2021 г., 10:44 SevenIsNotNumber @.***>: … It have some success but as they said gl-streaming with gl4ez didn't work — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#113 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6SASTOOIMGWV5TCVVVMRTTDW3EPANCNFSM4YMVDPJQ .

Actually it is one topic. Making pc games on android as fast as possible

Heasterian commented 2 years ago

At this stage, you can run in armhf proot or chroot i386 version of Wine using box86 (but you can expect some additional issues in proot ie. with lack of udev). With some Adreno GPU's you can even get GPU acceleration using Turnip with KGSL support and Zink, but wined3d have some issues with dynarec on phones so for now you need box86 compiled without dynarec to run DirectX games. Box86 can be build as binary for Android, but it lacks some wrapping of libs that are required by Wine apk, so we need to wait for using moded i386 apk on arm phones. If fork of Wine without libhardware dependency is possible, it would probably can speed up port as it's one of that unwrapped libs. @AndreRH Could fork like this work or libhardware is required by Wine apk on Android?

marcussacana commented 2 years ago

I think the most part of arm devices are used in smartphones, then the hangover stopping the support to Android make this project lost a part of his bright. But gladly the AndreRH still open to return to Android one day.

xDoge26 commented 1 year ago

i tried fex-emu and it work great , its pretty good but hard to install ,