Fix Movit NVIDIA issues
Closed, ResolvedPublic

Description

Movit is not working correctly on NVIDIA cards.
We want to collect infos about this issue for fixing it.

frdbr added a subscriber: frdbr.Jun 10 2016, 6:57 PM

I have a GeForce GTX 660 Ti, let me know what to do to test it.

As I read you make some works on the code for beginning to fix Movit issues I made 2 tests.
The first time Kdenlive crashes just because I loaded a gui layout. The second time because I imported a clip into the project window..

visionauta@visiobuntu:~$ kdenlive
"This is an untested development version. Always backup your data"
Removing cache at "/home/visionauta/.cache/kdenlive-thumbs.kcache"
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11949, resource id: 60817899, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11973, resource id: 60817899, major code: 130 (Unknown), minor code: 3
kdenlive: effect_chain.cpp:1746: void movit::EffectChain::render_to_fbo(GLuint, unsigned int, unsigned int): asserzione "status == 0x8CD5" non riuscita.
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 13128
KCrash: Arguments: /usr/bin/kdenlive
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

(kdenlive:13128): GLib-GIO-ERROR **: inotify read(): Descrittore di file errato
Rilevato trace/breakpoint (core dump creato)

visionauta@visiobuntu:~$ kdenlive
"This is an untested development version. Always backup your data"
Removing cache at "/home/visionauta/.cache/kdenlive-thumbs.kcache"
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8473, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8500, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8565, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8597, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8627, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8786, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8787, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8864, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8903, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8939, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9020, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9060, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9090, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9122, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9152, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9216, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9237, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9277, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9307, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9377, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9398, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9477, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9502, resource id: 60817857, major code: 130 (Unknown), minor code: 3
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
kdenlive: Fatal IO error 11 (Risorsa temporaneamente non disponibile) on X server :0.

(kdenlive:13234): GStreamer-CRITICAL **: gstsystemclock: write control failed in wakeup_async: 9:Descrittore di file errato

QSocketNotifier: Invalid socket 84 and type 'Read', disabling...
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 13234
KCrash: Arguments: /usr/bin/kdenlive
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

(kdenlive:13234): GLib-GIO-ERROR **: inotify read(): Descrittore di file errato
Rilevato trace/breakpoint (core dump creato)

massimostella added a comment.EditedJun 10 2016, 7:00 PM

Hi, Afarid. :)
Just launch Kdenlive via terminal and copy what the prompt says.
I think that these informations could be useful for Jean-Baptiste.

PS: of course before to launch the application for testing it, remember to enable the gpu effects (Movit) in the Kdenlive settings. :)

frdbr added a comment.Jun 10 2016, 8:22 PM

Hi, Afarid. :)
Just launch Kdenlive via terminal and copy what the prompt says.
I think that these informations could be useful for Jean-Baptiste.

PS: of course before to launch the application for testing it, remember to enable the gpu effects (Movit) in the Kdenlive settings. :)

I get this when running 16.04.1:

OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GTX 660 Ti/PCIe/SSE2"
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GTX 660 Ti/PCIe/SSE2"
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false

I will install latest git and eventually help test it.

matthiasp added a subscriber: matthiasp.EditedJun 13 2016, 7:19 AM

I have the latest master build and I got :

o more csLADSPA plugins
"This is an untested development version. Always backup your data"
Removing cache at "/home/matthias/.cache/kdenlive-thumbs.kcache"
 // / processing file open
 // / processing file open: validate
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioOutput ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 770/PCIe/SSE2"
OpenGL Threaded:  true
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
Opening a document with version  0.95  /  0.95
 // / processing file validate ok
* * * * *UNKNOWN CLIP, WE ARE DEAD:  ""
* * * INIT PREVIEW CACHE:  "1461529005038"
***********
FOUND GUIDES:  0 
**********
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 770/PCIe/SSE2"
OpenGL Threaded:  true
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
kdenlive: effect_chain.cpp :1746 : void movit::EffectChain::render_to_fbo(GLuint, unsigned int, unsigned int):  l'assertion « status == 0x8CD5 » a échoué.
Abandon (core dumped)
jessed added a subscriber: jessed.EditedJun 15 2016, 5:55 PM

I have three machines: one running two 980ti's, one running two 660's, and one laptop running two 970ti's (none of them SLI'd).

Let me know what I can do to help test this. Getting movit to run with Kdenlive for GPU processing would be absolutely incredible.

