UHS-I / SD cards investigation

Started by nikfreak, July 30, 2014, 05:46:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tony Weller

@theBilalFakhouri

Yes I did set it from the Canon menu and I had to change to NTSC to get 60fps BUT I did have frame rate limit on to 23.976 (shall I try again with it off)?

And it gave me 1736x696 easy.

OK tried with 60 fps and got 3 seconds @1736x696 BUT the recording thingy was only stating 38MB/s maybe that mode isn't working yet?
700D 1.1.5, EOSM 202, 4k_crop_rec 160MHz UHS-1 overclock

theBilalFakhouri

@Tony Weller

Yes it's strange, run benchmark (bench.mo) in that mode at same settings, maybe something happening or just the module dosen't support this mode right now.

@a1ex take a look  ::)

Tony Weller

@theBilalFakhouri

Yeah the benchmark showing the overclocked (68MB/s) speed so something not connected to the module in 720 3x3 ? someone much more knowledgeable than me will be along soon  ;D
700D 1.1.5, EOSM 202, 4k_crop_rec 160MHz UHS-1 overclock

theBilalFakhouri


a1ex

Raw recording 101: for maximum speed, disable global draw, enable frozen LV.

5D3 720p60 1792x672 (same area), lossless compression 50%: 13 seconds, 44.7 MB/s (with a card that scores ~50MB/s in benchmark).

Memory bandwidth is usually the bottleneck in this mode; stopping non-essential image streams (such as preview and overlays) helps.

Tony Weller





This image may help choosing a SD card for the new turbo overclocking-ness

I chose a V30 as it says 4k but I'm certain they mean 4k compressed ?

I was going to get a V60 but now is unnecessary as the 700 seems to be at it's limit with a bit of overhead on the SD card writes

Joy  :)
700D 1.1.5, EOSM 202, 4k_crop_rec 160MHz UHS-1 overclock

jai554

Quote from: a1ex on June 18, 2017, 11:54:16 PM
Does this apply to DIGIC 4 cameras?

I'm afraid not - the hardware configuration of these cameras is different (and a lot simpler). You now know where to look, so you can play with it, attempt to change the clock speed and report your findings.

hi,
so it is still possible to make it work on digic 4 cameras?

a1ex

I doubt - D4 uses only 2 bits for clock speed (0xC0400004). Feel free to prove me wrong (possibly by brute-forcing the other bits).

1300D has a string that explains these 2 bits: SetSdClock %d ->0:210K 1:16MHz 2:24MHz 3:48MHz

saulbass

Just tried a1ex's sd_uhs.mo on my venerable 650D.
Came up with a FIXME unsupported model, but carried on...
The reported Benchmarks on a fast 95mb SD card were as follows:





suggesting that perhaps the module isnt configured for the 650D. If any kind soul has the time to set this up for the 650D I will check it.

dfort

@saulbass - I posted a sd_uhs.mo that should work with your 650D on my downloads page. It should also work on all the ML supported Digic 5 cameras.

I looked at the stubs for the 7D and found just one. Strange thing is that camera only has one CF slot and no SD slot yet it has "SD_ReConfiguration" -- wonder what it does?

andy kh

5D Mark III - 70D

dfort

Hum--it should work. Make sure sd_uhs is the only active module. The 70D isn't working with lossless compresssion yet and mlv_lite defaults to 14-bit lossless.

Walter Schulz

