Dingoonity.org

Dingoo Official Firmware => General => Topic started by: MiltonB on November 04, 2009, 01:14:26 am

Title: Freeze issue with new manufactured Dingoo's and three emu's
Post by: MiltonB on November 04, 2009, 01:14:26 am
OK, bear with me .....

I have tested this extensively, and I have no answers. I do not claim that my assumptions are 100% correct. I will explain this the best I can.

I have a brand new Dingoo that would lock up sporadically. After much testing, I discovered that only the following emu's were affected: GNUBOY, SmsGGOO, and LynGOO. Any game would launch and play fine. Exiting the game also presented no problems. When ANY game from ANY emu was launched after this, the Dingoo would freeze on the menu of games (roms). A hard reset was the only option at this point. I then verified that this was happening on each of three brand new Dingoo's. I tried the following:

Changed firmware from latest Custom to Official 1.1
Reformatted the entire 4GB, and recopied the data from a verified good source
Reloaded roms from a known "good" set
Tried every custom and official FW I could find
Re-Downloaded Emu's

This unit did not have Dingux or any type of dual boot.

While on the Dingoo-Scene, a genius named Shred asked "Do you have an old or new Dingoo?" He then discussed the old units having a paw print on the back, and the newer manufactured units having no paw print on back. I discovered that these all had no paw print, and were newer. I pulled out an older unit I purchased used that had a paw print, and loaded the exact data that was not working properly on the other units. Everything worked fine.

I then began testing every variable I could. I took my current data backup and applied it to the following scenarios:

1) Older Unit with Official 1.1
2) Older Unit with latest custom FW
3) Newer unit with Official 1.1
4) Newer Unit with latest custom FW
5) Older Unit with Dingux and dual boot (Official 1.1)
5) Older Unit with Dingux and dual boot (Custom FW)
5) Newer Unit with Dingux and dual boot (Official 1.1)
5) Newer Unit with Dingux and dual boot (Custom FW)

All older units worked fine with these emu's, ALL newer units locked up upon exiting.

It is my belief that these emu's are not functioning properly with ANY newer manufactured units. I would LOVE if others could confirm or deny this.

Yes, I am new here, this is my first post. I am only stating my experience so that it may help someone else that spent the time I did trying to figure out if it was operator error. I am forever grateful to the hero's that create these emu's. Hopefully, this may provide them with something they were unaware of.

And yes, I still love my dingoo....

EDIT: The following Emu's work fine in both models: ColeCOO, CPS1, CPS2, GBA, MVS, NES

EDIT 2: FW 1.2 did not help in any of the situations
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Goon8 on November 04, 2009, 03:09:19 am
I know this doesn't solve your problem, but I did read that GNUBOY, SmsGGOO, and LynGOO are all based on the same piece of reverse engineered code, which allegedly may have a memory leak, or not be closing all handles on exit. This was mentioned in the Lyngoo thread, I think.

