Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: a1ex on June 17, 2013, 02:59:32 PM

Title: Pink frames at high raw resolutions
Post by: a1ex on June 17, 2013, 02:59:32 PM
I don't have a solution yet, just an observation that will make it easier to reproduce.

1) enable raw video
2) enable grayscale preview
3) don't click me

60D: grayscale preview has distorted images (same as recorded)
5D2: all OK
5D3: distorted images every now and then

So, while edmac_memcpy is active, it can interfere with writing the source raw image to RAM. You can check this by calling edmac_memcpy in a while(1) loop.

If grayscale preview is not active, the LiveView image may stutter (though it has no distortion).

If raw flag is not enabled, running while(1) edmac_memcpy doesn't seem to have any side effects.
Title: Re: Pink frames at high raw resolutions
Post by: 1% on June 17, 2013, 03:20:02 PM
On 600D it was from cpu usage. The grayscale preview uses a lot of CPU. Also clearing screen and some refresh type things caused distorted image while they were happening.
Title: Re: Pink frames at high raw resolutions
Post by: a1ex on June 17, 2013, 03:41:15 PM
I don't think it's cpu usage per se, but some concurrency issues (conflicts between our edmac_memcpy and some Canon stuff).
Title: Re: Pink frames at high raw resolutions
Post by: Thejungle on February 12, 2014, 05:56:23 PM
So... any ideas for the solution?
Title: Re: Pink frames at high raw resolutions
Post by: shahed26 on February 13, 2014, 01:47:21 AM
Its fixed by Alex for mk3
Title: Re: Pink frames at high raw resolutions
Post by: itsDPmikey on February 11, 2016, 11:21:47 PM
no hasn't been fixed. Still occurring.