Hi Jessed.
Wat we can do for helping Jean-Baptiste is to run Kdenlive by the terminal and copy what the prompt says.
The informations about the crash in 3 differen configurations could be very useful.
Thanks in advance.

After the latest fixes this is my prompt:

@##:~$ kdenlive

"This is an untested development version. Always backup your data"
Removing cache at "/home/visionauta/.cache/kdenlive-thumbs.kcache"
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
[swscaler @ 0x7fcb94ea0b00] Warning: data is not aligned! This can lead to a speedloss
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
The X11 connection broke (error 1). Did the X11 server die?
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
QSocketNotifier: Invalid socket 47 and type 'Read', disabling...
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 6682
KCrash: Arguments: /usr/bin/kdenlive
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

(kdenlive:6682): GLib-GIO-ERROR **: inotify read(): Descrittore di file errato
Rilevato trace/breakpoint (core dump creato)

Thanks, massimostella. Should I submit separate bugs, or simply copy the code (or backtrace data?) on this forum?

Actually, in my configuration, if the GPU effects are turned on you can't use Kdenlive because it immediately crashes.
For this reason, I copied everything happened in my terminal. It was a short sequence and I guess it contains all the infos (Graphic card version, Kdenlive errors, etc) which can help Jean Baptiste.
If your situation is different (for eg Kdenlive crashes only when you use a GPU effect but, for the rest, it's stable and you can use it) you can just turn it on, import a clip, put it on the timeline and add a GPU effect so we'll know what are the differences in your system behaviour; I guess that this could be very useful.
Thanks for the collaboration. :)

Though I can't still use the GPU effects on the Nvidia card I found some progress:
Now I can launch the program, load clips and put them on the timeline. Even if Kdenlive is not very stable when you use it with GPU effects turned on it mostly crashes only when you apply a gpu effects to a clip.

***@****:~$ kdenlive
"This is a beta version. Always backup your data"
Removing cache at "/home/visionauta/.cache/kdenlive-thumbs.kcache"
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
[swscaler @ 0x7fbc3473e0e0] Warning: data is not aligned! This can lead to a speedloss
GL error 0x501 at ycbcr_input.cpp:88
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
QSocketNotifier: Invalid socket 47 and type 'Read', disabling...
Unable to start Dr. Konqi

After I compiled the latest version the situation I found that the situation has improved a lot.
Now I can launch the application, I can load clips in the project, I can insert some of them in the timeline and I can apply GPU effects but I can't preview the timeline for setting the filter and if I try to do it or if I try to play the timeline Kdenlive crashes.
I tried all this by using the blur filter.
This is the copy of the terminal window:

*@**:~$ kdenlive
"This is a beta version. Always backup your data"
Removing cache at "/home/visionauta/.cache/kdenlive-thumbs.kcache"
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
QXcbConnection: XCB error: 8 (BadMatch), sequence: 21758, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 21782, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 34400, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 34419, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 34437, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 61987, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 62010, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 62915, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 62938, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 64414, resource id: 65012042, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 64438, resource id: 65012042, major code: 130 (Unknown), minor code: 3
GL error 0x501 at ycbcr_input.cpp:88
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
QSocketNotifier: Invalid socket 47 and type 'Read', disabling...
Unable to start Dr. Konqi

After I installed the MLT stable version (instead of the git one) I tried again to test Movit. Now, Kdenlive crashes when you want to palyback the timeline also if you didn't put any effect on any clip.
Here below the copy of the terminal:

*@**:~$ kdenlive
"This is a beta version. Always backup your data"
Removing cache at "/home/visionauta/.cache/kdenlive-thumbs.kcache"
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GT 430/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
[swscaler @ 0x7f51334732a0] Warning: data is not aligned! This can lead to a speedloss
"Creating audio thumbnails"
QXcbConnection: XCB error: 8 (BadMatch), sequence: 32668, resource id: 54526609, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 32691, resource id: 54526609, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 32728, resource id: 54526609, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 32755, resource id: 54526609, major code: 130 (Unknown), minor code: 3
kdenlive: effect_chain.cpp:1746: void movit::EffectChain::render_to_fbo(GLuint, unsigned int, unsigned int): asserzione "status == 0x8CD5" non riuscita.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 9354
KCrash: Arguments: /usr/bin/kdenlive
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 52 and type 'Read', disabling...
QSocketNotifier: Invalid socket 50 and type 'Read', disabling...
QSocketNotifier: Invalid socket 84 and type 'Read', disabling...
kdenlive: Fatal IO error 9 (Descrittore di file errato) on X server :0.
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
QSocketNotifier: Invalid socket 47 and type 'Read', disabling...

