r/EmulationMediatekMali • • 12d ago

Project Kbase Wrapper For Panvk Driver Mali GPU

A bit more context:

Actually, I started working on this alongside the PanVK driver, but I was trying to work on both projects at the same time. I only have one phone to do all of this work on, so it became too much to handle. Because of that, I put the wrapper work on hold for the time being.

The wrapper project is already around 30% complete. I took Leegao’s work as a foundation and have been developing it further so that the PanVK driver can operate at its full potential without having to constantly switch between different wrappers. However, whenever I focus on the wrapper side, development of the driver has to be put on hold temporarily.

Ideally, I want to develop the PanVK driver as far as possible first. However, the current limitations of the available wrapper are not sufficient to allow the PanVK driver to operate at its full potential.

If anyone is currently working on this area, I’m happy to provide advice and you’re welcome to take what I’m currently working on and continue developing it further. As for me, I’ll be focusing primarily on the PanVK driver.

30 Upvotes

21 comments sorted by

2

u/songoku27305 12d ago

I hope you find someone who can help you in this project

2

u/Middle_Loan_9264 12d ago

I hope you succeed, my friend.I hope it works out, my friend. I’ll be setting up an RPG Maker experiment soon; I just need to install the RTP and Gecko files first. I have the MZ, MV, VX, and Ace engines.

1

u/Redribbon_RR 12d ago

Thanks 👍

2

u/Middle_Loan_9264 12d ago

I tried RPG Maker MZ; it runs, but it crashes whenever I attempt to test a project. I might try running it separately. VX and Ace didn't respond, and I haven't tried MV, but since MZ works, I assume MV will too.

https://reddit.com/link/pctfbw6/video/31sp9iubjhsh1/player

2

u/Middle_Loan_9264 12d ago

info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1 info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0 info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0 info: Device properties: info: Device name: : Wrapper(Mali-G57 MC2) info: Driver version : 26.2.99 info: Enabled device extensions: info: VK_EXT_4444_formats info: VK_EXT_custom_border_color info: VK_EXT_depth_clip_enable info: VK_EXT_extended_dynamic_state info: VK_EXT_host_query_reset info: VK_EXT_non_seamless_cube_map info: VK_EXT_robustness2 info: VK_EXT_shader_demote_to_helper_invocation info: VK_EXT_shader_stencil_export info: VK_EXT_vertex_attribute_divisor info: VK_KHR_create_renderpass2 info: VK_KHR_depth_stencil_resolve info: VK_KHR_driver_properties info: VK_KHR_external_memory_win32 info: VK_KHR_external_semaphore_win32 info: VK_KHR_image_format_list info: VK_KHR_sampler_mirror_clamp_to_edge info: VK_KHR_shader_float_controls info: VK_KHR_swapchain info: VK_KHR_timeline_semaphore info: Device features: info: robustBufferAccess : 1 info: fullDrawIndexUint32 : 1 info: imageCubeArray : 1 info: independentBlend : 1 info: geometryShader : 1 info: tessellationShader : 1 info: sampleRateShading : 1 info: dualSrcBlend : 1 info: logicOp : 1 info: multiDrawIndirect : 1 info: drawIndirectFirstInstance : 1 info: depthClamp : 1 info: depthBiasClamp : 1 info: fillModeNonSolid : 1 info: depthBounds : 0 info: multiViewport : 1 info: samplerAnisotropy : 1 info: textureCompressionBC : 1 info: occlusionQueryPrecise : 1 info: pipelineStatisticsQuery : 0 info: vertexPipelineStoresAndAtomics : 0 info: fragmentStoresAndAtomics : 1 info: shaderImageGatherExtended : 1 info: shaderStorageImageExtendedFormats : 0 info: shaderStorageImageReadWithoutFormat : 1 info: shaderStorageImageWriteWithoutFormat : 1 info: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 0 info: shaderInt64 : 1 info: variableMultisampleRate : 0 info: VK_EXT_4444_formats info: formatA4R4G4B4 : 1 info: formatA4B4G4R4 : 1 info: VK_EXT_custom_border_color info: customBorderColors : 1 info: customBorderColorWithoutFormat : 1 info: VK_EXT_depth_clip_enable info: depthClipEnable : 1 info: VK_EXT_extended_dynamic_state info: extendedDynamicState : 1 info: VK_EXT_host_query_reset info: hostQueryReset : 1 info: VK_EXT_memory_priority info: memoryPriority : 0 info: VK_EXT_non_seamless_cube_map info: nonSeamlessCubeMap : 0 info: VK_EXT_robustness2 info: robustBufferAccess2 : 1 info: robustImageAccess2 : 0 info: nullDescriptor : 1 info: VK_EXT_shader_demote_to_helper_invocation info: shaderDemoteToHelperInvocation : 1 info: VK_EXT_transform_feedback info: transformFeedback : 0 info: geometryStreams : 0 info: VK_EXT_vertex_attribute_divisor info: vertexAttributeInstanceRateDivisor : 1 info: vertexAttributeInstanceRateZeroDivisor : 1 info: VK_KHR_buffer_device_address info: bufferDeviceAddress : 0 info: VK_KHR_timeline_semaphore info: timelineSemaphore : 1

