SX280 / 275 / 270 porting

  • 322 Replies
  • 137255 Views
*

Offline Raj

  • *
  • 3
Re: SX280 / 275 / 270 porting
« Reply #30 on: 04 / July / 2014, 09:59:49 »
Advertisements
Thank you codertux, this works on SX280HS.. see the problems mentioned by srsa_4c.

@srsa_4c : I have run the benchmarking on
high speed card uSD with SD card adapter : Scandisk Extreme Pro 16GB, write speed: 90MB/s and read: 95MB/s.

Benchmark Results:
Screen -
Write: 32542 kb/s 108FPS
Read: Calculating... (even after 5min)

Memory
Write: 152409 kb/s
Read: -1 kb/s

Flash-Card
Write (RAW) : 21780 kb/s
Write (Mem) : 21557 kb/s
Write (64k)  : 11959 kb/s
Read (64k)   : 18004 kb/s

Cheers,
Raj

*

Offline srsa_4c

  • ******
  • 3728
Re: SX280 / 275 / 270 porting
« Reply #31 on: 04 / July / 2014, 12:20:07 »
@srsa_4c : I have run the benchmarking on
high speed card uSD with SD card adapter : Scandisk Extreme Pro 16GB, write speed: 90MB/s and read: 95MB/s.

Benchmark Results:
...
Flash-Card
Write (RAW) : 21780 kb/s
Write (Mem) : 21557 kb/s
Write (64k)  : 11959 kb/s
Read (64k)   : 18004 kb/s
Thanks. That pretty much looks like a nice speed limit, the usual ~21MB/s. So much for some people's hopes on raw video...

The first part of the benchmark was "optimized out" by the compiler.

Re: SX280 / 275 / 270 porting
« Reply #32 on: 04 / July / 2014, 22:30:19 »
That's disappointing. Not to say RAW video, the higher write speed can benefit encoded video with higher video quality override

Re: SX280 / 275 / 270 porting
« Reply #33 on: 06 / July / 2014, 17:12:03 »
New release with some changes:
Thank you SO much for this version 102b which I need for my SX270.
It lets me run scripts and it gives me USB support - I love you!!!
Some experiences:
- VERS.REQ seems not to work, but VER.REQ worked.
- I could not see any "Firmware update" in the menu. But autostart from a locked card works.
- "set_record 1" seems not to work. I have to set the camera in record mode manually.


Re: SX280 / 275 / 270 porting
« Reply #34 on: 07 / July / 2014, 13:25:06 »
I am afraid, there is a serious issue about the video synchronization of CHDK console. If I connect a TV to the USB jack, text PRINTed by a script can not be read as shown in the attached photo.

*

Offline srsa_4c

  • ******
  • 3728
Re: SX280 / 275 / 270 porting
« Reply #35 on: 07 / July / 2014, 14:31:33 »
I am afraid, there is a serious issue about the video synchronization of CHDK console. If I connect a TV to the USB jack, text PRINTed by a script can not be read as shown in the attached photo.
Known issue (perhaps my wording isn't the best):
...
Known problems:
...
- The CHDK GUI is unusable (distorted, falls apart) when using the analog video out connector.
...
CHDK only supports a single bitmap overlay resolution. This can already be a problem (although not this severe) on all widescreen cameras.
On DIGIC 6, the buffer dimensions of bitmap overlay depend on the output device (LCD, tv-out, hdmi), these buffer dimensions are static on previous DIGIC processors.

- "set_record 1" seems not to work. I have to set the camera in record mode manually.
It does work on mine. Try running CHDK/SCRIPTS/TEST/ubtest.bas, this script uses set_record.
« Last Edit: 07 / July / 2014, 14:33:17 by srsa_4c »

*

Offline srsa_4c

  • ******
  • 3728
Re: SX280 / 275 / 270 porting
« Reply #36 on: 09 / July / 2014, 14:22:00 »
Prealpha 3 for 102b and 102c. If you're upgrading from an earlier release, be sure to update the modules too.

Changes since the last prealpha:
- modules are now compiled with the same compiler as the CHDK core. This resolves the issue with some DNG Exif fields.
- palette is a bit better, modules now can display the black color
- it's now possible to start the cam in record/shooting mode with a long press on the ON/OFF button
- memory related benchmarks are rewritten to make them compiler independent. The results are quite funny...
- CHDK will now display (more or less) correctly when an external display is used
- the OSD layout editor is usable again

Re: SX280 / 275 / 270 porting
« Reply #37 on: 09 / July / 2014, 17:53:40 »
WOW, I am really impressed, can't thank you enough!


Re: SX280 / 275 / 270 porting
« Reply #38 on: 11 / July / 2014, 13:16:54 »
First of all, many thanks for making this work!

Benchmark results on an SX280 (102b) with a Lexar Professional 400x 16GB card:

CPU: 99950
Screen:
  -Write: 30967 Kb/s  103 FPS
  -Read: 2225 Kb/s  2 FPS
Memory:
  -Write: 123652 Kb/s
  -Read: 51200 Kb/s
Flash-card
  -Write (RAW): 17028 Kb/s
  -Write (Mem): 17066 Kb/s
  -Write (64k): 10570 Kb/s
  -Read (64k): 15031 Kb/s


On a USB3 card reader, the card measures 58MB/s for sequencial read and (somewhat disappointingly) 21MB/s for sequencial write.

*

Offline srsa_4c

  • ******
  • 3728
Re: SX280 / 275 / 270 porting
« Reply #39 on: 11 / July / 2014, 14:12:01 »
Screen:
  -Write: 30967 Kb/s  103 FPS
  -Read: 2225 Kb/s  2 FPS
Memory:
  -Write: 123652 Kb/s
  -Read: 51200 Kb/s
Thanks, that's a bit unexpected (the benchmark was meant to be run in playback mode, though I can't get such low memory score even in record mode).
What I'm getting is
Screen:
  -Write: 39183 Kb/s
  -Read: 2773 Kb/s
Memory:
  -Write: 152409 Kb/s
  -Read: 66197 Kb/s

My camera was made in Japan, and is an early piece according to its serial number.

About the included benchmark (tech details for those interested, source is available from my repo):
CPU: executed instructions / second (in a two-instruction loop), should be a random value close to 100 MIPS.
Screen write: writing speed to the bitmap overlay, 1 byte at a time, uncached. (The displayed FPS is incorrect)
Screen read: reading from an image buffer, 1 byte at a time, uncached. The camera performs worse than a DIGIC III camera at this, I have no idea why. (FPS is also incorrect)
Memory write: writing speed to an allocated buffer (0x10000 bytes), 4 bytes at a time, cached.
Memory read: reading from the allocated buffer (0x10000 bytes), 4 bytes at a time, cached.

The SD interface is clearly crippled on this camera.

 

Related Topics