SeaDve / Kooha

Elegantly record your screen
GNU General Public License v3.0
2.6k stars 69 forks source link

ubuntu22.04 Element failed to change its state #294

Open Ericwln opened 6 months ago

Ericwln commented 6 months ago

ubuntu22.04 2.3.0

image

image

Error

Ericwln commented 6 months ago

second question

When recording the full screen, it only took 5 seconds, 4K main screen +2K sub-screen. I'm not sure which one he recorded, and then I've been stuck in this interface, and I went to the storage space to see the size, but he has never increased so much; image

image

SeaDve commented 6 months ago

The second one is https://github.com/SeaDve/Kooha/issues/105.

SeaDve commented 6 months ago

ubuntu22.04 2.3.0

image

image

Error

Thanks for reporting! I think logs would be helpful, as well as the information required in the issue template.

Ericwln commented 6 months ago

ubuntu22.04 2.3.0 image image Error

Thanks for reporting! I think logs would be helpful, as well as the information required in the issue template.

where log can i get it ?

aschult5 commented 5 months ago

I'm encountering an issue that presents in the same way, also on ubuntu 22.04. Here's the console output when running from flatpak run ...

*** pw_stream_set_error called from wrong context, check thread and locking: Operation not permitted
*** pw_stream_set_error called from wrong context, check thread and locking: Operation not permitted
2024-05-23T15:52:12.438775Z ERROR kooha::window: Element failed to change its state
2024-05-23T15:52:12.484860Z ERROR kooha::area_selector: Received error message on bus: Error { structure: Some(GstMessageError { gerror: (GError) ((GError*) 0x744c64002020), debug: (gchararray) "../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline4/GstGLSinkBin:glsinkbin3/GstGLUploadElement:gluploadelement3" }), source: Some((Object { inner: TypedObjectRef { inner: 0x60fc7ca2b940, type: GstGLUploadElement } }, "gluploadelement3")), error: Error { domain: gst-resource-error-quark, code: 3, message: "Failed to create a OpenGL context: EGL_BAD_CONTEXT" }, debug: Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline4/GstGLSinkBin:glsinkbin3/GstGLUploadElement:gluploadelement3"), details: None }
ttys3 commented 3 months ago

me too. Fedora 40 user here.

run via flatpak , Capture Selection Not working there are 2 problem:

  1. record with sound: got error pw_stream_set_error called from wrong context, check thread and locking: Operation not permitted

seems related to https://bugzilla.opensuse.org/show_bug.cgi?id=1227199

https://github.com/Alexays/Waybar/pull/3136/commits/74773885c6166d190a294ad945b1f1d4d5f007ec

  1. record without sound: got error: Element failed to change its state
ERROR kooha::window: Element failed to change its state

ERROR kooha::area_selector: Received error message on bus: Error { structure: Some(GstMessageError { gerror: (GError) ((GError*) 0x7f6490017fc0), debug: (gchararray) "../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55979504ee30, type: GstGLUploadElement } }, "gluploadelement0")), error: Error { domain: gst-resource-error-quark, code: 3, message: "Failed to create a OpenGL context: EGL_BAD_CONTEXT" }, debug: Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0"), details: None }
SeaDve commented 3 months ago

me too. Fedora 40 user here.

there are 2 problem:

1. record with sound:  got error `pw_stream_set_error called from wrong context, check thread and locking: Operation not permitted`

seems related to https://bugzilla.opensuse.org/show_bug.cgi?id=1227199

Alexays/Waybar@7477388

2. record without sound:
   got error: `Element failed to change its state`
ERROR kooha::window: Element failed to change its state

ERROR kooha::area_selector: Received error message on bus: Error { structure: Some(GstMessageError { gerror: (GError) ((GError*) 0x7f6490017fc0), debug: (gchararray) "../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55979504ee30, type: GstGLUploadElement } }, "gluploadelement0")), error: Error { domain: gst-resource-error-quark, code: 3, message: "Failed to create a OpenGL context: EGL_BAD_CONTEXT" }, debug: Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0"), details: None }

What DE/ compositor/ window manager was this?

ttys3 commented 3 months ago

me too. Fedora 40 user here. there are 2 problem:

1. record with sound:  got error `pw_stream_set_error called from wrong context, check thread and locking: Operation not permitted`

seems related to bugzilla.opensuse.org/show_bug.cgi?id=1227199 Alexays/Waybar@7477388

2. record without sound:
   got error: `Element failed to change its state`
ERROR kooha::window: Element failed to change its state

ERROR kooha::area_selector: Received error message on bus: Error { structure: Some(GstMessageError { gerror: (GError) ((GError*) 0x7f6490017fc0), debug: (gchararray) "../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0" }), source: Some((Object { inner: TypedObjectRef { inner: 0x55979504ee30, type: GstGLUploadElement } }, "gluploadelement0")), error: Error { domain: gst-resource-error-quark, code: 3, message: "Failed to create a OpenGL context: EGL_BAD_CONTEXT" }, debug: Some("../gst-libs/gst/gl/gstglbasefilter.c(617): gst_gl_base_filter_find_gl_context_unlocked (): /GstPipeline:pipeline0/GstGLSinkBin:glsinkbin0/GstGLUploadElement:gluploadelement0"), details: None }

What DE/ compositor/ window manager was this?

image

  1. Capture Monitor works OK
  2. Capture Selection Not working
OS: Fedora Linux 40 (Workstation Edition) x86_64
DE: GNOME 46.3.1
WM: Mutter
WM Theme: Adwaita
GPU: NVIDIA GeForce GTX 16xx

xdg-desktop-portal-gnome.x86_64                        46.2-1
xdg-desktop-portal-gtk.x86_64                          1.15.1-5

other info:

I run Kooha via flatpak io.github.seadve.Kooha

Wayland env

confirmed: https://github.com/SeaDve/Kooha/releases/tag/v2.3.0 run directly works without problem. via flatpak does.