I'm impressed! 650D results with 128 GB Sandisk Extreme Pro
===================
2018/04/04 17:29:44
===================
Before the hack: r:43MB/s w:42MB/s  W:40MB/s R:43MB/s  :)  [best 42MB/s]
SDR50 @ 96MHz  : r:43MB/s w:40MB/s  W:42MB/s R:43MB/s  meh [best 42MB/s]
SDR50 @ 96MHz  : r:43MB/s w:42MB/s  W:41MB/s R:43MB/s  meh [best 42MB/s]
SDR50 @ 80MHz  : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 42MB/s]
SDR50 @ 80MHz  : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 42MB/s]
SDR50 @ 120MHz : r:54MB/s w:52MB/s  W:50MB/s R:54MB/s  :)  [best 52MB/s]
SDR50 @ 120MHz : r:54MB/s w:51MB/s  W:51MB/s R:54MB/s  meh [best 52MB/s]
SDR104 @ 96MHz : r:43MB/s w:39MB/s  W:41MB/s R:43MB/s  meh [best 52MB/s]
SDR104 @ 96MHz : r:43MB/s w:42MB/s  W:42MB/s R:43MB/s  meh [best 52MB/s]
SDR104 @ 80MHz : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 52MB/s]
SDR104 @ 80MHz : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 52MB/s]
SDR104 @ 120MHz: r:54MB/s w:52MB/s  W:51MB/s R:54MB/s  :)  [best 52MB/s]
SDR104 @ 120MHz: r:54MB/s w:50MB/s  W:51MB/s R:54MB/s  meh [best 52MB/s]
SDR104 @ 132MHz: r:50MB/s w:48MB/s  W:48MB/s R:50MB/s  meh [best 52MB/s]
SDR104 @ 132MHz: r:50MB/s w:48MB/s  W:47MB/s R:50MB/s  meh [best 52MB/s]
SDR104 @ 160MHz: r:71MB/s w:64MB/s  W:68MB/s R:71MB/s  :)  [best 64MB/s]
SDR104 @ 160MHz: r:71MB/s w:69MB/s  W:65MB/s R:71MB/s  :)  [best 69MB/s]

Done.
Please run THOROUGH tests before using!!!


Same card, 100D:
===================
2018/04/04 20:30:52
===================
Before the hack: r:43MB/s w:42MB/s  W:39MB/s R:43MB/s  :)  [best 42MB/s]
SDR50 @ 96MHz  : r:43MB/s w:41MB/s  W:41MB/s R:43MB/s  meh [best 42MB/s]
SDR50 @ 96MHz  : r:43MB/s w:40MB/s  W:42MB/s R:43MB/s  meh [best 42MB/s]
SDR50 @ 80MHz  : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 42MB/s]
SDR50 @ 80MHz  : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 42MB/s]
SDR50 @ 120MHz : r:54MB/s w:51MB/s  W:50MB/s R:54MB/s  :)  [best 51MB/s]
SDR50 @ 120MHz : r:54MB/s w:52MB/s  W:52MB/s R:54MB/s  :)  [best 52MB/s]
SDR104 @ 96MHz : r:43MB/s w:40MB/s  W:41MB/s R:43MB/s  meh [best 52MB/s]
SDR104 @ 96MHz : r:43MB/s w:41MB/s  W:42MB/s R:43MB/s  meh [best 52MB/s]
SDR104 @ 80MHz : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 52MB/s]
SDR104 @ 80MHz : r:36MB/s w:35MB/s  W:35MB/s R:36MB/s  meh [best 52MB/s]
SDR104 @ 120MHz: r:54MB/s w:51MB/s  W:52MB/s R:54MB/s  meh [best 52MB/s]
SDR104 @ 120MHz: r:54MB/s w:52MB/s  W:50MB/s R:54MB/s  meh [best 52MB/s]
SDR104 @ 132MHz: r:50MB/s w:46MB/s  W:48MB/s R:50MB/s  meh [best 52MB/s]
SDR104 @ 132MHz: r:50MB/s w:48MB/s  W:46MB/s R:50MB/s  meh [best 52MB/s]
SDR104 @ 160MHz: r:71MB/s w:66MB/s  W:67MB/s R:71MB/s  :)  [best 66MB/s]
SDR104 @ 160MHz: r:71MB/s w:66MB/s  W:66MB/s R:72MB/s  meh [best 66MB/s]

Done.
Please run THOROUGH tests before using!!!

