Kooha icon indicating copy to clipboard operation
Kooha copied to clipboard

stream error: target not found while recording under Wayland on Arm64

Open andirsun opened this issue 1 year ago • 4 comments

Affected version Last flatpak available

I am using Fedora Asahi on my macbook pro m1 with Sony headphones microphone. Kooha works with micro on records less than 1 minute but with more than 1 minute the app throws this error.

An error occurred while recording

Caused by:
    0: ../src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstPipeline:pipeline0/GstBin:bin0/GstPipeWireSrc:pipewiresrc0
    1: stream error: target not found

Bug summary

Steps to reproduce

Expected behavior

Relevant logs, screenshots, screencasts, etc.

andirsun avatar Jan 15 '24 15:01 andirsun

I'm seeing the same behaviour on Ubuntu using 6.6.6-76060606-generic and the flatpak installation, on version 2.2.4.

2024-01-17T16:52:03.333083Z  INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-01-17T16:52:03.333094Z  INFO kooha::application: Version: 2.2.4 ()
2024-01-17T16:52:03.333097Z  INFO kooha::application: Datadir: /app/share/kooha
2024-01-17T17:08:48.035968Z ERROR kooha::window: An error occurred while recording

Caused by:
    0: ../src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstPipeline:pipeline1/GstBin:bin1/GstPipeWireSrc:pipewiresrc1
    1: stream error: target not found

It's also stuck in "processing" mode for a very long time, I can see the file being created and increasing in size in my Videos folder, but then it disappears at the end and throws this error.

AnomalRoil avatar Jan 18 '24 12:01 AnomalRoil

~Hi, is this still reproducible in the latest version: 2.2.4?~

Oh, nevermind. Sorry, I did not noticed on the additional report by AnomalRoil.

SeaDve avatar Feb 08 '24 13:02 SeaDve

I have this bug but only happens when/if I press the stop button on the top bar of Gnome. If I press the stop button on the floating window (the one with the timer) it doesn't happen. I just needed to make some captures and that's what happened. At least in my case there's a workaround.

Se ha producido un error al grabar

Caused by:
    0: ../src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstPipeline:pipeline1/GstBin:bin1/GstPipeWireSrc:pipewiresrc1
    1: stream error: target not found

❯ flatpak --version
Flatpak 1.15.6
# Detalles del informe del sistema
---

## Detalles del informe
- **Fecha generada:**                              2024-03-12 18:21:39

## Hardware Information:
- **Modelo de hardware:**                          Lenovo Lenovo Legion 5 15ARH05H
- **Memoria:**                                     16,0 GiB
- **Procesador:**                                  AMD Ryzen™ 7 4800H with Radeon™ Graphics × 16
- **Gráficos:**                                   AMD Radeon™ Graphics
- **Gráficos 1:**                                 NVIDIA GeForce RTX™ 2060
- **Capacidad del disco:**                         1,0 TB

## Software Information:
- **Versión de firmware:**                         FSCN26WW
- **Nombre del SO:**                               Fedora Linux 39.20240304.0 (Silverblue)
- **Construcción de SO:**                          (null)
- **Tipo de SO:**                                  64 bits
- **Versión de GNOME:**                            45.4
- **Sistema de ventanas:**                         Wayland
- **Versión del núcleo:**                          Linux 6.7.7-200.fc39.x86_64

rscm avatar Mar 12 '24 21:03 rscm

I have this bug but only happens when/if I press the stop button on the top bar of Gnome. If I press the stop button on the floating window (the one with the timer) it doesn't happen. I just needed to make some captures and that's what happened. At least in my case there's a workaround.

Se ha producido un error al grabar

Caused by:
    0: ../src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstPipeline:pipeline1/GstBin:bin1/GstPipeWireSrc:pipewiresrc1
    1: stream error: target not found
❯ flatpak --version
Flatpak 1.15.6
# Detalles del informe del sistema
---

## Detalles del informe
- **Fecha generada:**                              2024-03-12 18:21:39

## Hardware Information:
- **Modelo de hardware:**                          Lenovo Lenovo Legion 5 15ARH05H
- **Memoria:**                                     16,0 GiB
- **Procesador:**                                  AMD Ryzen™ 7 4800H with Radeon™ Graphics × 16
- **Gráficos:**                                   AMD Radeon™ Graphics
- **Gráficos 1:**                                 NVIDIA GeForce RTX™ 2060
- **Capacidad del disco:**                         1,0 TB

## Software Information:
- **Versión de firmware:**                         FSCN26WW
- **Nombre del SO:**                               Fedora Linux 39.20240304.0 (Silverblue)
- **Construcción de SO:**                          (null)
- **Tipo de SO:**                                  64 bits
- **Versión de GNOME:**                            45.4
- **Sistema de ventanas:**                         Wayland
- **Versión del núcleo:**                          Linux 6.7.7-200.fc39.x86_64

That may be https://github.com/SeaDve/Kooha/issues/287

SeaDve avatar Mar 12 '24 21:03 SeaDve