-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal Instruction
when attempting to use howdy
#731
Comments
[noscere@meg ~]$ sudo howdy clear
No models created yet, can't clear them if they don't exist
[noscere@meg ~]$ sudo howdy list
Face models have not been initialized yet, please run:
sudo howdy -U noscere add
[noscere@meg ~]$ sudo howdy test
Illegal instruction
[noscere@meg ~]$ sudo howdy disable 0
The disable option has already been set to false |
Here is my PKGBUILD from the designated AUR build directory - current @ /var/tmp/pamac-build-noscere/howdy # Maintainer: Frank Tackitt <[email protected]>
# Maintainer: boltgolt <[email protected]>
# Co-Maintainer: Raymo111 <[email protected]>
# Contributor: Kelley McChesney <[email protected]>
pkgname=howdy
pkgver=2.6.1
pkgrel=2
pkgdesc="Windows Hello for Linux"
arch=('x86_64')
url="https://github.com/boltgolt/howdy"
license=('MIT')
depends=(
'opencv'
'hdf5'
'pam-python'
'python'
'python-pillow'
'python-dlib'
'python-face_recognition'
'python-face_recognition_models'
'python-click'
'python-numpy'
'python-opencv'
)
makedepends=(
'cmake'
'pkgfile'
)
backup=('usr/lib/security/howdy/config.ini')
source=(
"https://github.com/boltgolt/howdy/archive/v${pkgver}.tar.gz"
"https://github.com/davisking/dlib-models/raw/master/dlib_face_recognition_resnet_model_v1.dat.bz2"
"https://github.com/davisking/dlib-models/raw/master/mmod_human_face_detector.dat.bz2"
"https://github.com/davisking/dlib-models/raw/master/shape_predictor_5_face_landmarks.dat.bz2"
)
sha256sums=('f3f48599f78fd82b049539fcfc34de25c9435cad732697bdda94e85352964794'
'abb1f61041e434465855ce81c2bd546e830d28bcbed8d27ffbe5bb408b11553a'
'db9e9e40f092c118d5eb3e643935b216838170793559515541c56a2b50d9fc84'
'6e787bbebf5c9efdb793f6cd1f023230c4413306605f24f299f12869f95aa472')
package() {
# Installing the proper license files and the rest of howdy
cd "${pkgname}-${pkgver}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "${pkgdir}/usr/lib/security/howdy"
cp -r src/* "${pkgdir}/usr/lib/security/howdy"
cp "${srcdir}/dlib_face_recognition_resnet_model_v1.dat" "${pkgdir}/usr/lib/security/howdy/dlib-data/"
cp "${srcdir}/mmod_human_face_detector.dat" "${pkgdir}/usr/lib/security/howdy/dlib-data/"
cp "${srcdir}/shape_predictor_5_face_landmarks.dat" "${pkgdir}/usr/lib/security/howdy/dlib-data/"
chmod 600 -R "${pkgdir}/usr/lib/security/howdy"
mkdir -p "${pkgdir}/usr/bin"
ln -s /lib/security/howdy/cli.py "${pkgdir}/usr/bin/howdy"
chmod x "${pkgdir}/usr/lib/security/howdy/cli.py"
mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
cp autocomplete/howdy "${pkgdir}/usr/share/bash-completion/completions/howdy"
} |
@Nos78 this issue is not related to To fix this, follow steps from my comment on the issue where you started posting earlier: #101 Likely, there is a way to set build options, so installed |
I have installed howdy on my Manjaro installation:
I installed it (and have also removed and reinstalled it) with
pamac install howdy
, which installed dependancies, and built and installed howdy via AUR.I also installed Howdy on my Zorin 16 core (ubuntu based) laptop, and dispite a couple of teething issues (failing to find the binary after installation) a remove and re-install fixed this. I noted that on the second install, the auto-config of my camera worked whereas during the first build/install, this auto-config completely failed and I had to manually configure it - which turned out to be pointless without the binary existing at /usr/local/bin/howdy 😄 This installation of howdy now works seemlessly, but I cannot quite figure out what the difference is between this and my Manjaro version - save for differing distros and differing hardware.
Issue
I'm getting this
Illegal instruction
when attempting to run thesudo howdy add
command,Additional information
As requested, here is the output from
sudo howdy snapshot
I'm not going to post the picture (I don't like mugshots of me 😆 ), instead I shall describe it - there are four snapshots of my face in a row, with a black bar beneath them, on the right is a "HOWDY for linux" watermark and on the left the information bar says:
As suggested in another thread reporting a similar issue from 2018 #101 (issue now closed, reporting
Illegal instruction
on a debian-based install of howdy), here is the output from /proc/cpuinfoIt would appear, given the working snapshot, that my camera configuration is not the issue, and there is some kernel or CPU instruction that is failing when trying to add a face but not whilst generating the snapshot?
However, here is my camera info, just in case:
[noscere@meg ~]$ ls /dev/v4l/by-path/ pci-0000:00:14.0-usb-0:3:1.0-video-index0 pci-0000:00:14.0-usb-0:3:1.0-video-index1
[noscere@meg ~]$ v4l2-ctl --list-devices Lenovo EasyCamera: Lenovo EasyC (usb-0000:00:14.0-3): /dev/video0 /dev/video1 /dev/media0
The text was updated successfully, but these errors were encountered: