Bug 362877 - kdenlive-git crashes when displaying a any (incl color) clip in the project monitor with glsl on GTX 580
Summary: kdenlive-git crashes when displaying a any (incl color) clip in the project m...
Status: RESOLVED UPSTREAM
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-10 08:15 UTC by Anton Gubarkov
Modified: 2016-10-09 14:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2016-05-10 08:15:04 UTC
The clip plays fine in the clip monitor, however kdenlive crashes when the clip is in the timeline and the current position is set within the clip boundaries.

The output is: 
anton@home64 ~ $ LANG=en kdenlive
Icon theme "breeze" not found.
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 580/PCIe/SSE2"
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 580/PCIe/SSE2"
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
Removing cache at "/home/anton/.cache/kdenlive-thumbs.kcache"
 // / processing file open
 // / processing file open: validate
Opening a document with version  0.94  /  0.94
 // / processing file validate ok
***********
FOUND GUIDES:  0 
**********



kdenlive: effect_chain.cpp:1692: void movit::EffectChain::render_to_fbo(GLuint, unsigned int, unsigned int): Assertion `status == 0x8CD5' failed.
Аварийный останов (core dumped)


Reproducible: Always

Steps to Reproduce:
1. enable GPU
2. add a color clip
3. add clip to the TL
4. Position playhead within clip

Actual Results:  
anton@home64 ~ $ LANG=en kdenlive
Icon theme "breeze" not found.
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 580/PCIe/SSE2"
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 580/PCIe/SSE2"
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
Removing cache at "/home/anton/.cache/kdenlive-thumbs.kcache"
 // / processing file open
 // / processing file open: validate
Opening a document with version  0.94  /  0.94
 // / processing file validate ok
***********
FOUND GUIDES:  0 
**********



kdenlive: effect_chain.cpp:1692: void movit::EffectChain::render_to_fbo(GLuint, unsigned int, unsigned int): Assertion `status == 0x8CD5' failed.
Аварийный останов (core dumped)


Expected Results:  
the clip plays

The same version of kdenlive  works ok on my laptop with Haswell/MESA 11.2 GPU.
The failing machine has only Nvidia  GeForce GTX 580/PCIe/SSE2 with nvidia-drivers-364.19
Comment 1 Anton Gubarkov 2016-07-16 13:20:30 UTC
Latest kdenlive-git allows playing clips in the clip monitor, while trying to play the timeline aborts kdenlive with the following message:

GL error 0x501 at filter_glsl_manager.cpp:443

melt дубль1.mp4 .glsl=1 -attach movit.saturation saturation=0 -consumer xgl works ok and shows bw clip.
Comment 2 Wegwerf 2016-08-04 16:48:26 UTC
Anton, can you please be so kind as to try with recent beta or git master? I vaguely remember seeing some OpenGL fixes, so maybe you will be lucky? Please report back your results, thank you very much for your cooperation!
Comment 3 Anton Gubarkov 2016-08-05 14:19:20 UTC
WelL, apparently there are some changes. The error message changed, but still the test crash kdenlive on nvidia-drivers

anton@r9-008cln ~/kdenlive $ LANG=en_US optirun -b primus kdenlive
"This is a beta version. Always backup your data"
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GT 730M/PCIe/SSE2"
OpenGL Threaded:  true
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GT 730M/PCIe/SSE2"
OpenGL Threaded:  true
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setOpacity: Painter not active
QPainter::setOpacity: Painter not active
QPainter::end: Painter not active, aborted
kdenlive: effect_chain.cpp:1746: void movit::EffectChain::render_to_fbo(GLuint, unsigned int, unsigned int): Assertion `status == GL_FRAMEBUFFER_COMPLETE' failed.
Comment 4 Wegwerf 2016-08-13 12:55:09 UTC
Anton, can you please disable movit/GPU support in Kdenlive and retry? The crash is obviously in movit, and movit/GPU support is still only experimental in Kdenlive.
Comment 5 Anton Gubarkov 2016-08-13 13:21:40 UTC
Well, kdenlive does work w/o movit and it does work on MESA/Haswell with movit. The problem is on nvidia cards only. Can we still have this bug open work on it as time permits?
Comment 6 Wegwerf 2016-10-08 16:00:09 UTC
As we have neither developer nor hardware resources to work on this bug, and this bug is probably an upstream issue in the OpenGL/Qt/card driver combo, we are closing stale bugs in order to reduce clutter. It doesn't help to keep this bug open/reopen when no one is able to work on it.
Comment 7 Anton Gubarkov 2016-10-09 14:03:34 UTC
@Wegwerf this bug tracker was the only means to communicate with the developers. Can you advise how we can let them know about bugs?