PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

[F-Req] Add panfrost renderer (or driver) to support vulkan and desktop opengl 3.1 for mali gpus

Open offbeat-stuff opened this issue 2 years ago • 23 comments

Is this request related to a bug?

No response

Describe the request.

Add Panfrost driver to pojav launcher to add almost native performance for opengl 3.1 in pojavlauncher for mali gpus specifically add panvk for vulkan support which some devices dont have even though their gpus and cpus are compatible Like honor 6x which did not get a driver update for vulkan

Anything else?

https://www.collabora.com/news-and-blog/blog/2021/01/13/desktop-opengl-3-1-on-mali-gpus-with-panfrost/

offbeat-stuff avatar Jun 15 '22 09:06 offbeat-stuff

~~This is panfrost running on a samsung m31 proot distro android https://youtu.be/aJhV7K80OvQ~~ Sorry about that its just llvm pipe

offbeat-stuff avatar Jun 15 '22 10:06 offbeat-stuff

Guess what? Minecraft (at least since 1.17) requires a higher OpenGL version to run.

NotAHero04 avatar Jun 15 '22 11:06 NotAHero04

well its not just opengl 3.2

offbeat-stuff avatar Jun 15 '22 11:06 offbeat-stuff

this thing is faster than gl4es and has vulkan support (which my phone manufacturer did not give a update for) (btw it is a mali t830)

offbeat-stuff avatar Jun 15 '22 11:06 offbeat-stuff

also gl4es supports upto opengl 2.1

offbeat-stuff avatar Jun 15 '22 11:06 offbeat-stuff

minecraft can run on opengl 3.1 Its only shaders that use opengl 3.2 and the only big feature they use was added in opengl 3.0 which is int forcegl20

offbeat-stuff avatar Jun 15 '22 15:06 offbeat-stuff

well its not just opengl 3.2

So basically, it won’t run Minecraft 1.17+ without modification.

I think you’re really interested in running a shader ~~like SEUS PTGI E12~~ on it right?

For Vulkan:

  • Going through Zink is a nightmare, it’s just too slow to be playable. Although newer Mesa version comes with updated Zink might be a lot faster, who knows if it requires extensions that mobile GPUs don’t support?
  • For 1.17+, going through VulkanMod will give you various glitches and random crashes, as of now VulkanMod is known to be buggy on Mesa. Also, does it support Vulkan 1.1?

Another major problem on putting Mesa drivers to an APK: it links with system private libraries, which Android won’t give access anyways, unless there’s a hack around it.

khanhduytran0 avatar Jun 15 '22 15:06 khanhduytran0

Not really shaders I just want performance

offbeat-stuff avatar Jun 15 '22 15:06 offbeat-stuff

Also my device honor 6x did not get a vulkan driver despite having supported gpu and with the vulkan mod and the support added for it in latest dev build I was hoping for a much better performance

offbeat-stuff avatar Jun 15 '22 15:06 offbeat-stuff

well @khanhduytran0 I could just change the version number in all shaders like pojav had to before and with this there is no need for changing any code beside version string

offbeat-stuff avatar Jun 15 '22 15:06 offbeat-stuff

I heard this can be installed in userspace and when i installed it in termux proot did not have any problems

offbeat-stuff avatar Jun 16 '22 01:06 offbeat-stuff

what

jtghph avatar Jun 16 '22 02:06 jtghph

The idea behind this f-req is cool since I have a Mali-G72 and I wish I could use Sodium so the game is playable for once.

yum13241 avatar Jun 17 '22 14:06 yum13241

Yeah I wish the gpu could atleast help with performance I have a Mali-G71

NotScareBat avatar Jun 17 '22 15:06 NotScareBat

The people, want, PERFORMANCE! Repeat with me lol (semi-joke)

yum13241 avatar Jun 17 '22 15:06 yum13241

The people, want, PERFORMANCE! Repeat with me lol (semi-joke)

This is a good suggestion but since im not a programmer, i cant implement support for you guys.

GaucovyAero avatar Jun 17 '22 15:06 GaucovyAero

Yeah we know.

yum13241 avatar Jun 17 '22 17:06 yum13241

Any updates??

offbeat-stuff avatar Jul 08 '22 13:07 offbeat-stuff

Nope, even through us Mail-G* users really want it lol

yum13241 avatar Jul 09 '22 08:07 yum13241

anyone how to compile panfrost for android sdk 24 i could not get it to compile does anyone have any specific compile instructions maybe a gitpod workspace that can do that

offbeat-stuff avatar Jul 10 '22 08:07 offbeat-stuff

Nope, I don't know.

Also Android API level 24 is android 7.0

yum13241 avatar Jul 10 '22 17:07 yum13241

Any updates?

NotScareBat avatar Jul 28 '22 15:07 NotScareBat

Does not seem like it

offbeat-stuff avatar Aug 01 '22 01:08 offbeat-stuff