vkohaupt / vokoscreenNG

vokoscreenNG is a powerful screencast creator in many languages to record the screen, an area or a window (Linux only). Recording of audio from multiple sources is supported. With the built-in camera support, you can make your video more personal. Other tools such as systray, magnifying glass, countdown, timer, Showclick and Halo support will help
https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
GNU General Public License v2.0
1.05k stars 91 forks source link

Freeze with external soundcard selected on Kernel 5.18 #234

Open llelectronics opened 1 year ago

llelectronics commented 1 year ago

Bug report checklist

Describe the bug After upgrading to Kernel 5.18 (Debian Backports) I cannot record with vokoscreen-ng and external sound card plugged in. It starts normally pressing the Stop Button does nothing. The file it writes to is 0 bytes. Only thing I can do is kill the app or plug out the sound card which results in vokoscreen writing a very small file with 1 second image.

To Reproduce Steps to reproduce the behavior:

  1. Plug in external soundcard (in my case via USB-C)
  2. Click on 'Start'
  3. Record for a minute or a few seconds
  4. Press the 'Stop' button

Expected behavior It should stop and write the recorded video and audio.

Additional context When unplugging the external soundcard it stops and writes 1 second file. I also tried executing the gst-launch-1.0 line and it also resulted in a freeze. It smells a bit like a kernel bug maybe. But I want to document the issue here aswell. Maybe it lacks access to the soundcard or the soundcard is blocking something.

Log messages I attached a log file. As it freezes there too I am not sure it is helpful. I unplugged my soundcard at the end this is the point where it unfreezes itself and prints "Stop recording" lines. Also attached is the gstreamer log gstreamer-freeze-kernel518-on-ctrl-c.txt vokoscreenNG-kernel518-freeze-on-stop.txt