GNOME Bugzilla – Bug 703090
Port to Wayland
Last modified: 2015-10-20 13:16:01 UTC
As the title says. There is an initial patch from Lubosz here: https://github.com/lubosz/pitivi/commit/56cdfc0dd ...but I have not tested it, nor do I know if this is considered the "proper" fix. There are probably other issues but I'm not aware of them yet. Help (testing and patches) welcome.
Pitivi crashes currently with this gobject introspection related issue /usr/lib/python2.7/site-packages/gi/types.py:113: Warning: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display' return info.invoke(*args, **kwargs) Funny thing that this minimal example works in wayland: http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html There is no reference to GdkX11Display in the Pitivi code. I am trying to figure out what causes this. It also has worked once ;)
Another thing to be implemented would be a set_window_handle method in the waylandsink in gst-plugins-bad, so it could place the sink into the Wayland GDK window. Like xvimagesink in plugins-base does for a GDK X window.
(In reply to comment #1) > > There is no reference to GdkX11Display in the Pitivi code. I am trying to > figure out what causes this. It also has worked once ;) A gdb backtrace with G_DEBUG=fatal-warnings would be interesting. I suspect an override in pygobject.
The crash was solved by starting PiTiVi like this: CLUTTER_BACKEND=wayland ./bin/pitivi GDK_BACKEND=wayland is also set. It starts now (with my patch from the first post), the viewer is detached and the timeline is not rendered. So stuff cannot be added.
This it how it looks http://i.imgur.com/JJIa8ar.png
This bug has been migrated to https://phabricator.freedesktop.org/T3037. Please use the Phabricator interface to report further bugs by creating a task and associating it with Project: Pitivi. See http://wiki.pitivi.org/wiki/Bug_reporting for details.