Pcsx_ReARMed on Pi2
Having issues with a re compiled Pcsx_ReARMed (stand alone Binary NOT the RetroArch Core). Although the performance in XWindows is awsome (fulscreen/fullspeed) it doesn't seem to run in Console (just a blank screen). Does anyone have any ideas what the issue is?
"The list of things I have heard now contains everything!"
-
- Posts: 9
- Joined: Thu Mar 12, 2015 11:50 pm
Re: Pcsx_ReARMed on Pi2
Having the same problem myself.
I cant run it in bash as it just freezes at a black screen. In X it brings up this error
/lib/libts-0.0.so.0: cannot open shared object file: No such file or directory
Could not open touchscreen
plat_sdl: using 1776x952 as fullscreen resolution
plat_sdl: overlay: fmt 59565955, planes: 1, pitch: 1280, hw: 0
warning: video overlay is not hardware accelerated, not going to use it.
input: new device #0 "sdl:keys"
input: async-only devices detected..
# drv probed binds name
0 0 y y sdl:keys
frontend/libpicofe/readpng.c: unexpected font image size 256x320, needed 128x160
frontend/libpicofe/readpng.c: unexpected selector image size 16x20, needed 8x10
found skin.txt
menu_load_config: failed to open: ./.pcsx/pcsx.cfg
frontend/libpicofe/readpng.c: failed to open: /home/stingray/.picodrive/skin/background.png
me_id2offset: id 28 not found
Starting PCSX-ReARMed r22-2-g663fc55
Running PCSX Version 1.9 (Mar 13 2015).
warning: failed to do hugetlb mmap (0x80000000, 2162688): 22
psxMap: warning: wanted to map @80000000, got (nil)
Segmentation fault
and then crashes.
I'm using Linux raspberrypi 3.18.9-v7+ #767 SMP PREEMPT Sat Mar 7 21:52:35 GMT 2015 armv7l GNU/Linux
I cant run it in bash as it just freezes at a black screen. In X it brings up this error
/lib/libts-0.0.so.0: cannot open shared object file: No such file or directory
Could not open touchscreen
plat_sdl: using 1776x952 as fullscreen resolution
plat_sdl: overlay: fmt 59565955, planes: 1, pitch: 1280, hw: 0
warning: video overlay is not hardware accelerated, not going to use it.
input: new device #0 "sdl:keys"
input: async-only devices detected..
# drv probed binds name
0 0 y y sdl:keys
frontend/libpicofe/readpng.c: unexpected font image size 256x320, needed 128x160
frontend/libpicofe/readpng.c: unexpected selector image size 16x20, needed 8x10
found skin.txt
menu_load_config: failed to open: ./.pcsx/pcsx.cfg
frontend/libpicofe/readpng.c: failed to open: /home/stingray/.picodrive/skin/background.png
me_id2offset: id 28 not found
Starting PCSX-ReARMed r22-2-g663fc55
Running PCSX Version 1.9 (Mar 13 2015).
warning: failed to do hugetlb mmap (0x80000000, 2162688): 22
psxMap: warning: wanted to map @80000000, got (nil)
Segmentation fault
and then crashes.
I'm using Linux raspberrypi 3.18.9-v7+ #767 SMP PREEMPT Sat Mar 7 21:52:35 GMT 2015 armv7l GNU/Linux
Last edited by stingray101 on Fri Mar 13, 2015 5:46 pm, edited 1 time in total.
-
- Posts: 9
- Joined: Thu Mar 12, 2015 11:50 pm
Re: Pcsx_ReARMed on Pi2
Ive figured out this much the problem my psxmap having is a memory issue cannot find it. I can get pre-compiled binarys working in X. Not in console though. Not that its not running I can hear the sounds of the roms but its just a black screen.
-
- Posts: 9
- Joined: Thu Mar 12, 2015 11:50 pm
Re: Pcsx_ReARMed on Pi2
Ok I was able to fix the black screen issue and the crashing on execution with pcsx_rearmed. Its running fine on my rpi 2.
So I went into i pcxmem.c in libpcsxcore folder and change a line in the function psxMemInit()
from "x80000000" to "x70000000" then made the program again and it works.. in terminal and x. Seems to be running fine too.
I havent the fainest clue why it worked. My guess it was'nt finding what I assume was a ram address on my Pi or something who knows. Guesswork. Hope this helps.
So I went into i pcxmem.c in libpcsxcore folder and change a line in the function psxMemInit()
Code: Select all
int psxMemInit() {
int i;
psxMemRLUT = (u8 **)malloc(0x10000 * sizeof(void *));
psxMemWLUT = (u8 **)malloc(0x10000 * sizeof(void *));
memset(psxMemRLUT, 0, 0x10000 * sizeof(void *));
memset(psxMemWLUT, 0, 0x10000 * sizeof(void *));
psxM = psxMap(^HERE^-->0x70000000<---^HERE^, 0x00210000, 1, MAP_TAG_RAM);
from "x80000000" to "x70000000" then made the program again and it works.. in terminal and x. Seems to be running fine too.
I havent the fainest clue why it worked. My guess it was'nt finding what I assume was a ram address on my Pi or something who knows. Guesswork. Hope this helps.
Re: Pcsx_ReARMed on Pi2
stingray101
Thanks! I will give it a go when time allows!
Thanks! I will give it a go when time allows!
"The list of things I have heard now contains everything!"
Re: Pcsx_ReARMed on Pi2
I went ahead and opened a bug report:
https://github.com/notaz/pcsx_rearmed/issues/42
So hopefully notaz will be able to fix the issue upstream.
https://github.com/notaz/pcsx_rearmed/issues/42
So hopefully notaz will be able to fix the issue upstream.
Re: Pcsx_ReARMed on Pi2
notaz says it should be fixed with the latest commit
Re: Pcsx_ReARMed on Pi2
steev
NIce One! Thanks for the information!
NIce One! Thanks for the information!
"The list of things I have heard now contains everything!"