SX600HS porting thread - page 5 - DryOS Development - CHDK Forum

SX600HS porting thread

  • 55 Replies
  • 12207 Views
Re: SX600HS porting thread
« Reply #40 on: 09 / May / 2023, 19:58:21 »
Advertisements
Ran two of the testscripts, output attached. Not quite sure what to make of it :)

*

Offline reyalp

  • ******
  • 14039
Re: SX600HS porting thread
« Reply #41 on: 09 / May / 2023, 21:18:42 »
Ran two of the testscripts, output attached. Not quite sure what to make of it :)
Thanks. The first (mftest) one looks like a bug in the script, maybe related to how the build not being done in an svn checkout. Which build are you running?

edit: If you can post a screenshot of build info dialog shown when you select "Miscellaneous stuff" -> "Show Build Info" in the CHDK menu, that might help.

The ISO_BASE one is normal, and is correct in the port.

edit:
Script should be fixed in SVN, also attached
« Last Edit: 09 / May / 2023, 21:46:42 by reyalp »
Don't forget what the H stands for.

*

Offline blackhole

  • *****
  • 927
  • A590IS 101b
    • Planetary astrophotography
Re: SX600HS porting thread
« Reply #42 on: 10 / May / 2023, 02:16:49 »
Ran two of the testscripts, output attached.
Here is the final test version, it is recommended that you use that version in further tests: https://chdk.setepontos.com/index.php?topic=11520.msg149673#msg149673

« Last Edit: 10 / May / 2023, 17:04:42 by cyberd »


*

Offline reyalp

  • ******
  • 14039
Re: SX600HS porting thread
« Reply #44 on: 10 / May / 2023, 18:11:12 »
@cyberd: If you have chdkptp working, it would be good to live view in the GUI. Basically, just make sure the GUI display matches what's shown on the camera in playback and rec mode, without being heavily distorted or showing random garbage on the screen. Try various shooting modes if you want to be more complete.

Minor color differences are normal. It's also normal to briefly see noise / garbage if you shoot with live view running.

You can test more chdkptp and CHDK functionality by running
Code: [Select]
chdkptp -e"exec require'camtests'.runbatch{bench=true,shoot=true,filexfer=true}"
Note this will attempt to switch to shooting mode and shoot, so make sure the lens isn't blocked.

There will be some tests skipped because remote shoot isn't implemented, but there shouldn't be failures. If there are, post the output here.

Another thing you can test on camera is OSD palette. In OSD Settings -> Color Settings -> CHDK Color test, the colors should roughly match the names (e.g. white should be white, not red or green)
Don't forget what the H stands for.

Re: SX600HS porting thread
« Reply #45 on: 10 / May / 2023, 19:00:51 »
@cyberd: If you have chdkptp working, it would be good to live view in the GUI. Basically, just make sure the GUI display matches what's shown on the camera in playback and rec mode, without being heavily distorted or showing random garbage on the screen. Try various shooting modes if you want to be more complete.

Minor color differences are normal. It's also normal to briefly see noise / garbage if you shoot with live view running.

Code: [Select]
update_mode_list failed Operation Not Supported
WARNING: camera live view protocol not supported by this client, live view disabled
You can test more chdkptp and CHDK functionality by running
Code: [Select]
chdkptp -e"exec require'camtests'.runbatch{bench=true,shoot=true,filexfer=true}"
Note this will attempt to switch to shooting mode and shoot, so make sure the lens isn't blocked.

There will be some tests skipped because remote shoot isn't implemented, but there shouldn't be failures. If there are, post the output here.

