You can run the full desktop with hardware acceleration (modifying the startxfce script) but then if a program fails with hardware acceleration you need to modify how to launch it, I found better running programs individually
I got the startxfce4 running with hardware acceleration, but only virgl works on my Qualcomm Adreno 730, 900 MHz, it runs glmark2 with virgl but if I look at the GL_VERSION it says 2.1 mesa 24.0.4, so even though my mesa is the latest but my driver supports only openGL version 2.1 and you can't run a new version of blender unless you have openGL version 4.3 on blender 4 and blender 3.6 which is installed on my device needs at least openGL 3.3, how do I update the GPU driver?
I'm on a Galaxy S7 with Adreno 650. Only Virgl seems to work. Anything with Zink always comes up with failed at the end of the error. Turnip gives out a "Error: Couldn't get GL visual config!" "Main: Could not initialize canvas". Any idea?
@@LinuxDroidMaster I've been able to test a few games but with no sound. One Application says an other program is using the device. Any idea how to get past this. I've googled some solution that requires update of drivers. Would that be pulseaudio?
Hey man, first thank you for this amazing work, your channel is a gold mine. I have a bit of an off topic question, will chroot linux work fine for flutter development on a snapdragon 8 gen 3? I will only use it when commuting or traveling, mainly for extended battery life
If you are able to install it without dependencies problems then you will be fine. Just remember there is no systemd in Termux (no idea if you will need that for flutter)
I test virgl any hardware with my Mali-G72MP3 gpu,and webglaqua saying my computer doesnt support,but without hardware accelerate it work just fine,any way to fix?
Hardware acceleration is a bit of trial and error. Some programs work without a problem and others are not compatible, You should try to do as much testing as possible.
before login I have to start the graphical server, there is one for zink and one for openGL can I do both and then decide which one to use? or do I have to choose before I login? and do I have to run termux-x11 :0 & befor running the graphical server, or is it replacing it?
Hey man... im still confused about what hardware acceleration is... but i wanna say an explanation and want to know if hardware acceleration would work for this. so, when i run my discord bot in proot or no root its always very slow, (300ms response time) even though i have a really good wifi. can hardware acceleration fix this? like make it faster?
Hardware acceleration is using the GPU to run programs instead of the CPU (for graphical needs). To run a discord bot you don't need it, the ping issue might be related to how termux handles networking but you can try asking in the official reddit
I've seen you say in the comments that you need to edit the startxfce file to have hardware accelerating fully without running commands for each individual softwares. If so, do you know how to modify the startxfce script file?
How do I run the full desktop with hatdware acceleration? And if I run ububtu as my distro, how do i run ubuntu desktop fully on hardware acceleration? I have problems running each program indeviduly, like blender, i can't run it in terminal because i get error: can't find shared ... but if i double click the file in user/bin it runs, i don't want to have to run each app in terminal
I will do a video about it, a lot of people is asking for it hahaha btw it just using the same command to run a command but to run startxfce4 in the startxfce4 script
Hi! I think you need to play with the different options to run the apps with hardware acceleration and try to check if you can force webgl on chromium (in firefox it is easier and I explain how to do it here: ruclips.net/video/OiLXkvFoUJQ/видео.htmlsi=n2R6rU9523chA6k1
@@LinuxDroidMaster i tried everything out, seems like it's working but 2 packages are still not installing for some reason namely mesa-zink and virglrenderer-mesa-zink
@@LinuxDroidMasterFat chance, with how much spaghetti code there is, Steam's UI has zero chance of ever working under Android & PRoot with Box64. Trust me, I already tried, and reached a Segfault barrier. I spent hours upon hours trying. Don't repeat my mistake.
@@LukiRudaka It is mees easier to run steam with mobox (I got it once with the x64 version but I have been told that the 32bits version that you can choose when installing mobox can run steam better)
Hey, thanks for the tutorial! I tried it on my Galaxy Tab S9 Ultra and got a glmark2 score of 460!
Nice!!
I use arch, how do i install the turnip driver?
is this possible when using x11 it just use auto hardware acceleration? like browsing internet and everything?
You can run the full desktop with hardware acceleration (modifying the startxfce script) but then if a program fails with hardware acceleration you need to modify how to launch it, I found better running programs individually
I tried to use MESA_LOADER_DRIVER_OVERRIDE=zink TU_DEBUG=noconform glmark2
after install the drivers, but it uses LLVM anyway
I got the startxfce4 running with hardware acceleration, but only virgl works on my Qualcomm Adreno 730, 900 MHz, it runs glmark2 with virgl but if I look at the GL_VERSION it says 2.1 mesa 24.0.4, so even though my mesa is the latest but my driver supports only openGL version 2.1 and you can't run a new version of blender unless you have openGL version 4.3 on blender 4 and blender 3.6 which is installed on my device needs at least openGL 3.3, how do I update the GPU driver?
This is out of my knowledge but I think you can compile your own mesa drivers on proot. There is some info on reddit about it but never tried myself
@@LinuxDroidMaster please make a video on installing and running blender with hardware acceleration
So everytime i want to run a program i need to write that code with the filename? Do you have a tutorial to make a shortcut to that
Yes, you can add an alias to make it easier: www.tecmint.com/create-alias-in-linux/
I have problem on kali linux termux x11 pulse audio not working but if i use RVNC viewer pulss ahdio working
probably there is some error with the pulseaudio server when you launch it but it should be possible to make it work
@@LinuxDroidMaster how If i use RVNC Viewer Pulse audio detected but if use Launcher To Run Kalilinux x11 Pulse audio is notdetevted
I'm on a Galaxy S7 with Adreno 650. Only Virgl seems to work. Anything with Zink always comes up with failed at the end of the error. Turnip gives out a "Error: Couldn't get GL visual config!" "Main: Could not initialize canvas". Any idea?
That device is a bit old, I took a look online and it seems that the S7 has an Adreno 530 could it be that?
I think he meant Tab s7, the one with sd 865 and Adreno 650
makes sense hahaha then it's weird he can't use turnip or zink
@@LinuxDroidMaster I've been able to test a few games but with no sound. One Application says an other program is using the device. Any idea how to get past this. I've googled some solution that requires update of drivers. Would that be pulseaudio?
Hey man, first thank you for this amazing work, your channel is a gold mine.
I have a bit of an off topic question, will chroot linux work fine for flutter development on a snapdragon 8 gen 3? I will only use it when commuting or traveling, mainly for extended battery life
If you are able to install it without dependencies problems then you will be fine. Just remember there is no systemd in Termux (no idea if you will need that for flutter)
Um hey ,how about try with local ai models? , I am trying so hard about the running ollama in termux with a GPU but its always run on CPU
I haven't tried AI models on Termux but it is something I would like to investigate
Can Debian be installed with the Gnome graphical interface and with hardware acceleration?
I think so, not sure if some programs may fail but you can modify the start.... script and run it with hardware acceleration
I test virgl any hardware with my Mali-G72MP3 gpu,and webglaqua saying my computer doesnt support,but without hardware accelerate it work just fine,any way to fix?
Hardware acceleration is a bit of trial and error. Some programs work without a problem and others are not compatible, You should try to do as much testing as possible.
before login I have to start the graphical server, there is one for zink and one for openGL can I do both and then decide which one to use? or do I have to choose before I login? and do I have to run termux-x11 :0 & befor running the graphical server, or is it replacing it?
I haven't tried it but you can do the test and see if both works at the same time
Please make a video to show us how to make the whole distro graphic accelerated
Will do
Hey man... im still confused about what hardware acceleration is... but i wanna say an explanation and want to know if hardware acceleration would work for this. so, when i run my discord bot in proot or no root its always very slow, (300ms response time) even though i have a really good wifi. can hardware acceleration fix this? like make it faster?
Hardware acceleration is using the GPU to run programs instead of the CPU (for graphical needs). To run a discord bot you don't need it, the ping issue might be related to how termux handles networking but you can try asking in the official reddit
When run pkg install I got "E: Unable to locate package mesa-zink
E: Unable to locate package virglrenderer-mesa-zink" any way to fix?
Update :fix by 'pkg install tur-repo"
nice!
I've seen you say in the comments that you need to edit the startxfce file to have hardware accelerating fully without running commands for each individual softwares. If so, do you know how to modify the startxfce script file?
you can just edit it like a normal file with "nano filename" and set the command to run a program with hardware acceleration before "startxfce4"
Are those drivers compatible with exynos because i tried virgl and zink no one of them worked
Most of the hardware acceleration stuff is made for Adreno only :(
How do I run the full desktop with hatdware acceleration? And if I run ububtu as my distro, how do i run ubuntu desktop fully on hardware acceleration? I have problems running each program indeviduly, like blender, i can't run it in terminal because i get error: can't find shared ... but if i double click the file in user/bin it runs, i don't want to have to run each app in terminal
I will do a video about it, a lot of people is asking for it hahaha btw it just using the same command to run a command but to run startxfce4 in the startxfce4 script
@@LinuxDroidMaster the script contains a set of commands, which one? Xfce4-session?
@@danielkotzer636 In the last line at the end of everything (there is only one line where it says "startxfce4" )
@@LinuxDroidMasterwhere's the video mate😅? My phone's gpu currently having unemployment issues
Can you help with running Chrome with webGPU enabled?
Hi! I think you need to play with the different options to run the apps with hardware acceleration and try to check if you can force webgl on chromium (in firefox it is easier and I explain how to do it here: ruclips.net/video/OiLXkvFoUJQ/видео.htmlsi=n2R6rU9523chA6k1
Termux says to me virgl and zink is not available to download
Help please
When you try to install this packages? github.com/LinuxDroidMaster/Termux-Desktops/blob/main/Documentation/HardwareAcceleration.md
@@LinuxDroidMaster i tried everything out, seems like it's working but 2 packages are still not installing for some reason namely mesa-zink and virglrenderer-mesa-zink
@@a98k could it be that your device has a Mali GPU instead of Adreno?
@@LinuxDroidMaster yeahh i think that's it
Theoretically would you be able to play steam games using this?
Theoretically yes, the problem is that most of the games are for x64 architecture so you need something like Wine or box64 to translate it to ARM
@@LinuxDroidMasterFat chance, with how much spaghetti code there is, Steam's UI has zero chance of ever working under Android & PRoot with Box64. Trust me, I already tried, and reached a Segfault barrier. I spent hours upon hours trying. Don't repeat my mistake.
@@LukiRudaka It is mees easier to run steam with mobox (I got it once with the x64 version but I have been told that the 32bits version that you can choose when installing mobox can run steam better)
I cant install turnip driver. It says are you rooted? How to fix this
Check if you are running the command in Termux native and not inside proot
@@LinuxDroidMaster I try many times but it always say No superuser binary detected. Are you rooted?
@@concuw You can't install this on Termux native which proot distro are you using?
Work for mali gpu?
For Mali GPUs you only can use VirGL
@@LinuxDroidMaster thx
Would this work on blender 3d
I think there is a problem with blender and it can be glitchy