SteamOS-Waydroid-Installer icon indicating copy to clipboard operation
SteamOS-Waydroid-Installer copied to clipboard

Include libhoudini_bluestacks

Open mrvictory1 opened this issue 11 months ago • 12 comments

Bluestacks bundles "libnb.so" library that reduces performance hit when using houdini on AMD CPU and Steam Deck. The files are available here. This build of houdini could be used on Steam Deck for games & apps that are not compatible with libndk.

I don't own a Steam Deck but have a Ryzen 5 7600 which doesn't show any performance problems with houdini build. One user noted low performance on this houdini build on Steam Deck in this reddit thread, however another user with a stronger desktop CPU (a Ryzen 5 5600) had no performance problems. Both CPUs have higher single core performance compared to Steam Deck. So, if you could benchmark the performance of this houdini build versus libndk, users can make a more informed decision. FYI, I observed no performance difference in benchmark apps like 3DMark and Passmark when comparing libndk with stock libhoudini, whatever performance degredation appears to not affect benchmark apps but games only.

There is also a seperate branch for Blue Archive. The branch contains a modified /system/lib64/libhoudini.so, other files are the same. The patcher script for Blue Archive is not compatible with this houdini build.

Thank you for your interest.

mrvictory1 avatar Feb 03 '25 10:02 mrvictory1

Which Android version is this for - Android 11 / Android 13?

ryanrudolfoba avatar Feb 03 '25 12:02 ryanrudolfoba

Build is for Android 11 but may work on 13 too, I tested 11 only

mrvictory1 avatar Feb 03 '25 12:02 mrvictory1

Build is for Android 11 but may work on 13 too, I tested 11 only

Thanks I'll give it a shot.

ryanrudolfoba avatar Feb 03 '25 14:02 ryanrudolfoba

I tried ex astris branch and project sekai colorful stage worked only this branch also blue archive looks fine

Image

https://files.catbox.moe/rca97f.mp4

YuryenUcahh avatar Feb 06 '25 19:02 YuryenUcahh

@mrvictory1 - i'm getting error on Android 13 using the libhoudini bluestacks -

Image

I'm testing Fruit Ninja game which is ARM only -

Image

Could be due to wrong houdini version? ~I dont use bluestacks so if anyone can extract / upload the libhoudini for A13 bluestacks please.~ Bluestacks only has A11.

ryanrudolfoba avatar Feb 07 '25 15:02 ryanrudolfoba

There is a build for A13 compatible with AMD here but it's extremely unstable, any ARM64 app I tried except AIDA64 crashed. Libhoudini 13 pulled out from Chromebook images won't boot on AMD. The error you got means ~~I must write a proper installer for the houdini builds~~ Android cannot find houdini at all. Check if /system/lib/libnb.so is accessible inside Android, you can ls the file with Termux or sudo waydroid shell from host system. Also check if ro.dalvik.vm.native.bridge property is libnb.so. Bluestacks has A7, A9 and A11. Some games boot on only older versions of Android with BlueStacks so having those versions on Waydroid would be nice.

mrvictory1 avatar Feb 07 '25 18:02 mrvictory1

i've tried both the tencent houdini and bluestacks houdini. getting the same error in Fruit Ninja -

Image

libnb.so is in the correct location -

Image

this is my waydroid_base.prop

Image

ryanrudolfoba avatar Feb 08 '25 00:02 ryanrudolfoba

I did some experimentation and here are the results:

  • The reason libhoudini failed to initialize on your end is that libhoudini requires additional setup to load on Android 13. I uploaded a ready to use system/ overlay for use with Android 13 on the a13 branch.
  • On Android 13, 64 bits libnb.so breaks libhoudini. With native bridge set to libnb.so, libhoudini initializes but crashes shortly afterwards. It is possible to use libhoudini without libnb but that means low performance on AMD and Steam Deck will be back. This doesn't affect 32 bit apps. So, in practice, libhoudini_bluestacks doesn't work on Android 13 + Steam Deck. Use Android 11.

mrvictory1 avatar Feb 08 '25 13:02 mrvictory1

i'll revisit this as there is some progress on the A13 image. I've built a new A13 image and libndk works. Will test the custom libhoudini soon.

ryanrudolfoba avatar Apr 08 '25 13:04 ryanrudolfoba

im having this issue and i would like to see a solution for this

sassywoocoo avatar Apr 10 '25 12:04 sassywoocoo

im having this issue and i would like to see a solution for this

My repo doesn't include the libhoudini bluestacks. If you're having issues with it i would suggest to open an issue on its respective repo.

ryanrudolfoba avatar Apr 10 '25 12:04 ryanrudolfoba

