gid15,
Unfortunately, JPCSP still hangs on race loading screen/music playback.
Btw, please reply to mine PM, if you interested in mine "proposition".
r2800
Running with dynarec compiler (log level set to INFO)
Compability options used: Use vertex cache, Use shaders, Enable VAO, Enable saving GE screen to Textures instead of Memory, Use Media Engine, Decode audio files with SonicStage
Code:
...
120311 [098AF280] DEBUG hle.ThreadManForUser - ---------------------------------------- SceUID=1f name:'SoundThread'
120311 [098AF280] DEBUG runtime - Switching from Thread 098AF280 to SoundThread
120311 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=SoundThread
120312 [098AF280] DEBUG runtime - Waiting to be scheduled...
120312 [SoundThread] DEBUG runtime - Scheduled, restarting...
120313 [SoundThread] DEBUG runtime - syncEmulator immediately=false
120313 [SoundThread] DEBUG hle.sceSasCore - __sceSasGetEndFlag sasCore=0x08A9D3C0
120313 [SoundThread] DEBUG hle.sceSasCore - __sceSasGetEndFlag returning 0xFFFFFFFF
120314 [SoundThread] DEBUG hle.sceAudio - sceAudioOutput2OutputBlocking redirecting to sceAudioSRCOutputBlocking
120314 [SoundThread] DEBUG hle.sceAudio - free buffer 1725828728
120314 [SoundThread] DEBUG hle.sceAudio - sceAudioSRCOutputBlocking[not blocking] 0x08AAE700 to SoundChannel[8](sourceSampleOffset=0, restLength=0, buffers queued=0, isOutputBlock=false, Stereo, reserved=true, sampleLength=256, sampleRate=44100)
120315 [SoundThread] DEBUG hle.sceAudio - doAudioOutput(SoundChannel[8](sourceSampleOffset=0, restLength=0, buffers queued=0, isOutputBlock=false, Stereo, reserved=true, sampleLength=256, sampleRate=44100), 0x08AAE700)
120315 [SoundThread] DEBUG hle.sceAudio - alSourceQueueBuffer buffer=1725828728, SoundChannel[8](sourceSampleOffset=0, restLength=256, buffers queued=1, isOutputBlock=false, Stereo, reserved=true, sampleLength=256, sampleRate=44100)
120315 [SoundThread] DEBUG hle.sceCtrl - hleCtrlExecuteSampling
120316 [SoundThread] DEBUG hle.ThreadManForUser - Triggering Interrupt VBLANK(0x1E)
120316 [SoundThread] DEBUG hle.ThreadManForUser - Calling InterruptHandler 0x08976F70(0x0000000F,0x098ADB80)
120317 [SoundThread] DEBUG runtime - Start of Callback 0x08976F70
120317 [SoundThread] DEBUG hle.ThreadManForUser - sceKernelSetEventFlag uid=0x1fc bitsToSet=0x400
120318 [SoundThread] DEBUG runtime - End of Callback 0x08976F70
120318 [SoundThread] DEBUG hle.ThreadManForUser - End of Interrupt
120318 [SoundThread] DEBUG runtime - syncThread currentThread=SoundThread, currentRuntimeThread=SoundThread
120318 [SoundThread] DEBUG runtime - syncEmulator immediately=false
120318 [SoundThread] DEBUG runtime - syncThread currentThread=SoundThread, currentRuntimeThread=SoundThread
120319 [SoundThread] DEBUG runtime - syncEmulator immediately=false
120319 [SoundThread] DEBUG hle.ThreadManForUser - sceKernelPollEventFlag uid=0x21 bits=0x1 wait=0x21 outBits=0x9fffe74
120320 [SoundThread] DEBUG runtime - syncThread currentThread=SoundThread, currentRuntimeThread=SoundThread
120320 [SoundThread] DEBUG runtime - syncEmulator immediately=false
120321 [SoundThread] DEBUG hle.sceSasCore - __sceSasCoreWithMix 0x08A9D3C0, sasInOut=0x08AAEB00, leftVolume=0x0CCC, rightVolume=0x0CCC
120321 [SoundThread] DEBUG hle.ThreadManForUser - hleKernelDelayThread micros=591, callbacks=false
120321 [SoundThread] DEBUG hle.ThreadManForUser - -------------------- hleKernelThreadWait micros=591 forever:false thread:'SoundThread' caller:'ThreadManForUser.hleKernelDelayThread'
120321 [SoundThread] DEBUG hle.ThreadManForUser - Context switching to '098AF280(uid=0x24D, Status=PSP_THREAD_READY, Wait=None, doCallbacks=false)' after reschedule
120322 [SoundThread] DEBUG hle.ThreadManForUser - ---------------------------------------- SceUID=24d name:'098AF280'
120322 [SoundThread] DEBUG runtime - Switching from Thread SoundThread to 098AF280
120322 [SoundThread] DEBUG runtime - syncThread currentThread=SoundThread, currentRuntimeThread=098AF280
120323 [SoundThread] DEBUG runtime - Waiting to be scheduled...
120323 [098AF280] DEBUG runtime - Scheduled, restarting...
120324 [098AF280] DEBUG runtime - syncEmulator immediately=false
120324 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferEventFlagStatus uid=0x245 addr=0x8cbd230
120324 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120325 [098AF280] DEBUG runtime - syncEmulator immediately=false
120325 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferEventFlagStatus uid=0x1fc addr=0x8cbd220
120325 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120325 [098AF280] DEBUG runtime - syncEmulator immediately=false
120326 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferEventFlagStatus uid=0x1fc addr=0x8cbd220
120326 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120326 [098AF280] DEBUG runtime - syncEmulator immediately=false
120327 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferEventFlagStatus uid=0x1fc addr=0x8cbd220
120327 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120328 [098AF280] DEBUG runtime - syncEmulator immediately=false
120328 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferEventFlagStatus uid=0x245 addr=0x8cbd220
120328 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120329 [098AF280] DEBUG runtime - syncEmulator immediately=false
120329 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferEventFlagStatus uid=0x1fc addr=0x8cbd220
120329 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120330 [098AF280] DEBUG runtime - syncEmulator immediately=false
120330 [098AF280] DEBUG hle.sceMpeg - sceMpegRingbufferAvailableSize ringbufferAddr=0x098AD8FC
120330 [098AF280] DEBUG hle.sceMpeg - sceMpegRingbufferAvailableSize returning 0
120331 [098AF280] DEBUG hle.ThreadManForUser - sceKernelSetEventFlag uid=0x245 bitsToSet=0x4
120331 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120332 [098AF280] DEBUG runtime - syncEmulator immediately=false
120332 [098AF280] DEBUG hle.sceCtrl - hleCtrlExecuteSampling
120332 [098AF280] DEBUG hle.ThreadManForUser - Triggering Interrupt VBLANK(0x1E)
120332 [098AF280] DEBUG hle.ThreadManForUser - Calling InterruptHandler 0x08976F70(0x0000000F,0x098ADB80)
120333 [098AF280] DEBUG runtime - Start of Callback 0x08976F70
120333 [098AF280] DEBUG hle.ThreadManForUser - sceKernelSetEventFlag uid=0x1fc bitsToSet=0x400
120333 [098AF280] DEBUG runtime - End of Callback 0x08976F70
120334 [098AF280] DEBUG hle.ThreadManForUser - End of Interrupt
120334 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120334 [098AF280] DEBUG runtime - syncEmulator immediately=false
120335 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120335 [098AF280] DEBUG runtime - syncEmulator immediately=false
120335 [098AF280] DEBUG hle.ThreadManForUser - sceKernelGetThreadId returning uid=0x24d
120336 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120336 [098AF280] DEBUG runtime - syncEmulator immediately=false
120336 [098AF280] DEBUG hle.ThreadManForUser - sceKernelGetThreadId returning uid=0x24d
120336 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120337 [098AF280] DEBUG runtime - syncEmulator immediately=false
120337 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferThreadStatus thread=098AF280(uid=0x24D, Status=PSP_THREAD_RUNNING, Wait=None, doCallbacks=false), addr=0x08CBD0F0
120338 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120338 [098AF280] DEBUG runtime - syncEmulator immediately=false
120338 [098AF280] DEBUG hle.ThreadManForUser - hleKernelWaitSema(id=0x249,signal=1,timeout=0x0) callbacks=false
120339 [098AF280] DEBUG hle.ThreadManForUser - hleKernelWaitSema - 'pthread mutex' fast check succeeded
120339 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120339 [098AF280] DEBUG runtime - syncEmulator immediately=false
120340 [098AF280] DEBUG hle.ThreadManForUser - sceKernelGetThreadId returning uid=0x24d
120340 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120340 [098AF280] DEBUG runtime - syncEmulator immediately=false
120341 [098AF280] DEBUG hle.ThreadManForUser - sceKernelReferThreadStatus thread=098AF280(uid=0x24D, Status=PSP_THREAD_RUNNING, Wait=None, doCallbacks=false), addr=0x08CBD160
120341 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120342 [098AF280] DEBUG runtime - syncEmulator immediately=false
120342 [098AF280] DEBUG hle.ThreadManForUser - sceKernelSignalSema id=0x249 name='pthread mutex' signal=1
120343 [098AF280] DEBUG runtime - syncThread currentThread=098AF280, currentRuntimeThread=098AF280
120343 [098AF280] DEBUG runtime - syncEmulator immediately=false
120343 [098AF280] DEBUG hle.ThreadManForUser - hleKernelDelayThread micros=4000, callbacks=false
120344 [098AF280] DEBUG hle.ThreadManForUser - -------------------- hleKernelThreadWait micros=4000 forever:false thread:'098AF280' caller:'ThreadManForUser.hleKernelDelayThread'
120344 [098AF280] DEBUG hle.ThreadManForUser - Context switching to 'SoundThread(uid=0x1F, Status=PSP_THREAD_READY, Wait=None, doCallbacks=false)' after reschedule
120345 [098AF280] DEBUG hle.ThreadManForUser - ---------------------------------------- SceUID=1f name:'SoundThread'
120345 [098AF280] DEBUG runtime - Switching from Thread 098AF280 to SoundThread
...
Code:
------------------------------------------------------------
Thread ID - 0x00000004
Th Name - idle0
zr:0x00000000 at:0xDEADBEEF v0:0xDEADBEEF v1:0xDEADBEEF
a0:0x00000000 a1:0xDEADBEEF a2:0xDEADBEEF a3:0xDEADBEEF
t0:0xDEADBEEF t1:0xDEADBEEF t2:0xDEADBEEF t3:0xDEADBEEF
t4:0xDEADBEEF t5:0xDEADBEEF t6:0xDEADBEEF t7:0xDEADBEEF
s0:0xDEADBEEF s1:0xDEADBEEF s2:0xDEADBEEF s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0xDEADBEEF t9:0xDEADBEEF k0:0x08801F00 k1:0x00000000
gp:0x00000000 sp:0x08801E00 fp:0xDEADBEEF ra:0x08000000
0x88000000: 0x24040000 - addiu $a0, $zr, 0 <=> li $a0, 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: 'StreamThread' ID: 0x0022 Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80000000 Current Priority: 0x10 Initial Priority: 0x10
Thread Entry: 0x0892DB30 Stack: 0x08CBFC00 - 0x08CCFC00 Stack Size: 0x00010000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: Delay (delay 10000 us, rest 5121 us) Us: 10000 Forever: false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: '098AF480' ID: 0x0250 Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80000000 Current Priority: 0x1E Initial Priority: 0x6F
Thread Entry: 0x08A40DF8 Stack: 0x08CBB400 - 0x08CBC400 Stack Size: 0x00001000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: Delay (delay 1000 us, rest 0 us) Us: 1000 Forever: false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: 'idle0' ID: 0x0004 Module ID: 0x0000
Thread Status: 0x00000001 PSP_THREAD_RUNNING
Thread Attr: 0x00001000 Current Priority: 0x7F Initial Priority: 0x7F
Thread Entry: 0x88000000 Stack: 0x08800000 - 0x08802000 Stack Size: 0x00002000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: None Us: 200 Forever: false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: 'idle1' ID: 0x0006 Module ID: 0x0000
Thread Status: 0x00000002 PSP_THREAD_READY
Thread Attr: 0x00001000 Current Priority: 0x7F Initial Priority: 0x7F
Thread Entry: 0x88000000 Stack: 0x08802000 - 0x08804000 Stack Size: 0x00002000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: None Us: 200 Forever: false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: 'SceIofileAsync' ID: 0x01F4 Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80004000 Current Priority: 0x64 Initial Priority: 0x64
Thread Entry: 0x08000040 Stack: 0x08CBF400 - 0x08CBFC00 Stack Size: 0x00000800
Thread Run Clocks: 0 Exit Code: 0x800201A2
Thread Wait Type: Sleep (forever) Us: 0 Forever: true
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: '098AED00' ID: 0x023E Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80000000 Current Priority: 0x11 Initial Priority: 0x6F
Thread Entry: 0x08A40DF8 Stack: 0x08CBD400 - 0x08CBE400 Stack Size: 0x00001000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: Semaphore (0x0237) (forever) Us: 0 Forever: true
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: 'user_main' ID: 0x000B Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80004000 Current Priority: 0x64 Initial Priority: 0x20
Thread Entry: 0x08804114 Stack: 0x09FBFC00 - 0x09FFFC00 Stack Size: 0x00040000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: ThreadEnd (0x0022) (forever) Us: 0 Forever: true
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: '098AEA00' ID: 0x023B Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80000000 Current Priority: 0x13 Initial Priority: 0x6F
Thread Entry: 0x08A40DF8 Stack: 0x08CBE400 - 0x08CBF400 Stack Size: 0x00001000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: Semaphore (0x022D) (forever) Us: 0 Forever: true
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: '098AF280' ID: 0x024D Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80000000 Current Priority: 0x10 Initial Priority: 0x6F
Thread Entry: 0x08A40DF8 Stack: 0x08CBC400 - 0x08CBD400 Stack Size: 0x00001000
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: Delay (delay 4000 us, rest 2029 us) Us: 4000 Forever: false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thread Name: 'SoundThread' ID: 0x001F Module ID: 0x0001
Thread Status: 0x00000004 PSP_THREAD_WAITING
Thread Attr: 0x80000000 Current Priority: 0x10 Initial Priority: 0x10
Thread Entry: 0x0892B480 Stack: 0x09FFFC00 - 0x0A000000 Stack Size: 0x00000400
Thread Run Clocks: 0 Exit Code: 0x800201A4
Thread Wait Type: Blocked (delay 594 us, rest 0 us) Us: 594 Forever: false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Allocated memory: 0160E084 23126148 bytes
[XXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]
Fragmented memory: 001F1F00 2039552 bytes
[ XXXXXX ]
Free list: [addr=0x08AB9500-0x08ABA000, size=0xB00], [addr=0x08ACA000-0x08CBB400, size=0x1F1400]
Allocated blocks:
SysMemInfo[addr=0x08800000-0x08804000, uid=3, partition=1, name='ThreadMan-RootMem', type=PSP_SMEM_Addr, size=0x4000 (allocated=0x4000)]
SysMemInfo[addr=0x08804000-0x08AB9500, uid=2, partition=2, name='MSPSP', type=PSP_SMEM_Addr, size=0x2B5484 (allocated=0x2B5500)]
SysMemInfo[addr=0x08ABA000-0x08ACA000, uid=d, partition=2, name='UserSbrk', type=PSP_SMEM_LowAligned, size=0x10000 (allocated=0x10000)]
SysMemInfo[addr=0x08CBB400-0x08CBC400, uid=251, partition=2, name='ThreadMan-Stack-0x250-098AF480', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x08CBC400-0x08CBD400, uid=24e, partition=2, name='ThreadMan-Stack-0x24d-098AF280', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x08CBD400-0x08CBE400, uid=23f, partition=2, name='ThreadMan-Stack-0x23e-098AED00', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x08CBE400-0x08CBF400, uid=23c, partition=2, name='ThreadMan-Stack-0x23b-098AEA00', type=PSP_SMEM_High, size=0x1000 (allocated=0x1000)]
SysMemInfo[addr=0x08CBF400-0x08CBFC00, uid=1f5, partition=2, name='ThreadMan-Stack-0x1f4-SceIofileAsync', type=PSP_SMEM_High, size=0x800 (allocated=0x800)]
SysMemInfo[addr=0x08CBFC00-0x08CCFC00, uid=23, partition=2, name='ThreadMan-Stack-0x22-StreamThread', type=PSP_SMEM_High, size=0x10000 (allocated=0x10000)]
SysMemInfo[addr=0x08CCFC00-0x09FBFC00, uid=13, partition=2, name='', type=PSP_SMEM_High, size=0x12F0000 (allocated=0x12F0000)]
SysMemInfo[addr=0x09FBFC00-0x09FFFC00, uid=c, partition=2, name='ThreadMan-Stack-0xb-user_main', type=PSP_SMEM_High, size=0x40000 (allocated=0x40000)]
SysMemInfo[addr=0x09FFFC00-0x0A000000, uid=20, partition=2, name='ThreadMan-Stack-0x1f-SoundThread', type=PSP_SMEM_High, size=0x400 (allocated=0x400)]
------------------------------------------------------------