Bug 1414611
Summary: | embree incorrectly enables avx2 instead of avx | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yaakov Selkowitz <yselkowi> |
Component: | embree | Assignee: | Luya Tshimbalanga <luya_tfz> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | besser82, extras-qa, kwizart, luya, luya_tfz, mtasaka, skolosov, yselkowi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | embree-2.13.0-3.fc24 embree-2.13.0-3.fc25 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1412089 | Environment: | |
Last Closed: | 2017-02-07 22:18:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1412089 | ||
Bug Blocks: |
Description
Yaakov Selkowitz
2017-01-19 02:10:32 UTC
AVX2 is fairly new, does your CPU support it? (In reply to Yaakov Selkowitz from comment #1) > AVX2 is fairly new, does your CPU support it? No, it does not according to /proc/cpuinfo below model name : AMD A10-7400P Radeon R6, 10 Compute Cores 4C+6G flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc cpb hw_pstate vmmcall fsgsbase bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold overflow_recov Perhaps embree is mis-interpretting that Luya's CPU supports avx2? Just taking a brief look at embree code, it does "__cpuid", and kernels/common/state.cpp seems to be judging supported instructions. I scratch build embree by setting the highest ISA to avx Rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=17327281 F25 https://koji.fedoraproject.org/koji/taskinfo?taskID=17327283 The bug is indeed on embree in this case and I filed it upstream https://github.com/embree/embree/issues/112 As tested the scratch build allow LuxRender running on my hardware. In that case, reassigning to embree. Upstream mentioned they lack AMD hardware for testing my case and would like to contact one of contributors to test my case. Like Mamoru quoted, embree does "__cpuid" as confirmed and the odd behaviour seems specific to AMD CPU (as tested on both Gnome Boxes running with Opteron emulation and my hardware AMD A10-7400P) In a meanwhile, should I push the workaround in the release? (In reply to Luya Tshimbalanga from comment #7) > In a meanwhile, should I push the workaround in the release? Without being very familiar with the code, the workaround doesn't seem as it would be harmful, so I suppose so. But please do add a comment to the spec for future reference, as hopefully this can sooner or later be reverted. (In reply to Yaakov Selkowitz from comment #8) > (In reply to Luya Tshimbalanga from comment #7) > > In a meanwhile, should I push the workaround in the release? > > Without being very familiar with the code, the workaround doesn't seem as it > would be harmful, so I suppose so. But please do add a comment to the spec > for future reference, as hopefully this can sooner or later be reverted. Done. F25 https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f28cc93c1 F24 https://bodhi.fedoraproject.org/updates/FEDORA-2017-47e62bed28 embree-2.13.0-3.fc24 embree-2.13.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-909967fb02 embree-2.13.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d4ebfe8fa5 embree-2.13.0-3.fc24 embree-2.13.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-909967fb02 Upstream provided the fix which needs more testing. Using the above update in combination scratch build from OpenImageIO allows LuxRender to run on non-Intel system. $ luxrender [Lux 2017-Jan-29 11:38:38 INFO : 0] Lux version 1.6.0 Build 0 of Nov 24 2016 at 02:51:55 [Lux 2017-Jan-29 11:38:38 INFO : 0] Threads: 4 embree-2.13.0-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-909967fb02 embree-2.13.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d4ebfe8fa5 embree-2.13.0-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. embree-2.13.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |