Giter Site home page Giter Site logo

Comments (3)

cheadrian avatar cheadrian commented on June 6, 2024

You can find information here: Hardware Acceleration Resources.

You don't need to compile the mesa by yourself, because there's a Zink compatible mesa package inside tur-repo. If you want to, you can check build instructions from the mesa-zink package.

Or you can run the Addons_Menu.sh and select option 4. Termux: Set-up mesa-zink and compatible virgl server..

from termux-chroot-proot-wine-box86_64.

hansm629 avatar hansm629 commented on June 6, 2024

You can find information here: Hardware Acceleration Resources.

You don't need to compile the mesa by yourself, because there's a Zink compatible mesa package inside tur-repo. If you want to, you can check build instructions from the mesa-zink package.

Or you can run the Addons_Menu.sh and select option 4. Termux: Set-up mesa-zink and compatible virgl server..

meesa-zink and mesa-zink-vulkan-icd-freedreno in tur-repo do not work on the A7xx series. T_T

And if what I know is right
I understand that mesa-zink and mesa-zink-vulkan-icd-freedreno are not packages for proot-distro, but packages for termux, termux-x11.

In addition to virgl, you want to implement GPU acceleration in a proot-distro environment.

From proot-distro Ubuntu, use the meson build option below
I wonder if zink and turnip can be activated.

meson build -D platforms=x11,wayland -D gallium-drivers=swrast,virgl,zink -D vulkan-drivers=freedreno -D dri3=enabled -D egl=enabled -D gles2=enabled -D glvnd=true -D glx=dri -D libunwind=disabled -D osmesa=true -D shared-glapi=enabled -D microsoft-clc=disabled -D valgrind=disabled --prefix /usr -D gles1=disabled -D freedreno-kmds=kgsl -Dbuildtype=release
ninja -C build install

"-D gallium-drivers=swrast,virgl,zink"
"-D vulkan-drivers=freedreno"
"-D freedreno-kmds=kgsl"

Should I add an option?

from termux-chroot-proot-wine-box86_64.

cheadrian avatar cheadrian commented on June 6, 2024

I can't provide more assistance for this subject, as that isn't the purpose of this repo.

You can ask for help on the Termux subreddit. A search for Zink or Turnip on that sub should give you insights that you need. Also, check the links at the bottom of the mentioned file.

I understand that mesa-zink and mesa-zink-vulkan-icd-freedreno are not packages for proot-distro, but packages for termux, termux-x11.
This is how it should be, as you can't access the GPU directly from proot. To have GPU support inside proot, you should use a proxy like VirGL or the Virtio-GPU Venus.

from termux-chroot-proot-wine-box86_64.

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.