This forum has been archived. All content is frozen. Please use KDE Discuss instead.

OpenCV error with kdenlive-19.08.1b-x86_64.appimage

Tags: None
(comma "," separated)
superlou
Registered Member
Posts
2
Karma
0
I am trying to update to 19.08.1b since I had freezes on earlier 19.08 versions. However, when I try to start kdenlive, I receive the following error from OpenCV:

Code: Select all
******************************************************************
* FATAL ERROR:                                                   *
* This OpenCV build doesn't support current CPU/HW configuration *
*                                                                *
* Use OPENCV_DUMP_CONFIG=1 environment variable for details      *
******************************************************************

Required baseline features:
SSE - OK
SSE2 - OK
SSE3 - OK
SSSE3 - NOT AVAILABLE
SSE4.1 - NOT AVAILABLE
POPCNT - OK
SSE4.2 - NOT AVAILABLE
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.1.0) /build/deps-build/ext_opencv/ext_opencv-prefix/src/ext_opencv/modules/core/src/system.cpp:538: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'

/tmp/.mount_kdenliFbOhZq/AppRun: line 26:  6237 Aborted                 (core dumped) kdenlive --config kdenlive-appimagerc $@


This error seems like it could be accurate, as I have an older processor, and AMD Phenom II. However, this hasn't seemed to cause an issue in the appimage builds until the "b" release. Is there a way configure kdenlive to start with opencv targeting the older features (or without OpenCV if that's the only option)? Otherwise, is my only option to build from scratch?
googie
Registered Member
Posts
1
Karma
0
Same issue. Phenom II 965. Get the same error message with kdenlive-19.08.1b-x86_64.appimage
Looking for a solution or confirmation that it should be throwing an error? Right now I just backed up to the .1 version for use.

******************************************************************
* FATAL ERROR: *
* This OpenCV build doesn't support current CPU/HW configuration *
* *
* Use OPENCV_DUMP_CONFIG=1 environment variable for details *
******************************************************************

Required baseline features:
SSE - OK
SSE2 - OK
SSE3 - OK
SSSE3 - NOT AVAILABLE
SSE4.1 - NOT AVAILABLE
POPCNT - OK
SSE4.2 - NOT AVAILABLE
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.1.0) /build/deps-build/ext_opencv/ext_opencv-prefix/src/ext_opencv/modules/core/src/system.cpp:538: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'

/tmp/.mount_kdenliazm3yC/AppRun: line 26: 6540 Aborted (core dumped) kdenlive --config kdenlive-appimagerc $@
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS
Code: Select all
AMD Processors that do not support SSE4.1 or higher
 
- "Sempron" family
- "Athlon II" family
- "Phenom II" family
- "Athlon" family
- "Phenom" family


seems that is necessary to have a "special" build for Phenom/Athlon AMD CPU... i don't think that developers can remove ssse3 and sse4.1 flags to compiler (this can slow down Kdenlive on all new CPUs) maybe is necessary to request a special build (for old CPU) on Phabricator... ( https://phabricator.kde.org/tag/kdenlive/ ) feature ideas... or report the issue: https://invent.kde.org/kde/kdenlive/issues

(linking this topic)
User avatar
lisandrodemarchi
Registered Member
Posts
4
Karma
0
OS
Similar error here with an old Intel Core2Duo and Xubuntu 18.04:
Code: Select all
SSE - OK
SSE2 - OK
SSE3 - OK
SSSE3 - OK
SSE4.1 - NOT AVAILABLE
POPCNT - NOT AVAILABLE
SSE4.2 - NOT AVAILABLE

Affected appimage builds tested:
kdenlive-19.08.1b-x86_64.appimage
kdenlive-19.08.2-x86_64.appimage
kdenlive-19.08.2b-x86_64.appimage

Previous kdenlive-19.08.1-x86_64.appimage and daily build kdenlive-19.11.80-b5450a7-x86_64.appimage both starts just fine.
superlou
Registered Member
Posts
2
Karma
0
The issue is reported at https://invent.kde.org/kde/kdenlive/issues/362. I believe "dispatched optimizations" can be used to prevent a speed regression on processors with newer instruction sets.
User avatar
farid
Registered Member
Posts
316
Karma
2
OS
This is fixed in the latest appimage




Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]