FS#79603 - [cctag] CCTAG_ENABLE_SIMD_AVX2 breaks baseline
Attached to Project:
Arch Linux
Opened by Xeonacid (Xeonacid) - Thursday, 07 September 2023, 13:30 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
Opened by Xeonacid (Xeonacid) - Thursday, 07 September 2023, 13:30 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
|
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) |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:19 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/cctag/issues/1
Saturday, 25 November 2023, 20:19 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/cctag/issues/1
Yeah, appears to be missing from upstream implementation.
Thanks!
FS#79444../test
__builtin_cpu_supports ("avx"):0
__builtin_cpu_supports ("avx2"):0
Attempting to add 'gather_data_sampling=off' to grub config just now nearly bricked my system...
grub was rebooting the machine before I'd even had a chance to edit the options!
Had to boot a rescue CD and reinstall grub to get back to here.
Plain vanilla kernel avoids the issue, and the test.c gives:
./test
__builtin_cpu_supports ("avx"):512
__builtin_cpu_supports ("avx2"):1024
Not really sure where to go from here.