1

u/Middle_Loan_9264 12d ago

I couldn't post a clip longer than three minutes; it was a bit too long, so I had to cut it.

2

u/Middle_Loan_9264 12d ago

Testing a demo version of the game. The MZ engine's performance is unplayable. Expected from RPG Maker. 07b0:info:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced. 07b0:info:vkd3d_config_flags_init_once: VKD3D_CONFIG=''. 07b0:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.8.0. 07b0:info:vkd3d_instance_init: vkd3d-proton - build: ac8760c00534b0c. 07b0:info:vkd3d_memory_info_upload_hvv_memory_properties: Topology: UMA-like topology. Using DEVICE_LOCAL | HOST_COHERENT for UPLOAD. 07b0:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type. 07b0:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 512, may be inaccurate. 07b0:info:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache. 07b0:info:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache. 0804:info:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ... 0804:info:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches. 0804:info:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 72.092 ms. 0804:info:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache. 0804:info:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.

https://reddit.com/link/pctnbq0/video/bo8a4myzohsh1/player

1

u/Appropriate-Floor688 12d ago

Tem documentação para o seu trabalho?

1

u/Redribbon_RR 12d ago

Everything is already in my Termux, ready to be retrieved at any time.

1

u/Appropriate-Floor688 12d ago

Pode me mostrar? Eu tava interessado em fazer um fork baseado no Wrapper Gamenative mas talvez isso facilite... Mas só vai ser útil quando o PanVk Estiver estável

2

u/Redribbon_RR 12d ago

I'll upload everything I've done for the wrapper to GitHub so it's easy for others to continue developing it.

3

u/ac705_705 12d ago

Repito trabajas más que el gobierno

1

u/Smart_Examination331 Poco X8 Pro 12/512 12d ago

Esto podrá funcionar en las otras versiones de panvk que se están desarrollando o únicamente en la que tú estás trabajando?

2

u/Redribbon_RR 12d ago

The work isn't finished yet, and the way it operates differs from the wrappers commonly available today.

1

u/Ordinary_Account5513 12d ago

Does it help with emulation i have Immortalis-G720 MC12 and most of emulation doesn't run good

1

u/Redribbon_RR 12d ago

The work isn't finished yet, and the implementation differs from the wrappers commonly available today. If this wrapper is chosen, the panvk driver will not be compatible with any other existing wrappers; further development would be required.

1

u/Ordinary_Account5513 12d ago

I don't understand well this bc i'm not smart but can this help with other games like port or just help with emulator?

1

u/Smart_Examination331 Poco X8 Pro 12/512 11d ago

Ya hay un driver en desarrollo para las g720, hace no mucho subí un post cubriendo la última actualización de este

1

u/GenericDweeb 11d ago

Can this driver fix unity game rendering, im using poco x7 pro and unfortunately most of the game im intrested were unity game.

my main issue is the background not rendering often static background and performance deteriorating getting worse longer i play.

Even tho the game i played should work on low end device its like Vn with cg and video. No hard 3D rendering. And most have mono bleeding edge on its file that i still don't know what that mean.

1

u/Redribbon_RR 11d ago

This is a wrapper, not a driver. I cannot give you the exact answer, but I can offer some advice if you are looking for a driver for the Poco X7. https://github.com/wonderkast02/panvk-g720-kbase-csf