Bug 459569

Summary: Rendering in MP4 or MKV crashed Qt: Session management error: None of the authentication protocols specified are supported
Product: [Applications] kdenlive Reporter: Nicolas Kokel <nicolas.kokel>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fritzibaby, nicolas.kokel
Priority: NOR    
Version: 22.08.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas Kokel 2022-09-23 15:51:26 UTC
SUMMARY

Following a previous bug report I am using the Kdenlive AppImage.
I have made many rendering operations while working on several video that proceeded smoothly. 
Just as I made fine tuning to a video that rendered without any problem rendering now crashes everytime I am attempting to produce an mp4 or mkv file. Webm, high quality gif, or mpg2 are not an issue. 

Examples of log crash reports for mp4 files:

Started render process: /app/bin/melt -progress /var/tmp/kdenlive-rFfvsZ.mlt out=308
Qt: Session management error: None of the authentication protocols specified are supported
1	35	11
2	114	36
3	186	60
Rendering of /home/nicolas/Downloads/ppPLUSLogoIntroc.mp4 aborted, resulting video will probably be corrupted.
Frame: 186

Started render process: /app/bin/melt -progress /var/tmp/kdenlive-GSJDyF.mlt out=308
Qt: Session management error: None of the authentication protocols specified are supported
1	32	10
2	88	28
3	165	53
Rendering of /home/nicolas/Downloads/ppPLUSLogoIntro10sec.mp4 aborted, resulting video will probably be corrupted.
Frame: 165

STEPS TO REPRODUCE
1. Start Kdenlive
2. Open recent project
3. Render to file

OBSERVED RESULT

Rendering file crashed

EXPECTED RESULT

Rendering succeded

SOFTWARE/OS VERSIONS
System:
  Kernel: 5.15.0-48-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: GNOME 42.4 Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
Machine:
  Type: Desktop Mobo: Gigabyte model: Z97X-UD5H v: x.x
    serial: <superuser required> UEFI: American Megatrends v: F10
    date: 08/03/2015
CPU:
  Info: quad core model: Intel Core i7-4790 bits: 64 type: MT MCP
    arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 3769 high: 3983 min/max: 800/4000 cores: 1: 3981
    2: 2970 3: 3899 4: 3452 5: 3983 6: 3959 7: 3960 8: 3955 bogomips: 57471
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    vendor: Gigabyte driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GM200 [GeForce GTX TITAN X] vendor: eVga.com.
    driver: nvidia v: 515.65.01 bus-ID: 01:00.0
  Device-3: Microsoft LifeCam HD-3000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-10:6
  Display: x11 server: X.Org v: 1.21.1.3 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915,nvidia
    resolution: 1: 3840x2160~60Hz 2: 3840x2160~60Hz
  OpenGL: renderer: NVIDIA GeForce GTX TITAN X/PCIe/SSE2
    v: 4.6.0 NVIDIA 515.65.01 direct render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0
  Device-2: Intel 9 Series Family HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Device-3: NVIDIA GM200 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-4: C-Media CMI8788 [Oxygen HD Audio] vendor: ASUSTeK Virtuoso 100
    driver: snd_virtuoso v: kernel bus-ID: 08:04.0
  Device-5: Microsoft LifeCam HD-3000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-10:6
  Device-6: Logitech Headset H340 type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-5:3
  Sound Server-1: ALSA v: k5.15.0-48-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I217-V vendor: Gigabyte driver: e1000e v: kernel
    port: f080 bus-ID: 00:19.0
  IF: eno1 state: down mac: <filter>
  Device-2: Broadcom BCM4360 802.11ac Wireless Network Adapter
    vendor: ASUSTeK driver: wl v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
  Device-3: Qualcomm Atheros Killer E220x Gigabit Ethernet vendor: Gigabyte
    driver: alx v: kernel port: d000 bus-ID: 04:00.0
  IF: enp4s0 state: down mac: <filter>
  IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A
    mac: <filter>
  IF-ID-2: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
  Local Storage: total: 931.51 GiB used: 532.3 GiB (57.1%)
  ID-1: /dev/nvme0n1 vendor: Smart Modular Tech. model: SHGP31-1000GM-2
    size: 931.51 GiB temp: 47.9 C
Partition:
  ID-1: / size: 912.73 GiB used: 532.05 GiB (58.3%) fs: ext4 dev: /dev/dm-1
    mapped: vgubuntu-root
  ID-2: /boot size: 1.61 GiB used: 254.4 MiB (15.5%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%)
    dev: /dev/dm-2 mapped: vgubuntu-swap_1
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 71 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 31%
Info:
  Processes: 334 Uptime: 1h 23m Memory: 31.2 GiB used: 7.78 GiB (24.9%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.3.0 Packages: 2679 Shell: Bash
  v: 5.1.16 inxi: 3.3.13

ADDITIONAL INFORMATION
As mentioned, I am using the AppImage.
Comment 1 Nicolas Kokel 2022-09-23 16:10:45 UTC
I uninstalled the AppImage, updated/upgrade the system, restarted the PC, installed the FlatPak instead. 
Trying to render the project returns the same rendering error. 

Started render process: /app/bin/melt -progress /var/tmp/kdenlive-MRlZJz.mlt out=308
Qt: Session management error: None of the authentication protocols specified are supported1	31	10
2	91	29
3	177	57
Rendering of /home/nicolas/Videos/ppPLUSLogoIntroc.mp4 aborted, resulting video will probably be corrupted.
Frame: 177
Comment 2 Nicolas Kokel 2022-09-23 16:31:58 UTC
Found the origin of the problem by deleting one by one the time line elements. 
It has to do with the motion effect Glitch0r applied to a static image. 
Rendering worked when limiting the Glitch Frequency to a low frequency (88) and a short duration setting in the timeline (2 sec). 
Weird issue, how to fix it?
Comment 3 Nicolas Kokel 2022-09-24 02:54:21 UTC
It actually depends on the various settings in Glitch0r such as Glitch Freqency, Shift Intensity, Color Glitching Intensity). By testing and making adjustment and adding keyframes the rendering could be made to work again.  Very weird issue.
Comment 4 emohr 2022-12-18 10:22:31 UTC
Please try with version 22.12.0. Make sure parallel processing is switched off in render -> more options.
Comment 5 Bug Janitor Service 2023-01-02 05:27:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-01-17 05:18:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!