Kharak

@a1ex do you think that with CF+SD recording on the 5d3, we could reach ~130 MB/s
once you go raw you never go back

andy kh

Quote from: dfort on April 04, 2018, 06:27:51 PM
Hum--it should work. Make sure sd_uhs is the only active module. The 70D isn't working with lossless compresssion yet and mlv_lite defaults to 14-bit lossless.

this is what i get. i activate only sd_uhs this time

5D Mark III - 70D

loknar

Oh, WOW, this is amazing :).

On EOS M 2.02 somehow i max out at ~45mb/s,  two different Sandisk Extreme Pro cards, two different builds (second is dfort's build from yesterday).
@dfort have you got some special edition cards? :) Better stickers or something?





theBilalFakhouri

@andy kh
You must run a custom build from crop_rec_4k branch, you will find it in dfort's download page https://bitbucket.org/daniel_fort/magic-lantern/downloads/

andy kh

Quote from: theBilalFakhouri on April 04, 2018, 07:53:27 PM
@andy kh
You must run a custom build from crop_rec_4k branch, you will find it in dfort's download page https://bitbucket.org/daniel_fort/magic-lantern/downloads/

my bad. i was using the nightly build. now it works


sandisk extreme pro 64gb
5D Mark III - 70D

dfort

Quote from: loknar on April 04, 2018, 07:41:00 PM
@dfort have you got some special edition cards? :) Better stickers or something?

Ha ha. Try loading the bench module and run the card benchmark test. Run it in Playback mode so the LiveView doesn't wipe out the printout. It will save an image file of the final results on your card's root directory.

Walter Schulz

Not needed. There is a log: ML\LOGS\SD_UHS.LOG

andy kh

70D

===================
2018/04/04 23:44:35
===================
Before the hack: r:40MB/s w:36MB/s  W:37MB/s R:40MB/s  :)  [best 36MB/s]
SDR50 @ 96MHz  : r:40MB/s w:37MB/s  W:36MB/s R:40MB/s  :)  [best 37MB/s]
SDR50 @ 96MHz  : r:39MB/s w:37MB/s  W:37MB/s R:39MB/s  meh [best 37MB/s]
SDR50 @ 80MHz  : r:34MB/s w:32MB/s  W:32MB/s R:33MB/s  meh [best 37MB/s]
SDR50 @ 80MHz  : r:34MB/s w:32MB/s  W:32MB/s R:34MB/s  meh [best 37MB/s]
SDR50 @ 120MHz : r:48MB/s w:44MB/s  W:41MB/s R:48MB/s  :)  [best 44MB/s]
SDR50 @ 120MHz : r:48MB/s w:45MB/s  W:44MB/s R:48MB/s  :)  [best 45MB/s]
SDR104 @ 96MHz : r:40MB/s w:35MB/s  W:36MB/s R:39MB/s  meh [best 45MB/s]
SDR104 @ 96MHz : r:39MB/s w:38MB/s  W:37MB/s R:39MB/s  meh [best 45MB/s]
SDR104 @ 80MHz : r:34MB/s w:32MB/s  W:31MB/s R:34MB/s  meh [best 45MB/s]
SDR104 @ 80MHz : r:34MB/s w:31MB/s  W:32MB/s R:34MB/s  meh [best 45MB/s]
SDR104 @ 120MHz: r:48MB/s w:44MB/s  W:43MB/s R:48MB/s  meh [best 45MB/s]
SDR104 @ 120MHz: r:48MB/s w:44MB/s  W:43MB/s R:46MB/s  meh [best 45MB/s]
SDR104 @ 132MHz: r:52MB/s w:46MB/s  W:46MB/s R:53MB/s  :)  [best 46MB/s]
SDR104 @ 132MHz: r:52MB/s w:48MB/s  W:48MB/s R:52MB/s  :)  [best 48MB/s]
SDR104 @ 160MHz: r:61MB/s w:52MB/s  W:52MB/s R:61MB/s  :)  [best 52MB/s]
SDR104 @ 160MHz: r:61MB/s w:55MB/s  W:54MB/s R:62MB/s  :)  [best 55MB/s]

