-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Zink, but swapchain-based #4246
base: v3_openjdk
Are you sure you want to change the base?
Conversation
Android 13 (Poco X4 GT), (Dimensity 8100) Mali-G610 MC6. |
At this moment, the renderer is only work with 1.17+ above only. try downgrade your version to The Judge build zink. |
8gen2选用zink渲染器打开游戏闪退 |
is it possible to use vendor vulkan driver rather than turnip? currently turnip dont have too much compatibility (only works for a6xx). and also have bad performance compare to vendor(qcom) one. |
@rhjdvsgsgks the problem is that the vendor qcom driver doesn't support enough features for zink to work, so we use turnip by default. It's planned to add checks if your adreno is supported and not swapping the driver if necessary |
@artdeell in my test. glxinfo shows it (zink on qcom vulkan driver) can provide upto compat profile 2.1. which is similar to gl4es. i think the logic should: if a gpu (a6xx) supported by turnip. then use it to get higher opengl version. otherwise, use vendor vulkan driver (just like current state for mali gpu). at least it may able to run some old version that not requiring high opengl version. it is better force all adreno to use turnip and cause a crash on startup. |
When i tested it on my device it didn't work at all cuz my version of the driver ioesn't have VK_KHR_imageless_framebuffer and VK_KHR_timeline_semaphore |
i just tried the last commit before zink been removed (fa78ff0). seems it works fine even without these extension. but got pretty bad performance (25fps compare to virgl 90fps). i also compared performance of gl4es on this commit and head. it is a big drop. from 45fps (or 200fps with sodium) to 2. what happened to it? |
This commit had old Zink from Mesa 20.3 if i recall correctly, which had leaner requirements and worse performance overall |
VK_KHR_timeline_semaphore and VK_KHR_imageless_framebuffer introduced in 22.2 . maybe we can ship a mesa 22.1.7 for the device doesnt support them? or revert part of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15904 |
Zink had a lot of performance improvement commits between 22 and 23, so yeah, no |
Vanilla Minecraft 1.20.1 loads to a black screen, then crashes on my Pixel 6 Pro. Same with 1.19.2. latestlog.txt (1.20.1) Is there more setup required than just setting the renderer to "zink"? |
i just found that there already have the revert patch exist. which is small and easy to apply |
So this patch can be used to make some devices that do not support the above features use GPU-based Zink? |
This comment was marked as outdated.
This comment was marked as outdated.
Android 13, CPU: Dimensity9200+, GPU:Immortalis-G715,Mesa23.0.4zink,What is the solution to crashes when starting loading? |
Send latestlog |
This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. Added custom env: TMPDIR=/data/user/0/net.kdt.pojavlaunch.debug/cache This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. 2023-07-29 20:54:05,283 main ERROR appender Console has no parameter that matches element Policies This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. [20:54:05] [main/WARN]: Failed retrieving info for group processor This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. logcat: Unexpected EOF! This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log If you have enabled significant logging, look into using the -G option to increase log buffer sizes. ERROR: Unable to get more log. |
The zink branch doesn't support 1.20+ I guess |
|
Known Issue afaik |
so 1.11 and down work? |
It doesn't work, it just crashes |
It crashed for me as well. |
My Gpu is Mali G77-MC9 |
so what version do work
|
@mcghjbcg lol |
Mali-G715 supports Vulkan1.3, which is a VK extension that supports Mesa23.0.4 |
Well adreno 725 support vulkan 1.1 and supported mesa 24.0.0 UMP zink in solDev69 pojav |
Features:
Bugs:
Mesa: https://github.com/artdeell/zink-mesa
Turnip: https://github.com/MrPurple666/freedreno-CI/actions/runs/5165805314