Hi friends. After an unsuccessful swing at the IRC channels, I'm trying my luck here to see if anybody else happens to be testing the particular scenario I'm looking at.
It's no secret that Gnome focuses on CSD - Client Side Decorations. There are a number of programs out there that don't do CSD and depend on SSD instead - Server Side Decorations. One of the apps I'm using falls into the category of depending on SSD to present a titlebar and window decorations, known as MPV, a popular video player. Other apps fall into this same camp, though MPV is the, do I dare say "target", of this post. Side note: MPV defaults to using X (xwayland), though through the mpv.conv file you can force Wayland mode, which is necessary if you want to utilize hardware acceleration (which I'm doing). By enforcing Wayland mode, you eliminate the window decoration because MPV is now requiring SSD and not getting it, while Gnome is ignorantly assuming CSD and likewise, not seeing it -- thus no window decoration.
A patch was written and submitted upstream. As indicated by devs in IRC, GTK3, specifically version 3.22.25 in the Proposed repository on Ubuntu 17.10, should have these packages available for download and testing. By running apt list --upgradable | grep 3.22.25, I was presented with a list of these GTK3 packages, and thus installed them. The end result of this is me having GTK 3.22.25 on Ubuntu 17.10. Hold that thought.
Simultaneously, my Antergos laptop updated to Gnome 3.26.2 (17.10 has 3.26.1 currently). On a hunch I fired up MPV and... huzzah! Window decorations! And I was using Wayland! Woohoo! I checked in the package manager for GTK3 and sure enough, I was on version 3.22.25. Same version as what I pulled down from Proposed on my 17.10 system. [Resuming my hold-that-thought remark above] : The catch is, my Ubuntu 17.10 system *still* fails to draw window decorations on MPV in a Wayland session.
I spoke to the patch author who said the patch is specific to GTK3 and others have said the exact gnome-shell package version shouldn't have any bearing on that. I asked this due to the fact Antergos is on 3.26.2 while 17.10 is on 3.26.1. In the end, it sounds like this patch is rather specific to GTK3 and not tied to other packages. Maybe I'm wrong? Maybe it's dependent on other Gnome components being on a specific version? From what reading I did, I couldn't find evidence to suggest that there was any deciding factor on this KDE SSD Protocol patch depending on anything other than GTK3 version 3.22.25.
With that said, here I am, throwing a hail-mary in an effort to try and dig up some information surrounding this topic. Clearly the patch works in GTK3 as it works in Antergos, but what I'm after is why it's not working in the same version of GTK3 on a different distro. Given that this is in Proposed and there's been a lengthy, massive outcry in the MPV camp for window decorations in Wayland (along with other apps that other folks use also suffering from lack of SSD) I find myself more inclined with curiosity to poke at this. Is anybody else out there testing out 17.10 with proposed enabled? Has anybody tried MPV in particular in a wayland session, specifically with the line gpu-context=wayland entered into your ~/.config/mpv/mpv.conf file to enforce Wayland-mode on MPV? Again, MPV may be the topic of this question, but other apps exist that also fall into this same category of being rather server-side-decoration dependent.
In short, I'm wondering if GTK3 version 3.22.25 in Proposed includes the KDE SSD Protocol patch, and if so, why it's not working in its (my?) current state of my 17.10 installation.
Thanks for any help.



Adv Reply

Bookmarks