There's a new firmware out which so far is completely undocumented and may (OR may not!) resolve your problems. It's available for download HERE (http://www.megaupload.com/?d=F6TJRG2F) Thanks to kswildside.

Good luck!
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: phipscube on November 04, 2009, 10:46:34 am
I have an early release White Dingoo with Paw print. I have noticed problems with SmsGGoo where is freezes sometimes and I have to hard reset the machine. Also, sometimes when i've quit out of a game, I cannot load another from ANY emu, it simply flicks black screen for a second then dumps me back to the games directory list. I had played SmsGGoo, then finished a game, then flicked over to my SNES games and this problem first happened. At first I thought it was an issue with the SNES emu but after a hard reset and trying again on SNES everything was cool.  Then later I played SmsGGoo again, and after a few games it did it again. Only thing to do is hard reset. Not 100% sure if this is a related issue, i've not played Lyngoo or GNUBOY as much....
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: alekmaul on November 04, 2009, 10:52:42 am

EDIT: The following Emu's work fine in both models: ColeCOO, CPS1, CPS2, GBA, MVS, NES
Really strange that ColeCOO works fine and not SmsGGOO because i'm using the same entry point ...
I Will try to investigate what are the others differences...
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: MiltonB on November 04, 2009, 07:18:39 pm
I just confirmed with Justin from Dingoo Digital USA that he has replicated the same issue on his new units. He is checking to see what the deal is.

Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: kswildside on November 06, 2009, 12:19:54 am
Well here is a tested look at the new NON PAW Print Dingoo A320 I will first start with the Applications and the default
emulators the dingoo comes with and move on from there to Community made emulators.

1. Went into applications picked Mushroom Roulette played once exited and went to play again the A320 freezes in game list.
   Tried again same result so Mushroom Roulette does not work on the new non paw print A320.

2. Went into applications picked SameGoo played two levels and exited then went to again SameGoo loaded again with no problems
   and no freezing.

3. Went into applications picked a Dingoo Game Nose Breaker played two rounds and exited then went to again NoseBreaker
   loaded again with no problems and no freezing.

4. Went to GooPlayer picked a *.Ogg file played and went to select another program freezes. Also hard reset and went into
   GooPlayer again and exited freezes in the app/game list selection window.

After Playing all the Dingoo native emulators none of them locked up or froze on me.

although GBC.SIM did lock up several times but that is a 760 ported emulator...

Ok now on to the Community made emulators first up is drum roll please...

LynGOO.SIM

1. Loaded up Chopper.lnx played a round or two exited went to load it again froze in game list.
2. Lodead up Frogger.lnx played a round or two exited went to load it again froze in game list.

ColeCOO.SIM

1. Loaded up Wrongway.col played a round or two exited went into game again no problems works
2. Then loaded kevtris.col played a round or two exited went into game again no problems works

So ding ding one round that actually the emulator works and doesn't freeze up


GNUBOY.SIM

1. Loaded up a Gameboy game Adjustris.gb played a round or two exited went to load it again froze in game list.

2. Loaded up a Gameboy game boxing.gb Loaded up the Gameboy game

3. Loaded up a GameBoy Color Game CrazyZone.GBC played a round or two exited went to load it again froze in game list.

4. Loaded up a GameBoy Color Game Whackemon.gbc played a round or two exited went to load it again froze in game list.


SmsGGOO.SIM

1. Loaded up a SMS Game BlockHead.sms played a round or two exited went to load it again froze in game list.

2. Loaded up a SMS Game Robbyie.sms played a round or two exited went to load it again froze in game list.

3. Loaded up a Game Gear Tween.gg played a round or two exited went to load it again froze in game list.

4. Loaded up a Game Gear Columns played a round or two exited went to load it again froze in game list.

DOOENGINE.SIM

1. Loaded up a PCE Game Pacu.pce played a round or two exited went to load it again froze in game list.

2. Loaded up a PCE Game Centipide.pce played a round or two exited went to load it again froze in game list.

This concludes our broadcasting day of the dreaded dingoo a320 with no paw print and how it locks up and freezes and requires a
hard rest.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: bnolsen on November 06, 2009, 02:15:39 am
I was seriously considering geting one of these when I got back to the states but now...
So whats different about these new dingoos?  Did they screw up the hardware somehow?
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: abhoriel on November 06, 2009, 08:25:56 am
I know this doesn't solve your problem, but I did read that GNUBOY, SmsGGOO, and LynGOO are all based on the same piece of reverse engineered code, which allegedly may have a memory leak, or not be closing all handles on exit. This was mentioned in the Lyngoo thread, I think.

There's a new firmware out which so far is completely undocumented and may (OR may not!) resolve your problems. It's available for download HERE (http://www.megaupload.com/?d=F6TJRG2F) Thanks to kswildside.

Good luck!

that sounds like it makes sense, do you know where you obtained this piece of information from?
thanks
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Kalisiin on November 06, 2009, 08:28:18 am
Well, I have updated to V 1.2 I can try something in LYNGOO and see if it works.

EDIT: Well, I don't have a lot of Lynx games yet, but tried, several times, to freeze it, while playing Joust, and no freeze.

Incidentally, would love to know where anyone got a Frogger file for Lynx, I can't find one listed anywhere!!  (No I'm not actually requesting ROM's here...just saying...I can't find one, didn't even know they made one.  If it's out there, I'll find it on my own.)
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: kswildside on November 06, 2009, 04:56:09 pm
Try Atari age
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Kalisiin on November 06, 2009, 07:09:25 pm
Try Atari age

Tried.  No Frogger there, either. :(
I have never seen "Frogger" listed in any list of games for the Lynx. 
Pity, I love Frogger.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: QBert on November 07, 2009, 06:27:52 pm
There's a new firmware out which so far is completely undocumented and may (OR may not!) resolve your problems.

I upgraded my (non-pawprint) Dingoo using firmware 1.2-fof, and I'm still getting freezing on the latest Gnuboy, SMSGGOO and Lyngoo.

All of those emulators run fine after a fresh boot, but will crash if you exit and select another ROM.

Colecoo v3.1 works fine.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: alekmaul on November 08, 2009, 07:06:06 am
ok, here is a new try, tell me if it's better : http://www.portabledev.com/temp/SmsGGOOV31.SIM

I found "one malloc that was not free ", so i free it when i leave smsggoo now.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: rip on November 08, 2009, 02:11:39 pm
ok, here is a new try, tell me if it's better : http://www.portabledev.com/temp/SmsGGOOV31.SIM

I found "one malloc that was not free ", so i free it when i leave smsggoo now.


Hi,

This version is Ok. No more freeze. Many Thanks.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: alekmaul on November 08, 2009, 02:20:07 pm
Hi,

This version is Ok. No more freeze. Many Thanks.
Really, :P  :) ;D  someone else can confirm that smsggoo v3.1 is ok to have more than  one test ?
If so, i think we have found the problem. DON'T FORGET TO FREE THE MALLOC THINGS !!!
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Harteex on November 08, 2009, 03:36:57 pm
Hi,

This version is Ok. No more freeze. Many Thanks.
Really, :P  :) ;D  someone else can confirm that smsggoo v3.1 is ok to have more than  one test ?
If so, i think we have found the problem. DON'T FORGET TO FREE THE MALLOC THINGS !!!

If this is indeed the case, then it's both interesting and strange at the same time :P

Although it is a good confirmation that the app is releasing its memory correctly. Even though it previously worked, you might end up with out of memory errors later on if you didn't restart your dingoo.

I have found at least one place where I forgot to free memory in GooPlayer, so I'm going to test that later.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Meneer Jansen on November 08, 2009, 04:57:06 pm
What is a malloc?
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: QBert on November 08, 2009, 05:07:34 pm
ok, here is a new try, tell me if it's better : http://www.portabledev.com/temp/SmsGGOOV31.SIM

I found "one malloc that was not free ", so i free it when i leave smsggoo now.

I can confirm this version works on my non-paw dingoo. No more freezing when selecting a new ROM. Fantastic work squashing this bug, alekmaul! Thank you!
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: MiltonB on November 08, 2009, 05:09:16 pm
I can also confirm! Tried two unpawed units.

My many thanks to you!
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: QBert on November 08, 2009, 05:18:22 pm
What is a malloc?

It's a subroutine for memory allocation:

http://en.wikipedia.org/wiki/Malloc

Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Meneer Jansen on November 08, 2009, 05:36:00 pm
Thanks for the clarification. :) Have you any idea why the newer Dingoo's have troubles with the memory allocation routines in some of the home brewed apps (that are not yet corrected for said malloc probs)?
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Harteex on November 08, 2009, 06:01:41 pm
When you use malloc you take / lock memory for use in your application. If you forget to free all the memory you have allocated, then the OS will have less memory available to it. But now the new dingoos crashes instead, why I don't know.

