Conversation
|
vpk generated by ci: https://github.com/flyinghead/flycast/actions/runs/8161057694/artifacts/1299537862 |
|
@Rinnegatamante Do we need the "Use Simple Shaders" option? What is the benefit for users to select advanced/not simple shaders? and how to decide which setting to use? |
I added it cause some games were artifacting with "complete" shaders if i remember correctly. |
|
Mhhh for me it still crashes although, can we make the CI split out also the unstipped elf? (So i can look into the cause of the crash) |
|
The crash is caused by wrong settings on vitaGL. |
|
New build available with vitaGL compiled with HAVE_WRAPPED_ALLOCATORS=1 |
|
Oh, it seems you also used SDL2 from vdpm. That one has no vitaGL support. You need this fork: https://github.com/Northfear/SDL |
1905cac to
8afd690
Compare
|
New build available with SDL2 from https://github.com/Northfear/SDL (and compiled with |
|
New build is prefetching on gl_CompileAndLink apparently :/ Here's the coredump analysis: |
|
It looks like the crash happens in gl_CompileShader and probably caused by a NULL OpenGL function (PC == 0). Other OpenGL functions have already been called at this point so it's not a general glad issue but it looks like at least one of these functions is missing: |
|
https://github.com/Rinnegatamante/vitaGL/blob/master/source/lookup.c#L29-L420 These are all the available gl functions resolveable via vglGetProcAddress/eglGetProcAddress/SDL_GL_GetProcAddress. |
|
It looks like |
|
This last build does launch fine but has some vmem issues still when launching any rom. I'll let Bythos know. |
|
@scribam The os_InstallFaultHandler function in linux/common.cpp is overriding the one in vita_fault_handler.cpp. Fully ifdef out the ones in common.cpp for the vita |
|
Thank you for your help @bythos14. I pushed a commit to ifdef out the os_InstallFaultHandler and os_UninstallFaultHandler functions in linux/common.cpp for the vita. A new build is available for testing |
|
@scribam Also, add flycast/core/linux-dist/main.cpp Line 453 in d703d62 |
|
With the handler hacked in, it's now dying at |
|
Invalid cycle count comes from this function: flycast/core/hw/sh4/modules/serial.cpp Line 131 in de89d8c |
|
Okay, it's seemingly being caused by a sign extension on the input to SCBRR2_write, causing the input to go from 0xFF to 0xFFFFFFFF. Patching the ELF to write SCBRR2 with |
|
I can reproduce the issue on Android arm32 as well. Although it doesn't crash, it's still not correct. |
|
Fixed on master: 6115a91 |
|
Bythos referred that with these changes game do finally boot although performances are worse than the og Vita fork. Anything in particular that could've caused it in latest changes to the codebase? |
|
Branch updated with latest dev |
|
Updated with latest dev and conflicts fixed in |
|
Branch updated with latest master and kubridge is now installed with vdpm |
|
Branch updated with latest dev |
|
Branch updated with latest dev |
c4af9c0 to
064a85d
Compare
|
Branch updated with latest dev |
Port of https://github.com/Rinnegatamante/flycast-vita. Credits to @bythos14 for everything concerning the dynarec implementation and page fault handler. Co-authored-by: bythos14 <45720552+bythos14@users.noreply.github.com> Co-authored-by: scribam <scribam@users.noreply.github.com>
Co-authored-by: bythos14 <45720552+bythos14@users.noreply.github.com>
Allows us to take more memory for the heap
No description provided.