feat(present): offload Present copy compositing to the GPU - #1053
Conversation
|
For some comparison: Upstream: This PR version: ~10% higher vkmark score, so I consider it is an improvement. Tested with mesa-vulkan-icd-wrapper. |
|
@robertkirkman probably you will like that. Can you please test this one? |
|
the device i currently am able to access cannot run glmark2 because of a closed source android 10 phantom process killer of One UI 2.5, so i tested using luanti and in game fps counter, luanti, adreno 630, 2960x1440
i cannot measure an improvement, but there is no introduced issue. |
|
In the case if you did not see the issue probably you did not hit the accelerated path. There were at least two bugs before the force-push. You can check in termux's logcat for updated frame counter, which now includes gpu offload stats (if there was a gpu offload). |
|
I see this and this is this PR's logcat from termux what kind of program should i run that may trigger different behavior? also, do you mean to watch termux logcat or termux:x11 logcat? |
|
I tested it only with mesa-vulkan-icd-wrapper + vkmark. |
|
i will be able to run vkmark later in a different device |
7442d02 to
f9a2811
Compare
|
Here are Adreno 612 master 151 PR 143 Samsung Galaxy A70 SM-A705FN One UI 8 Android 16
|
|
Well, it is in the margin of error. |
|
Should I test the new version and send logcat result? |
|
I think so. @Pipetto-crypto can you please help us?
|
|
|
The log does not say if it works fine on your device or not. |
|
For me, vkcube works. Unfortunately, on most of my devices vulkan-wrapper-android did not work very well, particularly with zink, as of March 15 2025, so i do not usually try it, but if I should try it here let me know. |
vkcube works for me and it does not look stretched. sorry i was making an additional message but I posted the log first. |
|
I think that people testing graphics drivers and Termux:X11 should know that I have recently added a new OpenGL test, pkg upgrade
pkg install xscreensaver
export PATH=$PREFIX/libexec/xscreensaver:$PATH
geodesicgearsit is much more intensive than For me it is working fine with this PR. |
Present clients that can't use the flip fast path (windowed, partial damage) now get composited into the root texture via the renderer's GL context instead of a CPU CopyArea. -disable-gpu-present forces the old path; a lost renderer connection also falls back to CPU.
|
Seems like the stretching bug was fixed. |

Present clients that can't use the flip fast path (windowed, partial damage) now get composited into the root texture via the renderer's GL context instead of a CPU CopyArea.
-disable-gpu-presentforces the old path; a lost renderer connection also falls back to CPU.