fprint_vfs5011 icon indicating copy to clipboard operation
fprint_vfs5011 copied to clipboard

Verify result always returning "verify-no-match"

Open ov1d1u opened this issue 11 years ago • 22 comments

Hi,

Thank you for this driver, I got my fingerprint scanner on a Lenovo M5400 working on Linux. Unfortunately I cannot get the sensor to validate my fingerprint, everytime I get "Verify result: verify-no-match (done)" when I run "fprintd-verify" (of course, I enrolled my fingertip before doing this).

fprint_demo shows a distorted image (http://i.imgur.com/eltf3k4.png) every time I do a fingertip scanning, so I'm asking if not this is the issue.

Anyway, thanks for your work!

ov1d1u avatar Jan 21 '14 11:01 ov1d1u

Hi,

Thank you for testing the driver. This distortion is, of course, sufficient reason for it to never match.

Can you please run fprint_demo with environment variable VFS5011_DEBUGPATH set to some existing directory, something like

mkdir $HOME/vfs5011debug VFS5011_DEBUGPATH=$HOME/vfs5011debug fprint_demo

then scan the finger several times so that this distortion occurs, and then send me the content of that directory (you can e-mail to ars3n at yandex.ru, for example)?

Arseniy

ars3niy avatar Jan 21 '14 12:01 ars3niy

I'm experiencing the same symptoms. Have you already got the debug trace? If not, let me know and I'll send you the debug output.

andyboeh avatar Mar 31 '14 18:03 andyboeh

Anyone have an update on this by chance?

I was playing around with the vfs5011.c driver, and changed the follow:

RESOLUTION = 5,
MEDIAN_FILTER_SIZE = 13,
MAX_OFFSET = 1,
GOOD_OFFSETS_CRITERION = 20,
GOOD_OFFSETS_THRESHOLD = 3

And its working MUCH better for me now.

sniper7kills avatar Sep 16 '14 00:09 sniper7kills

For me, increasing MAX_OFFSET has removed fingerprint image distortions but I still couldn't achieve reliable verification.

Eugeny avatar Jan 14 '15 12:01 Eugeny

Have you guys ever found a good solution for this? I have the same problem with my lenovo t440s and the fingerprint reader is probably the only thing I really miss since switching to ubuntu a few months ago.

Eugeny what did you change the MAX_OFFSET to? Because I don't really see any difference when playing around with the values.

Vince-vd avatar Feb 15 '15 13:02 Vince-vd

@Vince-vd I tried values up to 1000, and it improved the image, but I can't say that it had any effect on the recognition quality

Eugeny avatar Feb 15 '15 14:02 Eugeny

Ok thank you @Eugeny , I'll just keep typing my password then I guess :)

Vince-vd avatar Feb 15 '15 17:02 Vince-vd

I can confirm that this issue is still present. The image is distorted and I can only match every 1/25 attempts.

EAnushan avatar Apr 23 '15 02:04 EAnushan

The same problem on Dell Vostro 5470. I can't authenticate using my fingerprint reader.

elder avatar Apr 23 '15 16:04 elder

same issue for lenovo x1 carbon gen3

EDIT: actually it matches a few fingerprint if you swype the finger really fast (tried with fprint_demo to see how the fingerprints looked). If the swype is too slow, the image is distorted vertically (the height is a lot bigger than the width)

ptonelli avatar Aug 05 '15 13:08 ptonelli

Hi same observation as ptonelli (on the same machine, running debian sid)

marcocamma avatar Sep 02 '15 11:09 marcocamma

With my T550, I noticed the distortion is created by vfs5011_rescale_image(). As I understand it, it tries to compensate for finger swipe speed variation by doing a correlation between the left and right sections of the capture. Replacing the function with a simple data copy avoids the distortion and allows slow swipe. @ars3niy Do you have the datasheet or other information to understand what data is effectively present on the "right side" of the capture ?

Nestorfish avatar Nov 24 '15 21:11 Nestorfish

@ars3niy logs with distortions: https://www.dropbox.com/s/1udq3hxg1rmncm5/vfs5011debug.tar.gz @Nestorfish can you please make a fork with your changes?

ercoppa avatar Dec 04 '15 16:12 ercoppa

@ercoppa Done. As said in the commit message, other tests must be done to try to get better results.

Nestorfish avatar Dec 04 '15 21:12 Nestorfish

Since the driver has been included upstream (https://bugs.freedesktop.org/show_bug.cgi?id=61692), maybe we should move our discussion there. I agree with you that without a datasheet is hard to understand what it is the right fix that needs to be implemented. Right now, at least for me, the driver is not reliable.

ercoppa avatar Dec 04 '15 22:12 ercoppa

@ars3niy Looks like this issue was fixed in upstream repository. fprint-enroll, fprint-verify and fprint_demo work fine with latest ppa build of libfprint (1:0.6.0-git20151216-1-0ppa1~trusty1). Tested on ThinkPad Edge E540.

P.S. Fingerprint GUI still crashes during enroll after first swipe.

IvanFrederiks avatar Feb 25 '16 16:02 IvanFrederiks

You're right, thanks for reporting it here! It works fine on my Arch Linux with libfprint-git. It was actually fixed by this commit: https://cgit.freedesktop.org/libfprint/libfprint/commit/?id=6e8d5cd6a199f83fb5f862a8421f8582608032f5 so it's going to take some time until it reaches stable.

andyboeh avatar Feb 25 '16 20:02 andyboeh

I am facing same issue now on Thinkpad x250 with arch linux

dr3mro avatar Mar 07 '19 11:03 dr3mro

@dr3mro Yeah, same here on the T450S, I find it really surprising that the sensitivity options are not exposed in a config file.

CheesecakeCG avatar Jun 13 '19 17:06 CheesecakeCG

I am also experiencing this issue on a Thinkpad T450s, anyone have a solution?

Mdubois12 avatar Nov 03 '19 17:11 Mdubois12

Maybe too late. But main knowledge here - https://github.com/iafilatov/libfprint#common-problems You should swipe your finger instead of touch. fprintd used "long" image for that. So as write - guys also provide "touch" version the driver

Toxblh avatar May 18 '20 15:05 Toxblh

Maybe too late. But main knowledge here - https://github.com/iafilatov/libfprint#common-problems You should swipe your finger instead of touch. fprintd used "long" image for that. So as write - guys also provide "touch" version the driver

How can I install the touch version of the driver ?

andirsun avatar Dec 17 '20 04:12 andirsun