Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - reddeercity

#51
Ok run "strace" on make "cf_acc.mo" like this
ml@ml-pc:~/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc$ strace make zip
It didn't compile but give a print out what was going on , the only this i could understand was
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
the "= -1 ENOENT (No such file or directory)" comes up a lot
here the output
ml@ml-pc:~/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc$ strace make zip
execve("/usr/bin/make", ["make", "zip"], [/* 52 vars */]) = 0
brk(0)                                  = 0xd72000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839c000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=81835, ...}) = 0
mmap(NULL, 81835, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f79d8388000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1845024, ...}) = 0
mmap(NULL, 3953344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f79d7db6000
mprotect(0x7f79d7f71000, 2097152, PROT_NONE) = 0
mmap(0x7f79d8171000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bb000) = 0x7f79d8171000
mmap(0x7f79d8177000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f79d8177000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8387000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8385000
arch_prctl(ARCH_SET_FS, 0x7f79d8385740) = 0
mprotect(0x7f79d8171000, 16384, PROT_READ) = 0
mprotect(0x627000, 4096, PROT_READ)     = 0
mprotect(0x7f79d839e000, 4096, PROT_READ) = 0
munmap(0x7f79d8388000, 81835)           = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
brk(0)                                  = 0xd72000
brk(0xd93000)                           = 0xd93000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10047008, ...}) = 0
mmap(NULL, 10047008, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f79d7421000
close(3)                                = 0
rt_sigaction(SIGHUP, {0x405aa0, [HUP], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x405aa0, [QUIT], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x405aa0, [INT], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x405aa0, [TERM], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0x405aa0, [XCPU], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {0x405aa0, [XFSZ], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
getcwd("/home/ml/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc", 4096) = 60
stat("/usr/include", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/gnu/include", 0x7fffad4e6cd0) = -1 ENOENT (No such file or directory)
stat("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/include", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
rt_sigaction(SIGCHLD, {0x40de00, [CHLD], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, 8) = 0
rt_sigaction(SIGUSR1, {0x410540, [USR1], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 9 entries */, 32768)     = 296
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
open("Makefile", O_RDONLY)              = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=742, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839b000
read(3, "\n# define the module name - make"..., 4096) = 742
open("../Makefile.modules", O_RDONLY)   = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2739, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839a000
read(4, "    TOP_DIR?=../..\nML_SETUP_DISA"..., 4096) = 2739
open("../../Makefile.setup", O_RDONLY)  = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=2787, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8399000
read(5, "# Generic makefile\n# Include def"..., 4096) = 2787
open("../../Makefile.top", O_RDONLY)    = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=1759, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8398000
read(6, "MAKE=make\nRM=rm\nMV=mv\nMKDIR=mkdi"..., 4096) = 1759
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7f79d8398000, 4096)            = 0
open("../../Makefile.user.default", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=4099, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8398000
read(6, "#User-defined values for ML buil"..., 4096) = 4096
pipe([7, 8])                            = 0
vfork()                                 = 3984
close(8)                                = 0
read(7, "Linux\n", 200)                 = 6
read(7, "", 194)                        = 0
close(7)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3984
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3984, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 3984
pipe([7, 8])                            = 0
vfork()                                 = 3985
close(8)                                = 0
read(7, "", 200)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3985, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 0
close(7)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 3985
pipe([7, 8])                            = 0
vfork()                                 = 3988
close(8)                                = 0
read(7, "2021Sep26\n", 200)             = 10
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3988, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 10
read(7, "", 190)                        = 0
close(7)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3988
read(6, " n\n", 4096)                   = 3
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x7f79d8398000, 4096)            = 0
open("../../Makefile.user", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/include/../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.setup.user", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f79d8399000, 4096)            = 0
open("cf_acc.d", O_RDONLY)              = -1 ENOENT (No such file or directory)
open("/usr/include/cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("../../Makefile.filerules", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=1604, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8399000
read(5, "\n#\n# generate dependencies\n#\nCOB"..., 4096) = 1604
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7f79d8399000, 4096)            = 0
pipe([5, 6])                            = 0
vfork()                                 = 3990
close(6)                                = 0
read(5, "hgid: 1af20c52fbe4", 200)      = 18
read(5, "", 182)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3990, si_status=0, si_utime=14, si_stime=1} ---
rt_sigreturn()                          = 0
close(5)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3990
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f79d839a000, 4096)            = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f79d839b000, 4096)            = 0
brk(0xdb4000)                           = 0xdb4000
stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
stat("../../src", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
openat(AT_FDCWD, "../../src", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
stat("RCS", 0x7fffad4e6c80)             = -1 ENOENT (No such file or directory)
stat("SCCS", 0x7fffad4e6c80)            = -1 ENOENT (No such file or directory)
stat("../../Makefile.filerules", {st_mode=S_IFREG|0644, st_size=1604, ...}) = 0
stat("cf_acc.d", 0x7fffad4e4c60)        = -1 ENOENT (No such file or directory)
stat("Makefile.modules.user", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.modules.default", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.setup.user", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.setup.default", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("../../Makefile.user", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("../../Makefile.user.default", {st_mode=S_IFREG|0644, st_size=4099, ...}) = 0
stat("../../Makefile.top", {st_mode=S_IFREG|0644, st_size=1759, ...}) = 0
stat("../../Makefile.setup", {st_mode=S_IFREG|0644, st_size=2787, ...}) = 0
stat("../Makefile.modules", {st_mode=S_IFREG|0644, st_size=2739, ...}) = 0
stat("Makefile", {st_mode=S_IFREG|0644, st_size=742, ...}) = 0
stat("../..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "../..", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 31 entries */, 32768)    = 976
getdents(5, /* 0 entries */, 32768)     = 0
close(5)                                = 0
stat("../../RCS", 0x7fffad4e57b0)       = -1 ENOENT (No such file or directory)
stat("../../SCCS", 0x7fffad4e57b0)      = -1 ENOENT (No such file or directory)
stat("../../", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("../../../../src", 0x7fffad4e4360) = -1 ENOENT (No such file or directory)
stat("../../../../src/RCS", 0x7fffad4e2f00) = -1 ENOENT (No such file or directory)
stat("../../../../src/SCCS", 0x7fffad4e2f00) = -1 ENOENT (No such file or directory)
stat("../..//RCS", 0x7fffad4e2f10)      = -1 ENOENT (No such file or directory)
stat("../..//SCCS", 0x7fffad4e2f10)     = -1 ENOENT (No such file or directory)
getdents(3, /* 29 entries */, 32768)    = 784
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
getdents(4, /* 228 entries */, 32768)   = 7696
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
stat("/RCS", 0x7fffad4e2f40)            = -1 ENOENT (No such file or directory)
stat("/SCCS", 0x7fffad4e2f40)           = -1 ENOENT (No such file or directory)
stat("../../src/RCS", 0x7fffad4e2f40)   = -1 ENOENT (No such file or directory)
stat("../../src/SCCS", 0x7fffad4e2f40)  = -1 ENOENT (No such file or directory)
stat("..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "..", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 54 entries */, 32768)    = 1776
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
stat("../RCS", 0x7fffad4e57c0)          = -1 ENOENT (No such file or directory)
stat("../SCCS", 0x7fffad4e57c0)         = -1 ENOENT (No such file or directory)
stat("../", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("../../../src", 0x7fffad4e4370)    = -1 ENOENT (No such file or directory)
stat("../../../src/RCS", 0x7fffad4e2f20) = -1 ENOENT (No such file or directory)
stat("../../../src/SCCS", 0x7fffad4e2f10) = -1 ENOENT (No such file or directory)
stat("..//RCS", 0x7fffad4e2f20)         = -1 ENOENT (No such file or directory)
stat("..//SCCS", 0x7fffad4e2f20)        = -1 ENOENT (No such file or directory)
stat("zip", 0x7fffad4e4b70)             = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839b000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f79d839b000, 4096)            = 0
open("/usr/share/locale/en_US/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "make: *** ", 10make: *** )              = 10
write(2, "No rule to make target `zip'", 28No rule to make target `zip') = 28
write(2, ".  Stop.\n", 9.  Stop.
)               = 9
chdir("/home/ml/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc") = 0
close(1)                                = 0
exit_group(2)                           = ?
+++ exited with 2 +++
ml@ml-pc:~/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc$

Here it says it's open up the linux stuff but in the the ml compile file it says it's can't find "linux/types.h"
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3

this is starting to drive my crazy  :(

Edit:found out what "ENOENT" is from https://stackoverflow.com/questions/19902828/why-does-enoent-mean-no-such-file-or-directory
QuoteIt's an abbreviation of Error NO ENTry (or Error NO ENTity)
so back to linux/types.h not being where it should be . >:(
#52
Quote from: names_are_hard on September 14, 2021, 08:40:42 AM
..... You could use strace to determine where it's searching, which might give you some clues.  .....
Ok , i'm not good on linux command line stuff (i'm a windows user)
So i did a little search , and found this https://en.wikipedia.org/wiki/Strace
so i got an idea what it is , but the syntax is a little hard to get my head around .
would this be right ? if i'm in the 5d2 platform  compiling ml ?
ml@ml-pc:~$ strace make zip
would this out put a log file or something like that ?
#53
Quote from: names_are_hard on September 14, 2021, 01:28:18 AM
Search using your package manager.  This differs per distro.  If you're using an apt based distro, you can do this:
apt search linux-libc-dev|grep linux-libc-dev|grep installed
Ok got this , I should also mention that I'm using "Ubuntu Mate Desktop Environment 1.8.1" from 2014 i think
ml@ml-pc:~$ apt search linux-libc-dev|grep linux-libc-dev|grep installed

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

linux-libc-dev/trusty-updates,trusty-security,now 3.13.0-40.69 amd64 [installed,automatic]
ml@ml-pc:~$

I notice it says "amd64" I'm on 64bit Intel laptop (i5 Dell M430 2.27GHz) does this matter , or is this just
a default file for 64bit systems .
#54
Quote from: names_are_hard on September 12, 2021, 04:02:18 PM
Do you have linux-libc-dev installed?
no sure , did a find file and i guess i do  :)

But dose it need to be in the path with the ARM toolchain ?

@theBilalFakhouri look at the code closer under hdparm .
#55
Ok we are back at it again :) , working on over clocking D4 CF Card Bus speed.
Actually i trying to reproduce a old experiment a1ex did on the 5d2 years ago where he over clocked the
CF Card bus speed where he had success but never gave any number on speed .
I'm using the old (ml core) as his code was written in that , the branch is hdparm
I did try to merge it to the new core but it has too many error for me to fix .
So i had to re-install a old ml clone of ubuntu VM with the old tool chain so i just got it running ,
I can compile now but i keep getting a "fatal error" on the cf_acc.mo (module)

Building module cf_acc...
Updated HGVERSION
[ README   ]   module_strings.h
[ CC       ]   cf_acc.o
[ CC       ]   hdparm/identify.o
hdparm//identify.c:7:25: fatal error: linux/types.h: No such file or directory
#include <linux/types.h>
                         ^
compilation terminated.
make[4]: *** [hdparm/identify.o] Error 1


hdparm//identify.c:7:25: fatal error: linux/types.h

The problem is there no "Linux/type.h" in the source code at all !
even in the the new core code . Tried to to edited it out but just made things worse .
Can anybody shed any light on this ?
Here is the source code for the module cf_acc.zip
#56
Turn off Auto preview and use Grey preview and refresh Liveview
User "Skinny" in this post explains how to enable 48fps preset easily 
https://www.magiclantern.fm/forum/index.php?topic=19336.msg224056#msg224056
#57
Quote from: Hisham on August 03, 2021, 07:48:28 PM
..... about improving h.264 bit rate what are the setting you recommend for me and any other advice You recommend in my case will be very much appreciated ..
Before raw video , I used H264 + Log picture profile & set the bite rate to the highest or near that , i would get
.mov file at about 65Mb/s to 70Mb/s , then  i just de-log it to Rec709 with a (rec709 Lut)

Go to https://www.technicolor.com/cinestyle  & download "technicolor_cinestyle_v1.0.zip" file
you get the Technicolor_CineStyle_v1.0.pf2 (picture profile) & a S-curve for de-loging
The de-logling file is normally a 3d-LUT but the technicolor one is a .mga file if you open it up in a text you can see all the valves
#HEADER
#filename: S-curve_for_CineStyle.mga
#type: 3D cube file
#format: 1.00
#created:
#owner: technicolor
#title: S-curve_for_CineStyle
#END
channel 3d
in 35937 out 65536

format lut values
red green blue
0 0 0
1 0 0 128
2 0 0 641
3 0 0 1409
4 0 0 2434
5 0 0 3844
6 0 0 5445
7 0 0 7367
8 0 0 9545
9 0 0 11915
10 0 0 14478
11 0 0 17233
12 0 0 20179
13 0 0 23190
14 0 0 26329
15 0 0 29532
16 0 0 32735
17 0 0 35939
18 0 0 39142
19 0 0 42217
20 0 0 45292
21 0 0 48174
22 0 0 50929
23 0 0 53555
24 etc. ...

You may able to just rename it to 3d lut not sure never try it thou .
plus there a text with S-curve so you may able to convert it to  a 3d/1d lut i think.
ARRI has a free LUT generator ,
https://www.arri.com/en/learn-help/learn-help-camera-system/tools/lut-generator

This just a quick test , but it may work didn't test it  but there other free lut generator
plus /Blackmagic Resolve also has the ability to create LUT also.

If i can find my old S-curve .mga file i converted to a 3d-LUT I'll post a link to it.
Here you go
CineStyle_LUT_to_Converted_3d_LUT.zip

#58
@ theBilalFakhouri ,did you enable the deflick.mo ?
I don't have any problem when the deflick.mo is enable and processed with either cr2dr or MLVFS .

#59
Quote from: theBilalFakhouri on May 26, 2021, 07:17:39 PM
Hello there!

Any source code for crop_rec? I need to know what stubs do 5D2 & 50D use for MEM_ENGIO_WRITE
in the process of moving right now , so all development  files are packed up , it was on bitbucket before they deleted it
Plus my FX pc mother board blow up , and it have all my files in a VM so it could be difficult getting them out of the old SSD .
Could be many mouths , not sure maybe fall .
#60
Quote from: thebailey on June 08, 2021, 06:04:11 PM
Yay reddeercity, you're back!
........ If black bars are compulsory, would it be possible to anamorphically squeeze 1920x1080 into 1650x1080 for less wasted pixels in final 16:9 footage?
No , short answer .
It maybe possible , but I need to go thought the UART so I can research HDMI configurations and how to manipulate it
(I did get some good DM log file from previous research and this too
Understanding MotionJpeg & h264 routines for Digic 4 but need to go on a deep drive in the the motion jpeg chip where the HDMI comes from)
if I can understand the mjpeg chip calls totally with out guess work then we should have control & be able to write code to override the limitation
Quote from: thebailey on June 08, 2021, 06:04:11 PM
Lastly reddeercity, for all the useful stuff you do, I'm sure lots of people would donate to your coffee / computer parts fund by Paypal if you have one?
No , just donate to Magic Lantern so a1ex can come back sooner  :D
#61
Just got my i7 10th Gen (10700K 16threads) up and running on Win10pro fresh load on the 21H1 update on a 1TB WD Black SN750 (MVMe SSD)
So I put the 2 file on my desktop (so the file where on my MVMe SSD) and run a quick test with the new MLV App 1.12 x64 , with default setting .
loaded up 2 files (crop_rec) 10 bit uncompressed 2600x1200 23.976fps no audio
and (3x3) 12bit uncompressed 1856x1044 23.976fps with audio 44.1KHz.
The crop_rec 2.6k playback run at 21-22 fps , the 3x3 payback with audio was real time , so 23.976 fps playback .
Being this CPU can be overclock , I left it at default clock speed (3.8 GHz) so I should get real time at 4k 10bit uncompressed when I overclock it .



#62
Quote from: far.in.out on March 26, 2021, 08:29:35 PM
How can you do 3760x1080 @ 23.976fps with 1x1 on 50D? Am I missing something? That's how many MBs per second?
It in the Crop_Record module just like the 5D2 , You need to download the Crop_Record module
https://bitbucket.org/reddeercity/crop_rec_5d2_50d/downloads/magiclantern-eXperimental-crop-rec_3.7k-1x1.11.30pm.2020Aug16.50D109.zip
#63
Camera-specific Development / Re: Canon 7D Mark I
May 25, 2021, 05:38:11 AM
Quote from: theBilalFakhouri on May 24, 2021, 09:44:31 PM
In none-crop 1080p mode more pixels are being used (more photons are being captured), there is a horizontal pixel binning in this mode, resulting in less noise.
If you are talking about Line skipping sensor's I disagree , the that's what cause the noise , the pixel binning
https://thedailynathan.com/demosaic/algorithms.php?algorithm=pixelbinning&image=raw.png
QuotePixel binning is the most straightforward way to combine the color information across multiple photodetectors.
We simply assume a larger size for each pixel (each pixel is now an aggregate of information from multiple photodetectors rather than just one) and combine the color information

So yes you have more pixel , but the color/RGGB data  is not the same as a single pixel RGGB , It's being combine and that's where the noise being produce.
I done many noise level test and the cleanest is crop_mode on D4(5d2 & 50D) .
but you don't have to take my word for it ,  test it for your self .

On the 5d3 there's not line skipping so this doesn't apply , just cams like 7d , 5d2 , 50d etc. .... 
#64
Thanks for the info , I"ll do some shopping and see what i can find .
#65
All my files and gear is all pack away right (getting ready to move) i'll see if i can find a older mlv on my work laptop for on site shoots.
#66
This is great, Thanks!   :)
I was thinking about this the other day on how to do this to D4's without having a battery grip .
This helps me greatly , I have some road blocks with the 5D2/50D in crop_record and this should help me understand the problems
now i just need to get uart device and get my head around this .
#67
Quote from: Volumetrik on May 21, 2021, 05:07:37 PM
That's a pretty big machine you got there. After a lot of research, I figured that the SN750 NvMe drives from WD were the top option considering price. I have a 1TB SN750 and it's blazing fast. I also have a regular ....
There are frequent deals for SN750's for 150-155$ CAD 
Thanks
This one is  supported by Gigabyte
I just order 1 from amazon ($154.00CAD)  10min before i wrote this post 
with tax came to $161.00 CAD , should be here by next Friday.   :)


Quote from: Volumetrik on May 21, 2021, 05:07:37 PM
I became frustrated with the lack of GPU accel on after effects even though I much prefer ACR's rendering of raw files vs Resolve. Even with a 3900x (12 cores & 24 threads), the export was 1-2 fps with 50% core utilization in AE. In resolve though, I could export ridiculously fast at 24-30fps with GPU accel on my 3070 and made things so much easier like scrubbing and color correction. Curious to see what you think about that
With CS6 AE On my 2013 MacPro Hackintoss  i7 3770k (overclocked to 4.7GHz)  16GB ram , on After Effect I was averaging 3-4 frames/s @ 1080p/24fps
That was from the (4x2TB disk) 6TB Raid5 box thought  ATTO PCIe-x4 SaS card to the SSD
I had .75GB per thread of the CPU (x8) in the multi threading configtion  , it only limited by how much ram you have 
AE loves ram the more the better & the faster it works.
I hope i can get more with the new computer  :D

#68
Quote from: yourboylloyd on May 21, 2021, 06:58:27 PM
Any M.2 NVME that had the SABRENT brand on it is amazing.
Unfortunately SABRENT M.2 are not on the supported list for my Gigabyte mother board

Quote from: yourboylloyd on May 21, 2021, 06:58:27 PM
I love ACR too but I hated ACR as the bottleneck. It would take wayy too long to render. ..... Would love to see more GPU accel on AE.
When i was on the Adobe cloud "CC" there was GPU accel for After Effects & Premiere Pro but it cost monthly and that add up
#69
Hi all , i'm just about ready to resume development , in the process of moving/buying a house in a different community (small town, no stress  :D
Plus my main development computer mother board burned up  :( (FX8350 over clock to 4.9Ghz)
So instead trying to find a new/used FX board i bought (in the process of assembling) Intel 10th Gen. i7-10700K (LGA1200) (16 thread CPU)
on a Gigabyte Z490 Vision G mother board with 32GB DDR4 3600MHz Hyperx Predator Kingston Ram .
Yea i when to the dark side  :P :P :P , but the new AMD's don't impress me .

So soon i'll be up & running , i still have a dev environment on my old i5 dell laptop (M430) but it's slow specially when compiling ML.
My foucus is CF Card over clocking (75/80 to 120Mb/s) on D4 Cams  https://www.magiclantern.fm/forum/index.php?topic=19336.msg207053#msg207053
Using ://bitbucket.org/hudson/magic-lantern/branch/hdparm before bitbucket stop.

After that I'll take a run at Lossless compression/MLV_Lite again , I was close before but i know i missed something .

There some small thing i would like to fix with the crop_record module on D4's (ATDG reg's are not being applied & or locks up cam)
on both 5D2 & 50D.

After that i what to jump in to the D6 Cams mainly 5D4 and get ML running so it can be used (no including raw video as this is very difficult right now)

I'll try and catch up on the older post questions , so hang in there D4 user's  ;)

One last thing , the new intel mother board has 2 M.2 PICe4x SSD slots
just wondering what other people are using , eg. brand & size
I what to load win's on it and make it a working drive for Raw Video & Adobe After Effect CS6, i hoping it will read in realtime or close to it.
Or is it better just to boot to a Sata3 SSD for wins and just use the M.2 ssd as just a Volume drive.
#70
Camera-specific Development / Re: Canon 7D Mark I
May 20, 2021, 09:45:43 PM
Quote from: Wlad81 on May 20, 2021, 09:10:10 PM
.... make Full HD out of what you have now by upscaling .... using MLV App. No one will notice the difference between the true 1080p and the upscaled one.
Yes you can , it looks really badddd !
Line skipping sensor don't up scale very well at all , it create more artifact then the original file .
Best to use Crop_Mode and record @ 2k(or 1080p) it's non line skipping (even line used)
You just need to use a 15mm-24mm lens to get the same framing as a 50mm for example .
#71
HDMI 1080i (1650x1080 60i ->23.976p) has been a feature seen at least 2013.
https://www.magiclantern.fm/forum/index.php?topic=950.msg179033#msg179033
https://www.magiclantern.fm/forum/index.php?topic=14116.msg135965#msg135965
https://vimeo.com/87063254 Old video i did back in 2014
https://www.magiclantern.fm/forum/index.php?topic=6284.msg77726#msg77726

In short 5D2 can output 1650x1080 60i 4.2.2 uncompressed (1500MB/s or 1.5Gb/s) from the HDMI , this a default setting
in magic lantern . If you are getting 720x480 , then you have the "Force HDMI to VGA" enabled .
FYI : you can record 1080 60i (HDMI) & raw video (3x3) 1880x1250 at the same time with mlv_rec or mlv_lite
I do this all the time with my HDMI Ninja Hard Drive Recorder (ProRes) & my AJA Kona Lhi Capture Card.
If this does not work , then you have some setting not right , it should work out of the box without any problems.
Make sure you have the latest ML build or my Crop_Rec experimental builds https://www.magiclantern.fm/forum/index.php?topic=19336.msg182476#msg182476
I know for sure it work with it . If you what to get 1620x911 then you will have to crop it in a video editing software

#72
Camera-specific Development / Re: Canon 5D Mark II / 5D2
February 08, 2021, 05:21:54 AM
Quote from: vga256 on February 01, 2021, 05:15:13 PM
happy to help out coding - I'm a C++/C# coder, so it'll just take me some time to catch up on the ML data structures and layout. If you've got a suggestion on where to start reading, I'm all ears!
Good to here , ml need's more people that can code and understand ml code structure .
Start here https://foss.heptapod.net/magic-lantern/magic-lantern/  , This is the unified branch so no special modules like "crop_rec"
but it should give you a idea how the code structure is . There also other branches there you can look over like "lossless compression" etc. ...
the branches are not up to date yet , so bear that in mind .
#73
Yes that's the way it is at the moment , Liveview only run at max 32fps and i haven't look further in to it.
Its low priority for me .
#74
Camera-specific Development / Re: Canon 5D Mark II / 5D2
February 01, 2021, 03:40:41 AM
Quote from: vga256 on February 01, 2021, 02:52:42 AM
Hopefully he resurfaces soon. Would be happy to help out with 5D2 development
I never left  ;) , had some personal thinks to take care of , that was more important then magic lantern .

Lossless is still wip (work in progress) it about 75% done . I just need to sit down for about a week
and finish it . But it will be a few more months before I'm back working full time on magic lantern .
Have a look here for some of my pass work on lossless that continue
https://www.magiclantern.fm/forum/index.php?topic=18443.msg198487#msg198487
#75
One  more video , Here's how to enable 48p preset every time , start off in 3.5k Centered preset (2784x1160) , re-fresh liveview then go directly to 48p preset , that's it .
shot on my 50D 1x3 4k (1376x1742 -> 4128x1742 in A.E. CS6 acr to prores 422hq , which is the uploaded file .