In other operating systems such as Windows or Linux, the OS will automatically take back all allocated memory from the applications when they exit.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: alekmaul on November 08, 2009, 06:27:46 pm
nice to see that all is ok now. Here we go to next version of smsggoo and dooengine with no more hanging ;)
joyrider, i saw lots of memory allocation in gnuboy, i think you've got same pb ...
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Derk on November 08, 2009, 07:05:10 pm
Alekmaul saves the day again! ;D

Nice troubleshooting, thanks
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Battlepriest on November 08, 2009, 09:08:10 pm
Working with my non-paw too. Thanks Alekmaul!
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: KoRnishon on November 08, 2009, 09:13:07 pm
Alekmaul You're great! <applause> Now i don't have to worry about dingoo, that i bought  ;D
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: joepie91 on November 08, 2009, 09:15:00 pm
Might it be that the new Dingoos use a different type of hardware? Another processor (which is unlikely, would cost a lot to port the OS), maybe another brand of RAM (this seems way more likely)?
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Chris23235 on November 08, 2009, 09:44:14 pm
Here are some pics (http://boards.dingoonity.org/dingoo-hardware-general/photos-of-new-unpawed-unit/) of the new unpawned Dingoo, as you can see, they use 2 Ram chips instead of one. These is clearly a difference, but can this cause the freezes?
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Harteex on November 09, 2009, 12:05:43 am
We almost need to setup the "Non-Pawed Testing Team" ;)

Anyone with a non-paw feel like testing two apps?
First I would like to know if GooPlayer works now, you can get it from http://www.harteex.com/temp/
There you'll also find a bunch of ogg files if you don't have any.

Secondly, I would like to know if there are any problems with StopWatch (http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?,1,0,0,115,160)
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Battlepriest on November 09, 2009, 01:44:39 am
Harteex - I just tried both the ogg player and stopwatch apps, and neither caused a lock up when trying to access another app or rom file on my non-paw.
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: kswildside on November 09, 2009, 03:18:22 am
Well looks like your new OGG Player is fixed ;) I tested it also and Akemaul's SMSGoo both don't seem to lock up anymore Only three apps/emulators to go Lyngoo, DooEngine, and GNUBoy and we will be complete. Will this be in the new SDK instructions etc to make sure this doesn't happen again?
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Harteex on November 09, 2009, 09:48:28 am
Thanks for the tests :)

Will this be in the new SDK instructions etc to make sure this doesn't happen again?

I already added this information to my guide (modified the post) in the dev forum yesterday :)
Title: Re: Freeze issue with new manufactured Dingoo's and three emu's
Post by: Spiller on November 11, 2009, 10:01:01 am
Ah! Good to hear that the malloc/free issue indeed fixes the freezing. We were discussing this earlier in the LynGOO topic as I found some (14!) unfreed malloc's. It's a shame I did not discover this topic earlier. :P

I have already posted my reclaiming routine for this yesterday:

http://boards.dingoonity.org/dingoo-development/memory-reclaiming/

LynGOO v1.0 is ready for release. I will do final testing today and release it today or tomorrow.