Summary: | www/chromium: Video playback error (Chromium-only, other browsers unaffected) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Patricio Villar <patovm04> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-chromium (Nobody) <chromium> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | freebsd, o.hushchenkov, patovm04, rene, robert | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(chromium) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Patricio Villar
2021-05-03 02:02:10 UTC
Additional details: GPU: Intel HD Graphics 5500 -Playing the troubled videos in Incognito mode doesn't help. -Here are some links with examples where the problem occurs: [1] https://twitter.com/TechInsider/status/1389150101986234369 I get this message: "The media could not be played." [2] https://redgol.cl/vidal/Inter-Juventus-Arturo-Vidal-y-Cristiano-Ronaldo-tienen-fuerte-cruce-en-pleno-partido-en-la-Copa-Italia-20210202-0091.html I get this message: "VIDEO ERROR". As always, all these a little while after the video started playing... This probably affects all MP4 videos. Trying to chase it down, but didn't find anything obvious so far. (In reply to Matthias Wolf from comment #2) Ok, thanks. Hope you find the underlying issue soon :) For problem videos I see a message like this in Developer tools > Media > Messages:
> Append: stream parsing failed. Data size=4894 append_window_start=0 append_window_end=inf
Build(v96) from https://github.com/freebsd/chromium not affected by the issue. (In reply to Oleh Hushchenkov from comment #5) Can confirm that Chromium v97.0.4692.99 has finally solved this bug for me! Big thank you to the maintainers of this hugely complicated port!! After updating to v98 the issue returned. Created attachment 232048 [details]
0001-try-MADV_FREE-and-then-fallback-to-MADV_DONTNEED-for.patch
The attached patch fixes the issue.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bc6cc38f24dd256461df52f2eda7be12b1c28c5 commit 2bc6cc38f24dd256461df52f2eda7be12b1c28c5 Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-02-23 16:50:34 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-02-23 16:52:31 +0000 www/chromium: fix MP4 video playback PR: 255561 Reported by: patovm04@gmail.com www/chromium/Makefile | 1 + ...llocator_partition__allocator_page__allocator.h (new) | 11 +++++++++++ ...__allocator_page__allocator__internals__posix.h (new) | 16 ++++++++++++++++ 3 files changed, 28 insertions(+) A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d3a2cfbe493ca12f6945fc3eca803b13ddffd97 commit 5d3a2cfbe493ca12f6945fc3eca803b13ddffd97 Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-02-23 16:50:34 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-02-23 16:53:58 +0000 www/chromium: fix MP4 video playback PR: 255561 Reported by: patovm04@gmail.com (cherry picked from commit 2bc6cc38f24dd256461df52f2eda7be12b1c28c5) www/chromium/Makefile | 1 + ...llocator_partition__allocator_page__allocator.h (new) | 11 +++++++++++ ...__allocator_page__allocator__internals__posix.h (new) | 16 ++++++++++++++++ 3 files changed, 28 insertions(+) |