Coder Social home page Coder Social logo

Comments (19)

abhikatta avatar abhikatta commented on May 18, 2024 2

Yes!!!! 🔥🔥🔥

from ubuntu-on-android.

Heasterian avatar Heasterian commented on May 18, 2024 2

If you have Adreno GPU with KGSL support you don't need GL4ES, you can use Turnip driver with Zink to have hardware acceleration and support of OpenGL 3.0.

from ubuntu-on-android.

Heasterian avatar Heasterian commented on May 18, 2024 1

If you have phone with Adreno GPU supporting KGSL, you can get GPU acceleration by compiling mesa with those two patches I mentioned. Stablest working version (with a bit more changes as It's older) you can find in git of Grima04 https://github.com/Grima04/mesa-turnip-kgsl Instalation guide is in README. You can find mainline Mesa patched in my git https://github.com/Heasterian/mesa/

You need to export or add to bash.rc GALLIUM_DRIVER=zink and if it will try to use lavapipe instead of Turnip, set VK_ICD_FILES to idc of freedreno/turnip (I think it's stored in /usr/local/share/vulkan/icd.d/ directory by default).

from ubuntu-on-android.

Heasterian avatar Heasterian commented on May 18, 2024

To compile it in proot, you need to add #define __user at the beginning of src/freedreno/vulkan/tu_kgsl.c

Also patch from the end of this issue increases compatibility https://gitlab.freedesktop.org/mesa/mesa/-/issues/4907

from ubuntu-on-android.

Ayon-SSP avatar Ayon-SSP commented on May 18, 2024

🔥🔥🔥🔥

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

Ya and also for fellow mali users
check this out https://docs.mesa3d.org/drivers/panfrost.html
https://www.youtube.com/watch?v=aJhV7K80OvQ&t=81s

  • Youtube video on benchmarking Open-GL panforst with glmark2 on termux/proot ubuntu-on-android
    IMAGE ALT TEXT HERE

from ubuntu-on-android.

Heasterian avatar Heasterian commented on May 18, 2024

@SaicharanKandukuri It's benchmark of llvmpipe as you can see in terminal at this moment https://youtu.be/aJhV7K80OvQ?t=44

Afaik, you can't load hardware OpenGL driver, that's why I'm using one for Vulkan that can be loaded in userspace and Zink using it.

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

Before I check zink out and dig into this zink driver
will this work in Mali too cause you mentioned only andreno in your comments

from ubuntu-on-android.

Heasterian avatar Heasterian commented on May 18, 2024

Zink is just using Vulkan driver to render OpenGL. Android allows to load Vulkan driver in userspace that's why it can work in proot/chroot. For Mali you probably need to wait for further developement of Vulkan driver.

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

ya that's why I chose penforst and I don't know much about Zink. By the way can you can you join our discord and share you benchmark score!

from ubuntu-on-android.

TOXIC-KID avatar TOXIC-KID commented on May 18, 2024

Will this work on opengl3.2

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

Nope GL4ES is a open GL 2.1

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4

from ubuntu-on-android.

TOXIC-KID avatar TOXIC-KID commented on May 18, 2024

Nope GL4ES is a open GL 2.1

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4

Is there any way in which I could get some more FPS without rooting (I mean a faster chroot
🙂) Am a noob so 🙂

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

Create another issue for that!

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

Can you share logs @Randomae

from ubuntu-on-android.

TOXIC-KID avatar TOXIC-KID commented on May 18, 2024

Um it just dropped at ton of cannot open:function not implemented

I got a bit of socket ignored error but its working but mine is opengl3.2 so can't test it

from ubuntu-on-android.

TOXIC-KID avatar TOXIC-KID commented on May 18, 2024

The termux scrollback cloudnt store most of it i think

I think if I minize the u could get more

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

Um it just dropped at ton of cannot open:function not implemented

send a screenshot

from ubuntu-on-android.

SaicharanKandukuri avatar SaicharanKandukuri commented on May 18, 2024

also, Join our discord community to stay tuned for the next beta tests and upgrades
https://discord.gg/y432PhPYCS
Support Server

from ubuntu-on-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.