CCTAG_ENABLE_SIMD_AVX2 breaks baseline
Task Info (Flyspray) | |
---|---|
Opened By | Xeonacid (Xeonacid) |
Task ID | 79603 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-09-07 13:30:30 UTC |
Status | Assigned |
Assignee | Sven-Hendrik Haase (Svenstaro) |
Details
Description:
This includes avx2 instruction at compile time without runtime detection. An older cpu without avx2 will refuse to work.
Steps to reproduce:
$ qemu-x86_64 -cpu Broadwell-v4 /usr/bin/detection Program for detecting CCTags in one image, in a directory or in a video For each image or video frame it detects the markers and it shows the image with a graphical overlayshowing the center of the tag, its ID and the outer ellipse:
Required input parameters: -i [ --input ] arg Path to an image (JPG, PNG) or video (avi, mov) or camera index for live capture (0, 1...) or to a directory containing the images to process -n [ --nbrings ] arg Number of rings of the CCTags to detect
Optional parameters: -b [ --bank ] arg Path to a bank parameter file, e.g. 4Crowns/ids.txt -p [ --params ] arg Path to configuration XML file -o [ --output ] arg Output folder name -s [ --save-detected-image ] Save an image with the graphical overlay of the detected tags. For single images the saved images will have a '_detected' suffix and it will be placed either in the current directory or in the directory given by --output. For videos a file named #####.png will be saved instead with the #s representing the zero-padded frame number, either in the current directory or in the directory given by --output. -u [ --show-unreliable ] Show the unreliable tags (marker id = -1)
$ qemu-x86_64 -cpu core2duo-v1 /usr/bin/detection qemu: uncaught target signal 4 (Illegal instruction) - core dumped fish: Job 1, 'qemu-x86_64 -cpu core2duo-v1 /u…' terminated by signal SIGILL (Illegal instruction)