EmuNewz Network
JPCSP r1511 doesn't work on linux 64bit - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: JPCSP builds and releases (https://www.emunewz.net/forum/forumdisplay.php?fid=53)
+---- Thread: JPCSP r1511 doesn't work on linux 64bit (/showthread.php?tid=1100)



JPCSP r1511 doesn't work on linux 64bit - WaKKa - 05-14-2010

Hi all,
For start, I'm sorry if my english isn't very correct Sad
Then, I've downloaded the r1511 for a Ubuntu 64bit. After I start JPCSP and in the terminal I read a lot of java exception:
Code:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at jpcsp.GUI.UmdBrowser$MemStickTableModel.getRowCount(UmdBrowser.java:185)
        at javax.swing.JTable.getRowCount(JTable.java:2631)
        at jpcsp.GUI.UmdBrowser.<init>(UmdBrowser.java:288)
        at jpcsp.MainGUI.openUmdActionPerformed(MainGUI.java:927)
        at jpcsp.MainGUI.access$500(MainGUI.java:91)
        at jpcsp.MainGUI$6.actionPerformed(MainGUI.java:275)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
while the Windows version doesn't return any exception.
Then, with Win32 version r1511 Crisis core starts but it's very slow even if the game works.
Any suggestion for run the emulator on linux ubuntu? What is the last working version for 64bit for linux? Sad
Thank you very much for all!


RE: JPCSP r1511 doesn't work on linux 64bit - Orphis - 05-14-2010

The bug should be fixed in r1512. But it won't help as you didn't set the path to your UMD ISOs or CSOs in the settings.
You can use directly Open file instead of the UMD browser too and it *should* work. It's untested but the valid .so files are there and I've got a little faith in Java and my packaging after all. I've also added a .sh file you can run in the root directory "sh start-linux-amd64.sh" to launch the emulator. Untested too but it's not that complex after all ^^

If the game is too slow, look at the topic concerning the game to find the right settings.

By the way, if you make the video decoding work on your Ubuntu 64bit, it would be nice if your report it here, thanks.


RE: JPCSP r1511 doesn't work on linux 64bit - WaKKa - 05-14-2010

(05-14-2010, 02:42 AM)Orphis Wrote: The bug should be fixed in r1512. But it won't help as you didn't set the path to your UMD ISOs or CSOs in the settings.
You can use directly Open file instead of the UMD browser too and it *should* work. It's untested but the valid .so files are there and I've got a little faith in Java and my packaging after all. I've also added a .sh file you can run in the root directory "sh start-linux-amd64.sh" to launch the emulator. Untested too but it's not that complex after all ^^

If the game is too slow, look at the topic concerning the game to find the right settings.

By the way, if you make the video decoding work on your Ubuntu 64bit, it would be nice if your report it here, thanks.
I know that setting directly Open file instead of UMD browser it's work but...if doesn't work a thing maybe don't work a lot of thing! :p especially with a 64bit version!
I'v seen now that is available the r1512, I'm going to test its!

Please, if you explain me better what I've to do for the "video decoding work" I'll do immediately !

Thank you for your answer, anyway! Smile

PS: is translate JPCSP long in italian language? I could tray to translate it
PSS: another thing...when I press Stop the program block itself and I must do CTRL + C in the console to kill its
When I start the game, in the console appears...
Code:
Exception in thread "user_main" java.lang.UnsatisfiedLinkError: no xuggle-ferry in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:265)
        at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:168)
        at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:14)
        at com.xuggle.ferry.Logger$Level.<clinit>(Logger.java:225)
        at jpcsp.media.MediaEngine.<init>(MediaEngine.java:70)
        at jpcsp.HLE.modules150.sceMpeg.installModule(sceMpeg.java:126)
        at jpcsp.HLE.modules.sceMpeg.installModule(sceMpeg.java:27)
        at jpcsp.HLE.modules.HLEModuleManager.LoadFlash0Module(HLEModuleManager.java:229)
        at jpcsp.HLE.modules200.sceUtility.loadModule(sceUtility.java:102)
        at jpcsp.HLE.modules310.sceUtility.sceUtilityLoadModule(sceUtility.java:107)
        at jpcsp.HLE.modules310.sceUtility$1.execute(sceUtility.java:137)
        at jpcsp.HLE.modules.HLEModuleManager.handleSyscall(HLEModuleManager.java:320)
        at jpcsp.HLE.SyscallHandler.syscall(SyscallHandler.java:1098)
        at jpcsp.Allegrex.compiler.RuntimeContext.syscall(RuntimeContext.java:567)
        at _S1_2_899DEC8.s(_S1_2_899DEC8.java:4)
        at _S1_2_88020F4.s(_S1_2_88020F4.java:108)
        at _S1_2_88022D8.s(_S1_2_88022D8.java:252)
        at _S1_2_8802188.s(_S1_2_8802188.java:32)
        at _S1_2_8983BF4.s(_S1_2_8983BF4.java:356)
        at _S1_2_8983BF4.exec(_S1_2_8983BF4.java)
        at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:596)
        at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:45)


