unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: 52375@debbugs.gnu.org
Subject: bug#52375: webkitgtk needs gst-plugins-bad
Date: Tue, 21 Dec 2021 11:49:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.21.2112211140230.9433@marsh.hcoop.net> (raw)
In-Reply-To: <alpine.DEB.2.21.2112202258320.9433@marsh.hcoop.net>

On Tue, 21 Dec 2021, Jack Hill wrote:

> I asked about this issue on #webkitgtk:gnome.org on IRC. It turns out that 
> what's missing from my environment is gst-plugins-bad (most likely the 
> fakevideosink plugin contained therein). If I install gst-plugins-bad into an 
> environment with a webgkitgtk browser, the crash I was seeing is resolved. 
> Only adding gst-plugins-bad to the inputs of webkitgtk doesn't seem to be 
> enough to solve the problem. I suppose some additional wrapping is needed 
> somewhere (although gst-plugins-base shows up in the webkitgtk references).
>
> What's the best path forward here?

I got permission to quote from the IRC conversation for some additional 
context:

10:52 < jackhill> Hi folks! In the Guix WebKitGTK packages we seem to have introduced a problem that causes tabs to crash on some
                   pages. I'm trying to track it down, but could use a hand in either identifying the solution or in more
                   troubleshooting techniques: https://issues.guix.gnu.org/52375
10:55 < MichaelCatanzaro[m]> jackhill: Looks like you're missing a GStreamer element that is required (do you have:
                              gst-plugins-base, gst-plugins-good, and at least the free half of gst-plugins-bad?)
10:56 < MichaelCatanzaro[m]> Alternatively, maybe try deleting ~/.cache/gstreamer-1.0 in the off chance your registry is corrupt
10:58 < MichaelCatanzaro[m]> jackhill: I think you're missing the fakevideosink element from gst-plugins-bad
11:01 < jackhill> MichaelCatanzaro[m]: thanks. Looking at our package definition we only depend directlyon gst-plugins-base. It
                   seems that we were scared off of -bad at some point in the past:
                   https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/webkit.scm#n255
11:03 < jackhill> I'll look into adding them (and manybe clearing my cache). Were we wrong in our assesment of -bad?
11:06 < MichaelCatanzaro[m]> jackhill: Yup, that is mandatory... and disabling GStreamerGL is not recommended either
11:06 < jackhill> MichaelCatanzaro[m]: yep, adding -bad did it! Is there an official WebKitGTK statement that I can point to when
                   proposing my fix to Guix?
11:06 < MichaelCatanzaro[m]> Not all the elements are mandatory, but some are...
11:07 < MichaelCatanzaro[m]> jackhill: No, we just expect you to have a working gstreamer installation
11:07 < jackhill> hehe, fair enough
11:08 < MichaelCatanzaro[m]> Looks like there is a bug report: https://bugs.webkit.org/show_bug.cgi?id=233949
[daychange]
10:55 < jackhill> MichaelCatanzaro[m]: we're having a conversation in #guix:libera.chat about adding the gst-plugins-bad. Can I
                   quote our conversation yesterday to hopefully bring others up to speed?
11:26 < MichaelCatanzaro[m]> <jackhill> "Michael Catanzaro: we're..." <- Of course, all the history here is public anyway
11:27 < MichaelCatanzaro[m]> You need: gst-plugins-base, gst-plugins-good, and gst-plugins-bad (not gst-plugins-ugly)
11:27 < MichaelCatanzaro[m]> gst-libav especially welcome if available, but not required...
11:29 < MichaelCatanzaro[m]> GStreamer is indeed used inside the bwrap sandbox (most applications do not enable the sandbox, but
                              Ephy does)
11:29 < MichaelCatanzaro[m]> All web content is handled sandboxed :)

> Should leaf applications that use webkitgtk be wrapped to find the right 
> gst-plugins? This seems suboptimal to me. If the plugins are really 
> dependencies of webkitgtk then perhaps they should be encoded that way in 
> Guix.
>
> Should webkitgtk be wrapped somehow to find the plugins on its own? How would 
> this wrapping be done? Do we want to force all webkitgtk applications to 
> carry around these dependencies?

We talked through some of these option on #guix:libera.chat (thanks 
apteryx and cybersyn!) and it sounds like we're leaning towards the first 
option. An additional concern with webkitgtk always pulling in the plugins 
is that it increases the webkitgtk closure size by over 1G!

We're still waiting on webkitgtk builds to finish to help us determine if 
we can enable GSTREAMER_GL.

Best,
Jack




      parent reply	other threads:[~2021-12-21 17:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-08 17:16 bug#52375: webkitgtk page crashes on core-updates-frozen Jack Hill
2021-12-08 17:22 ` Maxim Cournoyer
2021-12-09 23:05   ` Jack Hill
2021-12-13 14:50 ` bug#52375: Both pages load fine for me Vivien Kraus via Bug reports for GNU Guix
2021-12-17 22:04   ` Jack Hill
2021-12-17 22:22     ` Jack Hill
2021-12-21  5:25       ` bug#52375: webkitgtk needs gst-plugins-bad Jack Hill
2021-12-21 16:39         ` bug#52375: webkitgtk page crashes on core-updates-frozen Maxim Cournoyer
2021-12-21 16:56           ` Leo Famulari
2021-12-22 16:55             ` Jack Hill
2021-12-22 17:03           ` Jack Hill
2021-12-21 16:49         ` Jack Hill [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.2112211140230.9433@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=52375@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).