Jump to content


Photo

Hotfix 5 - Rc2. Last One Before Going Final


  • Please log in to reply
25 replies to this topic

#1 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 23 February 2011 - 02:06 AM

HotFix 5 RC2 is finished. We've come a long way, and hopefully, most evil bugs have been squashed.
This will be the last one before the final - and maybe it already will be the final one.

It's still not in PND-form, so flashing this puts your Pandora back to the state you got it. Be sure to backup anything you put on the internal storage if you need it.
I'll work on making a PND-HF5-Installer for the final release.

Here are the changes that happened from Beta RC1 to RC2:

* Bugfix: libpnd - inotify was catching all modifications instead of closed-writable files. Thanks to Demitar for the catch!
* Various bugfixes and enhancements to the category / subcategory system of MiniMenu
* DaveC donated some nice folder graphics for the subcats in MiniMenu
* op_power.sh: Fixed a bug which crashed the script when going to low-power mode while connected to WLAN network
* Kernel: Set higher functional clock constraint. This allows hardware scaler to work with higher resolutions, allowing 720p video playback, for example.
* Various other small fixes!

In case you haven't checked them (or forgot about it) - here is the list of changes that happened from HF4 :)

Spoiler


Download the latest version here.

How to flash the image?

Easy: Download the zipped image and extract the full contents onto the root of your SD Card.
Put the SD Card into slot 1 (the left one), switch on the Pandora while holding the R-Shoulder button and select "boot from SD1:1"

The flashing process should start. After it's finished, reboot the unit.
The first boot will take a while (up to 10 minutes). Patiently wait and you'll be greeted with the First Boot Wizard.

Additionally, we are currently organizing the Firmware development so that it's much easier to participate for everyone who wants to help and submit patches.
There's a mailing list, IRC, the boards, etc.

#2 fearofshorts

fearofshorts

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 227 posts
  • Gender:Male
  • Location:Australia
  • Interests:Gaming, Reading, Music.

Posted 23 February 2011 - 07:12 AM

This may not be very helpful as feedback (as I don't have my Pandy yet) but I just wanted to thank you, and all of the other devs, for continuing to improve the Pandora's OS.

#3 Gruso

Gruso

    thunderbox

  • X-treme Team
  • 5538 posts
  • Gender:Male
  • Location:Sydney, Australia

Posted 23 February 2011 - 10:21 AM

+1 :)

#4 goldenegg

goldenegg

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 114 posts

Posted 23 February 2011 - 01:20 PM

I don't know about anyone else, but I'm getting really slow transfer speeds trying to get this release. It says it's going to take 6 hours to complete. I guess I'll have to wait until the morning to give it a try :)

#5 Korlithiel

Korlithiel

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 313 posts

Posted 24 February 2011 - 04:15 AM

I hate to ask, but will it finally be automated that when I sink my bluetooth headphones I can set it to automatically output my audio via them whenever synced?

That minor bit aside, I really look forward to this update. So very many changes.

Edited by Korlithiel, 24 February 2011 - 04:17 AM.


#6 goldenegg

goldenegg

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 114 posts

Posted 24 February 2011 - 04:48 AM

I've been playing with RC2 for about 12 hours or so. I'm still running in to random PND mounting issues, requiring a reboot to resolve. Here's an example error output.

sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/PANDORA_SD1/pandora/menu/ComputerEmulators//ViceX64.pnd -e x64.gpe -b vicex64.pickle
not mounted on loop yet, doing so
LoopMountedon: 
losetup: could not find any free loop device