Done.
Please run THOROUGH tests before using!!!

sandisk extreme pro 64gb

5D Mark III - 70D

andy kh


===================
2018/04/05 02:17:38
===================
Before the hack: r:40MB/s w:18MB/s  W:32MB/s R:39MB/s  :)  [best 18MB/s]
SDR50 @ 96MHz  : r:39MB/s w:18MB/s  W:31MB/s R:39MB/s  :)  [best 18MB/s]
SDR50 @ 96MHz  : r:40MB/s w:19MB/s  W:35MB/s R:39MB/s  :)  [best 19MB/s]
SDR50 @ 80MHz  : r:34MB/s w:30MB/s  W:30MB/s R:34MB/s  :)  [best 30MB/s]
SDR50 @ 80MHz  : r:33MB/s w:31MB/s  W:30MB/s R:34MB/s  :)  [best 31MB/s]
SDR50 @ 120MHz : r:48MB/s w:42MB/s  W:41MB/s R:48MB/s  :)  [best 42MB/s]
SDR50 @ 120MHz : r:48MB/s w:42MB/s  W:37MB/s R:47MB/s  :)  [best 42MB/s]
SDR104 @ 96MHz : r:39MB/s w:34MB/s  W:20MB/s R:39MB/s  meh [best 42MB/s]
SDR104 @ 96MHz : r:39MB/s w:20MB/s  W:18MB/s R:39MB/s  meh [best 42MB/s]
SDR104 @ 80MHz : r:33MB/s w:18MB/s  W:31MB/s R:34MB/s  meh [best 42MB/s]
SDR104 @ 80MHz : r:34MB/s w:30MB/s  W:30MB/s R:34MB/s  meh [best 42MB/s]
SDR104 @ 120MHz: r:47MB/s w:42MB/s  W:41MB/s R:47MB/s  meh [best 42MB/s]
SDR104 @ 120MHz: r:48MB/s w:41MB/s  W:42MB/s R:48MB/s  meh [best 42MB/s]
SDR104 @ 132MHz: r:52MB/s w:44MB/s  W:44MB/s R:51MB/s  :)  [best 44MB/s]
SDR104 @ 132MHz: r:52MB/s w:44MB/s  W:44MB/s R:52MB/s  :)  [best 44MB/s]
SDR104 @ 160MHz: r:59MB/s w:46MB/s  W:47MB/s R:60MB/s  :)  [best 46MB/s]
SDR104 @ 160MHz: r:60MB/s w:48MB/s  W:46MB/s R:59MB/s  :)  [best 48MB/s]

Done.
Please run THOROUGH tests before using!!!

sony sdhc 94mb/s 32gb
https://www.amazon.in/Sony-SDHC-UHS-I-32GB-Memory/dp/B0081R14LI?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=60b8e748-bc59-42ca-b386-1d3a558c323d
5D Mark III - 70D

Walter Schulz

There are/were compatibility issues with this card type in some Canon cams. See http://www.cameramemoryspeed.com/reviews/sd-cards/sony-32gb-sdhc-memory-card/
18 MByte/s vs. 48 MByte/s? Wow!

domasa

QuoteRan a brute force (random) search for the above registers, and...

...what about brute force search registers for CompactFlash?  ;)

a1ex

Updated sd_uhs.mo (same link) with support for EOS M, 100D, 650D and 70D (thanks dfort), some minor fixes and a new experiment.

Noticed one of my cards was a bit unstable in LiveView when using the 160MHz mode (sometimes worked, sometimes the tests resulted in error) and managed to get consistent results after changing driver strength (default is 0, got better results with 1). The new module tries all possible values (0 to 3).

Committed the source, too.

@Levas: please retry the test on the same (old) card.