-
Notifications
You must be signed in to change notification settings - Fork 177
[F-Req] <Integrate libadrenotools to support custom Vulkan drivers for standard Vulkan applications> #224
Description
Is this request related to a bug?
English:
This request is not a bug, but a feature request related to Vulkan driver loading.
On older Snapdragon devices (e.g., 865/870), the stock Vulkan driver only supports 1.1, while the open-source Turnip driver can provide up to 1.4.
However, Android's system Vulkan Loader only reads ICD files from system directories and does not read environment variables like VK_ICD_FILENAMES set by the application.
Without root, regular apps cannot write to system directories. As a result, standard Vulkan applications (VulkanMod, future official Minecraft Vulkan version) cannot load Turnip, even though Turnip already works with Zink in the launcher.
This issue affects all users with older Snapdragon devices who want to continue playing after the Vulkan migration.
中文:
此请求不是错误报告,而是与 Vulkan 驱动加载相关的功能建议。
在老款骁龙设备(如 865/870)上,原厂 Vulkan 驱动仅支持 1.1,而开源 Turnip 驱动可提供 1.4 支持。
然而,Android 的系统 Vulkan Loader 仅从系统目录读取 ICD 文件,不会读取应用设置的环境变量(如 VK_ICD_FILENAMES)。
普通应用无 root 权限无法写入系统目录,导致标准 Vulkan 应用(VulkanMod、未来官方 Minecraft Vulkan 版)无法加载 Turnip 驱动,尽管该驱动已在启动器的 Zink 下正常工作。
此问题影响所有希望在 Vulkan 迁移后继续使用老款骁龙设备的用户。
Describe the request.
English:
I would like to request integration of libadrenotools into the launcher.
libadrenotools is a Vulkan hooking library designed for Adreno GPUs. It has been successfully used in emulators like Eden and Yuzu to load custom Vulkan drivers (including Turnip) without root.
By adding support for libadrenotools, the launcher would allow standard Vulkan applications (VulkanMod, future official Minecraft Vulkan version) to load Turnip, giving users on older Snapdragon devices a way to continue playing after the Vulkan migration.
This could be implemented as an optional feature (e.g., a toggle in settings) for non-root users.
中文:
我希望在启动器中集成 libadrenotools。
libadrenotools 是一个专为 Adreno GPU 设计的 Vulkan 劫持库,已在 Eden、Yuzu 等模拟器中成功实现无 root 加载自定义 Vulkan 驱动(包括 Turnip)。
通过集成 libadrenotools,启动器可以让标准 Vulkan 应用(VulkanMod、未来官方 Minecraft Vulkan 版)加载 Turnip,为老款骁龙设备用户在 Vulkan 迁移后提供继续游玩的途径。
这可以作为非 root 用户的可选功能(例如设置中的一个开关)来实现。
Anything else?
English:
· Reference links:
· libadrenotools: https://github.com/bylaws/libadrenotools
· Example integration in Eden emulator: https://github.com/Eden-Switch/Eden/commit/9054a073f79d8271bc048822c4717e78b5b23669
· Community exploration: Users have already experimented with integrating libadrenotools into FCL (a downstream launcher) and left documentation. While not fully successful, it shows the feasibility and provides a starting point.
· Apology: My English is not very good, so I used machine translation. If there is any ambiguity, please refer to the Chinese version above.
中文:
· 参考链接:
· libadrenotools: https://github.com/bylaws/libadrenotools
· Eden 模拟器集成示例: https://github.com/Eden-Switch/Eden/commit/9054a073f79d8271bc048822c4717e78b5b23669
· 社区探索:已有用户尝试将 libadrenotools 集成到下游启动器 FCL 中,并留下了文档。虽然未完全成功,但证明了可行性并提供了起点。
· 致歉:我的英语水平不太好,因此使用了机器翻译。如有歧义,请以上方中文版本为准。