usedminor 1
freeminor 2
mknod: `/dev/loop2': File exists
losetup: /dev/loop2: device is busy
Filetype is Squashfs
Mounting PND (mount -t squashfs) :
/dev/loop2 on /mnt/pnd/vicex64.pickle type squashfs (ro)
Filesystem is vfat
Mounting the Union FS using /media/PANDORA_SD1/pandora/appdata/vicex64.pickle as Write directory:
mount -t aufs -o exec,noplink,dirs=/media/PANDORA_SD1/pandora/appdata/vicex64.pickle=rw+nolwh:/mnt/pnd/vicex64.pickle=rr none /mnt/utmp/vicex64.pickle
none on /mnt/utmp/vicex64.pickle type aufs (rw,si=6e80ec77,noplink)
none on /mnt/utmp/vicex64.pickle type aufs (rw,si=6e80ec77,noplink)
[------------------------------]{ App start }[---------------------------------]
/usr/pandora/scripts/pnd_run.sh: line 77: ./x64.gpe: No such file or directory
[-------------------------------]{ App end }[----------------------------------]

Usage:
 losetup loop_device                             give info
 losetup -a | --all                              list all used
 losetup -d | --detach <loopdev> [<loopdev> ...] delete
 losetup -f | --find                             find unused
 losetup -c | --set-capacity <loopdev>           resize
 losetup -j | --associated <file> [-o <num>]     list all associated with <file>
 losetup [ options ] {-f|--find|loopdev} <file>  setup

Options:
 -e | --encryption <type> enable data encryption with specified <name/num>
 -h | --help              this help
 -o | --offset <num>      start at offset <num> into file
      --sizelimit <num>   loop limited to only <num> bytes of the file
 -p | --pass-fd <num>     read passphrase from file descriptor <num>
 -r | --read-only         setup read-only loop device
      --show              print device name (with -f <file>)
 -v | --verbose           verbose mode

rm: missing operand
Try `rm --help' for more information.
cleanup done


#7 JDGBOLT

JDGBOLT

    GP32 User

  • Members
  • PipPipPip
  • 30 posts

Posted 24 February 2011 - 08:25 AM

If people want to try out the 720P video playback, you can try using the beta that me and EvilDragon worked on called PanPlayer, which is an optimized mplayer which will be able to play divx 720P content without breaking a sweat, probably a lot of them using the default cpu speed of 600 mhz. Has a nice picklelauncher frontend within in, including a feature that was added after I mentioned it to pickle, which is filtering by entering in a string, so you can type in who and it'll display only files with the word who within it. It can also play back a lot of SD resolution h264 files, though it depends how they were encoded, some work great at 600mhz, but others you have to overclock a bit to get them to work smoothly. Would like feedback on what kinds of videos play, how well, etc... Also in the post is just a standalone mplayer with binary that you can launch from the command line, if you wish to do it that way as well. The link it is located at is:

http://www.gp32x.com/board/index.php?/topic/58769-panplayer-beta/

Thanks for any feedback you have. :)

JDGBOLT

#8 Kloplop321

Kloplop321

    Psychotic Trans-dimensional Being

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1042 posts
  • Gender:Male
  • Interests:PHP, Web Development, Programming, Mecha

Posted 02 March 2011 - 05:12 AM

Is it just me? Or am I only able to open up like 5 PNDs total and then I run out of loop devices? (Add more please?), this includes toggling wifi, Chromium, DeadBeef, some other system utility, and Pidgin(which crashes like every 10 minutes...(Why?))
EDIT: Looks like goldenegg reports the same. This is a very urgent thing that needs to be fixed.

I also find how ridiculous it is in how to shut down the device, I have to do sudo shutdown -r now, or sudo restart.
Please change "Log out" on the panda menu to something more along the lines of "Power options", as the 2 out of 3 buttons are actually for power, as opposed to the 1 being for logging out.

Also... Why is the toggle WiFi a pnd? That's another loop resource that should not need to be taken up just for what can be accomplished with an sh script and or a binary.
It seems that more memory has to be used just for this toggle, why have all this overhead?

Edited by Kloplop321, 02 March 2011 - 05:17 AM.


#9 Esn

Esn

    (:\

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2758 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:Art, Classical Music, Biology, Fantasy/Sci-Fi (books, art, movies, games), Crosscountry skiing, adventuring to foreign parts, and of course, handheld gaming machines. ;)

Posted 02 March 2011 - 08:21 AM

Looks like some people may be having trouble with software compatibility due to updated Qt libraries:
link (if I understood that correctly)

#10 meandu229

meandu229

    Zubeman

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 586 posts
  • Location:England(north east)
  • Interests:Everything and anything fun

Posted 02 March 2011 - 09:18 AM

Is it just me? Or am I only able to open up like 5 PNDs total and then I run out of loop devices? (Add more please?), this includes toggling wifi, Chromium, DeadBeef, some other system utility, and Pidgin(which crashes like every 10 minutes...(Why?))
EDIT: Looks like goldenegg reports the same. This is a very urgent thing that needs to be fixed.



I get the same thing after running a few PNDs.

#11 torpor