Then, even if I uncheck MPEG faked video and I check MediaEngine, the game blocks with this log:
Code:
0 [GUI] INFO  misc - Jpcsp v0.5 1512
7 [GUI] INFO  misc - UMD param.sfo :
BOOTABLE = 1
CATEGORY = UG
DISC_ID = ULES01047
DISC_NUMBER = 1
DISC_TOTAL = 1
DISC_VERSION = 1.00
PARENTAL_LEVEL = 7
PSP_SYSTEM_VER = 3.95
REGION = 32768
TITLE = CRISIS CORE -FINAL FANTASY VII-
probably homebrew? false
16 [SQEX FILE READING THREAD] INFO  runtime - Thread exit detected SceUID=1012 name:'SQEX FILE READING THREAD' return:0x0
151 [GUI] INFO  misc - Found ModuleInfo name:'CCFF7ITIT' version:0100 attr:00000000 gp:00000000
152 [GUI] INFO  misc - Found 197 imports from 22 modules
153 [GUI] INFO  misc - Found 2 exports
154 [GUI] INFO  misc - 197 NIDS mapped
155 [GUI] INFO  hle - pspiofilemgr - filepath disc0/
156 [GUI] INFO  misc - Loading global compatibility settings
157 [GUI] INFO  ge - Only GE Graphics: true
157 [GUI] INFO  ge - Use Viewport: true
158 [GUI] INFO  hle - Media Engine enabled
158 [GUI] INFO  ge - Using Vertex Cache
159 [GUI] INFO  hle - Audio ChReserve disabled: false
159 [GUI] INFO  hle - Audio muted: false
163 [GUI] INFO  hle - Audio Blocking disabled: false
164 [GUI] INFO  hle - Audio threads disabled: false
165 [GUI] INFO  memory - Ignore invalid memory access: false
166 [GUI] INFO  hle - Reserving thread memory: false
167 [GUI] INFO  hle - WaitThreadEndCB enabled: true
1755 [Emu] INFO  runtime - Using Compiler
1764 [root] WARN  hle - Unsupported syscall 306e sceKernelSetCompiledSdkVersion380_390 03080010 09fffa00 00000000
1772 [root] WARN  hle - Unsupported syscall 3002 sceKernelSetCompilerVersion 00040004 09fffa00 00000000
1776 [root] INFO  runtime - Thread exit detected SceUID=1020 name:'root' return:0x0
1791 [user_main] INFO  hle - sceKernelCreateFpl(name='SQEX memory pool',partition=2,attr=0x0,blocksize=0x1520000,blocks=1,opt=0x9ffb6a4)
1793 [user_main] WARN  hle - UNIMPLEMENTED:sceKernelCreateFpl option at 0x9ffb6a4 (size=8)
1805 [user_main] INFO  compiler - Replacing CodeBlock at 0x08995254 by Native Code 'memset'
1818 [user_main] INFO  compiler - Replacing CodeBlock at 0x0899535C by Native Code 'strlen'
1824 [user_main] INFO  compiler - Replacing CodeBlock at 0x0899B420 by Native Code 'nop'
1933 [user_main] INFO  compiler - Replacing CodeBlock at 0x088FB4F4 by Native Code 'nop'
1966 [user_main] INFO  compiler - Replacing CodeBlock at 0x08995318 by Native Code 'strcpy'
2010 [user_main] INFO  hle - hleIoOpen filename = disc0:/PSP_GAME/USRDIR/discimg.fse flags = 1 permissions = 00
2031 [user_main] INFO  hle - hleIoOpen filename = umd1: flags = 1 permissions = 00
2056 [user_main] WARN  hle - UNIMPLEMENTED:scePowerRegisterCallback slot=-1 SceUID=1031
2071 [user_main] INFO  hle - IGNORING:sceUtilityLoadModule(module=0x0300) PSP_MODULE_AV_AVCODEC
2074 [user_main] INFO  hle - sceUtilityLoadModule(module=0x0301) PSP_MODULE_AV_SASCORE loaded
2078 [user_main] INFO  hle - sceUtilityLoadModule(module=0x0302) PSP_MODULE_AV_ATRAC3PLUS loaded
2079 [user_main] INFO  hle - Faked MPEG Video enabled



RE: JPCSP r1511 doesn't work on linux 64bit - Orphis - 05-14-2010

So, that's another bug to fix, and you didn't install xuggle correctly if you did because it can't find the binaries (.so files). You won't have any decoded movie until you manage to fix this (and maybe do some other magic). I'll try to get a hand on a 64bit Ubuntu and fix it soon maybe. Wink


RE: JPCSP r1511 doesn't work on linux 64bit - WaKKa - 05-14-2010

Thank you very much for your help, I'v resolved! Now it works but very slow Sad now i 'm going to read the topic about crisis core... thank you again Smile

EDIT: It dosn't work again and I don't know whay Sad
It starts but at the begin the intro video (where I can select New game or Continue) don't appear again!
Advises?


RE: JPCSP r1511 doesn't work on linux 64bit - WaKKa - 05-14-2010

Another thing... the audio should have to work?
Because both with "faked mpeg" and Media Engine it doesn't work.
Then, the game is very slow even with configs writed in the topic of Crisis core...
Have you some suggestion, please?
Thank you for all Smile