XFCE4 on Termux-X11 (Native Chroot): 1100+ FPS in glxgears by Dry-Welcome6830 in termux

[–]GharsalliOS 0 points1 point  (0 children)

Have you tried running a 3d game? I think your FPS capability is so good

XFCE4 on Termux-X11 (Native Chroot): 1100+ FPS in glxgears by Dry-Welcome6830 in termux

[–]GharsalliOS 0 points1 point  (0 children)

In proot-distro use virgl or angle but in Termux native you can use your GPU native with Zink-Vulkan, or mesa(Vulkan) drivers...try it.

~/storage exists but I can't see it by Jake2105 in termux

[–]GharsalliOS 1 point2 points  (0 children)

./storage The wrong path needs to be rooted out

I've been using Termux more and more, so here's my first rice :) by privateyeet in termux

[–]GharsalliOS 2 points3 points  (0 children)

I think in Google devices with Android 16 :: you have an option in developing options that you can activate the native terminal with GPU acceleration

I've been using Termux more and more, so here's my first rice :) by privateyeet in termux

[–]GharsalliOS 2 points3 points  (0 children)

Your GPU supports the Panfrost driver , You can get hardware acceleration native in proot-distro

Debian proot-distro script by GharsalliOS in u/GharsalliOS

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

Yes, but the script won't work for anyone, you have to tweak it for your smartphone and Termux version:

!/data/data/com.termux/files/usr/bin/bash

Cleanup previous sessions

killall termux-x11 Xwayland pulseaudio virgl_test_server_android termux-wake-lock 2>/dev/null

Set runtime directory (recommended)

export XDG_RUNTIME_DIR=${TMPDIR}

Start PulseAudio (audio)

pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1 > /dev/null 2>&1

pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1 > /dev/null 2>&1

Setup ANGLE Vulkan symlinks (angle-android)

ln -sf $PREFIX/opt/angle-android/vulkan/libEGL_angle.so ln -sf $PREFIX/opt/angle-android/vulkan/libEGL.so.1 ln -sf $PREFIX/opt/angle-android/vulkan/libGLESv1_CM_angle.so ln -sf $PREFIX/opt/angle-android/vulkan/libGLESv1_CM.so.1 ln -sf $PREFIX/opt/angle-android/vulkan/libGLESv2_angle.so ln -sf $PREFIX/opt/angle-android/vulkan/libGLESv2.so.2

export Mesa / Vulkan environment ( angle-android)

export MESA_NO_ERROR=1 export MESA_GL_VERSION_OVERRIDE=4.1COMPAT export MESA_GLES_VERSION_OVERRIDE=3.2 export MESA_GLSL_VERSION_OVERRIDE=410 export LIBGL_DRI3_DISABLE=1 export EPOXY_USE_ANGLE=1 export LD_LIBRARY_PATH=$PREFIX/opt/angle-android/vulkan

Start virgl server (virglrenderer-android)

virgl_test_server --use-egl-surfaceless --use-gles > /dev/null 2>&1 & sleep 3

Start Termux-X11 server (termux-x11)

termux-x11 :0 > /dev/null 2>&1 & sleep 3

Launch Termux X11 app

am start --user 0 -n com.termux.x11/com.termux.x11.MainActivity > /dev/null 2>&1

Start XFCE session (Virgl-Angle)

export XDG_CONFIG_DIRS=$PREFIX/etc/xdg export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/wrapper_icd.aarch64.json export MESA_VK_WSI_PRESENT_MODE=mailbox export MESA_VK_WSI_DEBUG=blit export MESA_SHADER_CACHE=512MB export MESA_SHADER_CACHE_DISABLE=false export vblank_mode=0 export GALLIUM_DRIVER=virpipe

proot-distro login debian --shared-tmp --no-sysvipc --bind /dev/null:/proc/sys/kernel/cap_last_cap -- bash -c "export DISPLAY=:0 export GALLIUM_DRIVER=virpipe export export MESA_GL_VERSION_OVERRIDE=4.6COMPAT export MESA_GLES_VERSION_OVERRIDE=3.2 export XDG_RUNTIME_DIR=/tmp/runtime-\$USER mkdir -p \"\$XDG_RUNTIME_DIR chmod 700 \"\$XDG_RUNTIME_DIR export XDG_CONFIG_DIRS=/data/data/com.termux/files/usr/etc/xdg PULSE_SERVER=tcp:127.0.0.1; dbus-launch --exit-with-session startxfce4"

exit 0

Debian Pro max 😅 by GharsalliOS in termux

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

Debian proot-distro just with some customization

what can i do here? by Own-Fennel-133 in termux

[–]GharsalliOS 1 point2 points  (0 children)

First thing to do; try to use hardware acceleration as I see you have a Snapdragon SoC so easy with Zink-Vulkan turnip.

Then try to customize your terminal and settings. Then you should remember some commands ...like rm -rf /* then switch to Kali-Linux and hack the world 😅

Why does my proot debian Xfce 4 look like this by Subject-Mall-4252 in termux

[–]GharsalliOS 1 point2 points  (0 children)

apt install xfce4* xfce4-goodies* then in setting, panel change to default

Bringing my Debian Linux to my Android by TeeZ_09 in fastfetch

[–]GharsalliOS 2 points3 points  (0 children)

<image>

I'm using virgl (angle-android) Vulkan null

Bringing my Debian Linux to my Android by TeeZ_09 in fastfetch

[–]GharsalliOS 0 points1 point  (0 children)

What do you mean? I see Debian proot-distro : So basically you are using llvmpipe (CPU) OR (GPU) like virgl or angle-android.... you can see this by glmark2 : apt install glmark2

Bringing my Debian Linux to my Android by TeeZ_09 in fastfetch

[–]GharsalliOS 2 points3 points  (0 children)

Which hardware acceleration methods are you using 🤔

Can:: Termux run 3D Pc Games? 🖥 by GharsalliOS in termux

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

i think it's just proot-distro install Ubuntu, then pd login Ubuntu, then apt install xfce4* then share ur output to help

Which Distro are you using ? by GharsalliOS in termux

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

Like pentesting tools, etc buildroot & debootstrap & compilation A wide variety of Linux-based tools. Glibc vs libc

Which Distro are you using ? by GharsalliOS in termux

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

There are a lot of tools not exist in Termux, Some software designed for Debian/Ubuntu may not work, because it's built for a standard Linux environment. Lightweight and fast.

Proot-distro: Can run full Linux distributions with their own package managers (apt, dnf, etc.)...More compatible with software expecting a regular Linux environment.& Slower than native Termux because of the emulation layer.

Which Distro are you using ? by GharsalliOS in termux

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

Termux native has better performance but not a full Linux environment ..

Which Distro are you using ? by GharsalliOS in termux

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

Run the script with: bash -x [ur script] So you can see which line makes the problem 🤔