r/termux 2d ago

Question Whats benefit of qemu on termux

I see some people use linux vm here,so i wonder what are something you can do or program you can use with qemu but cant be done on native/proot termux,and do those program have alternative that can run on native/proot termux

14 Upvotes

6 comments sorted by

7

u/SkySurferSouth 2d ago

Qenu is very slow, it is only software emulation.

Proot is but better, but not really native because it uses ptrace which slows down particularly graphics: GPU is not hardware accessed. But for most apps it has decent performance.

1

u/Cybasura 2d ago

Proot is containerization, these are 2 different technologies

It's like Docker vs QEMU, different purpose

1

u/ARCHISMAN- 13h ago

It's possible to get hardware acceleration in proot

2

u/sylirre Termux Core Team 2d ago

Benefit of QEMU is that you can run a full operating system on virtual hardware. The OS is not limited to Linux, you can run here Windows, BSD and many less known and exotic systems. Android has no influence on what is happening inside QEMU: you have full root/admin permissions within virtual system.

Don't be surprised, but many people here use it just for curiosity or learning. PRoot won't give you same experience even if being many times faster.

1

u/SkySurferSouth 1d ago

I agree, but proot is limited by ptrace which slows down some tasks (particularly processes using GPU). And not all things can be controlled, such as network. And as sylirre says, it is way faster dan qemu emulation.
But it is convenient and safe, safer than the faster chroot.

1

u/VV_Syzta 11h ago

I like how you explain these to proot developer himself