CHDKPTP - PC Remote Control Performance Analysis - page 44 - RAW Shooting and Processing - CHDK Forum

CHDKPTP - PC Remote Control Performance Analysis

  • 465 Replies
  • 60311 Views
*

Offline reyalp

  • ******
  • 12540
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #430 on: 13 / October / 2012, 20:22:39 »
Advertisements
Not in the case of the S50: it wakes up when I start RemoteCapture, and shuts down when I exit RemoteCapture ... so it means camera end USB controller must be in a sleep mode of some sort when cameara is OFF.
That conclusion does not follow. It is possible for the camera to power on in response to power on the USB connector. It is also possible for the the camera to be powered on without any externally visible signs like LEDs or the LCD display. It is not possible for a PC to establish a USB protocol connection to a USB device that isn't powered on.

One logical explanation for the behavior you describe would be that the presence of USB power causes the the camera to boot, and connecting RemoteCapture causes it to visibly wake up. Alternatively, it would be possible for only the USB hardware to be powered up, but this seems less likely since it would have to actually be able to establish some kind of USB connection. On CHDK supported cameras, we know that the USB driver is implemented in the regular firmware.
Quote
But by the harsh way you reacted to my question, the only thing I can conclude is you don't know.
As I clearly stated earlier, modern cameras do not exhibit the "wake on USB" behavior observed on some older CHDK cameras.
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #431 on: 13 / October / 2012, 20:29:58 »
That's a much better answer // thanks.

*

Offline reyalp

  • ******
  • 12540
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #432 on: 22 / October / 2012, 00:03:58 »
Per discussion way back here: http://chdk.setepontos.com/index.php?topic=8613.msg90170#msg90170 the S90 uses date folder naming, but CHDK doesn't implement the appropriate to recognize this. I finally got a chance to look into correcting this. If you can test it, just let me know what firmware version you'd want a build for.

This would help improve CHDK, and also allow you to use the new function described here: http://chdk.setepontos.com/index.php?topic=8851.msg92341#msg92341 to get the full path to the last shot image, without messing around with listdir etc.
Don't forget what the H stands for.

*

Offline srsa_4c

  • ******
  • 4221
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #433 on: 22 / October / 2012, 00:59:16 »
Per discussion way back here: http://chdk.setepontos.com/index.php?topic=8613.msg90170#msg90170 the S90 uses date folder naming, but CHDK doesn't implement the appropriate to recognize this. I finally got a chance to look into correcting this. If you can test it, just let me know what firmware version you'd want a build for.

This would help improve CHDK, and also allow you to use the new function described here: http://chdk.setepontos.com/index.php?topic=8851.msg92341#msg92341 to get the full path to the last shot image, without messing around with listdir etc.
If you'll provide test builds to SticK, you may want to try placing a call to DisableISDriveError somewhere. He may need it. References in this thread: http://chdk.setepontos.com/index.php?topic=6725.0
mod: the eventproc may be registered by Mecha.Create
« Last Edit: 22 / October / 2012, 13:06:43 by srsa_4c »


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #434 on: 22 / October / 2012, 09:10:54 »
I am not certain if this recent discussion applies directly to me, but S90_100c is always available for testing.  S90_101a is temporary benched but can be revived for a FW upload and tested if need be.  It's always good to provide both builds.  If anyone has something specific tested, please flag me down.  Explain accurately what I should be looking for, and provide sample lua code if you think that could help.

Please be sure to have the "one-line-ISO-override" solution included:
http://chdk.setepontos.com/index.php?topic=8613.msg91820#msg91820

*

Offline reyalp

  • ******
  • 12540
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #435 on: 22 / October / 2012, 16:44:37 »
Ok, here's test builds for 100c and 101a. You only need to check one.

A minimal test would be to do
=return get_image_dir()
in chdkptp and make sure the directory matches where jpegs are currently being save. You can also enable CHDK raw/dng and "raw in directory with jpeg" and make sure the raw goes in the correct directory.
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #436 on: 22 / October / 2012, 20:52:30 »
For these I set the camera manually and used the SHOOT button in CHDKPTP.

Right now I have Canon native enabled with JPG.  The return value is correct A/DCIM/122___10 ... the function returns the solitary JPG-store directory name under DCIM.    Both CR2 & JPG are stored OK as usual, in this directory, but the CR2 looks too big -- exposure maybe but I doubt it. 

OSD Gremlin? Now when I went to the CHDK menu and enabled DNG, I got an unusual scroll of **DNG DISABLED** fill the OSD. After pressing <alt> it cleared away and screen was normal.  But then I went again and turned DNG OFF, no problem, but this time when I turn it ON again, OSD was quiet for a couple of minutes and now I have the same message seems continuously written down the height of the screen ... strange because CHDK menus say DNG is enabled.  Hmmmm.  This looks like a kind of exclusivity feature that you implemented recently that's not working right // or messy.  Next, after taking the shot I got a thin wire-frame high rectangle with a gray bottom going down the middle of the OSD.

