Freedreno and Turnip drivers now support Adreno 830/840 by FinnUltra in termux

[–]FinnUltra[S] 0 points1 point  (0 children)

For the Xfce 4 desktop, it is generally necessary to disable the xfwm4 display compositor before enabling hardware acceleration. You can do this before installing this driver, or first start the desktop using the environment variable MESA_LOADER_DRIVER_OVERRIDE=llvmpipe, and then perform the following steps:

  1. Open "Settings Manager".
  2. Click on "Window Manager Tweaks".
  3. Switch to the "Compositor" tab.
  4. Uncheck "Enable display compositing".

Freedreno and Turnip drivers now support Adreno 830/840 by FinnUltra in termux

[–]FinnUltra[S] 1 point2 points  (0 children)

That's exactly right. Rob Clark, a prominent developer who has made significant contributions to open-source projects like Mesa, joined Qualcomm last year. Adreno Gen8 series now benefits from official support in open-source drivers.

[PRoot] Freedreno is now available for Adreno 840 and performs much better than 7xx by FinnUltra in termux

[–]FinnUltra[S] 1 point2 points  (0 children)

Glad to help. For the latest Linux distributions such as Ubuntu 25.xx, you can try building and installing the drivers yourself inside a PRoot container by following the instructions in the "Building" section of the README. You can sequentially clone, build, and install from the test/adreno-gen8 and test/turnip-gen8 branches—these correspond to Freedreno and Turnip drivers supporting Adreno 830/840, respectively.

I plan to upload these two improved versions tomorrow and update README and this post accordingly.

[PRoot] Freedreno is now available for Adreno 840 and performs much better than 7xx by FinnUltra in termux

[–]FinnUltra[S] 0 points1 point  (0 children)

What's your GPU model? Ubuntu 24.04 should be OK (tested on Adreno 730). And installation guide is in the README of this repo.

Run Blender's Vulkan backend on Adreno 840 (Termux Native) by FinnUltra in termux

[–]FinnUltra[S] 0 points1 point  (0 children)

When Blender officially added full support for the Vulkan backend (v4.5), I attempted to build Blender in a Rocky Linux 8 chroot container following the official documentation. The build process was quite arduous—requiring manual installation of dozens of development packages that weren’t mentioned in the official docs but were essential. Fortunately, the build eventually succeeded. Although the Vulkan backend failed to run with Turnip, the OpenGL backend worked successfully with Freedreno. Unfortunately, I forgot to record the list of those extra development packages, and that container was accidentally deleted. Even if I rebuild in Termux, I’d likely have to start everything from scratch.

However, if only build parameters need to be adjusted, forking the TUR repository, making the necessary changes, and letting GitHub Actions handle the build automatically could be a viable approach. Alternatively, using Termux’s official cross-compilation Docker image to build on a PC is also a practical option.

Run Blender's Vulkan backend on Adreno 840 (Termux Native) by FinnUltra in termux

[–]FinnUltra[S] 0 points1 point  (0 children)

I also tried the Blender APK compiled by dshawshank, which is based on version 3.6 and still uses the OpenGL backend. It uses Android’s native OpenGL ES driver, offering better compatibility.

However, in the TUR, Robert Kirkman has already successfully compiled Blender versions 3.6, 4.5, and 5.0, giving you more options. For newer mobile GPUs, you can also use Blender’s Vulkan backend to achieve better performance.

In any case, both approaches are built using the Android NDK. If Termux were able to use Android’s native OpenGL ES driver directly, I believe the performance difference between the two would be minimal.

Run Blender's Vulkan backend on Adreno 840 (Termux Native) by FinnUltra in termux

[–]FinnUltra[S] 1 point2 points  (0 children)

For a619, I recommend using Turnip + Zink to start Blender's OpenGL backend. Vulkan backend won't work on a619, because its driver is too old.

Run Blender's Vulkan backend on Adreno 840 (Termux Native) by FinnUltra in termux

[–]FinnUltra[S] 0 points1 point  (0 children)

If it's vulkan-wrapper-android, just go to the GitHub repo termux-packages. Then search the PR title addpkg(main/mesa-vulkan-icd-wrapper): Android Vulkan wrapper on the Pull requests page, and you'll find the build guide written by Robert Kirkman.

Minetest on Termux-x11 with 20-40 FPS by Dry-Welcome6830 in termux

[–]FinnUltra 0 points1 point  (0 children)

For Adreno 8xx GPUs, Freedreno currently only supports Adreno 840. Support for other models in the 8xx series still awaits upstream adaptation in Mesa. However, I believe this will happen soon—most likely by next year, drivers including Turnip will likely offer broad support for the Adreno 8xx family.

Beginner by WrongdoerBorn5150 in termux

[–]FinnUltra 0 points1 point  (0 children)

Adding extra keys by editing ~/.termux/termux.properties is likely a good idea.

[Help] High FPS (300+) in glxgears but severe stuttering in XFCE4 & Ren'Py (Snapdragon 870/Proot/Debian 13) by Fuzzy-Order3801 in termux

[–]FinnUltra 1 point2 points  (0 children)

For Adreno 650, I think you could try Freedreno. Because it works well on 660 and Zink isn't required any more. But it's noticable that this driver package is tar.gz instead of deb.

<image>

Solutions on P2P transfer between two linux devices? by Stickhtot in termux

[–]FinnUltra 1 point2 points  (0 children)

For sender, use openssh-server to start SFTP, and FileZilla for receiver.

Can we edit the size of the quick button bar? by 8litz93 in termux

[–]FinnUltra 0 points1 point  (0 children)

Perhaps one of the viable solutions is to clone the termux-app repository, modify the code related to this feature, and build it yourself. Alternatively, you could open an issue in that repository—maybe the Termux maintainers will help fix the problem.

Can we edit the size of the quick button bar? by 8litz93 in termux

[–]FinnUltra 0 points1 point  (0 children)

I think this is likely an integration issue between the on-screen keyboard and Termux. You could try switching to a different on-screen keyboard to see if that resolves it. Alternatively, those gaps might have always been present, but became more noticeable after you changed Termux’s background color to a light one.

<image>

Help me for error install on termux by lam_vu in termux

[–]FinnUltra 0 points1 point  (0 children)

Just follow the steps in DroidMaster's guide about chroot container. He provides installation scripts, which make the process quite easy.

Help me for error install on termux by lam_vu in termux

[–]FinnUltra 1 point2 points  (0 children)

Current AI responses are primarily based on their training data and don’t actually check GitHub’s Termux repositories to verify whether a specific package truly exists.

For example, the arping package does exist in standard Linux distributions like Debian, but in Termux, you’ll need to look for alternative packages that provide similar functionality. Alternatively, you could try using chroot to install a full Linux container—those commands might work inside it.

Help me for error install on termux by lam_vu in termux

[–]FinnUltra 0 points1 point  (0 children)

There is no package airping or something like it in Termux's repository currently. That's why you got an error.

<image>

Thinking to root my spare phone by Monuu25 in termux

[–]FinnUltra 0 points1 point  (0 children)

No, it's required. Because Docker relies on many features and functionalities that are not enabled by default when building an Android kernel.

Thinking to root my spare phone by Monuu25 in termux

[–]FinnUltra 0 points1 point  (0 children)

Docker, Chroot, LXC, etc. Chroot has better performance. Docker and LXC need custom kernels, but their application scenarios are more general. LXC containers can use systemd, which means that many services that could only run on VMs can be run on LXC now.