| View previous topic :: View next topic |
| Author |
Message |
ahman
Joined: 31 May 2006 Posts: 22
|
Posted: Tue Oct 09, 2007 2:08 pm Post subject: |
|
|
moonlight, the current beta build of iR Shell uses Partition 8 for most of its functions. The Slim Partition 1 & Partition 4 has less free memory when comparing to the Phat, so I moved the whole iR Shell to Partition 8. Looks like people will need to use this new settings in recovery if they want to run iR Shell.
The SFO flag may be a better alternative if Tyranid is willing to implement it. Also, will there be any option to leave like 2MB in Partition 8, and move the rest to Partition 2? Then, kernel mode apps will still have some extra free space to grow. |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Tue Oct 09, 2007 3:43 pm Post subject: |
|
|
| J.F. wrote: | | Maybe instead of doing away with the extra partion, you simply change the sizes of the two in question (and the start addr of the second). So instead of two partitions of 24M and 32M, you have two partitions of 48M and 8M. Leave enough memory in the new partition for the me_wrapper/codecs and a small UMD cache, while expanding the first partition to a more useful size. |
Well, umdcache is totally shutted down by M33 in its module_start when executing homebrew. It requests 16 MB from the partition, which is too much, and anyways if applications want to use the umd, it will just still work, but without the cache.
About the special setting ahman, the bad thing about these things, is that the hack has to be done before any use of the partition, this is before usersystemlib.prx is loaded (M33 does it currently after shutting down umdcache), so it is not possible to add a function that just repartitions things without causing a mess, unless of course it is done before a loadexec, and the setting applies after the reboot. |
|
| Back to top |
|
 |
ahman
Joined: 31 May 2006 Posts: 22
|
Posted: Tue Oct 09, 2007 5:00 pm Post subject: |
|
|
| No worries, I know there are always complications with these things. I just use the recovery setting or re-exec with vshMs1. Thanks again for your hardwork. |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Oct 10, 2007 3:13 am Post subject: |
|
|
| I could add an option in the SFO, in many cases I think that might be the best option if old style stuff still boots into the old 24MB mode. Then again does this actually significantly affect existing apps at all? Any which allocated all ram from partition 2 will still do so and if they previously tried to use more memory than was available in the 24MB they would have failed anyway. |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Wed Oct 10, 2007 4:32 am Post subject: |
|
|
well, appart of breaking irshell and nesterj, normal apps shouldn't be broken, but still I'm under the impression that something unexpected could happen, so it may be better set that flag.
For applications that need a custom use of memory, I can set a function such as
int sctrlHENSetMemory(u32 p1, u32 p8), where p1 and p8 would be the desired size in MB of partition 1 and 8 with p1+p8 <= 52, and the settings would take place in the next VSHMs*. |
|
| Back to top |
|
 |
Sidelve
Joined: 04 Oct 2007 Posts: 9
|
Posted: Wed Oct 10, 2007 4:55 am Post subject: |
|
|
| weltall wrote: | | i remember when i used slackware back two years ago that it was crashing my tty whathever i used usbhostfs_pc |
OK, now I've tried on Ubuntu 7.04, and there's still all the same like in my slackware:
usbhostfs: "connected to device"
remotejoy: runs, but there's just black window, nothing appears... |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Oct 10, 2007 5:19 am Post subject: |
|
|
| Okay well I can add an extra tag, say MEMORYSIZE with a 32bit value of maybe 0 for normal mode and 1 for large size perhaps. Might take me slightly more work though as I need to rebuild the sfo binary. Perhaps I might take this opportunity to make mksfo more useful :P |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Wed Oct 10, 2007 5:22 am Post subject: |
|
|
| TyRaNiD wrote: | | Okay well I can add an extra tag, say MEMORYSIZE with a 32bit value of maybe 0 for normal mode and 1 for large size perhaps. Might take me slightly more work though as I need to rebuild the sfo binary. Perhaps I might take this opportunity to make mksfo more useful :P |
Yeah, you could add to it a firmware revision option for example :p |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Wed Oct 10, 2007 3:35 pm Post subject: |
|
|
| Sidelve wrote: | | weltall wrote: | | i remember when i used slackware back two years ago that it was crashing my tty whathever i used usbhostfs_pc |
OK, now I've tried on Ubuntu 7.04, and there's still all the same like in my slackware:
usbhostfs: "connected to device"
remotejoy: runs, but there's just black window, nothing appears... |
doesn't usbhostfs say async connection[..]?
did you try f5? |
|
| Back to top |
|
 |
