Magic Lantern 2024 summary, 2025 preview

Started by names_are_hard, December 28, 2024, 06:41:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walter Schulz

Or get yourself a 550D and help finding out where button triggering BGMT_PRESS_FLASH_MOVIE is located, what it does and why we have 3 related events. /s


SpicyBoi

Quote from: names_are_hard on April 04, 2025, 11:28:30 PMYup, discord is the best place for quick discussion.

6D2 is in the reliable early port stage.  This would let you have fair confidence that what's there (not much), works.  R is Digic 8.  None of these cams are reliable yet.  If you enjoy debugging, we'd welcome the help on Digic 8 (maybe I won't have to do it!).  If you prefer reverse engineering and normal dev work, 6D2 is a more obvious choice.

If you'd prefer to avoid reverse engineering, and stick to normal dev work - there's still lots to do on well supported cams.  The good parts of various forks want merging into official repo, known bugs want fixing, menus could do with a re-org and cleanup.  Etc!
I think the Canon R is a logical choice for me  as I like to shoot with vintage lenses and I have a lot of TV lenses which can be adapted to it.

Dose the canon R have at least hd raw recording at the moment?

names_are_hard

The R does not have working raw video of any kind.  We do know the principles required to get it working, and it will be possible to support on this cam.  Kitor has done proof of concept work on a few D8 cams so might have more detailed info.  No D8 cams are stable enough for public releases.

200D is the closest new cam to having raw video.  It works there with some significant glitches needing fixing (timing clocks work differently on modern cams and this breaks many assumptions the old code makes).

kitor

Technically R has all the hardware to do 1080p60 on a fast card, and with code I have on branch it can record full sensor width 1080p60 uncompressed 14 bit RAW with I believe line binning (that was checked by Walter).

But we don't understand how to control EDMAC on Digic 8 (it has different hardware than previous generations) so it was a sheer luck we found a working combination to do it at all. There was no attempts to do 1:1 zoom modes recording and with our current knowledge 12/10 bit and lossless can't be done. I mean in terms of "we don't know how to configure hardware to achieve this".

Digic 8 has more problems, it requires much rework in our codebase (Canon changed data structures for basic things like ISO or Aperture values in a way those are incompatible with our core data structures), and - as Names pointed out - for a good 3 years or more we are trying to catch major instability problem on those platforms.

I would like to explore possibility of such literally "unstable dev super-pre-alpha" Digic 8 builds in foreseeable future, but they will be fundamentally broken in many areas and targeted towards chasing the root cause of mentioned unstability. But that for sure won't happen before, or close to first "reboot" releases.
Too many Canon cameras.
If you have a dead R or RP mainboard (e.g. after camera repair) and want to donate for experiments, I'll cover shipping costs.

Walter Schulz

Quote from: kitor on April 08, 2025, 03:44:47 PMTechnically R has all the hardware to do 1080p60 on a fast card, and with code I have on branch it can record full sensor width 1080p60 uncompressed 14 bit RAW with I believe line binning (that was checked by Walter).

At least strong indication. 5D4 and R may use the same sensor type. At least 1080p30 mode seems not to use line skipping (not sure I tested 60 fps).

BTW: 7D2 doesn't use line skipping either. The only Canon APS-C DSLR AFAIK.
BTW2: I kicked pre-ML from my R. Just beyond useless.

SpicyBoi

Quote from: Walter Schulz on April 08, 2025, 04:46:59 PMAt least strong indication. 5D4 and R may use the same sensor type. At least 1080p30 mode seems not to use line skipping (not sure I tested 60 fps).

BTW: 7D2 doesn't use line skipping either. The only Canon APS-C DSLR AFAIK.
BTW2: I kicked pre-ML from my R. Just beyond useless.

Canon 7D2 sounds fascinating, what's the status on that can it record raw yet?

I want not even aware it existed. 😁

I looked more into the R and I think I will get a 6dmkii to help out the R stuff is beyond me a bit I need more experiences with hacking the system.

names_are_hard

I can extract raw sensor data from 7d2, there are enough problems remaining that I wouldn't call it "recording raw" yet.  The camera has an unusual design with EDMAC operations happening indirectly from the ICU.  We may need to build an abstraction layer to wrap EDMAC ops for this cam (which would be a benefit for all cams).  Combined card performance is nice and high on this cam.  Heder made useful progress last year but didn't come back to finish it off: https://www.magiclantern.fm/forum/index.php?topic=13746.625

I've re-implemented everything to a similar level as in that post but with cleaned up code.  Not yet pushed to my repo since it's unstable and missing some pieces.  Happy to share if you want to work on that cam.

Similar for 6d2.  It's 90% working but there's a hard problem remaining around EDMAC channel reservation / usage.

SpicyBoi

Quote from: names_are_hardHeder made useful progress last year but didn't come back to finish it off: https://www.magiclantern.fm/forum/index.php?topic=13746.625

I've re-implemented everything to a similar level as in that post but with cleaned up code.  Not yet pushed to my repo since it's unstable and missing some pieces.  Happy to share if you want to work on that cam.

A 7d2 is on order will have it in a few days, please send me a link to the build and lets get things started.






names_are_hard

Cool - the repo is here: https://github.com/reticulatedpines/magiclantern_simplified/

Should build easily on modern linux.  Debian is preferred over Ubuntu (they have a bug around Qemu).  Is known to build on WSL or Mac.

I strongly recommend joining Discord for asking dev questions - you'll get answers a lot faster, and in more detail.

SpicyBoi

Quote from: names_are_hard on April 19, 2025, 07:22:31 PMCool - the repo is here: https://github.com/reticulatedpines/magiclantern_simplified/

Should build easily on modern linux.  Debian is preferred over Ubuntu (they have a bug around Qemu).  Is known to build on WSL or Mac.

I strongly recommend joining Discord for asking dev questions - you'll get answers a lot faster, and in more detail.
I certainly have questions as I managed to record 2.5k and 2.8k on my Canon 70D.... Which channel on discord are the developers hiding in.


names_are_hard

Is that unusual?  I merged one of the crop_rec branches in, so perhaps it's that.

I am in all the channels and don't have any muted, just say hi.  questions-and-chat is the best place to start.

SpicyBoi

Quote from: names_are_hard on April 23, 2025, 01:32:46 AMIs that unusual?  I merged one of the crop_rec branches in, so perhaps it's that.

I am in all the channels and don't have any muted, just say hi.  questions-and-chat is the best place to start.

Well in the community it is believed that the canon 70d is terrible for raw video and overheats easily. I did not have a clue that it is so capable and able to shot 3k.

I do have a question about the 70d and aspects ratios would you be the right person to talk to?

names_are_hard

Which community do you mean?  This forum doesn't generally believe that about 70D.  Oh well, communities often have very mistaken ideas about what is true or not.  The internet has lots of good information but you can't trust it.  70D has had this kind of stuff since 2019 or earlier: https://www.magiclantern.fm/forum/index.php?topic=25786.0

Because I have a 70D I merged in code that looked useful.  I don't like having lots of different branches and builds, it wastes everyone's time.

I don't know if I can answer your question without knowing what the question is :)  I'm happy to try but this is very off topic for this thread.  For questions about 70D, please find an existing 70D thread that looks relevant, or start a new one.

falcon

What are the chances there will be a release for 6D2 this year? If you have seen it, how does it compare to 5D3 in sharpness and dynamic range?

Walter Schulz

5D3 and 6D2 have been reviewed by various reliable sites. Please take a look for yourself.

https://www.photonstophotos.net/Charts/PDR.htm
https://www.imaging-resource.com/IMCOMP/COMPS01.HTM -> Select "All cameras" to view older cams, too
https://www.dpreview.com/reviews/image-comparison

names_are_hard

Quote from: falconWhat are the chances there will be a release for 6D2 this year? If you have seen it, how does it compare to 5D3 in sharpness and dynamic range?

I have seen it, because I wrote it.  It will be included in the 2025 release.  It will not have many features.

As Walter implies, sharpness and dynamic range are not really changed by Magic Lantern, so this question isn't really for us.  There are some edge cases, but these are close to physical properties of the hardware.

Looking at the PDR curves, 6D2 appears to be the same sensor generation as 5D3.