Gremlin?  With DNG enabled and save to same dir as JPEG ON, result here doesn't look right either: I got another CR2 instead of DNG.  It seems they are all CHDK RAWs, ie around 15 MB, even though I have DNG extension enabled.  Disabling DNG (so that I get the Canon RAW ICON, it seems I don't get Canon RAWs anymore, which are 10-11MB. 

That means the 1st file must have alos save a CHDK RAW as CR2 when I expected a Canon CR2.  Something's fishy.

In other words, I can't get Canon raws to work with this FW.

« Last Edit: 22 / October / 2012, 20:55:40 by SticK »

*

Offline reyalp

  • ******
  • 12540
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #437 on: 22 / October / 2012, 23:59:03 »
It seems like the folder name is correct, so I'll check that part in.

I'm not really sure what to make of the rest of your post. Most of the stuff you describe could not be changed by this build. CHDK certainly cannot disable Canon raw. Maybe the following information will help you.

CHDK will raw and DNG will probably be disabled if Canon raw is enabled, although I'm not sure if this is correctly implemented in the S90 port. If it is implemented correctly, the "DNG Disabled" message should appear in red at the top of the screen when Canon raw and DNG are both enabled. I don't see any way it could scroll. The message can also show if one of the "raw exceptions" is triggered, and possibly in a few other modes.

If you are not sure what format a file is being saved in, you should check the actual format of the file. dcraw -i -v <file> should recognize DNG and Canon CRW/CR2. If you open a CHDK DNG, the "software" exif field will give the CHDK version.

CHDK raw (non-dng) has no identifying magic number because it is just a framebuffer dump, but will always be exactly the size as the framebuffer. In the case of the S90, this is 15634944 bytes. CHDK DNG will always be somewhat larger. Canon CR2 can probably be identified by the fact that Canon software is able to open it.
Don't forget what the H stands for.


*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #438 on: 23 / October / 2012, 10:48:38 »
2226-reyalp-test1

Please keep in mind that the LKW version I use is 2163 test 1.  There I did get the single DNG Disabled message only once at the top I do recall when we did the DNG tests.  Here's what I get with this version.

>> DNG is disabled
>> I have Canon RAW ICON ON.
>> SHOOT
>> I get JPG and CR2 // test for Canon CR2 OK // the usual behavior and what I have been using
>> I set DNG ON
>> The OSD is normal -- but -- Canon RAW ICON still UP !!!
>> After a delay of many seconds, then I finally get "DNG Disabled", but it scrolls down screen. Fig 1.
>> SHOOT
>> The scrolled "DNG Disabled" disappears
>> I get JPG and Canon CR2 // test for Canon CR2 OK // seems normal I suppose that the Canon RAW ON has precedence over DNG
>> Then scrolled "DNG Disabled" reappears, but again many seconds later
>> I enable JPG-ONLY in Canon (DNG with JPG enabled in CHDK)
>> OSD goes normal
>> SHOOT
>> I get the DNG deposited in 122___10. Seems OK // I think this is what wanted validated.
>> I disable DNG with JPG
>> I get the DNG in the new 100CANON directory that was just created and the JPG in the 122___10 directory as usual.   Seems OK // I think this is what wanted validated.

This time I did not see the "wire vertical rectangle" in screen center as I did before.

Nota Bene.  This FW appears to slow down interactive operations and responses to the OSD -- it seems *as though* you have a task running that's hogging CPU.  It could be related to the delay for the "DNG Disabled" message.  AFAIK, 2163-test1 is faster. 

So in my view, there are 2 new problems:  1) slow operation and 2) "DNG Disabled" scroll.  But I'd say the "rectangle" I saw the 1st time is lurking in there somewhere.

ISO override test and forced liveview update continues to work OK.

BTW, I don't know how to get rid of the EV:0 message // it's been there since some earlier tests you had asked for.  How do I get rid of it?
« Last Edit: 23 / October / 2012, 10:55:23 by SticK »

*

Offline reyalp

  • ******
  • 12540
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #439 on: 23 / October / 2012, 16:46:00 »
2226-reyalp-test1

Please keep in mind that the LKW version I use is 2163 test 1. 
LKW WTF BBQ ? Creative // punctuation and TMUOTS abbreviations do not help me understand your posts.
Quote
>> I set DNG ON
>> The OSD is normal -- but -- Canon RAW ICON still UP !!!
This is expected, CHDK doesn't turn off Canon raw.
Quote
>> After a delay of many seconds, then I finally get "DNG Disabled", but it scrolls down screen. Fig 1.
This is weird. I can't reproduce it on my D10 when the "DNG Disabled" message is trigger. It doesn't have canon raw, but how the message is triggered shouldn't matter.

I don't see how this would be introduced between 2163 and now, very little that isn't platform specific to other cameras has changed in the 1.1 branch.
Quote
It could be related to the delay for the "DNG Disabled" message.  AFAIK, 2163-test1 is faster. 
Does it only happen when the "DNG Disabled" message triggered ? In other words, if you turn Canon RAW or DNG off, is it still slow?
Quote
BTW, I don't know how to get rid of the EV:0 message // it's been there since some earlier tests you had asked for.  How do I get rid of it?
Change back whatever setting turned it on, probably something related to "fast ev switch". I never asked you do do anything with this.
Don't forget what the H stands for.

 

Related Topics