Author Topic: Bilal's crop_rec_4k experiments for 100D / SL1  (Read 10380 times)

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3411
  • 5D3 | M1 | 7D | 70D | SL1 | M2 | 50D
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #75 on: July 08, 2022, 12:44:56 AM »
Wonderful progress guys!
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #76 on: September 10, 2022, 03:53:18 AM »
-What's not working:

SD Overclocking:
During my tests 192 MHz SD overclock will only work with Sandisk Extreme PRO UHS-I U3 170 MB/s version, and it seems stable.

240 MHz doesn't work even when using Sandisk Extreme PRO UHS-I U3 170 MB/s.
Both 192 MHz and 240 MHz don't work when using Sandisk Extreme PRO UHS-I U3 95MB/s.

New sd_uhs update:
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240128#msg240128

State:
240 MHz does work to some point using Sandisk Extreme PRO UHS-I U3 170 MB/s.
192 MHz now works on my Sandisk Extreme PRO UHS-I U3 95MB/s.

GianlucaM83

  • Freshman
  • **
  • Posts: 51
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #77 on: September 10, 2022, 09:44:08 AM »
First of all, thank you Bilal and everyone who contributed to make this new module free for everyone  :)
I did a bench with my new sd card: Sandisk Extreme Pro 170 MB/s U3.
Seems that it can handle the 192 MHz preset correctly, instead with the 240 MHz preset it drops to 20MB/s.
Before this update, the same SD only worked with the 168 MHz preset. So this seems like a huge improvement to me.
Later I will also try it with my old  Sandisk Extreme PRO UHS-I U3 95MB/s
Thanks again!

Sandisk Extreme Pro 170 MB/s U3: New sd_hs module.192MHz preset:



theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #78 on: September 10, 2022, 09:57:42 AM »
I did a bench with my new sd card: Sandisk Extreme Pro 170 MB/s U3.
Seems that it can handle the 192 MHz preset correctly, instead with the 240 MHz preset it drops to 20MB/s.
Before this update, the same SD only worked with the 168 MHz preset. So this seems like a huge improvement to me.

Cool, what is your card capacity for Sandisk Extreme Pro 170 MB/s U3?

GianlucaM83

  • Freshman
  • **
  • Posts: 51
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #79 on: September 10, 2022, 10:12:46 AM »
I bought the 64 GB version

SebastianC

  • New to the forum
  • *
  • Posts: 39
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #80 on: September 10, 2022, 04:21:28 PM »
My 100D 3K can record more than 20-30seconds now with new 240 MHz.

Before I just only can record less than 5-10 seconds.

Good job Bilal!
Thank you for your work!
 :)

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #81 on: September 15, 2022, 10:51:41 AM »
Another better 240 MHz for 100D:
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240328#msg240328

-It works better at high temps using my Sandisk 170 MB/s and 100D, it didn't drop to 21 MB/s after 5 minuets of recording :D
-SDR104 patch which required to enable high OC for some cards now works with the newest 240 MHz preset, and it's stable

GianlucaM83

  • Freshman
  • **
  • Posts: 51
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #82 on: September 16, 2022, 05:27:23 AM »
I did a bench with the newest_sd_uhs_SDR104_patchmodule.
The 240 MHz preset now works on my SD as well  8)
Thanks!

This is the result:
240 MHz Preset
Sandisk Extreme Pro 170 MB/s U3 64GB

Write speed: 83.7 MB/s
Read speed:  85.7 MB/s
Write speed: 83.5 MB/s
Read speed:  85.7 MB/s


Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8497
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #83 on: September 16, 2022, 06:27:07 AM »
@Bilal: 10 MByte/s less than rest of the bunch? Did you get simiiar results?

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #84 on: September 16, 2022, 08:59:59 AM »
@GianlucaM83 Awesome, thanks for the test!

@Walter
Yeah it seems a little slow at 240 MHz (but still higher than 192 MHz), for me I can get up to ~90 MB/s using my 170 MB/s SD card on 100D (same on 700D, my SD card limit is ~90 MB/s).

bench0" border="0


@GianlucaM83
Your SD card should perform around ~90 MB/s (or a little higher) with 240 MHz. I suggest to run benchmarks with fast card reader on PC.

GianlucaM83

  • Freshman
  • **
  • Posts: 51
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #85 on: September 16, 2022, 10:05:54 AM »
I did a beanchmark of my SD card on my PC as you suggested. I used My Kingston FCR-HS4 card reader which is usb 3.0, connected directly to a usb 3.0 port on the motherboard.
I used the CrystalDiskMark program with the default settings and the aja system software. Unfortunately, I do not know any other softwares.
These are the results:

what do you think about these results, do you think they are in the normal range for my SD?

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8497
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #86 on: September 16, 2022, 10:28:36 AM »
Yes, they are.
Your Kingston FCR-HS4 (as mine) does not know anything about overclocking and runs pure UHS-I protocols as specified by SD Card Association. Means: UHS-104 is the limit.
You can compare your numbers with https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-pro-170mbs-uhs-i-u3-v30-64gb-sdxc-memory-card/
In this test all cardreaders but one are running non-proprietary transfer modes. The only one using overclocking stands out.

Maybe Bilal can get behind it.

GianlucaM83

  • Freshman
  • **
  • Posts: 51
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #87 on: September 16, 2022, 10:35:04 AM »
Yes, they are.
Your Kingston FCR-HS4 (as mine) does not know anything about overclocking and runs pure UHS-I protocols as specified by SD Card Association. Means: UHS-104 is the limit.
You can compare your numbers with https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-pro-170mbs-uhs-i-u3-v30-64gb-sdxc-memory-card/
In this test all cardreaders but one are running non-proprietary transfer modes. The only one using overclocking stands out.
Thanks Walter Schulz for the explanation  :)

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #88 on: September 16, 2022, 12:09:30 PM »
Thanks for the benchmarks.

I don't always trust CrystalDiskMark benchmarks (at least for fake SD cards), it wasn't really accurate when I bought fake Sandisk Extreme PRO 170 MB/s SD cards.
The other software (AJA) benchmark seems closer in term of write speed benchmarks compared to camera benchmark. Of course ignore read benchmarks (because we are using 192 MHz for reads on 100D when using 240 MHz).

Could you also test with Black Magic Disk Speed Test? Here is a download link from my Google Drive (I don't know where is the official download link)

GianlucaM83

  • Freshman
  • **
  • Posts: 51
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #89 on: September 16, 2022, 02:07:04 PM »
I did a test with Disk Speed Test.
Write speed is 85.5 MB/s

Skinny

  • Member
  • ***
  • Posts: 197
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #90 on: September 16, 2022, 08:35:02 PM »
@theBilalFakhouri congrats with new achievements, cool stuff guys! Do 300mhz, why stop at 280 :D
@GianlucaM83 nice virus ti :) I can see a lot of musicians here on ML forum for some reason :o

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8497
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #91 on: September 16, 2022, 08:41:34 PM »
Do 300mhz, why stop at 280 :D

Because next stop is not 300 but 384 and that is a tough call.

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #92 on: September 17, 2022, 01:59:04 AM »
@GianlucaM83
Thanks for the benchmarks, your SD card is doing on average (88 + 82 + 85.5) / 3 = ~85 MB/s which is close to 83.7 MB/s from camera.
If we exclude CrystalDiskMark, (82 + 85.5) / 2 = 83.7 MB/s. Well, I don't think this is an accurate way to do measurements, also because SD card frequency is unknown using PC card reader.

Last suggested test:
Perform low level format in camera, do benchmarks in Play mode at 240 MHz.

But anyway, in all cases 240 MHz is working fine here, the slower write speed in 240 MHz could be from your SD card or your 100D.
The only accurate way to verify is to test another Sandisk 170 MB/s SD card on your 100D and test your current Sandisk 170 MB/s SD card on other DIGIC 5 model at 240 MHz.

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #93 on: September 17, 2022, 02:05:52 AM »
@Skinny

Thank you!

Yeah as Walter said, other frequencies above 240 MHz are 280 MHz and 384 MHz. Will double check later if we can select something among 280-384 MHz range.
We are so lucky that our Canon cameras (DIGIC 5 models) from ~10 years ago support unofficial UHS-I speeds! Impressive work Canon ;D

Well, I must get 280 MHz stable (if possible) then think about higher than 280 MHz frequencies possibilities.

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 1024
  • UHS-I
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #94 on: September 17, 2022, 02:27:31 AM »
Next plans for 100D port:

At current stage I think I got most things from my 650D / 700D port to 100D, main things were:

-Crop mode (crop_rec) presets
-New hacks for RAW video
-And recently 240 MHz SD overclocking
-Memory allocation fix for high resolutions
-And other things

I need to check HDMI state too for some crop mode presets.

Remaining thing is Crop mode V2 (crop_new) module, more likely I will not port it. on 700D it's still confuse users, also the module isn't 100% stable (causes corrupted frames at some settings).
My alternative idea for this is to make more stable presets for Crop mode (crop_rec). Will discuss later what new presets to include in crop_rec, it will be something like more Time-Lapse modes and high frame rate modes.

Well, I might give crop_new a try on 100D.

100D users: feel free to give suggestions, your opinions and to discuss. please don't ask for new features, only if it related to my 650D / 700D port.

thatguyjay

  • Just arrived
  • *
  • Posts: 1
Re: Bilal's crop_rec_4k experiments for 100D / SL1
« Reply #95 on: November 17, 2022, 12:08:48 AM »
Hey guys, I'm a noob poking into this subject matter. I had an SL1 in my closet and just heard about all this RAW shooting capability added. Thank you for all your work on this. I can't seem to get my settings to work optimally and I thought I could use some advice.

I installed the latest build I could find: crop_rec_4k.2022Jul04.100D101_ADTG

I'm using a 128GB SD card like the one in the pic above: Sandisk Extreme Pro

I was only able to find one setting that worked to record more than 5 seconds before buffering/crashing the camera or showing pink stripes in LiveView: 1280x720 10-bit.

I also tried turning on crop mode but that seemed to be an additional X factor.

I guess there are some modes that work and some that don't and it has to do with the speed of the SD card? Any advice on recommended settings that will get me to at least UHD would be very helpful.

I'm trying to get to at least 1920x1080 to use this as a B camera with some interviews IDK if I'll have an answer by then, but I'm shooting Monday. I would be happy to support development on the SL1 if it would help get us over the finish line for this camera's capabilities.