Sidelve
Joined: 04 Oct 2007 Posts: 9
|
Posted: Sun Oct 21, 2007 3:38 am Post subject: |
|
|
OMG !
It works (even on Slackware :) ) ! :)
Everything's great, but is there possibility run fullscreen as REALLY fullscreen (without black borders arround) ?
edit:
after using a while I can see some problems too:
image on psp window (so of course on remotejoy window too) freezes when I try to load some save (I tried in Sega Rally Revo, Hot Wheels and GTA:LS - everywhere the same) - but just freezes and I can clik Home and exit to main menu
Sometimes (for example after finish some race in Hot Wheels, when game tries to load some next step console freezes and then shut offs... - its not nice :(
Are these known problems ?
And just curious - is there any work progress on remotejoy (I saw on svn, that last change was 8 months ago - except move it to trunk few weeks ago) ? |
|
| Back to top |
|
 |
cloudhunter
Joined: 17 Aug 2006 Posts: 86
|
Posted: Mon Oct 22, 2007 5:25 am Post subject: |
|
|
| Sidelve wrote: |
after using a while I can see some problems too:
image on psp window (so of course on remotejoy window too) freezes when I try to load some save (I tried in Sega Rally Revo, Hot Wheels and GTA:LS - everywhere the same) - but just freezes and I can clik Home and exit to main menu
Sometimes (for example after finish some race in Hot Wheels, when game tries to load some next step console freezes and then shut offs... - its not nice :(
Are these known problems ?
And just curious - is there any work progress on remotejoy (I saw on svn, that last change was 8 months ago - except move it to trunk few weeks ago) ? |
Yes, they are known problems. As far as I know, IRShell uses a modified iRShell to which it passes the memory location in which to use while loading the prx, therefore alleviating the problems. The problem lies in the fact that it uses the memory space which the PSP dialogues also use.
ahman attached his modified source earlier in this thread I believe, along with a recommended memory location.
Cloudy _________________ :) |
|
| Back to top |
|
 |
Sidelve
Joined: 04 Oct 2007 Posts: 9
|
Posted: Thu Nov 15, 2007 4:22 am Post subject: |
|
|
| cloudhunter wrote: |
Yes, they are known problems. As far as I know, IRShell uses a modified iRShell to which it passes the memory location in which to use while loading the prx, therefore alleviating the problems. The problem lies in the fact that it uses the memory space which the PSP dialogues also use.
ahman attached his modified source earlier in this thread I believe, along with a recommended memory location.
Cloudy |
OK, I've tried remotejoy from ahman and it didn't work at all...
With weltall plugins enabled, when I connect running psp to pc (without entering usb mode, just connect the cable) I have some info in /var/log/messages - which informs me, that something new usb has been plugged.
With compiled by myself (maybe I do something wrong - but what ?) remotejoy.prx and usbhostfs.prx from ahman remotejoy source, when I connect psp to pc nothing happens - no info in logs - plugin doesnt work ?
And after this, when I run ./usbhostfs_pc - nothing appears - NO "connected to device"
But when I run remotejoy, in usbhostfs_pc terminal appears:
| Code: | Accepting async connection (4) from 127.0.0.1
Closing async connection (4) |
What's wrong ? :/ |
|
| Back to top |
|
 |
|