Drumaster78
Member
- Joined
- Aug 24, 2016
- Messages
- 38
- Age
- 44
Hello,
I'm still trying to understand and tweak some little things on my Wiz and notice a strange behavior that I still cannot fix.
The story:
After closing a specific app (here DrPocketSnes 7.2.1) I can't launch PCSXreARMed r18 in the same session as PCSX just returns to the launcher right after trying to launch it. Rebooting solves it.
My attempts to fix it:
So, I immediately checked what command is used to terminate DrPocketSnes in the gpe file and I found that it seemed ok with:
cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu
To be even more sure, I checked with Termula2X that no Snes process was still in background. No trace of it after using ps or top command (or whatever displays the process table).
So, I decided to clean all caches of Linux using the command 'sync; echo 3 > /proc/sys/vm/drop_caches'. Ok, now all the used RAM is free (I checked again with Termula2X) so no app cache anywhere but still no way to launch PCSX (through the same session again).
I'm out of solution here I have to admit...
What I want to do:
Once I have found a way to fix it, my goal here will be to modify /usr/gp2x/gp2xmenu that will be a simple script including this fix then will redirect to my favorite launcher (GPH one or Win2X) so I am not forced to reboot my device to be able to launch another app. And therefore no need to modify each app gpe script to include the magic command as well (as it will be in the gp2xmenu file itself).
My questions:
As obviously there is STILL something left by DrPocketSnes somewhere (and possibly some other apps), what could it be if it's not in any Linux cache? Or maybe am I missing something to empty (I tried cleaning swap memory but there is none anyway on the Wiz)? Does anyone have deep knowledge about memory management on Linux and could help me on this?
BTW, I can reproduce another strange behavior: after closing PrBoom or eduke32, then launching a cd rom under Temper, framerate and sound become jerky. And of course, only a reboot fixes it.
EDIT: I solved Temper bug. It was because of the use of /proc/cpu/alignment set to 2 in PrBoom and EDuke32, then it made Temper run jerkily, even after emptying all Linux caches (which proves even more than it still remains something somewhere...). So I simply added /proc/cpu/alignment value set to 0 (back to default) in both Doom and Duke gpe script on exit.
Thanks for reading (I know my English is not that easy to read ).
I'm still trying to understand and tweak some little things on my Wiz and notice a strange behavior that I still cannot fix.
The story:
After closing a specific app (here DrPocketSnes 7.2.1) I can't launch PCSXreARMed r18 in the same session as PCSX just returns to the launcher right after trying to launch it. Rebooting solves it.
My attempts to fix it:
So, I immediately checked what command is used to terminate DrPocketSnes in the gpe file and I found that it seemed ok with:
cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu
To be even more sure, I checked with Termula2X that no Snes process was still in background. No trace of it after using ps or top command (or whatever displays the process table).
So, I decided to clean all caches of Linux using the command 'sync; echo 3 > /proc/sys/vm/drop_caches'. Ok, now all the used RAM is free (I checked again with Termula2X) so no app cache anywhere but still no way to launch PCSX (through the same session again).
I'm out of solution here I have to admit...
What I want to do:
Once I have found a way to fix it, my goal here will be to modify /usr/gp2x/gp2xmenu that will be a simple script including this fix then will redirect to my favorite launcher (GPH one or Win2X) so I am not forced to reboot my device to be able to launch another app. And therefore no need to modify each app gpe script to include the magic command as well (as it will be in the gp2xmenu file itself).
My questions:
As obviously there is STILL something left by DrPocketSnes somewhere (and possibly some other apps), what could it be if it's not in any Linux cache? Or maybe am I missing something to empty (I tried cleaning swap memory but there is none anyway on the Wiz)? Does anyone have deep knowledge about memory management on Linux and could help me on this?
BTW, I can reproduce another strange behavior: after closing PrBoom or eduke32, then launching a cd rom under Temper, framerate and sound become jerky. And of course, only a reboot fixes it.
EDIT: I solved Temper bug. It was because of the use of /proc/cpu/alignment set to 2 in PrBoom and EDuke32, then it made Temper run jerkily, even after emptying all Linux caches (which proves even more than it still remains something somewhere...). So I simply added /proc/cpu/alignment value set to 0 (back to default) in both Doom and Duke gpe script on exit.
Thanks for reading (I know my English is not that easy to read ).
Last edited: