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

Rebased: Wrap some SysMemForKernel's nids, fixing #7960 #12225

Merged
merged 13 commits into from
Apr 26, 2020
Merged

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Aug 8, 2019

This is the same as #7965, but a little reworked according to Unknowns' feedback and cleaned it up a bit.

Fixes #7960.

Not tested - @sum2012 ?

@sum2012
Copy link
Collaborator

sum2012 commented Aug 8, 2019

Not work and non windows build fail
1

@hrydgard
Copy link
Owner Author

hrydgard commented Aug 8, 2019

Oops, I'll push some fixes.

@hrydgard
Copy link
Owner Author

hrydgard commented Aug 8, 2019

What happens when you run it now @sum2012 ?

@sum2012
Copy link
Collaborator

sum2012 commented Aug 9, 2019

Not sure why not work this time
53:01:992 user_main E[SCEKERNEL]: Util\BlockAllocator.cpp:140 Block Allocator (08800000-0a000000) failed to allocate 1300224 (0013d700) bytes of contiguous memory

full info log: https://gist.github.com/sum2012/9d4aa74913a6ad25189514b5ac52fcb2
full debug log: https://gist.github.com/sum2012/d7132ff5fd9c7bee4d43d3c2775242d8

@hrydgard
Copy link
Owner Author

hrydgard commented Aug 9, 2019

Yeah I don't understand why it would be different than before either...

@sum2012
Copy link
Collaborator

sum2012 commented Aug 9, 2019

Do our change is really same with JPCSP change 's functionally ?
jpcsp/jpcsp@3c25717

@hrydgard
Copy link
Owner Author

As far as I can tell it looks similar enough. Something else might have changed how much memory we allocate from the user pool resulting in this one failing. Just for kicks, you could try to have it allocate from kernel instead and see if things work then?

@sum2012
Copy link
Collaborator

sum2012 commented Aug 10, 2019

u32 addr = userMemory.Alloc(allocSize, frombottom, "SysMemForKernel-Heap");
change to
u32 addr = kernelMemory.Alloc(allocSize, frombottom, "SysMemForKernel-Heap");

raise another error
2

edit add:
4

Core/HLE/sceKernelHeap.cpp Outdated Show resolved Hide resolved
Core/HLE/sceKernelHeap.cpp Outdated Show resolved Hide resolved
Core/HLE/sceKernelHeap.cpp Outdated Show resolved Hide resolved
Core/HLE/sceKernelHeap.cpp Outdated Show resolved Hide resolved
Core/HLE/sceKernelHeap.cpp Show resolved Hide resolved
Core/HLE/sceKernelHeap.cpp Outdated Show resolved Hide resolved
Core/HLE/sceKernelHeap.cpp Outdated Show resolved Hide resolved
Core/HLE/sceKernelThread.h Outdated Show resolved Hide resolved
@hrydgard hrydgard modified the milestones: v1.9.0, v1.10.0 Aug 22, 2019
@hrydgard
Copy link
Owner Author

Finally got around to addressing the last feedback, gonna get it in shortly.

@hrydgard hrydgard added the HLE/Kernel Kernel, memory manager, other HLE issues label Apr 26, 2020
@hrydgard hrydgard merged commit 4d420c5 into master Apr 26, 2020
@hrydgard hrydgard deleted the sum2012-patch-4 branch April 26, 2020 10:39
@ghost
Copy link

ghost commented Nov 28, 2020

I am experiencing a similar issue on master compilation..could be related to the driver??
here on linux on arm.
@hrydgard