My repo doesn't include the libhoudini bluestacks. If you're having issues with it i would suggest to open an issue on its respective repo.

thanks but i am just looking for a working libhoudini on here. no need for specific bluestacks version. (although they are very welcomed)

sassywoocoo avatar Apr 10 '25 12:04 sassywoocoo

Could someone provide installation instructions for the Steam Deck I'm getting a "No more disk space" error when trying to follow the instructions over at https://github.com/mrvictory1/libhoudini_bluestacks/

The game I'm planning to test with is Cytus 2 that is know to not work on Waydroid standard or the libndk patch.

NanoAi avatar May 18 '25 10:05 NanoAi

Download the repository to a folder with enough disk space, delete lib/ and then copy to waydroid's overlay location, this will break 32 bits games but 64 bits (almost any recent game) will keep working

mrvictory1 avatar May 18 '25 10:05 mrvictory1

I discovered android 13 libhoudini and libndk both working on amdcpu and can run blue archive, first one is recently added to waydroid_script "hpe-14 houdini" and second one chrome-os zork r126. I tested both and there is no performance issue on my ryzen 5 5600 cpu but libndk one little bit smoother than hpe-14 houdini, I wish my comment was useful for some peoples

YuryenUcahh avatar May 26 '25 20:05 YuryenUcahh

I discovered android 13 libhoudini and libndk both working on amdcpu and can run blue archive, first one is recently added to waydroid_script "hpe-14 houdini" and second one chrome-os zork r126. I tested both and there is no performance issue on my ryzen 5 5600 cpu but libndk one little bit smoother than hpe-14 houdini, I wish my comment was useful for some peoples

you tried it on androidtv13, too?

slynobody avatar Jun 07 '25 17:06 slynobody

android 13 tv

The latest build from supechicken already includes libndk. afaik you cant have 2 arm translation layer active. Need to uninstall libndk first, then use houdini. I'm not sure how you would remove the integrated LIBNDK as it was not installed in overlay

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: slynobody @.> Sent: Saturday, June 7, 2025 1:38:08 PM To: ryanrudolfoba/SteamOS-Waydroid-Installer @.> Cc: ryanrudolfoba @.>; Comment @.> Subject: Re: [ryanrudolfoba/SteamOS-Waydroid-Installer] Include libhoudini_bluestacks (Issue #244)

[https://avatars.githubusercontent.com/u/55579266?s=20&v=4]slynobody left a comment (ryanrudolfoba/SteamOS-Waydroid-Installer#244)https://github.com/ryanrudolfoba/SteamOS-Waydroid-Installer/issues/244#issuecomment-2952791830

I discovered android 13 libhoudini and libndk both working on amdcpu and can run blue archive, first one is recently added to waydroid_scripthttps://github.com/casualsnek/waydroid_script "hpe-14https://github.com/supremegamers/vendor_intel_proprietary_houdini/tree/hpe-14 houdini" and second one chrome-os zork r126https://github.com/ilhan-athn7/android_proprietary_native_bridge/releases. I tested both and there is no performance issue on my ryzen 5 5600 cpu but libndk one little bit smoother than hpe-14 houdini, I wish my comment was useful for some peoples

you tried it on androidtv13, too?

— Reply to this email directly, view it on GitHubhttps://github.com/ryanrudolfoba/SteamOS-Waydroid-Installer/issues/244#issuecomment-2952791830, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXMTWII3QPATRDB525TAUFL3CMPQBAVCNFSM6AAAAABWLYB7SOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNJSG44TCOBTGA. You are receiving this because you commented.Message ID: @.***>

ryanrudolfoba avatar Jun 08 '25 19:06 ryanrudolfoba

If libndk is built in and libhoudini is in overlay, libhoudini's /system/lib(64)/arm(64) would override that of libndk, breaking built in libndk. However libhoudini would be usable with prop entries pointing to libhoudini. Removing libhoudini from overlay and setting prop entries to use libndk would allow libndk to be used.

mrvictory1 avatar Jun 09 '25 04:06 mrvictory1

i'm afraid I wont be adding this to the waydroid installer script. for one - this doesnt work on A13 only A11. with the recent development in the A13 especially the translation layer is good Blue Archive works. even the patcher is not needed anymore. the only thing left holding me back to A11 is mantis gamepad pro works on A11 and not on A13 but i may have a solution for that so really no point in me staying in A11.

i'll close this but feel free to continue with the discussion as needed.

ryanrudolfoba avatar Jun 12 '25 16:06 ryanrudolfoba

chrome-os zork r126.

waydroid script 2 weeks ago ndk version updated to r136, so there is no more need r126 🥴

YuryenUcahh avatar Jun 12 '25 22:06 YuryenUcahh