(kdenlive:9354): GStreamer-CRITICAL **: gstsystemclock: write control failed in wakeup_async: 9:Descrittore di file errato

QThreadStorage: Thread 0x7f51a45d0230 exited after QThreadStorage 15 destroyed

(kdenlive:9354): GLib-GIO-ERROR **: inotify read(): Descrittore di file errato
Rilevato trace/breakpoint (core dump creato)

jessed added a comment.Oct 2 2016, 9:46 PM

I encountered a Movit crash while using it in a test. Here's a link to the backtrace log (https://www.dropbox.com/s/otibuu6newtpebn/backtrace.log?dl=0). Should I submit these here or on the KDE Bugtracker?

Steps to reproduce:
(1) Open Kdenlive
(2) Open a recent project
(3) Select the Project Monitor widget.

Running on:
Kdenlive 16.11.70 git master build
Kubuntu 16.10 beta 2 x64
KDE Plasma 5.7.2
KDE Frameworks 5.26.0
Qt 5.6.1

jessed added a comment.Oct 2 2016, 9:48 PM

Forgot to add using Nvidia 367.44 proprietary driver. Running two Nvidia GTX 970ti's in my laptop, though Kubuntu is only actually using one of them (unless programs like Blender specifically use both GPU's).

Here's another backtrace log from a similar encounter (https://www.dropbox.com/s/50c5eeb91p5w8ex/movit_backtrace_log2.txt?dl=0), except this was on a new project, I added a clip, marked my in and out zones, pressed V to insert the clip in the Timeline, THEN clicked the Project Monitor tab to open the Project Monitor widget. Kdenlive crashed, then.

frdbr added a comment.EditedOct 3 2016, 12:35 AM
In T2908#57521, @jessed wrote:

Steps to reproduce:
(1) Open Kdenlive
(2) Open a recent project
(3) Select the Project Monitor widget.

Running on:
Kdenlive 16.11.70 git master build
Kubuntu 16.10 beta 2 x64
KDE Plasma 5.7.2
KDE Frameworks 5.26.0
Qt 5.6.1

Here is a similar issue reported in the forum (using Gentoo as OS):

https://forum.kde.org/viewtopic.php?f=279&t=136487

jessed added a comment.EditedOct 3 2016, 12:38 AM

@afarid , thanks buddy. Should I keep sending crashes I find to this task on the workboard, or should I post an individual bug on the KDE Bugtracker for each crash with a backtrace log? Whichever is JBM's preferred communications channel for these issues, I'm good with.

frdbr added a comment.Oct 11 2016, 3:03 PM

Here is a crash caused from attaching/detaching project/clip monitors.

As reported in the tracker: https://bugs.kde.org/show_bug.cgi?id=361374

(gdb) run
Starting program: /usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffdcb42700 (LWP 2088)]
[New Thread 0x7fffd2bd3700 (LWP 2089)]
[New Thread 0x7fffd23d2700 (LWP 2090)]
[New Thread 0x7fffcbfff700 (LWP 2091)]
[New Thread 0x7fffa13a4700 (LWP 2092)]
[New Thread 0x7fff9d902700 (LWP 2093)]
[New Thread 0x7fff9c901700 (LWP 2094)]
[New Thread 0x7fff97fff700 (LWP 2095)]
[New Thread 0x7fff96665700 (LWP 2096)]
[Thread 0x7fff96665700 (LWP 2096) exited]
[New Thread 0x7fff96665700 (LWP 2097)]
[New Thread 0x7fff95e64700 (LWP 2098)]
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GTX 660 Ti/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
[New Thread 0x7fff95663700 (LWP 2099)]
[New Thread 0x7fff94e62700 (LWP 2100)]
[New Thread 0x7fff8bfff700 (LWP 2101)]
OpenGL vendor: "NVIDIA Corporation"
OpenGL renderer: "GeForce GTX 660 Ti/PCIe/SSE2"
OpenGL Threaded: true
OpenGL ARG_SYNC: true
OpenGL OpenGLES: false
[New Thread 0x7fff89651700 (LWP 2102)]
[New Thread 0x7fff66f42700 (LWP 2103)]
[New Thread 0x7fff66741700 (LWP 2104)]
QXcbConnection: XCB error: 8 (BadMatch), sequence: 15445, resource id: 18874749, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 15467, resource id: 18874749, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 15498, resource id: 18874749, major code: 130 (Unknown), minor code: 3
[Thread 0x7fff66741700 (LWP 2104) exited]
[Thread 0x7fff96665700 (LWP 2097) exited]
[Thread 0x7fff66f42700 (LWP 2103) exited]
[New Thread 0x7fff66f42700 (LWP 2106)]
[Thread 0x7fff94e62700 (LWP 2100) exited]
[Thread 0x7fff66f42700 (LWP 2106) exited]
[New Thread 0x7fff66f42700 (LWP 2107)]
[New Thread 0x7fff94e62700 (LWP 2108)]
GL error 0x501 at filter_glsl_manager.cpp:381
QXcbConnection: XCB error: 8 (BadMatch), sequence: 46282, resource id: 18874749, major code: 130 (Unknown), minor code: 3

