Remaining RAW+JPG shots + filespace icon/text- done :D - page 17 - General Discussion and Assistance - CHDK Forum

Remaining RAW+JPG shots + filespace icon/text- done :D

  • 175 Replies
  • 50183 Views
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #160 on: 19 / February / 2008, 23:56:14 »
Advertisements
Deleted
« Last Edit: 22 / April / 2008, 11:11:18 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #161 on: 20 / February / 2008, 01:42:51 »
PhyrePhox, whim, applying patches can be even easier: with (Win&)TortoiseSVN installed, just drag with mouse and select "Apply patch..."  ;)

Barney, shouldn't firmware update menu be shown even if there's just a bogus .FIR?  ???

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #162 on: 20 / February / 2008, 02:11:56 »
Hmm... now that's just the oddest thing. I've never seen this happen before with any build of CHDK, not even highly experimental builds.
...

Known problem. :) It already happened before.
The problem is: the size of CHDK code exceeds the limit reserved for it. Now the limit is 192K (0x30000) . When you compile the sources you can see the following:
Code: [Select]
-> main.elf
   text    data     bss     dec     hex filename
 133536    7048   56712  197296   302b0 main.elf

The last number says that the size is more than 0x30000 bytes.
CHDK Developer.

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #163 on: 20 / February / 2008, 02:15:27 »
To solving this you can try incrementing 'MEMISOSTART' and 'MEMISOSIZE' values in files "platform/sub/###/makefile.inc" by another "0x10000" to increase the limit to 0x40000 (256KB).
CHDK Developer.


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #164 on: 20 / February / 2008, 04:10:01 »
Thanks. I thought maybe the reason was the old chdk cfg file,as we changed the menu and such.
will changing this value have any sideeffects? what are the limits? how big can chdk be? i guess this is depending on camera model. strange that my a620 can use this as it is and the s3is cant.


Quote
PhyrePhox, whim, applying patches can be even easier: with (Win&)TortoiseSVN installed, just drag with mouse and select "Apply patch..."
well i'm on linux and when i try to apply your diff using the patch command, i get a lot of errors, even after unix2dos'ing the file.on the other hand, i'm not that experienced. maybe grand can shed a light on this :)
« Last Edit: 20 / February / 2008, 04:46:58 by PhyrePhoX »

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #165 on: 20 / February / 2008, 04:44:52 »
@Grand

Thanks, that made me change my compile command to ... 2>errors.txt >compile.log

Some other cams are quite close too ... Does increasing these values diminish available
cam memory by 32K ? - solved, pretty stupid: final bin size not +32K -> NO.

@Barney

Broken build deleted, here's a hopefully working 1:

allbest-s3is-100a-39205_modded.zip - 0.21MB
« Last Edit: 20 / February / 2008, 08:44:47 by whim »

Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #166 on: 20 / February / 2008, 05:30:04 »
Deleted
« Last Edit: 22 / April / 2008, 11:11:50 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #167 on: 20 / February / 2008, 06:21:15 »
Quote
(This might not be related, I've never tested this in the past: But when shooting a video, and pressing the shutter button when RAW-saving is turned on, it turns off video-record mode after saving the JPG+RAW file.)

Not related, the same happened to me some time ago. I guess writing the JPG, the CRW and recording is just too much for the poor little S3.

I was recording a bunch of scottish soldiers marching because HM Elizabeth II came to Edinburgh. I didn't notice it wasn't recording anymore and came back home with half parade and one picture of the thing =(


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #168 on: 20 / February / 2008, 06:23:14 »
Quote
Hey cool, the remaining fuel left is showing in video record and you can see it getting smaller as you take a video. Shooting an image during video doesn't break anything either. I don't think. Neat stuff.


Uh oh, I think I lost my OSD RAW indicator for when I toggle RAW saving on and off, or it's lost in the screen clutter, let me look around, but I think it disappeared.

Ah, found it. Oddly, leaving "OSD Parameters > Remaining RAW >

    * " turned on makes the on-screen RAW flag disappear. Is it s'pozed to do that?



(This might not be related, I've never tested this in the past: But when shooting a video, and pressing the shutter button when RAW-saving is turned on, it turns off video-record mode after saving the JPG+RAW file.)

jucifer disabled the "old" raw indicator in his diff, so that you either see the old indicator or my new one. would you need both? we can sure as hell enable the old one again as well.

about video+raw - please test it with another build (maybe the new one from allbest) without our features. the problem should persist, because i think it only has to do with saving raw. the cam doesnt know that the datastream will be broken by about 10 megs written to SD card, and i guess the internal buffer can't handle it.
interesting find though.
if you (and other S-series owners [different models]) can confirm this "bug" being there because of raw in video, there should be introduced a new if clause:
highly pseudo-codish
Code: [Select]
if (videorecmode = on) & (cameramodel= sXX)
{
shut off RAW (temporarily).
}
this way you still could capture jpegs in video rec mode.

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Remaining RAW+JPG shots + filespace icon/text- done :D
« Reply #169 on: 20 / February / 2008, 06:26:05 »
@Barney

Quote
Ah, found it. Oddly, leaving "OSD Parameters > Remaining RAW >

    * " turned on makes the on-screen RAW flag disappear. Is it s'pozed to do that?

I think Jucifer made it so that the 2 things, the RAW/EXP etc.  indicator, and the RAW remaining indicator,
are in 2 different functions; showing "RAW: xxx" suppresses the "RAW" indicator, no sense in wasting screen
real estate (were short of that anyway  :haha)

edit: too late (the curse of the 2 finger typer  :haha)

wim

 

Related Topics