jinlife / Synology_Photos_Face_Patch

Synology Photos Facial Recognition Patch
GNU General Public License v3.0
688 stars 101 forks source link

Perhaps DS3615XS needs this patch #6

Closed carr0t2 closed 2 years ago

carr0t2 commented 2 years ago

DSM 7.0.1-42218 Update 3
DS3615XS hp gen7 Synology Photos

Before the patch dmesg print similar to the following output

[28876.461586] traps: synofoto-face-e[2959] trap divide error ip:7f534ae038f2 sp:7f5354a25580 error:0 in libMKLDNNPlugin.so[7f534acc3000+10dd000]
[28882.560670] traps: synofoto-face-e[3068] trap divide error ip:7fda58a828f2 sp:7fda5d8fb580 error:0 in libMKLDNNPlugin.so[7fda58942000+10dd000]
[28888.805445] traps: synofoto-face-e[3097] trap divide error ip:7f109ea438f2 sp:7f10a78d1580 error:0 in libMKLDNNPlugin.so[7f109e903000+10dd000]
[28894.808466] traps: synofoto-face-e[3129] trap divide error ip:7f63b9bff8f2 sp:7f63c2980580 error:0 in libMKLDNNPlugin.so[7f63b9abf000+10dd000]
[28936.600971] traps: synofoto-face-e[3155] trap divide error ip:7fc0ea0d58f2 sp:7fc0f2eb1580 error:0 in libMKLDNNPlugin.so[7fc0e9f95000+10dd000]
[28943.060527] traps: synofoto-face-e[3250] trap divide error ip:7fb77117e8f2 sp:7fb775f5e580 error:0 in libMKLDNNPlugin.so[7fb77103e000+10dd000]

Before the patch cat /var/log/messages print similar to the following output

2022-04-21T20:35:16-07:00 xxxx coredump[2274]: Process synofoto-face-e[2248](/volume2/@appstore/SynologyPhotos/usr/sbin/synofoto-face-extraction) dumped core on signal [8]. Core file [/volume1/@synofoto-face-e.core.gz]. Cmdline [/var/packages/SynologyPhotos/target/usr/sbin/synofoto-face-extraction ]
2022-04-21T20:35:18-07:00 xxxx coredump[2274]: Core file [/volume1/@synofoto-face-e.core.gz] size [19517704]
2022-04-21T20:35:22-07:00 xxxx coredump[2336]: Process synofoto-face-e[2310](/volume2/@appstore/SynologyPhotos/usr/sbin/synofoto-face-extraction) dumped core on signal [8]. Core file [/volume1/@synofoto-face-e.core.gz]. Cmdline [/var/packages/SynologyPhotos/target/usr/sbin/synofoto-face-extraction ]
2022-04-21T20:35:24-07:00 xxxx coredump[2336]: Core file [/volume1/@synofoto-face-e.core.gz] size [19517825]

After patch, Synology Photos Facial Recognition is working properly

jinlife commented 2 years ago

hmmm... I have no idea why my DS3615xs works well without it. Anyway, it is just a experimental patch, I'm glad it works for you.

jinlife commented 2 years ago

I guess maybe you are using baremetal to install the Synology, the CPU instructions might be different.