-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for Adreno 7xx series support and DRI3 support #26
Comments
Compile it your self with this script https://github.com/xDoge26/mesa-turnip/blob/main/build_deb_mesa.sh
they need better documentation, also it would be better if they need upstream changes to mesa mainline not just patch
Same as above, this should be asked on mesa gitlab |
After receiving the source from Branche above mesa-vulkan-kgsl_23.3.0-devel-20230815_arm64.zip Galaxy S23 Ultra (Adreno 740) Tested on 3 devices. It doesn't matter if you upload the corresponding deb package if necessary. Unfortunately, the DRI3 patch was not reflected. |
@hansm629 place wsi-termux-x11-v3.patch in sources dir and execute replace src/vulkan/wsi/wsi_common_x11.c with file from archive config |
Thank you! I'll post a review. |
After Build
vkcube is but
glmark2 is not working with the same issue we reported to the tur-report before.
And Maybe... I downloaded the sauce of mesa-23.3.0-devel
I compiled it with the meson option above. |
if you see VK_ERROR_OUT_OF_DEVICE_MEMORY add fot gxlears add vblank_mode=0 vblank_mode=0 MESA_NO_ERROR=1 TU_DEBUG=noconform MESA_LOADER_DRIVER_OVERRIDE=zink glxgears |
It's amazing. but
Even if supertuxkart and blender3d also fails with the error |
for glmark2 you can try |
New error.
|
@hansm629 sorry, forgot about vblank_mode |
Finally... More than 4x better performance than before! Thank you so much!!! Thanks to you, I was able to make it!!!!! |
Additional test results. Firefox-esr works well and has improved web page loading and WebGL performance. And All of the above programs worked well, too. but supertuxkart, blender3d, kdenlive, gthumb All received the error Is there a way to run those programs as well? |
try to compile mesa main without vulkan |
sounds good, tell me once its stable enough and upstreamed to mesa main |
I need your help. The compile was well done before What kind of problem?
|
@hansm629 you need to install clang libpolly clang -v apt-get install libpolly-VERSION-dev where version is 15/16/17/18 |
you can also try to build mesa 22 - 22.1 |
@romanovj
without any particular environmental variables
With the above commands, glxgears and glmark2 run well. But at the end of the benchmark When you run supertuxkart and kdenlive When blender is
The above error appears and does not execute. Should I build a higher version of Mesa? |
@hansm629 |
I did it! by applying a new patch Works fine without any errors! Blender 3D and kdenlive work great! At this rate, devices with SD8 Gen2 new patch applied Thanks to you, I was able to get optimal GPU acceleration in PRoot Linux! :) Thank you so much! |
all thanks to xMeM fot his patches |
I newly build Up to 4.7x performance improvement over very good. [Benchmark Information]
virglrenderer-android
virglrenderer-mesa-zink
zink+turnip without DRI3
zink+turnip with DRI3
|
@hansm629 could you please upload the mesa 23.1.5 deb package as well? Thanks |
build mesa in Ubuntu is very easy. After installing the mesa 23.1.5 build [Install dependency packages and other packages]
[Download the mesa 23.1.5 source]
[Build and install]
|
You dont need to compile opengl,virgl driver because freedreno opengl driver is still non functional on android afaik |
Hi all, I'm very interested in this since I also have an S8 Ultra I've been meaning to use as my linux laptop. Unfortunately, information seems scattered all over the place so I'm sort of an idiot right now. Maybe this telegram would be of interest? t.me/adreno_driver they post mesa turnip builds (some KGSL), though not sure what they are exactly. also, is the deb supposed to be built/installed within chroot or within termux? I'm not exactly sure how the system layout works here. |
I followed your instruction, compiling mesa-23.1.5 then installing the uploaded package, but when I run glmark2 without MESA_VK_WSI_DEBUG=sw the system complain that it DRI3 not detected. do you have any advice? |
@xDoge26 I use virgl and turnip together on PRoot Ubuntu. Because when I run |
hello. It is already distributed in
You can install it by entering the above command. It is based on
If you enter the above command or add it as an environment variable, Before running You must modify |
Many thanks for your time & efforts, this is greatly appreciated! You literally made my day, this topic is much clearer to me now & I'm super excited to continue exploring ^^ Special thanks for noob-friendly style of answer, very detailed & helpful! :) |
Sir, I'm really² newbie to this thing, Can I install your turnip package to my chroot Debian/Ubuntu? And how to launch xfce4 with hardware acceleration? / What commands to add in my start scripts? Many² thanks 👍 |
hello. sir yes
The
For userid, enter the sudo ID you are using. Before running |
hello. sir Thanks to you, I was able to successfully build I would like to ask for your help again. Via the I am familiar with build deb packages for Linux, but I am not yet familiar with building Termux packages and it seems difficult.... Could you build it as a deb for Termux like before? |
The Debian packaging system is really awful to work with. |
@MastaG |
So I've asked airidosas252 for his latest dri3/dmabuf/kgsl patches, a user named "xiaoyangnoob" replied with a copy of these patches in his personal github repository. So I've a github runner which takes oibaf's nightly mesa builds and rebuild them with these patches applied and kgsl enabled. It's currently only for Ubuntu 24.04. Also mesa git currently fails to build for armhf, so no 32bit driver yet. |
So I've fixed armhf (32bit) builds and also added a runner for building the ppa for Ubuntu 24.10. |
When build the turnip package
Do you apply and build them all? Or do you build by only applying |
@hansm629 I've just tried the ppa on my Samsung S24 and it works great.
With: I've fixed the armhf (32bit) mesa build, so we can use it with box86 as well :) Now we only need to wait for launchpad to re-sign Oibaf's packages with a new private key so we can build for Ubuntu 24.10 as well. Thanks to @Weab-chan I've also added a runner for building nightly turnip driver releases for use with emulators such as Yuzu, Strato, Flycast etc |
@MastaG |
|
Considering After applying the above patch and building
|
Thank you for the feedback, I'll try that patch for the next nightly build and report back the vlmark results to you :) |
@MastaG applied the
I tested it in It's higher than the your result,
In my personal opinion, the I downloaded the package
Performance is too low. But even taking that into account, your benchmark results are too low. If it is not the latest version, update the apk and test again. |
@hansm629 Thanks a lot for testing on both of your devices. I've updated the build file to only build with the We'll have to wait for obiaf to build the next version tonight, then ours will trigger as well. Btw I'm building with both msm and kgsl enabled: As for termux-x11, I just downloaded a release from here: https://github.com/termux/termux-x11/releases/tag/nightly |
@hansm629 I found out the problem when running vkmark. When I start scrolling on a random webpage (using the chrome browser) on my phone screen while the vkmark benchmark is running, the first test will show:
It's still not within the 2000+ FPS but it's a lot better :) So for some reason my S24 decides that Termux and/or Termux-X11 shouldn't be using a lot of cpu/gpu cycles while the phone screen is turned off :( |
@hansm629 Hello, could you please share the deb of your last build for debian sid, I |
The dmabuf patch has been upstreamed by Danylo. See my repository for nightly builds: I've rebased the dri3.patch on mesa main git. |
@kde-yyds Is this the package you mentioned? I'm curious what the environment variables used by freedreno are. |
yeah. |
@kde-yyds But the glxinfo -B command doesn't work and vulkan does not have dri3 patch OpenGL ES3.2 operation issue resolved |
@kde-yyds |
Anyone at all have termux native working for the 750? Try as I might I get get hardware acceleration working for native....idk what to do. All this stuff is confusing but I'm trying to learn. I understand the freedreno package and I installed it. Unfortunately not working or causes errors. Hard to work around. Is there a way to built it to support it? What can I do? |
I used the driver from https://github.com/K11MCH1/WinlatorTurnipDrivers/releases/tag/winlator_v25.0_r5, it works inside proot |
Hello.
I am using
Termux-X11 PRoot-Distro Ubuntu 22.04 LTS XFCE4-SESSION 4.18
formy Galaxy S23 Ultra (Adreno 740) and Galaxy Tab S8+ 5G (Adreno 730).
I installed
mesa-vulkan-kgsl_23.3.0-devel-20230803_arm64.deb
that you build, and I found that it did not work.As it works well with the Galaxy S20 (Adreno 650) PRoot, it does not appear that the currently built package supports the Adreno 7xx series.
Recently,
freedreno turnip
for the Termux package supports DRI3 as a patch, which seems to work with Turnip without inputting theMESA_VK_WSI_DEBUG=sw
environment variable and perform better.I request Adreno 7xx series support and DRI3 patching for the turnip package for PRoot.
The text was updated successfully, but these errors were encountered: