GNOME Bugzilla – Bug 736677
Doesn't work in clutter-gtk embed in Wayland
Last modified: 2014-09-17 17:49:15 UTC
Created attachment 286206 [details] gtk-clutter-multistage.c Test program attached. You'll also need the patches from bug 736564.
From the other bug: I get: - 2 flickery video displays when using cheese (which doesn't use a GtkStack) - mouse events going nowhere (buttons not working, hidden video texture) in totem I can reproduce the latter with another test program. Given that it only happens when using clutter-gst inside clutter-gtk, I would consider it a clutter-gst bug.
Is this what you're expecting : https://www.youtube.com/watch?v=lLbFqO9XDRo ? You have to initialize clutter-gst before clutter-gtk, otherwise cairo crashes. I think this problem has been reported several times already. Also no need for file:// in clutter_media_set_file().
Right, I completely missed the wayland part of the bug. I just used jhbuild to get weston + clutter + clutter-gtk + clutter-gst and ended with an application that draws itself exactly once and then blocks forever in a glClear : Program received signal SIGINT, Interrupt. 0x00007ffff1e6e0ed in poll () at ../sysdeps/unix/syscall-template.S:81 81 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) bt
+ Trace 234099
Let me know what's your setup and your mesa version.
jhbuild versions of gtk+, clutter-gtk and clutter-gst. clutter from the distro: clutter-1.19.8-1.fc21.x86_64 I ran this under gnome-shell's wayland session in F21.
Anyway to test this stuff under X? Mutter used to have a nested mode according to https://wiki.gnome.org/Initiatives/Wayland/TryingIt What happened to that?
Ok, same problem with nested wayland. What's your version of Mesa?
(In reply to comment #5) > Anyway to test this stuff under X? > Mutter used to have a nested mode according to > https://wiki.gnome.org/Initiatives/Wayland/TryingIt > What happened to that? I don't know. I wish it was easier to test as well, but I make do with the gnome-shell wayland session. (In reply to comment #6) > Ok, same problem with nested wayland. > What's your version of Mesa? mesa-libEGL-10.3-0.rc1.20140824.fc21.x86_64
Actually you can compile mutter in jhbuild with xwayland and it works nested like this : mutter --wayland
Sorted inside clutter-gtk itself now. Apologies for the red herring :/