Skip to content
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

[BUG] Current version of zink in Pojav crashing on Pixel 8a #6051

Open
SolDev69 opened this issue Sep 9, 2024 · 29 comments · May be fixed by #6210
Open

[BUG] Current version of zink in Pojav crashing on Pixel 8a #6051

SolDev69 opened this issue Sep 9, 2024 · 29 comments · May be fixed by #6210
Labels
bug Something isn't working device-specific The issue is specific to a restricted set of devices well written Tag for issues which are well explained, making it easier for people to understand

Comments

@SolDev69
Copy link
Contributor

SolDev69 commented Sep 9, 2024

Describe the bug

The current version of zink crashes on my Pixel 8a

The log file and images/videos

1.21 latestlog.txt
1.12.2
latestlog.txt

Steps To Reproduce

1. Try running zink on Pixel 8a
2. Crash

Expected Behavior

Zink doesn't crash.

Platform

- Device model: Pixel 8a
- CPU architecture: arm64
- Android version: 14
- PojavLauncher version: foxglove-20240905-8c90b54-v3_openjdk (Google Play version)

Anything else?

This is the only mesa version in SCL that doesn't load zink for me.

GPU: Mali G715
Driver: ARM Proprietary 47.0.0

@SolDev69 SolDev69 added the bug Something isn't working label Sep 9, 2024
@kasrarouhi
Copy link

kasrarouhi commented Sep 9, 2024

I research about pixel 8a and the gpu and it's really good phone with good gpu in my opinion report this issue to mesa (mesa 3d creator) to fix it and release a turnip driver update for zink (I don't think it's pojav issue)and my phone have the same problem 9 or 8 months ago. It's just crash with zink and after a turnip driver update for pojav it's really fixed. My phone gpu is adreno 725

@SolDev69
Copy link
Contributor Author

SolDev69 commented Sep 9, 2024

Mali doesn't use turnip though...

@SolDev69 SolDev69 closed this as completed Sep 9, 2024
@SolDev69 SolDev69 reopened this Sep 10, 2024
@SolDev69
Copy link
Contributor Author

Why did I close this...

@Mario191209
Copy link

@SolDev69 update your phone to the latest version

@Mario191209
Copy link

Afaik, your current version has old vulkan driver

@Mario191209
Copy link

I mean android

@Mario191209
Copy link

Since google shipped vulkan update for pixel phones, maybe.

@SolDev69
Copy link
Contributor Author

Phone is on the latest update.

@Mario191209
Copy link

@SolDev69 show me the vkcapsviewer

@Mario191209
Copy link

Afaik, immortalis gpu will crash with zink for some reason

@Mario191209
Copy link

I've seen a lot of users with immortalis gpu having this issue

@SolDev69
Copy link
Contributor Author

Screenshot_20240910-105218.png

It's not fried, it's an issue with zink afaik. UMP Zink works fine but is slow and Zink 23.0.4 is unstable. All three crash with shaders because of an out of memory bug.

@Mario191209
Copy link

@SolDev69 i wonder if you phone support Android 15 beta update

@Mario191209
Copy link

Your*

@SolDev69
Copy link
Contributor Author

It does, but idk if it's stable, should I update?

@Mario191209
Copy link

It does, but idk if it's stable, should I update?

Maybe you should

@Mario191209
Copy link

Afaik, i bet it'll block the Android/data access after you update

@Mario191209
Copy link

Damn, i shouldn't have to say afaik

@Mario191209
Copy link

Screenshot_20240910-105218.png

It's not fried, it's an issue with zink afaik. UMP Zink works fine but is slow and Zink 23.0.4 is unstable. All three crash with shaders because of an out of memory bug.

In that case, i will fork your launcher and replace zink mesa 23.0.4 with 23.0.0-devel

@Mario191209
Copy link

Also, i've got old virgl from dahlia version

@Mario191209
Copy link

But idk how to add renderer in renderer selection

@Mario191209
Copy link

Or im just gonna replace the lib

@GaucovyAero
Copy link
Collaborator

@SolDev69 please change the issue title to what you wrote in "describe the bug", i'm marking the issue as invalid till you fix it

@GaucovyAero GaucovyAero added the invalid This doesn't seem right label Sep 10, 2024
@kasrarouhi
Copy link

kasrarouhi commented Sep 10, 2024

Screenshot_20240910-105218.png

It's not fried, it's an issue with zink afaik. UMP Zink works fine but is slow and Zink 23.0.4 is unstable. All three crash with shaders because of an out of memory bug.

VULKAN 1.3 IT'S REALLY GOOD. try vulkanmod. Vulkanmod work on vulkan API 1.2 and up try it it's similar to sodium
Link to download vulkanmod (android library)
https://www.curseforge.com/minecraft/mc-mods/vulkanmod-android-libs

@kasrarouhi
Copy link

kasrarouhi commented Sep 10, 2024

Afaik, i bet it'll block the Android/data access after you update

It related to android 11
See
https://xdaforums.com/t/android-11-cannot-access-android-data-folder.4225293/

@ThatMG393
Copy link

Screenshot_20240910-105218.png
It's not fried, it's an issue with zink afaik. UMP Zink works fine but is slow and Zink 23.0.4 is unstable. All three crash with shaders because of an out of memory bug.

VULKAN 1.3 IT'S REALLY GOOD. try vulkanmod. Vulkanmod work on vulkan API 1.2 and up try it it's similar to sodium Link to download vulkanmod (android library) https://www.curseforge.com/minecraft/mc-mods/vulkanmod-android-libs

VulkanMod is NOT similar to Sodium 😭🙏🏿

@SolDev69 SolDev69 changed the title [BUG] Zink borky [BUG] Zink crashing on Pixel 8a Sep 14, 2024
@SolDev69 SolDev69 changed the title [BUG] Zink crashing on Pixel 8a [BUG] Current version of zink in Pojav crashing on Pixel 8a Sep 14, 2024
@kasrarouhi
Copy link

Screenshot_20240910-105218.png
It's not fried, it's an issue with zink afaik. UMP Zink works fine but is slow and Zink 23.0.4 is unstable. All three crash with shaders because of an out of memory bug.

VULKAN 1.3 IT'S REALLY GOOD. try vulkanmod. Vulkanmod work on vulkan API 1.2 and up try it it's similar to sodium Link to download vulkanmod (android library) https://www.curseforge.com/minecraft/mc-mods/vulkanmod-android-libs

VulkanMod is NOT similar to Sodium 😭🙏🏿

I mean about fps boosting

@GaucovyAero GaucovyAero added well written Tag for issues which are well explained, making it easier for people to understand device-specific The issue is specific to a restricted set of devices and removed invalid This doesn't seem right labels Sep 17, 2024
@SolDev69
Copy link
Contributor Author

SolDev69 commented Oct 16, 2024

what would be the best way to fix this? is upstream ready for an update to mesa 24.0.9? I wouldn't recommend upgrading to 24.2+ because it has funky issues with distant horizons and may break shaders. would downgrading osmesa to 23.0.4 be a better idea? update turnip to 24.0.9 and downgrade osmesa to 23.0.4 or upgrade both?

@SolDev69
Copy link
Contributor Author

Here's an update to this issue on Android 15, yes it's the tw version but it's basically the same as upstream in terms of zink
latestlog.txt
Screenshot_20241016-113327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device-specific The issue is specific to a restricted set of devices well written Tag for issues which are well explained, making it easier for people to understand
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants