A570 Continuous shooting bug - page 2 - General Help and Assistance on using CHDK stable releases - CHDK Forum  

A570 Continuous shooting bug

  • 20 Replies
  • 4506 Views
*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A570 Continuous shooting bug
« Reply #10 on: 14 / May / 2009, 14:10:24 »
Advertisements
Ok, thanks for verifying that. I disabled long exposures for a570 in trunk for now:

http://tools.assembla.com/chdk/changeset/761

Unfortunately camera.h is platform specific (not sub) so 100e long exposure feature got disabled as well even though it seems to work fine.


I compared capt_seq.c of 101a to ewavr's fixed patch and they are identical. So I guess that lives us with two likely possibilities:
1) there's a still a difference between the fw and the hacked code in CHDK for 101a, or
2) the fw dump is corrupt.

So, if someone could dump their a570 101a and compare it to one available in http://drop.io/chdkdumps (binary diff of identically cropped dump) or post it somewhere, that would be a quick thing to test compared to checking the disassembly.

Also of course try the trunk 761 (or greater if one appears) autobuild once it appears on the download site.

Re: A570 Continuous shooting bug
« Reply #11 on: 14 / May / 2009, 15:45:18 »
It's possible to do the dumping with the "udump" method, right?
http://chdk.setepontos.com/index.php/topic,922.msg7711.html#msg7711

If so, i guess i can do it.

BTW, there really might be something wrong with the current 101a dump, cause i've always had problems with the zebra feature (it doesn't work in some modes etc).

.
e

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A570 Continuous shooting bug
« Reply #12 on: 14 / May / 2009, 16:24:09 »
It's possible to do the dumping with the "udump" method, right?
http://chdk.setepontos.com/index.php/topic,922.msg7711.html#msg7711

Yes current universal dumpers should work smoothly for a570. That post in your link is rather old, but for a570 it should be fine since it's one of the old'n'easy models... but I haven't really been following dumper development that much.

BTW, there really might be something wrong with the current 101a dump, cause i've always had problems with the zebra feature (it doesn't work in some modes etc).

There is one difference between 101a and 100e zebras... 101a doesn't have function vid_get_viewport_live_fb() implemented in platform/a570/sub/101a/lib.c (compare to 100e/lib.c and you'll see). 101a and 100e are very alike so you if you're feeling brave you could probably try to take that function from 100e and try it out (the main effect is that it speeds up motion detection reaction time but it also affects zebra in core/gui_osd.c) or look at that address in the debug memory browser of CHDK first if in doubt...

But actually I just remembered one thing about zebra on my a570 100e: I never use the default overexposure threshold (I think it's 1 but I may be wrong). Instead I use 2, because otherwise I got some spurious overexp markers (or even vice-versa, I can't remember any more) in some scenes. Never cared enough to dig deeper, but I guess I should tweak the default and hope nobody notices :-X.

But this zebra thing is out of topic, if you feel like experimenting with it further or need help, please open a new thread with a link here (it would be good to get that live buffer speedup verified and in trunk for 101a too... you can search for a certain lengthy MD speedup thread on these forums for the details I've forgotten all about).

Re: A570 Continuous shooting bug
« Reply #13 on: 17 / May / 2009, 06:21:02 »
Here's the dump i extracted using udump (i removed the 0 and F lines at the beginning and the end the file) :
http://emremeydan.com/a570_101a.dum

The md5sums of the two files (the original dump, and my dump) are exactly the same, so i guess it means the dumps are identical?

.
e


*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A570 Continuous shooting bug
« Reply #14 on: 17 / May / 2009, 12:55:34 »
The md5sums of the two files (the original dump, and my dump) are exactly the same, so i guess it means the dumps are identical?

They are identical. Thanks for verifying this.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A570 Continuous shooting bug
« Reply #15 on: 17 / May / 2009, 13:35:00 »
I think I found the bug (well, at least a bug), please test the attached fixed build...

edit: removed attachment, it's unnecessary load to the forums now that this is fixed in trunk.
« Last Edit: 23 / May / 2009, 09:57:27 by fudgey »

Re: A570 Continuous shooting bug
« Reply #16 on: 17 / May / 2009, 16:25:37 »
You found *the* bug :D

It now works, thanks a lot!

...
emre

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A570 Continuous shooting bug
« Reply #17 on: 18 / May / 2009, 14:53:48 »
Fixed in trunk 765 btw, autobuild already available.


Re: A570 Continuous shooting bug
« Reply #18 on: 23 / May / 2009, 08:59:51 »
Yes, fudgey! You squashed that bug in style, man!
Thank you very much.

*

Offline na560

  • *
  • 11
Re: A570 Continuous shooting bug
« Reply #19 on: 23 / May / 2009, 19:19:18 »
Fudgey,

On your suggestion about the 570 101a not having the vid_get_viewport_live_fb() functon implemented, I went thru the dumping and running diff_batt. Got identical results with your results posted in a different thread. I copied the function from the 100e branch and compiled and ran it on a 101a camera. Got a 50-60 ms improvement with your Fast MD script.
What can I do now to get the improvement into trunk?

Thanks much!

 

Related Topics