Thread 21 "RenderThread" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff94e62700 (LWP 2108)]
0x00007fffefdb204f in raise () from /usr/lib/libc.so.6
(gdb) thread apply all bt

Thread 21 (Thread 0x7fff94e62700 (LWP 2108)):
#0 0x00007fffefdb204f in raise () from /usr/lib/libc.so.6
#1 0x00007fffefdb347a in abort () from /usr/lib/libc.so.6
#2 0x00007fffafb4dac3 in GlslManager::render_frame_texture(movit::EffectChain*, mlt_frame_s*, int, int, unsigned char**) () from /usr/lib/mlt/libmltopengl.so
#3 0x00007fffafb50a02 in ?? () from /usr/lib/mlt/libmltopengl.so
#4 0x00007ffff6f97058 in mlt_frame_get_image () from /usr/lib/libmlt.so.6
#5 0x00007ffff6facf89 in ?? () from /usr/lib/libmlt.so.6
#6 0x00007ffff6f97007 in mlt_frame_get_image () from /usr/lib/libmlt.so.6
#7 0x00007ffff6faa734 in ?? () from /usr/lib/libmlt.so.6
#8 0x00005555558c4260 in RenderThread::run (this=0x7fff80000c60)

at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.1/src/monitor/glwidget.cpp:1248

#9 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 20 (Thread 0x7fff66f42700 (LWP 2107)):
#0 0x00007fffee32810f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff6faa9bb in mlt_consumer_rt_frame () from /usr/lib/libmlt.so.6
#2 0x00007fffac318a20 in ?? () from /usr/lib/mlt/libmltsdl.so
#3 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#4 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7fff89651700 (LWP 2102)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff0a8472b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff0a2e23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /usr/lib/libQt5Core.so.5

#5 0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007fffefe677df in clone () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 15 (Thread 0x7fff8bfff700 (LWP 2101)):
#0 0x00007fffee32810f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff0856c2b in QWaitCondition::wait(QMutex*, unsigned long) ()

from /usr/lib/libQt5Core.so.5

#2 0x00007ffff623a395 in ?? () from /usr/lib/libQt5Quick.so.5
#3 0x00007ffff623ac8a in ?? () from /usr/lib/libQt5Quick.so.5
#4 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7fff95663700 (LWP 2099)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff0a8470f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff0a2e23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /usr/lib/libQt5Core.so.5

#5 0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7fff95e64700 (LWP 2098)):
#0 0x00007fffee32810f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff0856c2b in QWaitCondition::wait(QMutex*, unsigned long) ()

from /usr/lib/libQt5Core.so.5

#2 0x00007ffff623a395 in ?? () from /usr/lib/libQt5Quick.so.5
#3 0x00007ffff623ac8a in ?? () from /usr/lib/libQt5Quick.so.5
#4 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fff97fff700 (LWP 2095)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff0a8470f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff0a2e23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /usr/lib/libQt5Core.so.5

#5 0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff244b2d5 in ?? () from /usr/lib/libQt5Qml.so.5
#7 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#9 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fff9c901700 (LWP 2094)):
#0 0x00007fffee3284b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007ffff0856b66 in QWaitCondition::wait(QMutex*, unsigned long) ()

from /usr/lib/libQt5Core.so.5

#2 0x00007ffff0852274 in ?? () from /usr/lib/libQt5Core.so.5
#3 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#4 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fff9d902700 (LWP 2093)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff0a8470f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff0a2e23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /usr/lib/libQt5Core.so.5

#5 0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff244b2d5 in ?? () from /usr/lib/libQt5Qml.so.5
#7 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#9 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffa13a4700 (LWP 2092)):
---Type <return> to continue, or q <return> to quit---
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffa2043cbc in ?? () from /usr/lib/libusb-1.0.so.0
#2 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#3 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffcbfff700 (LWP 2091)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff0a8472b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff0a2e23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /usr/lib/libQt5Core.so.5

#5 0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6 0x00007ffff2edde55 in ?? () from /usr/lib/libQt5DBus.so.5
#7 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#9 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffd23d2700 (LWP 2090)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae3f2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x00007fffd54107c6 in ?? () from /usr/lib/libgio-2.0.so.0
#4 0x00007fffe80d4345 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffd2bd3700 (LWP 2089)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe80ae066 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007fffe80ae1c1 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0x00007fffe80d4345 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fffefe677df in clone () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 2 (Thread 0x7fffdcb42700 (LWP 2088)):
#0 0x00007fffee32810f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007fffe77e9b57 in ?? () from /usr/lib/libxcb.so.1
#2 0x00007fffe77eb679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3 0x00007fffdf0b6449 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#5 0x00007fffee322454 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7ecd7c0 (LWP 2087)):
#0 0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1 0x00007fffe77e98e0 in ?? () from /usr/lib/libxcb.so.1
#2 0x00007fffe77eb39f in ?? () from /usr/lib/libxcb.so.1
#3 0x00007fffe77eb4b2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4 0x00007fffdf0d874f in ?? () from /usr/lib/libQt5XcbQpa.so.5
#5 0x00007fffdf0d88a3 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#6 0x00007ffff0f8ba54 in QCursor::pos(QScreen const*) () from /usr/lib/libQt5Gui.so.5
#7 0x00007ffff0f8bc41 in QCursor::pos() () from /usr/lib/libQt5Gui.so.5
#8 0x00007ffff1a8029b in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) ()

from /usr/lib/libQt5Widgets.so.5

#9 0x00007ffff1abb1ba in QWidgetPrivate::hide_helper() () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff1abfad0 in QWidget::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007fffd0315194 in ?? () from /usr/lib/qt/plugins/styles/breeze.so
#12 0x00007fffd03158fd in ?? () from /usr/lib/qt/plugins/styles/breeze.so
#13 0x00007ffff1a78e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()

from /usr/lib/libQt5Widgets.so.5

#14 0x00007ffff1a80581 in QApplication::notify(QObject*, QEvent*) ()

from /usr/lib/libQt5Widgets.so.5

#15 0x00007ffff0a2fde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()

from /usr/lib/libQt5Core.so.5

#16 0x00007ffff1a7f0e2 in QApplicationPrivate::dispatchEnterLeave(QWidget*, QWidget*, QPointF const&) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff1ad86ac in ?? () from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff1adc8e3 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff1a78e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
---Type <return> to continue, or q <return> to quit---

from /usr/lib/libQt5Widgets.so.5

#20 0x00007ffff1a80581 in QApplication::notify(QObject*, QEvent*) ()

from /usr/lib/libQt5Widgets.so.5

#21 0x00007ffff0a2fde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()

from /usr/lib/libQt5Core.so.5

#22 0x00007ffff0f78cd7 in QGuiApplicationPrivate::processLeaveEvent(QWindowSystemInterfacePrivate::LeaveEvent*) () from /usr/lib/libQt5Gui.so.5
#23 0x00007ffff0f7fe95 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#24 0x00007ffff0f5dcab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#25 0x00007fffdf0ec2f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#26 0x00007fffe80ade67 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fffe80ae0d0 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007fffe80ae17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007ffff0a8470f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007ffff0a2e23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /usr/lib/libQt5Core.so.5

#31 0x00007ffff0a3673c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#32 0x00005555556018f2 in main (argc=<optimized out>, argv=<optimized out>)

at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.1/src/main.cpp:157
emohr added a subscriber: emohr.Dec 5 2018, 7:53 PM

Manuel Muzzurru, [04.12.18 23:23]
render TIME 2min42 sec (off Parallel, threads:3 annoted jbm)
render TIME 2min45 SEC (on parallel,thread:3 annoted jbm)
render TIME 7min3 sec (on parallel, thread:1)
render TIME 2min2sec (on parallel,thread:0)

Here the link with all MOVIT tagged bugs (incl. closed ones): MOVIT-Bugs

jlskuz closed this task as Resolved.Nov 12 2023, 2:10 PM
jlskuz claimed this task.
jlskuz added a subscriber: jlskuz.

A lot happend this this report, we are going to reconsider MOVIT once we released a Qt6 version. Closing.