Output is too big for the forum, full output in the file: https://drive.google.com/file/d/1oJrwsarVUz0bLU_9VQJK3dKq2WQ2VW9B/view?usp=sharing
Code: [Select]
C:\tmp\CHDK>chdkptp -e"exec require'camtests'.runbatch{bench=true,shoot=true,filexfer=true}"connect:start
using default device
c
connected: Canon PowerShot SX600 HS, max packet size 512
WARNING: CHDK extension not detected
connect:ok
cam_info:start
cam_info:failed Operation Not Supported
stack traceback:
        [C]: in function '?'
        C:\tmp\CHDK\lua\chdku.lua:2157: in function 'script_status'
        C:\tmp\CHDK\lua\chdku.lua:1061: in function <C:\tmp\CHDK\lua\chdku.lua:1027>
        (...tail calls...)
        C:\tmp\CHDK\lua\camtests.lua:296: in function <C:\tmp\CHDK\lua\camtests.lua:295>
        [C]: in function 'xpcall'
        C:\tmp\CHDK\lua\camtests.lua:793: in function 'run'
        C:\tmp\CHDK\lua\camtests.lua:826: in function 'runbatch'
        [string "require'camtests'.runbatch{bench=true,shoot=t..."]:1: in main chunk
        [C]: in function 'xpcall'
        C:\tmp\CHDK\lua\cli.lua:748: in function <C:\tmp\CHDK\lua\cli.lua:739>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\tmp\CHDK\lua\cli.lua:285: in function 'execute'
        C:\tmp\CHDK\lua\main.lua:211: in function 'do_execute_option'
        C:\tmp\CHDK\lua\main.lua:248: in function 'do_no_gui_startup'
        C:\tmp\CHDK\lua\main.lua:300: in main chunk
        [C]: in function 'require'
        [string "require('main')"]:1: in main chunk
list_connected:start
list
list_connected:ok
wait_status:start
wait_status:failed Operation Not Supported
stack traceback:
        [C]: in function '?'
        C:\tmp\CHDK\lua\chdku.lua:2157: in function 'script_status'
        C:\tmp\CHDK\lua\chdku.lua:1690: in function 'wait_status'
        C:\tmp\CHDK\lua\camtests.lua:337: in function <C:\tmp\CHDK\lua\camtests.lua:336>
        [C]: in function 'xpcall'
        C:\tmp\CHDK\lua\camtests.lua:793: in function 'run'
        C:\tmp\CHDK\lua\camtests.lua:828: in function 'runbatch'
        [string "require'camtests'.runbatch{bench=true,shoot=t..."]:1: in main chunk
        [C]: in function 'xpcall'
        C:\tmp\CHDK\lua\cli.lua:748: in function <C:\tmp\CHDK\lua\cli.lua:739>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\tmp\CHDK\lua\cli.lua:285: in function 'execute'
        C:\tmp\CHDK\lua\main.lua:211: in function 'do_execute_option'
        C:\tmp\CHDK\lua\main.lua:248: in function 'do_no_gui_startup'
        C:\tmp\CHDK\lua\main.lua:300: in main chunk
        [C]: in function 'require'
        [string "require('main')"]:1: in main chunk
exec_errors:start
exec_errors:failed Operation Not Supported
stack traceback:

Another thing you can test on camera is OSD palette. In OSD Settings -> Color Settings -> CHDK Color test, the colors should roughly match the names (e.g. white should be white, not red or green)



*

Offline reyalp

  • ******
  • 14039
Re: SX600HS porting thread
« Reply #46 on: 10 / May / 2023, 19:29:43 »
Output is too big for the forum, full output in the file:
FWIW, you can attach files on the forum (attachments and other options when composing). But anyway, the problem is here:

Code: [Select]
connected: Canon PowerShot SX600 HS, max packet size 512
WARNING: CHDK extension not detected
Are you sure CHDK was running on the camera when you ran the test?

Whatever the cause of the CHDK extension not being detected, this likely also explains the live view failure.

Also, what version of chdkptp are you running?
Don't forget what the H stands for.

Re: SX600HS porting thread
« Reply #47 on: 10 / May / 2023, 20:20:37 »
Are you sure CHDK was running on the camera when you ran the test?
Did not know that!
New test result: https://drive.google.com/file/d/1UFMlvwmSi4EfbvFYYfqdSsZAL1iFoV5Y/view?usp=sharing


*

Offline reyalp

  • ******
  • 14039
Re: SX600HS porting thread
« Reply #48 on: 15 / May / 2023, 19:54:06 »
New test result: https://drive.google.com/file/d/1UFMlvwmSi4EfbvFYYfqdSsZAL1iFoV5Y/view?usp=sharing
Thanks, that all looks fine.

Has anyone confirmed power-on behavior on this cam?
Pressing power or playback with CHDK installed should start the camera in playback mode, holding power should start in rec.
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 943
  • Sorry, busy deleting test shots...
Re: SX600HS porting thread
« Reply #49 on: 16 / May / 2023, 09:49:30 »
Has anyone confirmed power-on behavior on this cam?
Pressing power or playback with CHDK installed should start the camera in playback mode, holding power should start in rec.
:) 100f is fine.
All lifetime is a loan from eternity.

 

Related Topics