pi@RK3399:~/Games/ppsspp$ ./PPSSPPSDL 
VulkanMayBeAvailable: Device allowed ('SDL:Linux')
VulkanMayBeAvailable: Library loaded ('libvulkan.so')
VulkanMayBeAvailable: Enumerating instance extensions
VulkanMayBeAvailable: Instance extension count: 2
VulkanMaybeAvailable: Instance extension found: VK_EXT_debug_report (00000009)
VulkanMaybeAvailable: Instance extension found: VK_EXT_debug_utils (00000001)
Surface extension not found
DEBUG: Vulkan is not available, not using Vulkan.
Info: We compiled against SDL version 2.0.10 and we are linking against SDL version 2.0.10. :)
27:41:136 Core/Config.cpp:540 I[G3D]: Longest display side: -1 pixels. Choosing scale 1
Pixels: 960 x 544
Virtual pixels: 960 x 544
ERROR: EGL Error EGL_BAD_ALLOC detected in file /media/pi/Linux/RK3399/ppsspp/SDL/SDLGLGraphicsContext.cpp at line 264 (0x3003)
EGL ERROR: Unable to create EGL surface!
EGL_Init() failed
loading control pad mappings from gamecontrollerdb.txt: SUCCESS!
27:53:944 HLE/sceNet.cpp:210 N[SCENET]: LocalHost IP will be 127.0.0.1 [b7:a5:8d:da:12:58]
27:54:489 root         N[BOOT]: UI/EmuScreen.cpp:301 Loading /media/pi/Externo/ROMS/PSP/0125 - Midnight Club 3 - DUB Edition (Europe) (En,Fr,De,Es,It) (v1.02).iso...
27:54:848 user_main    E[FILESYS]: FileSystems/DirectoryFileSystem.cpp:62 DirectoryFileSystem::OpenFile: FAILED, 2 - access = 1
27:56:008 sceMemab     E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)
27:56:008 sceMemab     E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)
28:03:186 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(321): bad thread
28:03:187 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(323): bad thread
28:03:187 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(322): bad thread
28:11:544 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(332): bad thread
28:11:544 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(334): bad thread
28:11:544 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(333): bad thread
28:21:250 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(342): bad thread
28:21:250 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(344): bad thread
28:21:250 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2783 sceKernelSuspendThread(343): bad thread
31:30:819 HLE/sceNet.cpp:210 N[SCENET]: LocalHost IP will be 127.0.0.1 [b7:a5:8d:da:12:58]
31:31:197 root         N[BOOT]: UI/EmuScreen.cpp:301 Loading /media/pi/Externo/ROMS/PSP/0411 - OutRun 2006 - Coast 2 Coast (USA) (v1.03).iso...
31:32:200 sceUSB_PSPCo E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)
31:32:200 sceUSB_PSPCo E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)
31:32:200 sceUSB_PSPCo E[HLE]: HLE/HLE.cpp:727 Unimplemented HLE function Kprintf
31:32:200 user_main    E[SCEIO]: HLE/sceIo.cpp:1970 UNIMPL sceIoDevctl("usbpspcm:", 03415001, 09fff610, 4, 00000000, 0)
31:32:200 sceUSB_PSPCo E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)
31:32:200 sceUSB_PSPCo E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)
31:32:200 sceUSB_PSPCo E[HLE]: HLE/HLE.cpp:727 Unimplemented HLE function Kprintf
32:17:882 user_main    E[SCEIO]: HLE/sceIo.cpp:1970 UNIMPL sceIoDevctl("usbpspcm:", 03415002, 08bf5b08, 4, 00000000, 0)
32:17:883 user_main    E[SCEMODULE]: HLE/sceKernelModule.cpp:2160 sceKernelStopModule(0000014b, 00000000, 00000000, 00000000, 00000000): invalid module id
32:17:883 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:2336 sceKernelTerminateDeleteThread(330): thread doesn't exist
33:09:855 HLE/sceNet.cpp:210 N[SCENET]: LocalHost IP will be 127.0.0.1 [b7:a5:8d:da:12:58]
33:10:425 root         N[BOOT]: UI/EmuScreen.cpp:301 Loading /media/pi/Externo/ROMS/PSP/0346 - Daxter (USA).iso...
33:10:794 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0xdde0_size0x60b3' with write access on an ISO partition
33:10:794 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0xdde0_size0x60b3, 3, 0)
33:10:816 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
33:10:816 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
33:10:819 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x1a370_size0x102fe4' with write access on an ISO partition
33:10:820 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x1a370_size0x102fe4, 3, 0)
33:10:845 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x195b0_size0x825c0' with write access on an ISO partition
33:10:845 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x195b0_size0x825c0, 3, 0)
33:19:178 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x165a0_size0x3bd4a0' with write access on an ISO partition
33:19:178 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x165a0_size0x3bd4a0, 3, 0)
33:19:410 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x1de50_size0x2a5b38' with write access on an ISO partition
33:19:410 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x1de50_size0x2a5b38, 3, 0)
33:28:476 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x12d30_size0x481cfc' with write access on an ISO partition
33:28:476 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x12d30_size0x481cfc, 3, 0)
33:29:057 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 335
33:29:058 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x24320_size0x312a0' with write access on an ISO partition
33:29:058 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x24320_size0x312a0, 3, 0)
33:30:392 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
33:30:491 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
33:30:491 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
34:03:413 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 360
34:03:447 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x239e0_size0x30880' with write access on an ISO partition
34:03:447 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x239e0_size0x30880, 3, 0)
34:04:534 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
34:04:618 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
34:04:618 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
34:08:781 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 375
34:08:806 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x24a20_size0x30530' with write access on an ISO partition
34:08:806 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x24a20_size0x30530, 3, 0)
34:09:790 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
34:09:906 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
34:09:906 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
35:12:086 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 386
35:12:114 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x24a20_size0x30530' with write access on an ISO partition
35:12:114 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x24a20_size0x30530, 3, 0)
35:20:022 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
35:20:137 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
35:20:137 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
41:26:004 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 401
41:26:028 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x24a20_size0x30530' with write access on an ISO partition
41:26:028 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x24a20_size0x30530, 3, 0)
41:30:535 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
41:30:634 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
41:30:634 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
44:25:307 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 427
44:25:307 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x245c0_size0x30690' with write access on an ISO partition
44:25:307 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x245c0_size0x30690, 3, 0)
44:29:096 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
44:29:179 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
44:29:179 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
45:35:005 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 449
45:35:006 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x24550_size0x30520' with write access on an ISO partition
45:35:006 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x24550_size0x30520, 3, 0)
45:37:875 user_main    E[ME]: HLE/sceMpeg.cpp:1351 UNIMPL sceMpegAvcDecodeFlush(08bd187c)
45:37:957 user_main    E[FILESYS]: FileSystems/ISOFileSystem.cpp:340 Can't open file '/sce_lbn0x242a0_size0x39e70' with write access on an ISO partition
45:37:957 user_main    E[SCEIO]: HLE/sceIo.cpp:1501 8001b004=sceIoOpen(disc0:/sce_lbn0x242a0_size0x39e70, 3, 0)
49:20:458 HLE/sceNet.cpp:210 N[SCENET]: LocalHost IP will be 127.0.0.1 [b7:a5:8d:da:12:58]
49:20:873 root         N[BOOT]: UI/EmuScreen.cpp:301 Loading /media/pi/Externo/ROMS/PSP/flatout_-_head_on/FlatOut - Head On.iso...
49:20:891 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:63 Clearly bogus size: 03000000 - failing allocation
49:20:891 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:63 Clearly bogus size: 02000000 - failing allocation
49:20:891 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:63 Clearly bogus size: 02000000 - failing allocation
49:20:891 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 25165824 (01800000) bytes of contiguous memory
49:20:891 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 25165824 (01800000) bytes of contiguous memory
49:20:891 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 25165824 (01800000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 23068672 (01600000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 23068672 (01600000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 22020096 (01500000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 22020096 (01500000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21495808 (01480000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21495808 (01480000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21233664 (01440000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21233664 (01440000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21233664 (01440000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21233664 (01440000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21233664 (01440000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21217280 (0143c000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21217280 (0143c000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21209088 (0143a000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21209088 (0143a000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21204992 (01439000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21204992 (01439000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21204992 (01439000) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:892 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:893 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:893 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:20:893 user_main    E[SCEKERNEL]: Util/BlockAllocator.cpp:141 Block Allocator (08800000-0a000000) failed to allocate 21203968 (01438c00) bytes of contiguous memory
49:29:171 user_main    E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 319
49:29:171 idle0        E[SCEKERNEL]: HLE/sceKernelThread.cpp:1243 __KernelGetWaitID ERROR: thread 319
49:29:171 idle0        E[SCEKERNEL]: HLE/sceKernelThread.cpp:1233 __KernelGetWaitTimeoutPtr ERROR: thread 319
49:51:847 FMOD Streame E[ME]: HLE/sceAtrac.cpp:571 avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7
50:18:909 FMOD Streame E[ME]: HLE/sceAtrac.cpp:571 avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7
50:28:266 FMOD Streame E[ME]: HLE/sceAtrac.cpp:571 avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7
51:29:994 FMOD Streame E[ME]: HLE/sceAtrac.cpp:571 avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7
51:38:353 FMOD Streame E[ME]: HLE/sceAtrac.cpp:571 avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7

@sum2012
Copy link
Collaborator

sum2012 commented Nov 28, 2020 via email

@ghost
Copy link

ghost commented Nov 28, 2020

It will not say anything different.
Do I need to recompile it to debug?
the games are not crashing, just nore performing great,
but maybe this isnt the problem of that. it doesnt happen on all the games.
infolog.zip
@sum2012

@sum2012
Copy link
Collaborator

sum2012 commented Nov 28, 2020

Did you really changed these log channel to "Info" ?
1

@ghost
Copy link

ghost commented Nov 28, 2020

ohh Sorry!! wait a sec

infolog.zip
here it have some more info now
@sum2012

take as a context I am testing panfrost mesa driver. it doesnt have all the features (deph) but it works

@sum2012
Copy link
Collaborator

sum2012 commented Nov 28, 2020 via email

@ghost
Copy link

ghost commented Nov 29, 2020

did you see any fixable thing on my last log post? maybe it's my kernel. @sum2012

@sum2012
Copy link
Collaborator

sum2012 commented Nov 29, 2020

@Askmewho Why I do not see this line in your newest log ?
sceMemab E[HLE]: HLE/HLE.cpp:666 Unknown syscall: Module: (unknown) (module: 255 func: 4095)

@ghost
Copy link

ghost commented Nov 29, 2020

mmm no idea. does it matter? I will make a new one

@sum2012
Copy link
Collaborator

sum2012 commented Nov 29, 2020

@Askmewho Yes,we might be still some kernel module that do not implement

@ghost
Copy link

ghost commented Nov 29, 2020

I am worried about the memory access warnings. those should have performance penalties? how the emulator can avoid such a problem?

@sum2012
Copy link
Collaborator

sum2012 commented Nov 29, 2020

I know now, you load 2 different game.

The first one:
27:54:489 root N[BOOT]: UI/EmuScreen.cpp:301 Loading /media/pi/Externo/ROMS/PSP/0125 - Midnight Club 3 - DUB Edition (Europe) (En,Fr,De,Es,It) (v1.02).iso...

The second one:
29:51:999 root N[BOOT]: UI/EmuScreen.cpp:301 Loading /media/pi/Externo/ROMS/PSP/0346 - Daxter (USA).iso

I need the first one game (0125 - Midnight Club 3 - DUB Edition (Europe) (En,Fr,De,Es,It) (v1.02).iso.) 's info log

@sum2012
Copy link
Collaborator

sum2012 commented Nov 29, 2020

My friend dump the game to me .
In-game no problem.The game might not be multi player play becuase It is missing network module .
I will open another issue for it
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceWlanDrv_lib,482cae9a) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceWlanDrv_lib,c9a8cab7) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceWlanDrv_lib,5baa1fe5) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceWlanDrv_lib,2d0fae4e) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceWlanDrv_lib,56f467ca) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,5216cbf5) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:637 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,d2422e4d) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,d1be2ce9) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,ab7dd9a5) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,7ba3ed91) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,03164b12) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,389728ab) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,d5b64e37) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,da02f383) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,afa11338) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,b20f84f8) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,a55c914f) unresolved in 'sceNetAdhocctl_Library', storing for later resolving
47:03:638 user_main I[LOADER]: hle\scekernelmodule.cpp:779 Function (sceNet_lib,0d633f53) unresolved in 'sceNetAdhocctl_Library', storing for later resolving

@sum2012
Copy link
Collaborator

sum2012 commented Nov 29, 2020

@Askmewho What are you doing in playing "Midnight Club 3 - DUB Edition" ?
I do not see "failed to allocate" log in my log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLE/Kernel Kernel, memory manager, other HLE issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tales of Phantasia with Chinese patch black screen.
3 participants