Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu22.04 Element failed to change its state #294

Open
Ericwln opened this issue Apr 10, 2024 · 8 comments
Open

ubuntu22.04 Element failed to change its state #294

Ericwln opened this issue Apr 10, 2024 · 8 comments
Labels
Needs info Further information is requested

Comments

@Ericwln
Copy link

Ericwln commented Apr 10, 2024

ubuntu22.04
2.3.0

image

image

Error

@Ericwln

This comment was marked as off-topic.

@SeaDve

This comment was marked as off-topic.

@SeaDve
Copy link
Owner

SeaDve commented Apr 13, 2024

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.

@SeaDve SeaDve added the Needs info Further information is requested label Apr 13, 2024
@Ericwln
Copy link
Author

Ericwln commented Apr 17, 2024

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
Copy link

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
Copy link

ttys3 commented Jul 24, 2024

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

Alexays/Waybar@7477388

  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
Copy link
Owner

SeaDve commented Jul 24, 2024

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
Copy link

ttys3 commented Jul 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs info Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants