* Video Rendering Issues on IceCat
@ 2019-11-03 16:33 ` Raghav Gururajan
2019-11-03 22:37 ` bug#38045: " Christopher Lemmer Webber
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Raghav Gururajan @ 2019-11-03 16:33 UTC (permalink / raw)
To: bug-guix, bug-gnuzilla
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
Hello Guix and GNUzilla!
I am currently using IceCat (68.2.0-guix0-preview3) on Guix System.
Starting from version 68.X.X, I started to face issues with playing
videos online. This happens on most of the websites (not all though).
I get any of these following errors:
1) No compatible source was found for this media.
2) Your browser does not support the playback of this video. Please try
using a different browser.
3) Error loading player: No playable sources found.
I thought issues could be due to any of the add-ons I am using. But I
was able to reproduce these errors by running Icecat on safe-mode (i.e.
with all add-ons disabled).
Regards,
RG.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: bug#38045: Video Rendering Issues on IceCat
2019-11-03 16:33 ` Video Rendering Issues on IceCat Raghav Gururajan
@ 2019-11-03 22:37 ` Christopher Lemmer Webber
2019-11-04 0:41 ` Chris Marusich
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Christopher Lemmer Webber @ 2019-11-03 22:37 UTC (permalink / raw)
To: bug-guix; +Cc: 38045, bug-gnuzilla
Raghav Gururajan writes:
> Hello Guix and GNUzilla!
>
> I am currently using IceCat (68.2.0-guix0-preview3) on Guix System.
>
> Starting from version 68.X.X, I started to face issues with playing
> videos online. This happens on most of the websites (not all though).
>
> I get any of these following errors:
> 1) No compatible source was found for this media.
> 2) Your browser does not support the playback of this video. Please try
> using a different browser.
> 3) Error loading player: No playable sources found.
>
> I thought issues could be due to any of the add-ons I am using. But I
> was able to reproduce these errors by running Icecat on safe-mode (i.e.
> with all add-ons disabled).
>
> Regards,
> RG.
I've had these issues as well, fwiw.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38045: Video Rendering Issues on IceCat
2019-11-03 16:33 ` Video Rendering Issues on IceCat Raghav Gururajan
2019-11-03 22:37 ` bug#38045: " Christopher Lemmer Webber
@ 2019-11-04 0:41 ` Chris Marusich
2019-11-04 13:02 ` Raghav Gururajan
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Chris Marusich @ 2019-11-04 0:41 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 38045, bug-gnuzilla
[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]
Hi Raghav,
Are you actively working on this bug? If you are not, then as a matter
of etiquette, I think it would be best not to change its severity.
Raghav Gururajan <raghavgururajan@disroot.org> writes:
> Hello Guix and GNUzilla!
>
> I am currently using IceCat (68.2.0-guix0-preview3) on Guix System.
>
> Starting from version 68.X.X, I started to face issues with playing
> videos online. This happens on most of the websites (not all though).
>
> I get any of these following errors:
> 1) No compatible source was found for this media.
> 2) Your browser does not support the playback of this video. Please try
> using a different browser.
> 3) Error loading player: No playable sources found.
>
> I thought issues could be due to any of the add-ons I am using. But I
> was able to reproduce these errors by running Icecat on safe-mode (i.e.
> with all add-ons disabled).
Can you provide specific example URLs that do not work?
Did you try installing the gst-plugins-* packages? I observed similar
behavior in the past. I believe I resolved it by installing the right
gst-plugins-* packages, which is probably one of these:
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
You might also have to adjust some settings in about:config. I can't
remember if I did that or not. Video in IceCat generally works, but
depending on the video you might need to jump through some extra hoops
to make it happen.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38045: Video Rendering Issues on IceCat
2019-11-03 16:33 ` Video Rendering Issues on IceCat Raghav Gururajan
2019-11-03 22:37 ` bug#38045: " Christopher Lemmer Webber
2019-11-04 0:41 ` Chris Marusich
@ 2019-11-04 13:02 ` Raghav Gururajan
[not found] ` <973472324a8a0c24073a9f7106bff044@disroot.org>
2020-01-16 6:24 ` bug#38045: IceCat: some codecs don't work without workaround Mark H Weaver
4 siblings, 0 replies; 9+ messages in thread
From: Raghav Gururajan @ 2019-11-04 13:02 UTC (permalink / raw)
To: Chris Marusich; +Cc: 38045, bug-gnuzilla
Hi Chris!
> Are you actively working on this bug? If you are not, then as a
> matter
> of etiquette, I think it would be best not to change its severity.
I am not. Sorry about that. I read the control-debbugs help page and it
mentions that criteria for 'important' is unusablity of the program. So
I presumed that anyone can change the serverity level. No worries,
moving forward, I refrain from changing it. :-)
> Can you provide specific example URLs that do not work?
https://playedvid.com/whsfksz0zw8c
https://streamp1ay.me/yb4kihqvq8c9
> Did you try installing the gst-plugins-* packages? I observed
> similar
> behavior in the past. I believe I resolved it by installing the
> right
> gst-plugins-* packages, which is probably one of these:
>
> gst-plugins-base
> gst-plugins-good
> gst-plugins-bad
> gst-plugins-ugly
Yes, I have them installed.
> You might also have to adjust some settings in about:config. I can't
> remember if I did that or not. Video in IceCat generally works, but
> depending on the video you might need to jump through some extra
> hoops
> to make it happen.
I see. It was just weird that this is issue started after the upgrade.
Before that, all was fine.
Regards,
RG.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38045: Video Rendering Issues on IceCat
[not found] ` <973472324a8a0c24073a9f7106bff044@disroot.org>
@ 2019-11-04 16:25 ` Mark H Weaver
[not found] ` <874kzjmww2.fsf@netris.org>
1 sibling, 0 replies; 9+ messages in thread
From: Mark H Weaver @ 2019-11-04 16:25 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 38045, bug-gnuzilla
Hi,
Raghav Gururajan <raghavgururajan@disroot.org> wrote:
> It was just weird that this is issue started after the upgrade.
> Before that, all was fine.
I have a hypothesis of what might have happened here.
Since the upgrade to version 68, the IceCat package in GNU Guix is no
longer using our system ffmpeg. Although ffmpeg is listed in the
'inputs', "guix gc --references $(guix build icecat)" shows that the
built package does not reference it. It must be using the bundled copy
of ffmpeg instead.
Prior to the upgrade to version 68, the IceCat package in Guix
referenced the system ffmpeg library, and that fact was reflected in the
output of "guix gc --references".
Possibly related: I noticed while debugging this upgrade that the
'link-libxul-with-libraries' phase no longer seems to be doing its job.
That's why I needed to add pulseaudio's lib directory to LD_LIBRARY_PATH
in the 'wrap-program' phase.
I would be grateful for help debugging these issues. I'm very heavily
overloaded with other tasks at present, and it may be a few weeks before
I can look into this specific bug.
Incidentally, I agree that 'important' is an appropriate severity level
for this bug.
Regards,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38045: Video Rendering Issues on IceCat
[not found] ` <874kzjmww2.fsf@netris.org>
@ 2019-11-04 16:36 ` Mark H Weaver
0 siblings, 0 replies; 9+ messages in thread
From: Mark H Weaver @ 2019-11-04 16:36 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 38045, bug-gnuzilla
Earlier, I wrote:
> I have a hypothesis of what might have happened here.
>
> Since the upgrade to version 68, the IceCat package in GNU Guix is no
> longer using our system ffmpeg.
Sorry, I forgot to mention why I think this might be relevant. The
reason is because upstream Firefox adopts the approach of downloading
certain codecs in pre-compiled form, to avoid certain patent concerns.
That's not necessary when using Guix's system ffmpeg library, but maybe
Mozilla rigged the bundled ffmpeg library to avoid including support for
those codecs.
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38831: IceCat: some codecs don't work without workaround
@ 2019-12-31 14:24 Jakub Kądziołka
0 siblings, 0 replies; 9+ messages in thread
From: Jakub Kądziołka @ 2019-12-31 14:24 UTC (permalink / raw)
To: 38831
Hello,
I had some problems with video codecs in IceCat 68.3.0-guix0-preview1.
For example, consider this page: http://demo.nimius.net/video_test/. By
default, the videos under the headings H.264 / AAC and MPEG4 don't work
("No video with supported format and MIME type found.").
The following steps make the first of these videos work:
1. Open about:config
2. Click "I accept the risk!"
3. Set security.sandbox.content.read_path_whitelist to /gnu/store/
(the trailing / is important).
The instructions were originally sketched out in this help-guix
message:
https://lists.gnu.org/archive/html/help-guix/2019-12/msg00150.html
I believe it would be beneficial to make this a default.
On IRC, bandali suggested that it would be better to only whitelist the
necessary store subdirectories. I don't know how to gather such a list,
but it it seems like a good idea.
I don't know how about:config entries modified by the user behave when
IceCat is updated, but in some of the behaviors I can imagine, the
config entry stops updating, in which case it would be better to add
the paths to some internal whitelist (I reckon such a whitelist already
exists and contains something like /usr/lib).
Regards,
Jakub Kądziołka
CC: mhw as suggested by nckx
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38045: IceCat: some codecs don't work without workaround
2019-11-03 16:33 ` Video Rendering Issues on IceCat Raghav Gururajan
` (3 preceding siblings ...)
[not found] ` <973472324a8a0c24073a9f7106bff044@disroot.org>
@ 2020-01-16 6:24 ` Mark H Weaver
2020-01-16 12:29 ` bug#38831: " Julien Lepiller
4 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2020-01-16 6:24 UTC (permalink / raw)
To: Jakub Kądziołka; +Cc: 38831-done, 38045-done
Hi Jakub,
Jakub Kądziołka <kuba@kadziolka.net> wrote:
> I had some problems with video codecs in IceCat 68.3.0-guix0-preview1.
> For example, consider this page: http://demo.nimius.net/video_test/. By
> default, the videos under the headings H.264 / AAC and MPEG4 don't work
> ("No video with supported format and MIME type found.").
>
> The following steps make the first of these videos work:
> 1. Open about:config
> 2. Click "I accept the risk!"
> 3. Set security.sandbox.content.read_path_whitelist to /gnu/store/
> (the trailing / is important).
>
> The instructions were originally sketched out in this help-guix
> message:
> https://lists.gnu.org/archive/html/help-guix/2019-12/msg00150.html
>
> I believe it would be beneficial to make this a default.
>
> On IRC, bandali suggested that it would be better to only whitelist the
> necessary store subdirectories. I don't know how to gather such a list,
> but it it seems like a good idea.
Thank you for bringing this to my attention. I agree with Amin Bandali
that a more precise whitelist is preferable. Moreover, I was not
comfortable whitelisting all of /gnu/store.
I'm glad to report that it appears to be sufficient to whitelist the
RUNPATH of libavcodec.so, plus the /share/mime/ directory from
shared-mime-info. I've implemented this in commit
429c8284d232c3f9fbe3dc87a3da323f3a864c03 and pushed it to 'master'.
> I don't know how about:config entries modified by the user behave when
> IceCat is updated, but in some of the behaviors I can imagine, the
> config entry stops updating,
As currently implemented, we now arrange to set the *default* value of
'security.sandbox.content.read_path_whitelist' to an appropriate
whitelist.
Users who have customized 'security.sandbox.content.read_path_whitelist'
to work around this issue should now erase that customization, by
right-clicking on its entry in <about:config>, and clicking on "Reset".
It might also be necessary to restart IceCat after doing so.
> in which case it would be better to add the paths to some internal
> whitelist (I reckon such a whitelist already exists and contains
> something like /usr/lib).
I agree that it would be preferable, but I wasn't sufficiently motivated
to implement it. Feel free to propose a patch. I'm not sure it would
make much of a difference in practice though, because the net result for
anyone who has customized it to /gnu/store/ will be the same: until they
reset their customization, their effective whitelist will be all of
/gnu/store/*.
What do you think?
Anyway, thanks to everyone who contributed to this fix! I'm closing
both the older bug (38045) and the more recent duplicate (38831), but
feel free to reopen if appropriate.
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#38831: IceCat: some codecs don't work without workaround
2020-01-16 6:24 ` bug#38045: IceCat: some codecs don't work without workaround Mark H Weaver
@ 2020-01-16 12:29 ` Julien Lepiller
0 siblings, 0 replies; 9+ messages in thread
From: Julien Lepiller @ 2020-01-16 12:29 UTC (permalink / raw)
To: 38831, mhw, kuba
Le 16 janvier 2020 01:24:50 GMT-05:00, Mark H Weaver <mhw@netris.org> a écrit :
>Hi Jakub,
>
>Jakub Kądziołka <kuba@kadziolka.net> wrote:
>> I had some problems with video codecs in IceCat
>68.3.0-guix0-preview1.
>> For example, consider this page: http://demo.nimius.net/video_test/.
>By
>> default, the videos under the headings H.264 / AAC and MPEG4 don't
>work
>> ("No video with supported format and MIME type found.").
>>
>> The following steps make the first of these videos work:
>> 1. Open about:config
>> 2. Click "I accept the risk!"
>> 3. Set security.sandbox.content.read_path_whitelist to /gnu/store/
>> (the trailing / is important).
>>
>> The instructions were originally sketched out in this help-guix
>> message:
>> https://lists.gnu.org/archive/html/help-guix/2019-12/msg00150.html
>>
>> I believe it would be beneficial to make this a default.
>>
>> On IRC, bandali suggested that it would be better to only whitelist
>the
>> necessary store subdirectories. I don't know how to gather such a
>list,
>> but it it seems like a good idea.
>
>Thank you for bringing this to my attention. I agree with Amin Bandali
>that a more precise whitelist is preferable. Moreover, I was not
>comfortable whitelisting all of /gnu/store.
>
>I'm glad to report that it appears to be sufficient to whitelist the
>RUNPATH of libavcodec.so, plus the /share/mime/ directory from
>shared-mime-info. I've implemented this in commit
>429c8284d232c3f9fbe3dc87a3da323f3a864c03 and pushed it to 'master'.
>
>> I don't know how about:config entries modified by the user behave
>when
>> IceCat is updated, but in some of the behaviors I can imagine, the
>> config entry stops updating,
>
>As currently implemented, we now arrange to set the *default* value of
>'security.sandbox.content.read_path_whitelist' to an appropriate
>whitelist.
>
>Users who have customized
>'security.sandbox.content.read_path_whitelist'
>to work around this issue should now erase that customization, by
>right-clicking on its entry in <about:config>, and clicking on "Reset".
>It might also be necessary to restart IceCat after doing so.
>
>> in which case it would be better to add the paths to some internal
>> whitelist (I reckon such a whitelist already exists and contains
>> something like /usr/lib).
>
>I agree that it would be preferable, but I wasn't sufficiently
>motivated
>to implement it. Feel free to propose a patch. I'm not sure it would
>make much of a difference in practice though, because the net result
>for
>anyone who has customized it to /gnu/store/ will be the same: until
>they
>reset their customization, their effective whitelist will be all of
>/gnu/store/*.
>
>What do you think?
>
>Anyway, thanks to everyone who contributed to this fix! I'm closing
>both the older bug (38045) and the more recent duplicate (38831), but
>feel free to reopen if appropriate.
>
> Mark
Hi,
Thanks for the fix! We'll need something similar for webgl (mesa and dependencies at least), unless your patch already fixes it? I haven't checked.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-01-16 12:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87blts4gmv.fsf@gmail.com>
2019-11-03 16:33 ` Video Rendering Issues on IceCat Raghav Gururajan
2019-11-03 22:37 ` bug#38045: " Christopher Lemmer Webber
2019-11-04 0:41 ` Chris Marusich
2019-11-04 13:02 ` Raghav Gururajan
[not found] ` <973472324a8a0c24073a9f7106bff044@disroot.org>
2019-11-04 16:25 ` Mark H Weaver
[not found] ` <874kzjmww2.fsf@netris.org>
2019-11-04 16:36 ` Mark H Weaver
2020-01-16 6:24 ` bug#38045: IceCat: some codecs don't work without workaround Mark H Weaver
2020-01-16 12:29 ` bug#38831: " Julien Lepiller
2019-12-31 14:24 Jakub Kądziołka
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.