01-18-2014, 11:10 PM (This post was last modified: 01-18-2014, 11:14 PM by akaya.)
Hi. I'd like to report audio problems from two games.
The first one is from Okashi na Shima no Peter Pan.
After the logo movie and before the title screen, Jpcsp fails to play bgm and freezes.
Several other games from the same company, Quinrose, have the same issue.
The INFO logger shows:
Code:
65859 [CRI Server Manager] INFO compiler - Splitting _S1_2_89475A8 (354/50)
66328 [CRI Server Manager] INFO hle.sceAtrac3plus - sceAtracLowLevelInitDecoder atID=0x0, paramsAddr=0x09FBB8B0
66359 [CRI Atom Atrac Decode] INFO compiler - Splitting _S1_2_8947B30 (80/50)
66390 [CRI Atom Atrac Decode] ERROR hle.sceAtrac3plus - Not a RIFF/WAVE format! 0005623A 01010101
66703 [CRI Atom Atrac Decode] ERROR me - MediaEngine: Invalid container format!
66859 [CRI Atom Atrac Decode] ERROR me - MediaEngine: No audio streams found!
test Digimon Adventure (NPJH50686)
If enable atrac3+ , you will need wait 30s to hear sound and get this error after 60s
Code:
18:25:30 ERROR runtime - CRI Atom Atrac Decode - Catched Throwable in RuntimeThread:
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Unknown Source)
at java.nio.HeapIntBuffer.get(Unknown Source)
at jpcsp.util.Utilities.putBuffer(Utilities.java:429)
at jpcsp.util.FIFOByteBuffer.copyToBuffer(FIFOByteBuffer.java:80)
at jpcsp.util.FIFOByteBuffer.write(FIFOByteBuffer.java:98)
at jpcsp.util.FIFOByteBuffer.write(FIFOByteBuffer.java:107)
at jpcsp.connector.AtracCodec.atracAddStreamData(AtracCodec.java:376)
at jpcsp.HLE.modules150.sceAtrac3plus$AtracID.addStreamData(sceAtrac3plus.java:539)
at jpcsp.HLE.modules620.sceAtrac3plus.sceAtracLowLevelDecode(sceAtrac3plus.java:76)
at _S1_2_89775C4.s(_S1_2_89775C4.java:4)
at _S1_2_88E1C90.s88e1d10(_S1_2_88E1C90.java:172)
at _S1_2_88E1C90.s(_S1_2_88E1C90.java:128)
at _S1_2_88E1250.s(_S1_2_88E1250.java:68)
at _S1_2_88E1310.s(_S1_2_88E1310.java:108)
at _S1_2_88E1310.exec(_S1_2_88E1310.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:210)
at _S1_2_89127B8.s(_S1_2_89127B8.java:68)
at _S1_2_89127B8.exec(_S1_2_89127B8.java)
at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:668)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:709)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
@gid15
Starting with r3371, any resolution over 1x (2x, 3x, etc.) will display multiple screens (1st - 4th Screenshot). Until the latest 3445, this problem has not been fixedSadSad http://www.emunewz.net/forum/showthread.php?tid=154780
03-26-2014, 01:53 AM (This post was last modified: 03-26-2014, 01:57 AM by akaya.)
The BGM problem in Meiji Tokyo Renka is now fixed in r3469.
Thank you so much.
I hope "Not a RIFF/WAVE format!" at3+ error in Okashi na Shima can also be fixed in future.
(01-18-2014, 11:10 PM)akaya Wrote: Hi. I'd like to report audio problems from two games.
The first one is from Okashi na Shima no Peter Pan.
After the logo movie and before the title screen, Jpcsp fails to play bgm and freezes.
Several other games from the same company, Quinrose, have the same issue.
The INFO logger shows:
Code:
65859 [CRI Server Manager] INFO compiler - Splitting _S1_2_89475A8 (354/50)
66328 [CRI Server Manager] INFO hle.sceAtrac3plus - sceAtracLowLevelInitDecoder atID=0x0, paramsAddr=0x09FBB8B0
66359 [CRI Atom Atrac Decode] INFO compiler - Splitting _S1_2_8947B30 (80/50)
66390 [CRI Atom Atrac Decode] ERROR hle.sceAtrac3plus - Not a RIFF/WAVE format! 0005623A 01010101
66703 [CRI Atom Atrac Decode] ERROR me - MediaEngine: Invalid container format!
66859 [CRI Atom Atrac Decode] ERROR me - MediaEngine: No audio streams found!
(04-22-2014, 12:13 PM)onelight Wrote: special test AdHoc Multiplayer,it is work but need change the Clock Frequency to 222 MHZ (this game ask you to do this)
From the screenshot, the game is asking you if it should change the frequency to 222 MHz for you (it is not asking you to change it). Does it ask the same question on a real PSP?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
(04-22-2014, 12:13 PM)onelight Wrote: special test AdHoc Multiplayer,it is work but need change the Clock Frequency to 222 MHZ (this game ask you to do this)
From the screenshot, the game is asking you if it should change the frequency to 222 MHz for you (it is not asking you to change it). Does it ask the same question on a real PSP?
SCREENSHOT from PSP, same as jpcsp
BTW
it is said that you'd better use cpu speed 333/166 went play Gundam vs Gundam Next PLUS Multiplayer 4 palyers (connect 4 PSP with PSPtunnel)
I test this game with jpcsp, but multiplayer doesn't work http://www.emunewz.net/forum/showthread....797&page=6
(04-22-2014, 12:13 PM)onelight Wrote: special test AdHoc Multiplayer,it is work but need change the Clock Frequency to 222 MHZ (this game ask you to do this)
From the screenshot, the game is asking you if it should change the frequency to 222 MHz for you (it is not asking you to change it). Does it ask the same question on a real PSP?
SCREENSHOT from PSP, same as jpcsp
BTW
it is said that you'd better use cpu speed 333/166 went play Gundam vs Gundam Next PLUS Multiplayer 4 palyers (connect 4 PSP with PSPtunnel)
I test this game with jpcsp, but multiplayer doesn't work http://www.emunewz.net/forum/showthread....797&page=6
A bit off-topic, but I'm still looking into the issues with that game in particular. It appears to be a timing/synchronization issue, but it's quite difficult to reproduce, so I apologize for the delay on that.
As for the clock speed, most games handle this setting internally, so it wouldn't be really necessary to have an option for it. However, I'm interested in knowing what happens when changing the clock speed.
I believe PPSSPP allows you to manually change clock speed, right? Have you noticed any important differences in games when changing this?
04-27-2014, 12:51 AM (This post was last modified: 04-27-2014, 12:53 AM by onelight.)
(04-26-2014, 04:32 PM)Hykem Wrote:
(04-25-2014, 10:59 AM)onelight Wrote:
(04-24-2014, 03:48 PM)gid15 Wrote:
(04-22-2014, 12:13 PM)onelight Wrote: special test AdHoc Multiplayer,it is work but need change the Clock Frequency to 222 MHZ (this game ask you to do this)
From the screenshot, the game is asking you if it should change the frequency to 222 MHz for you (it is not asking you to change it). Does it ask the same question on a real PSP?
SCREENSHOT from PSP, same as jpcsp
BTW
it is said that you'd better use cpu speed 333/166 went play Gundam vs Gundam Next PLUS Multiplayer 4 palyers (connect 4 PSP with PSPtunnel)
I test this game with jpcsp, but multiplayer doesn't work http://www.emunewz.net/forum/showthread....797&page=6
A bit off-topic, but I'm still looking into the issues with that game in particular. It appears to be a timing/synchronization issue, but it's quite difficult to reproduce, so I apologize for the delay on that.
As for the clock speed, most games handle this setting internally, so it wouldn't be really necessary to have an option for it. However, I'm interested in knowing what happens when changing the clock speed.
I believe PPSSPP allows you to manually change clock speed, right? Have you noticed any important differences in games when changing this?
Yes, PPSSPP allows you to manually change clock speed. It is said that changing CPU clock speed may speed up but lower FPS, solver or cause crackle.
I guess something wrong with atrac3/atrac3plus lowlive audio
test Dragon Ball Z: Tenkaichi Tag Team with jpcsp 3103
black after game logo
Code:
08:47:20 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xe98b_size0x4A0 flags = 40000001 permissions = 00
08:47:21 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xe98b_size0x4A0 flags = 40000001 permissions = 00
08:47:22 INFO hle.sceUtility - - IGNORING: sceUtilityLoadModule(module=0x0108) PSP_MODULE_NET_HTTPSTORAGE
08:47:22 INFO hle.sceUtility - - sceUtilityUnloadModule(module=0x0108) PSP_MODULE_NET_HTTPSTORAGE unloaded
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xe9ef_size0xE1DC flags = 1 permissions = 00
08:47:22 INFO hle.UtilsForUser - - sceKernelIcacheInvalidateRange addr=0x08A814A0, size=0x4000
08:47:22 INFO hle.UtilsForUser - - sceKernelIcacheInvalidateRange addr=0x08A814A0, size=16384
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xea0c_size0x55FD4 flags = 1 permissions = 00
08:47:22 INFO hle.sceAtrac3plus - - sceAtracLowLevelInitDecoder atID=0x0, paramsAddr=0x08C37CE0
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xeab8_size0x18A flags = 1 permissions = 00
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0x39d05_size0x13E790 flags = 1 permissions = 00
08:47:22 ERROR me - - MediaEngine: Invalid container format!
08:47:22 ERROR me - - MediaEngine: No audio streams found!
08:47:22 ERROR runtime - - Catched Throwable in RuntimeThread:
java.lang.NullPointerException
at jpcsp.HLE.modules150.sceAtrac3plus$AtracID.addStreamData(sceAtrac3plus.java:551)
at jpcsp.HLE.modules620.sceAtrac3plus.sceAtracLowLevelDecode(sceAtrac3plus.java:86)
at _S1_2_8A666DC.s(_S1_2_8A666DC.java:4)
at _S1_2_883B118.s(_S1_2_883B118.java:2756)
at _S1_2_883B118.exec(_S1_2_883B118.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:189)
at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:670)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:709)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
Digimon Adventure also have AtracLowLevel problem, right?
(04-22-2014, 12:13 PM)onelight Wrote: special test AdHoc Multiplayer,it is work but need change the Clock Frequency to 222 MHZ (this game ask you to do this)
From the screenshot, the game is asking you if it should change the frequency to 222 MHz for you (it is not asking you to change it). Does it ask the same question on a real PSP?
SCREENSHOT from PSP, same as jpcsp
BTW
it is said that you'd better use cpu speed 333/166 went play Gundam vs Gundam Next PLUS Multiplayer 4 palyers (connect 4 PSP with PSPtunnel)
I test this game with jpcsp, but multiplayer doesn't work http://www.emunewz.net/forum/showthread....797&page=6
A bit off-topic, but I'm still looking into the issues with that game in particular. It appears to be a timing/synchronization issue, but it's quite difficult to reproduce, so I apologize for the delay on that.
As for the clock speed, most games handle this setting internally, so it wouldn't be really necessary to have an option for it. However, I'm interested in knowing what happens when changing the clock speed.
I believe PPSSPP allows you to manually change clock speed, right? Have you noticed any important differences in games when changing this?
Yes, PPSSPP allows you to manually change clock speed. It is said that changing CPU clock speed may speed up but lower FPS, solver or cause crackle.
I guess something wrong with atrac3/atrac3plus lowlive audio
test Dragon Ball Z: Tenkaichi Tag Team with jpcsp 3103
black after game logo
Code:
08:47:20 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xe98b_size0x4A0 flags = 40000001 permissions = 00
08:47:21 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xe98b_size0x4A0 flags = 40000001 permissions = 00
08:47:22 INFO hle.sceUtility - - IGNORING: sceUtilityLoadModule(module=0x0108) PSP_MODULE_NET_HTTPSTORAGE
08:47:22 INFO hle.sceUtility - - sceUtilityUnloadModule(module=0x0108) PSP_MODULE_NET_HTTPSTORAGE unloaded
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xe9ef_size0xE1DC flags = 1 permissions = 00
08:47:22 INFO hle.UtilsForUser - - sceKernelIcacheInvalidateRange addr=0x08A814A0, size=0x4000
08:47:22 INFO hle.UtilsForUser - - sceKernelIcacheInvalidateRange addr=0x08A814A0, size=16384
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xea0c_size0x55FD4 flags = 1 permissions = 00
08:47:22 INFO hle.sceAtrac3plus - - sceAtracLowLevelInitDecoder atID=0x0, paramsAddr=0x08C37CE0
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0xeab8_size0x18A flags = 1 permissions = 00
08:47:22 INFO hle.IoFileMgrForUser - - hleIoOpen filename = disc0:/sce_lbn0x39d05_size0x13E790 flags = 1 permissions = 00
08:47:22 ERROR me - - MediaEngine: Invalid container format!
08:47:22 ERROR me - - MediaEngine: No audio streams found!
08:47:22 ERROR runtime - - Catched Throwable in RuntimeThread:
java.lang.NullPointerException
at jpcsp.HLE.modules150.sceAtrac3plus$AtracID.addStreamData(sceAtrac3plus.java:551)
at jpcsp.HLE.modules620.sceAtrac3plus.sceAtracLowLevelDecode(sceAtrac3plus.java:86)
at _S1_2_8A666DC.s(_S1_2_8A666DC.java:4)
at _S1_2_883B118.s(_S1_2_883B118.java:2756)
at _S1_2_883B118.exec(_S1_2_883B118.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:157)
at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:189)
at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:670)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:709)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)
Digimon Adventure also have AtracLowLevel problem, right?
Interesting...
Yes, both games seem to have a very similar issue. It looks like there's a sync issue with the low level decoding routines.
This may also explain the "ERROR hle.sceAtrac3plus - Not a RIFF/WAVE format!" messages, since the game appears to be reading data from where it shouldn't.
Thanks for the reports, I'm going to see if I can reproduce this issue and improve the decoding stability.