SX60HS Porting

  • 755 Replies
  • 60815 Views
Re: SX60HS Porting
« Reply #740 on: 19 / April / 2017, 15:57:26 »
Advertisements
@skyeyes I have reproduced the problem you have reported! Thanks.

@srsa_4c or @reyalp, I hope you have some ideas.  Here's what happens:

1. Booting with writelocked card, system works fine. New gui system with enlarged graphics is functioning.

2. Using firmware update, I do not see the new gui system....the fonts are very small (like before we changed things for Digic 6). Menus with at the end of the title... (like to change the language....) do not work. Nothing happens when you select them.

Ideas?

*

Offline reyalp

  • ******
  • 10416
Re: SX60HS Porting
« Reply #741 on: 19 / April / 2017, 16:35:26 »
@skyeyes I have reproduced the problem you have reported! Thanks.

@srsa_4c or @reyalp, I hope you have some ideas.  Here's what happens:

1. Booting with writelocked card, system works fine. New gui system with enlarged graphics is functioning.

2. Using firmware update, I do not see the new gui system....the fonts are very small (like before we changed things for Digic 6). Menus with at the end of the title... (like to change the language....) do not work. Nothing happens when you select them.

Ideas?
Are you certain the FI2 is really built from your current source?
While we know that FI2 has problems, I don't see how the font rendering changes could show up in DISKBOOT but not the FI2. They aren't conditional or dependent on external files. The other symptoms could by cause by something else like file access failing, maybe but this really suggests an incorrect file.

On my G7X, FI2 loading works as expected. The menu flashes in playback due to the orientation sensor issue, but otherwise looks exactly like the diskboot build.

edit:
If you happen to be using the chdkptp upload script I posted long ago, it only uploads diskboot and modules, not the fi2 file.
« Last Edit: 19 / April / 2017, 16:37:21 by reyalp »
Don't forget what the H stands for.

Re: SX60HS Porting
« Reply #742 on: 19 / April / 2017, 16:39:47 »
I do use your script.  I'll manually upload the fi2 file.  It is totally possible the zipped distribution is missing this file or has an older version. 

Edit:
It seems that the file PS.FI2 has not been rebuilt since November 2016 and my standard
make clean
make
make fir
does not rebuild it.
Edit:
Note to self: when building other cameras ( like elph 135) ensure that buildconf .inc is saved before overwriting.
« Last Edit: 23 / April / 2017, 13:21:50 by 62ndidiot »

Re: SX60HS Porting
« Reply #743 on: 19 / April / 2017, 17:33:11 »
I've rebuilt all three distributions so that the firmware update boot method is properly updated.  You can download them here.  No need to download if you don't do the firmware update method of booting CHDK. Paolo, I hope this solves your problem :)

Edit (17.05.13)
Latest version: Description https://chdk.setepontos.com/index.php?topic=12532.msg132746#msg132746

Download:
« Last Edit: 13 / May / 2017, 18:59:03 by 62ndidiot »


Re: SX60HS Porting
« Reply #744 on: 21 / April / 2017, 17:58:43 »
Hello,
@ 62ndidiot

Thank You now loading CHDK via update firmware on camera menu option is working without problems.
Please another info:
when i enable DNG option in RAW menu i noticed that the photo of CR2 (RAW camera) file and DNG file are different:

CR2 file has the same aspect ratio of the LCD display (the photo is the same i see on LCD display)
DNG file has more fish eye aspect ratio and with more wide angle area respect to what i see on LCD display (sorry but i not found the exact word for describe the difference).
This is normal?

Best regards
Paolo

Re: SX60HS Porting
« Reply #745 on: 21 / April / 2017, 20:36:44 »
I think your CR2 file is automatically having lens corrections applied by your viewing/editing software whereas you will need to choose or create a lens correction profile for dng files. 
I have used a downloaded lcp file for I think sx280  which seems to work well even for Sx60hs.  Also I think you can find a profile for sx50 hs which should work.  Or you can create a new one.  As far as I know, no one has done this yet for sx60hs.

Edit
Also lensfun ( google it) is an option.
From waterwingz comments below I gather you may need a different profile for Dng
« Last Edit: 21 / April / 2017, 22:41:57 by 62ndidiot »

Re: SX60HS Porting
« Reply #746 on: 21 / April / 2017, 20:55:18 »
I think your CR2 file is automatically having lens corrections applied by your viewing/editing software
Canon CR2 files are adjusted somewhat in the camera by the Canon firmware.

CHDK RAW / DNG files are exact copies of the data from the camera's sensor.  There is a reason for the use of the term "RAW" - it's totally "uncooked".



Ported : A1200  SD940  G10  Powershot N  G16*

Re: SX60HS Porting
« Reply #747 on: 21 / April / 2017, 21:42:27 »
Quote
Canon CR2 files are adjusted somewhat in the camera by the Canon firmware.
Really? So when you bring it over using chdkptp it's already cooked a bit before it was written to the card? Is the geometry distortion is completely or somewhat eliminated before writing? I think this would invalidate sensor/bayer raw data.
Interesting because sometimes I imagine the order in which various adjustments are applied could be a subject for debate.


SX60HS Porting
« Reply #748 on: 21 / April / 2017, 22:55:21 »
Quote
Canon CR2 files are adjusted somewhat in the camera by the Canon firmware.
Really? So when you bring it over using chdkptp it's already cooked a bit before it was written to the card?
I have been "corrected" several times on this forum for not knowing that Canon CR2 files are not plain sensor dumps like CHDK RAW. At a minimum there is lossless compression.  Apparently there are other corrections. Beyond that,I have no additional data..
« Last Edit: 21 / April / 2017, 22:57:32 by waterwingz »
Ported : A1200  SD940  G10  Powershot N  G16*

Re: SX60HS Porting
« Reply #749 on: 21 / April / 2017, 23:07:46 »
Interesting.  I look forward to learning more! Thanks @ww

 

Related Topics