Author Topic: The SX1 IS Porting Thread  (Read 39969 times)

Offline fboesch

  • Full Member
  • ***
  • Posts: 105
Re: The SX1 IS Porting Thread
« Reply #75 on: 14 / April / 2009, 19:46:02 »
  • Publish
  • @all: Thank you of your interest!

    Will post later this evening (within next 8h) the current "working" Alpha Release with Notes.

    (Unfortunately ;-) ) I've got to do other things too...it would be just beautiful to make the PS.FI2 Method working too... (Zebra & Edge Overlay Feature needs to be fixed in the corresponding Source Code...I do not know if there is a specific "owner" of these parts and want to ask them first).

    Else - Even the Video Quality Setting Override works on the SX1 --> 3sec FullHD Video with 50 just generates 13MByte of Data with Setting 80 it will be 40Mbyte (!) for 3 sec (same Scene)...

    Regarding RAW: Due to (yet) missing support of applications (DNG4PS2) and not yet the final Area-Settings, the created RAW Files are "unreadable" (to me & Photo Digital Professional from Canon). But the files are created (about 16MByte size). But it is an SX1 with native RAW support....so i count this as "minor" one....

    till later


    Offline ewavr

    • Developers
    • Hero Member
    • ****
    • Posts: 1057
    • A710IS
    Re: The SX1 IS Porting Thread
    « Reply #76 on: 14 / April / 2009, 20:01:05 »
  • Publish
  • Regarding RAW: Due to (yet) missing support of applications (DNG4PS2) and not yet the final Area-Settings, the created RAW Files are "unreadable" (to me & Photo Digital Professional from Canon). But the files are created (about 16MByte size). But it is an SX1 with native RAW support....so i count this as "minor" one....

    You can use RAW sum/average/develop fuctions (in CHDK) to verify your RAWs.
    DNG support is not required for this camera, because native RAW support present.
    Hoeever, we can read some CCD settings from third-party software:

    Code: [Select]
    Sensor Width                    : 4152
    Sensor Height                   : 2772
    Sensor Left Border              : 344
    Sensor Top Border               : 24
    Sensor Right Border             : 3991
    Sensor Bottom Border            : 2759
    Black Mask Left Border          : 168
    Black Mask Top Border           : 312
    Black Mask Right Border         : 171
    Black Mask Bottom Border        : 2471

    Offline pev69

    • Jr. Member
    • **
    • Posts: 55
    Re: The SX1 IS Porting Thread
    « Reply #77 on: 14 / April / 2009, 22:16:55 »
  • Publish
  • My thanks also for your compliments, people :), although my part in this porting is very small.

    I will try to dig into the booting/FI2 problem now, but I too have other things that keep me from giving 100% time to CHDK at the moment.
    « Last Edit: 14 / April / 2009, 22:26:55 by pev69 »

    Offline fboesch

    • Full Member
    • ***
    • Posts: 105
    Re: The SX1 IS Porting Thread
    « Reply #78 on: 14 / April / 2009, 22:40:11 »
  • Publish
  • Thank you ewavr! Actually played around and "developed" some taken RAW Picture with CHDK itself....(funny results :-) hope that with values above, the "ghost shadows" will vanish.

    @ALL (Tester and people not worring about still some glitches/missing functions, but eager to get CHDK on their SX1) :

    This the Alpha-Build (based on CHDK Build Trunk729) for the SX1 Canon Firmware 2.00h

    ATTENTION: ATTACHMENT HAS BEEN REMOVED DUE TO NEWER VERSION LATER IN THIS THREAD!

    Includes in working status
    - Extra Photo Operations (and all "override" settings within this menu)
    -  included is ewavr's latest miracle - "Long exposures" (> 64sec ...if required...)
    - Video Parameters (and settings within this menu)
    - RAW parameters menu (and settings within this menu)
    - Scripts, Games, Correct OSD information

    Not (yet) working correctly/sure that it is correct (as mentioned earlier)
    - Edge overlay function
    - Zebra function  (but ok if switching to "Wide" picture mode)
    - RAW function by CHDK....works somehow but on a PC/Mac I haven't seen anything yet :-) But it is an SX1 with native RAW support anyway....
    - boot via ps.fi2 method (cam will crash --> open battery compartment if it happened)

    Sometimes:
    - occasionally the CHDK Menu will disappear in parts or completely. Workaround: scrolling up or down (as you would have anyway) will let the menu re-appear.

    Instructions for Installation

    - Prepare your SD Card (smaller than 4GB) with CardTricks (look on CHDK.Wikia.com and make your SD Card bootable for Canon Cams)
    - Unpack the contained files onto the prepared SD Card manually.
    - PS.FI2 is included but not working yet, ...Just "Diskboot.bin" method for now.
    - Lock the SD Card and insert it into your SX1

    Push the Play Button or PowerOn Button short to start the SX1 in "View/Play" Mode inclusive startup of CHDK
    Push the PowerOn Button for 1 sec (until lens extracts) to start in "Record" Mode inclusive startup of CHDK

    To use "long exposures":
    - Go to Tv or M Mode
    - Go to CHDK "Extra Photo Operations" menu
    - Choose for "Shutterspeed enum type" -->  Factor
    - Choose "Value Factor" --> 10 (or higher)
    - Choose "Override shutter speed" --> what ever you like example "9"

    --> 9*10 = 90 sec exposure. Be careful if using in other shooting modes! calculated exposure in "P" mode is suddenly 2332 seconds!!...
    ____

    Video Quality:  I've played around and set the [Quality] + [10] (instead of [Default]/[84]) and it is amazing:

    10second with 1920x1080 Video gets very VERY SMALL (8.4MByte instead of 50Mbyte)....okay..."fast movement" show Square-Artefacts, but if object is not moving to fast/strong it is still very ok....and my older PC is able to play the file without stuttering due to lower bandwidth consumption of the Video....I would say it is still very usable if Video's are processed on a PC to the final result on "HD-ready" resolutions (1280x720).

    Hope you enjoy.
    « Last Edit: 17 / April / 2009, 01:10:18 by fboesch »

    Offline fboesch

    • Full Member
    • ***
    • Posts: 105
    "the files"
    « Reply #79 on: 14 / April / 2009, 22:43:31 »
  • Publish
  • hi pev69

    Here are the actual files (still trunk729, eventough 730 is out) with the progress of today!

    (Just that we are in sync again)

    ...let us PM later ...

    ...and as you've seen: we may enter soon into the official builds... :-D

    talk to you later!

    F.

    « Last Edit: 17 / April / 2009, 01:10:40 by fboesch »

    Offline pev69

    • Jr. Member
    • **
    • Posts: 55
    Re: The SX1 IS Porting Thread
    « Reply #80 on: 14 / April / 2009, 23:03:07 »
  • Publish
  • Good! Will sync now. :)

    EDIT: Hey, that video quality thing IS amazing!! One more of the most useful features especially with the SX1's space-gobbling fullhd video!
    « Last Edit: 14 / April / 2009, 23:20:16 by pev69 »

    Offline fboesch

    • Full Member
    • ***
    • Posts: 105
    Re: The SX1 IS Porting Thread
    « Reply #81 on: 14 / April / 2009, 23:53:29 »
  • Publish
  • EDIT: Hey, that video quality thing IS amazing!! One more of the most useful features especially with the SX1's space-gobbling fullhd video!

    Yes it really is! ...with my old S2 IS (.AVI at VGA Res) I actually was not really seeing an advantage/use of the Video Settings override...but on the SX1 it improves the Cam in the way, that it is no more the question on using a resolution of 1920x1080 or just 640x480 (because of space considerations)....it is: FullHD anyway - just: What Quality Settings to be choosen on CHDK?

    I was also amazed, that despite of the "low quality" setting (10) the video came out so good! (on the small SX1 Display there is actually no difference to a "fullsized" FullHD Video....Then second surprise: The "small" file can be opened/played on my Mac and my (old) PC without any flaw! And yes: here (large screen) finally there are artefacts visible, but rarely during play....actually i paused and moved frame by frame to clearly identify them... :-)

    :-)

    Offline alexpreyer

    • Rookie
    • *
    • Posts: 9
    Re: The SX1 IS Porting Thread
    « Reply #82 on: 15 / April / 2009, 00:16:39 »
  • Publish
  • Had only time for a short look at the video stuff and long time exposure. Absolutly fantastic the possibilities. Thanks a lot fboesch and also pev69 for the hard work having spent until now. Realy good job.
    Bthw. if I dont press a key for 2 seconds or longer I'm kicked out of the chdk menue.

    Thanks one hundert times

    Offline derrobbie

    • Rookie
    • *
    • Posts: 7
    Re: The SX1 IS Porting Thread
    « Reply #83 on: 15 / April / 2009, 01:06:43 »
  • Publish
  • Just had a look. And it really looks very promising.
    The video quality settings make the 1920x1080 mode a real alternative now.
    And the short and long exposure times work great.

    Thanks again for the time you all put in this...

    CHDK Forum

    Re: The SX1 IS Porting Thread
    « Reply #83 on: 15 / April / 2009, 01:06:43 »

    Offline fboesch

    • Full Member
    • ***
    • Posts: 105
    Re: The SX1 IS Porting Thread
    « Reply #84 on: 15 / April / 2009, 02:33:04 »
  • Publish
  • Bthw. if I dont press a key for 2 seconds or longer I'm kicked out of the chdk menue.


    Yes, i know...it is potentially related to the issue of the menu, which will sometimes "disappear" (full or partly)...seems to be a "screen refresh" (with the CHDK Bitmap Overlay) thing....

    Assumptions for now: Belongs to the stuff to be checked within CHDK native code I assume OR how CHDK is hooked into existing routines...eventually can be fixed with additional "call" of the CHDK GUI within our code...

    Also: if choosing some "fanastic" high values (e.g. ISO Value of 10000 ;-) or 1/100k exposure + 33.17 aperture) then the cam will (sometimes) crash but somehow depending of the choosen mode...luckierwise not on low (senseful) settings....actually I love the most (if enough light around) to use very low ISO settings...

    But after two weeks time (i started on Wednesday 2 weeks ago) I'm today happy that technically the really important functions of CHDK (to me) are already available on the SX1... :-) so are you guys out there! ;-)


    Offline pev69

    • Jr. Member
    • **
    • Posts: 55
    Re: The SX1 IS Porting Thread
    « Reply #85 on: 15 / April / 2009, 03:08:14 »
  • Publish
  • But after two weeks time (i started on Wednesday 2 weeks ago) I'm today happy that technically the really important functions of CHDK (to me) are already available on the SX1... :-) so are you guys out there! ;-)

    Me too :).

    BTW, boot status: I have gone through boot.c now and found nothing really wrong. And still the FI2 method crashes badly.
    « Last Edit: 15 / April / 2009, 03:09:45 by pev69 »

    Offline fboesch

    • Full Member
    • ***
    • Posts: 105
    Re: The SX1 IS Porting Thread
    « Reply #86 on: 15 / April / 2009, 03:33:58 »
  • Publish
  • BTW, boot status: I have gone through boot.c now and found nothing really wrong. And still the FI2 method crashes badly.

    Yeah... I'm also "stuck" for now....what I do not understand: The difference between diskboot.bin and ps.fi2 is that ps.fi2 is encrypted (with keys) and compressed....now if diskboot.bin is working fine (boot etc) ps.fi2 should work too? ...but in our case: it is not....

    Due to the fact that you looked on your own (for the keys/IV for fi.inc) It seems not to be a mistake (only) on my side....

    Well...as "juniors" i hope that one of the seniors can help us.

    ewavr: any hint/idea, where or how we should approach this issue?

    _______

    For today i "finished" :-) Let us check tomorrow

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: The SX1 IS Porting Thread
    « Reply #87 on: 15 / April / 2009, 03:37:38 »
  • Publish
  • i was under the impression that if chdk boots off diskboot.bin, that it *should* also boot the fi2 file, without changes in boot.c or whatever. so *maybe* the encryption was changed? or some other thing?

    Offline ewavr

    • Developers
    • Hero Member
    • ****
    • Posts: 1057
    • A710IS
    Re: The SX1 IS Porting Thread
    « Reply #88 on: 15 / April / 2009, 03:43:47 »
  • Publish
  • so *maybe* the encryption was changed?

    If the encryption was changed, you will see "update file error" message.

    Offline fboesch

    • Full Member
    • ***
    • Posts: 105
    Re: The SX1 IS Porting Thread
    « Reply #89 on: 15 / April / 2009, 03:45:29 »
  • Publish
  • Bthw. if I dont press a key for 2 seconds or longer I'm kicked out of the chdk menue.


    Yes, i know...it is potentially related to the issue of the menu, which will sometimes "disappear" (full or partly)...seems to be a "screen refresh" (with the CHDK Bitmap Overlay) thing....


    ...one last finding: If just "diskboot.bin" is used (default font, no symbols, etc,....no chdk subfolder) then it seems that the menu is stable....

    @alexpreyer: If you've got time: try out different font sizes (for CHDK) and/or symbol/OSD informations ON/OFf... eventually you can find out which element is causing the CHDK Mainmenu to "vanish" sometimes...

    Thx & gnight

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal