Summary: | Kdenlive crashes if GPU processing (Movit library) is enabled | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Stolz <javi> |
Component: | Video Display & Export | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | arthur.huillet+kdebugs, davegunnoe, dospamme, fritzibaby, krzysio.kurek, louise9841, martin.sandsmark |
Priority: | NOR | Flags: | fritzibaby:
MOVIT+
|
Version: | 16.12.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | New crash information added by DrKonqi |
Description
Stolz
2017-01-29 17:06:43 UTC
Can you paste the output when running from a terminal? To see what the actual gl error is. I'm getting very similar error on Arch Linux. Simply navigating on the timeline back and forth involves a crash usualy in less than one minute giving:
> GL error 0x502 (GL_INVALID_OPERATION) at effect_chain.cpp:1987
Application: 17.11.70 (kdenlive-git 17.11.70.r8553.fdbbf2127-1)
MLT version 6.5.0 (mlt-git r4507.1504542481.ecb09b14-1)
KDE Frameworks 5.36.0
Qt 5.9.1 (built against 5.9.1)
movit-git r815.6538edf-1
Althought the stacktrace is slightly different in my case:
#0 0x00007ff7bdb288c0 in raise () at /usr/lib/libc.so.6
#1 0x00007ff7bdb29f72 in abort () at /usr/lib/libc.so.6
#2 0x00007ff791eef54b in movit::abort_gl_error(unsigned int, char const*, int) (err=<optimized out>, filename=filename@entry=0x7ff791f5700b "effect_chain.cpp", line=line@entry=1987) at util.cpp:336
#3 0x00007ff791efec83 in movit::EffectChain::execute_phase(movit::Phase*, bool, std::map<movit::Phase*, unsigned int, std::less<movit::Phase*>, std::allocator<std::pair<movit::Phase* const, unsigned int> > >*, std::set<movit::Phase*, std::less<movit::Phase*>, std::allocator<movit::Phase*> >*) (this=this@entry=0x7ff71015a440, phase=<optimized out>,
phase@entry=0x7ff71015c0b0, last_phase=last_phase@entry=true, output_textures=output_textures@entry=0x7ff764eae5a0, generated_mipmaps=generated_mipmaps@entry=0x7ff764eae570) at effect_chain.cpp:1987
#4 0x00007ff791efef6f in movit::EffectChain::render_to_fbo(unsigned int, unsigned int, unsigned int) (this=this@entry=0x7ff71015a440, dest_fbo=2, width=width@entry=1920, height=height@entry=1080) at effect_chain.cpp:1839
#5 0x00007ff792180cd5 in GlslManager::render_frame_rgba(movit::EffectChain*, mlt_frame_s*, int, int, unsigned char**) (this=<optimized out>, chain=chain@entry=0x7ff71015a440, frame=frame@entry=0x7ff69d73e110, width=width@entry=1920, height=height@entry=1080, image=image@entry=0x7ff764eae8c8) at filter_glsl_manager.cpp:473
#6 0x00007ff792183ba6 in movit_render (image=0x7ff764eae8c8, height=1080, width=1920, output_format=mlt_image_rgb24a, format=0x101b5e26c, frame=0x7ff69d73e110, chain=0x7ff71015a440) at filter_movit_convert.cpp:454
#7 0x00007ff792183ba6 in convert_image(mlt_frame, uint8_t**, mlt_image_format*, mlt_image_format) (frame=0x7ff69d73e110, image=0x7ff764eae8c8, format=0x101b5e26c, output_format=mlt_image_rgb24a) at filter_movit_convert.cpp:573
#8 0x00007ff7c473f1e3 in mlt_frame_get_image (self=0x7ff69d73e110, buffer=0x7ff764eae8c8, format=0x101b5e26c, width=0x7ff764eaecf4, height=0x7ff764eaecf8, writable=1) at mlt_frame.c:623
#9 0x00007ff7c473f182 in mlt_frame_get_image (self=self@entry=0x7ff69d73e110, buffer=buffer@entry=0x7ff764eae8c8, format=format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=1)
at mlt_frame.c:617
#10 0x00007ff77c065a1d in get_image(mlt_frame, uint8_t**, mlt_image_format*, int*, int*, int) (a_frame=a_frame@entry=0x7ff712fe91c0, image=image@entry=0x7ff764eaed08, format=format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=0) at transition_qtblend.cpp:141
#11 0x00007ff7c473f182 in mlt_frame_get_image (self=self@entry=0x7ff712fe91c0, buffer=buffer@entry=0x7ff764eaed08, format=format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=0)
at mlt_frame.c:617
#12 0x00007ff7c4754e4b in producer_get_image (self=self@entry=0x7ff6cde2d790, buffer=buffer@entry=0x7ff764eaed08, format=format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=0)
at mlt_tractor.c:370
#13 0x00007ff7c473f182 in mlt_frame_get_image (self=self@entry=0x7ff6cde2d790, buffer=buffer@entry=0x7ff764eaed08, format=format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=0)
at mlt_frame.c:617
#14 0x00007ff77c058be6 in filter_get_image(mlt_frame, uint8_t**, mlt_image_format*, int*, int*, int) (frame=frame@entry=0x7ff6cde2d790, image=image@entry=0x7ff764eaed08, image_format=image_format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=0) at filter_audiowaveform.cpp:191
#15 0x00007ff7c473f182 in mlt_frame_get_image (self=self@entry=0x7ff6cde2d790, buffer=buffer@entry=0x7ff764eaed08, format=format@entry=0x101b5e26c, width=width@entry=0x7ff764eaecf4, height=height@entry=0x7ff764eaecf8, writable=writable@entry=0)
at mlt_frame.c:617
#16 0x00007ff7c4752308 in consumer_read_ahead_thread (arg=0x10293ff80) at mlt_consumer.c:821
#17 0x000000010037c50e in RenderThread::run() (this=0x7ff7280008e0) at /tmp/makepkg/kdenlive-git/src/kdenlive/src/monitor/glwidget.cpp:1282
#18 0x00007ff7be5e115b in () at /usr/lib/libQt5Core.so.5
#19 0x00007ff7bbbf9049 in start_thread () at /usr/lib/libpthread.so.0
#20 0x00007ff7bdbe2f0f in clone () at /usr/lib/libc.so.6
I'm having a very similar experience for this. KDE Plasma Version: 5.11.5 KDE Framework Version: 5.40.0 Qt Version: 5.7.1 Kernel Version 4.9.76 OS: Linux 4.9.76, Gentoo, 64-bit Using NVIDIA 390.25 on GeForce GT 710/PCIe Running Kdenlive in a terminal, I get GL error 0x502 at ycbcr_input.cpp:71 KCrash: Application 'kdenlive' crashing... KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit sock_file=/var/run/user/1000/kdeinit5__0 QSocketNotifier: Invalid socket 16 and type 'Read', disabling... QSocketNotifier: Invalid socket 26 and type 'Read', disabling... QSocketNotifier: Invalid socket 72 and type 'Read', disabling... The X11 connection broke (error 1). Did the X11 server die? This occurs after enabling GPU effects and attempting to use them. Usually crashes within a few seconds after attempting playback. This occurs every time so long as GPU processing is enabled. Everything has been compiled from source on my system but without debugging. If need be, I can rebuild with debugging or something and figure it out. If anyone has a reference on how to capture backtrace info, let me know. Created attachment 111081 [details]
New crash information added by DrKonqi
kdenlive (18.03.70) using Qt 5.9.1
- What I was doing when the application crashed:
Moving around timeline with various GPU effects applied
- Custom settings of the application:
GPU Acceleration (movit) enabled.
-- Backtrace (Reduced):
#6 0x00007f87d06970bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7 0x00007f87d0698f5d in __GI_abort () at abort.c:90
#8 0x00007f87981a6cd9 in movit::abort_gl_error(unsigned int, char const*, int) () at /usr/lib/x86_64-linux-gnu/libmovit.so.7
#9 0x00007f87981b60ea in movit::EffectChain::execute_phase(movit::Phase*, bool, std::map<movit::Phase*, unsigned int, std::less<movit::Phase*>, std::allocator<std::pair<movit::Phase* const, unsigned int> > >*, std::set<movit::Phase*, std::less<movit::Phase*>, std::allocator<movit::Phase*> >*) () at /usr/lib/x86_64-linux-gnu/libmovit.so.7
#10 0x00007f87981b637e in movit::EffectChain::render_to_fbo(unsigned int, unsigned int, unsigned int) () at /usr/lib/x86_64-linux-gnu/libmovit.so.7
Also I've started a thread on nvidia's Dev forums and it's been confirmed that there isn't a driver bug that causes this. https://devtalk.nvidia.com/default/topic/1019615/linux/movit-library-crash-when-used-in-kdenlive/ Unfortunately MOVIT (GPU effects) is not stable and not ready for production use. *** This bug has been marked as a duplicate of bug 380019 *** |