torpor

    hack hack hack, the little machines fight back

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2377 posts
  • Gender:Male
  • Location:vienna, austria

Posted 02 March 2011 - 11:09 AM

I also think its silly to have things like toggling Wifi in a PND .. why is that?

#12 Kloplop321

Kloplop321

    Psychotic Trans-dimensional Being

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1042 posts
  • Gender:Male
  • Interests:PHP, Web Development, Programming, Mecha

Posted 02 March 2011 - 02:33 PM

In my own tests, and linux knowledge, I looked at the /tmp/pndrun_'s and the general consensus is: it runs out of memory.
Here's an example
I mount deadbeef: Ram was at 172, goes down to 148, so I'm like "okay", that's a little bit understandable.
I mount chromium: Ram was at 140(after loading songs), goes down to 20. I'm like: "this shouldn't take that much, on my desktop, chrome takes 35.5MB of RAM on start, this should use even less"
So I exit chromium, it jumps up to about 40 MB free, so "Where is all this other 100MB going?"

There seems to be a TON of memory overhead on just mounting the pnds.

I'm currently using swap(512MB) on an SD card, and things are going a lot more happy than before, however, this SHOULD NOT BE NECESSARY. (Especially if only using 3 basic programs like chat, music and browsing..)

Edited by Kloplop321, 02 March 2011 - 02:34 PM.


#13 skeezix

skeezix

    Mega GP Mania

  • GP Guru
  • 5088 posts
  • Gender:Male
  • Interests:Blog: http://www.rjmitchell.ca/~jeff/blog2009/

Posted 02 March 2011 - 02:45 PM

ED turned a bunch of short scripts into pnds, so that they show up for both mmenu and xfce; mmenu uses only pnd's as source of input (for now), not .desktops (that are generated from pnd.) (and yesm there are good reasons for this, its not arbitrary; consider, that mmenu can run entirely without anything else on the system, and .dedsktop files are missing some info; one of these day I'll make a .desktop alternative app pool source for mmenu so folks can togglr between, but its not there yet.)

A lo gets retrned to the pool when closed; you can onyl have so many pnds open at the same time, but just running one pnd in a row 30 times shoudl be no problem, unless that pnd is somehow hanging around and the loop is unable to be returned...

jeff

I know for instance than it in general works; I ran a single pnd about 30 times in a row just the other day, monitoring memory consumption (and all mem was returned to system on exit of it, btw.)

#14 torpor

torpor

    hack hack hack, the little machines fight back

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2377 posts
  • Gender:Male
  • Location:vienna, austria

Posted 02 March 2011 - 02:54 PM

Well then, Houston, we have a problem: Memory is not being returned to the system after a few basic things, like wifi toggling, and so on. I just ran a few PND's, and oila: OOM.

#15 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 02 March 2011 - 02:58 PM

In my own tests, and linux knowledge, I looked at the /tmp/pndrun_'s and the general consensus is: it runs out of memory.
Here's an example
I mount deadbeef: Ram was at 172, goes down to 148, so I'm like "okay", that's a little bit understandable.
I mount chromium: Ram was at 140(after loading songs), goes down to 20. I'm like: "this shouldn't take that much, on my desktop, chrome takes 35.5MB of RAM on start, this should use even less"
So I exit chromium, it jumps up to about 40 MB free, so "Where is all this other 100MB going?"

There seems to be a TON of memory overhead on just mounting the pnds.

I'm currently using swap(512MB) on an SD card, and things are going a lot more happy than before, however, this SHOULD NOT BE NECESSARY. (Especially if only using 3 basic programs like chat, music and browsing..)

Do you know how linux memory work ?
I'm not using swap here, and I dont plan too. I'm pretty sure your swap is unused, or worst (because firefox and chromium tune their memory usage based on total memory) it is used to put some binary into swap while having a large cache of unused stuff.

It is normal to have no memory left displayed using top. If your OS dont use all your memory (at least for file-caching) then it's a stupid and bad OS (/me look at winxp...). Linux cache every file read operation into a memory space named "Cached" (see it's value in top). The linux kernel will kick out the last recently used buffer-cache to allocate new memory to programs. Currently I do have 140M of cache used on my pandora (most probably mp3 files, I do have zim, audacious, a console, gedit open). I see that as free memory (just being smartly used) with more than half of my memory basically free, I'm far from seeing a point of usinga swap...