Firefox 128ESR no longer plays videos on Solaris - version 115ESR was ok
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | fixed |
firefox128 | --- | wontfix |
firefox129 | --- | wontfix |
firefox130 | --- | fixed |
People
(Reporter: petr.sumbera, Assigned: petr.sumbera)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-esr128+
|
Details | Review |
Steps to reproduce:
Firefox 128ESR no longer plays videos on Solaris - version 115ESR was ok.
Last working version was 116.01a. Where my old binary from 2023-06-19 (0d3d276273c4) is ok and binary from 2023-06-20 (d8571e33cdd0) is bad.
It just says: "No video with supported format and MIME type found".
Tested with: https://tekeye.uk/html/html5-video-test-page
(youtube doesn't work too)
Unfortunately above hg hashes (hg id
) are no longer recognized?!!!
Assignee | ||
Comment 1•4 months ago
|
||
Mike, do you please have any idea why old hg id
hashes are no longer valid with current source repo? Or possibly what might have been the change which caused this regression?
Comment 2•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•4 months ago
|
Comment 3•4 months ago
|
||
Mike, do you please have any idea why old hg id hashes are no longer valid with current source repo?
The real question would be where did you get them. Are you keeping your source in Mercurial and is it patched? Because neither of the ids you gave exist in our repos AFAICT (and no, repos haven't changed).
Assignee | ||
Comment 4•4 months ago
|
||
(In reply to Mike Hommey [:glandium] from comment #3)
The real question would be where did you get them. Are you keeping your source in Mercurial and is it patched? Because neither of the ids you gave exist in our repos AFAICT (and no, repos haven't changed).
Thank you!. This was my bad I do have there extra patches (commits)...
Assignee | ||
Comment 5•4 months ago
|
||
I was able to bisect it to like this.
The first bad revision is:
changeset: 668485:e608dfe11fc7
user: Alexandre Lissy <lissyx+mozillians@lissyx.dyndns.org>
date: Tue Jun 20 10:23:23 2023 -0700
description:
Bug 1835804 - Completely block from doing audio decoding on Content and RDD r=alwu
Comment 6•4 months ago
|
||
(In reply to Petr Sumbera from comment #5)
I was able to bisect it to like this.
The first bad revision is:
changeset: 668485:e608dfe11fc7
user: Alexandre Lissy <lissyx+mozillians@lissyx.dyndns.org>
date: Tue Jun 20 10:23:23 2023 -0700
description:
Bug 1835804 - Completely block from doing audio decoding on Content and RDD r=alwu
Yes well, this has been here for a while. Are you sure Utility process is working correctly? Unfortunately, given the status of Solaris, I cannot debug that.
Assignee | ||
Comment 7•4 months ago
|
||
Yes well, this has been here for a while. Are you sure Utility process is working correctly? Unfortunately, given the status of Solaris, I cannot debug that.
What is Utility process? And how can I verify it's working correctly? And yes I know I realized this late...
Comment 8•4 months ago
|
||
(In reply to Petr Sumbera from comment #7)
Yes well, this has been here for a while. Are you sure Utility process is working correctly? Unfortunately, given the status of Solaris, I cannot debug that.
What is Utility process? And how can I verify it's working correctly? And yes I know I realized this late...
I dont get it, have you not hit the problem on release since last year ?
Utility is a new set of processes, one of them holding audio decoding.
Comment 9•4 months ago
|
||
Check about:processes
to verify, but I am wondering if all we need is not just enabling in https://searchfox.org/mozilla-central/rev/b220e40ff2ee3d10ce68e07d8a8a577d5558e2a2/modules/libpref/init/StaticPrefList.yaml#10462-10479 ?
Assignee | ||
Comment 10•4 months ago
|
||
(In reply to :gerard-majax from comment #8)
(In reply to Petr Sumbera from comment #7)
Yes well, this has been here for a while. Are you sure Utility process is working correctly? Unfortunately, given the status of Solaris, I cannot debug that.
What is Utility process? And how can I verify it's working correctly? And yes I know I realized this late...
I dont get it, have you not hit the problem on release since last year ?
We do use ESR versions only. So I haven't noticed it. I do build nightly builds but with very limited testing...
Comment 11•4 months ago
|
||
This sounds very similar to bug 1886654: the lack of correlation between what the prefs say and what the code expects.
Comment 12•4 months ago
|
||
(In reply to Petr Sumbera from comment #10)
(In reply to :gerard-majax from comment #8)
(In reply to Petr Sumbera from comment #7)
Yes well, this has been here for a while. Are you sure Utility process is working correctly? Unfortunately, given the status of Solaris, I cannot debug that.
What is Utility process? And how can I verify it's working correctly? And yes I know I realized this late...
I dont get it, have you not hit the problem on release since last year ?
We do use ESR versions only. So I haven't noticed it. I do build nightly builds but with very limited testing...
Ok I was assuming you tested / used more the nightlies. I guess just switch the pref in about:config ? And at build time in the yaml file, once you have checked, we can land a patch. It worked without much complains on OpenBSD as well as FreeBSD (checked myself there) so hopefully Solaris should be easy as well
Assignee | ||
Comment 13•4 months ago
|
||
Unfortunately enabling media.utility-process.enabled
(which was indeed false
) didn't help. Tested on first bad commit with about:config
change and with 128.0 release and modification to modules/libpref/init/StaticPrefList.yam
.
Comment 14•4 months ago
|
||
(In reply to Petr Sumbera from comment #13)
Unfortunately enabling
media.utility-process.enabled
(which was indeedfalse
) didn't help. Tested on first bad commit withabout:config
change and with 128.0 release and modification tomodules/libpref/init/StaticPrefList.yam
.
You need to verify if utility process is working. Try MOZ_LOG=utilityproc:5
to maybe start collecting data? Can you verify by just playing a simple audio file? Can you make sure you run that on a debug build ?
Assignee | ||
Comment 15•4 months ago
|
||
(In reply to Petr Sumbera from comment #13)
Unfortunately enabling
media.utility-process.enabled
(which was indeedfalse
) didn't help. Tested on first bad commit withabout:config
change and with 128.0 release and modification tomodules/libpref/init/StaticPrefList.yam
.
Sorry. about:config
change on 128 worked...
Assignee | ||
Comment 16•4 months ago
|
||
Sorry.
about:config
change on 128 worked...
I wonder why following didn't worked:
--- firefox-128.0/modules/libpref/init/StaticPrefList.yaml
+++ firefox-128.0/modules/libpref/init/StaticPrefList.yam
@@ -10124,6 +10124,8 @@
value: true
#elif defined(XP_OPENBSD)
value: true
+#elif defined(XP_SOLARIS)
+ value: true
#else
value: false
#endif
Maybe XP_SOLARIS need to be defined for yaml
somewhere...
Comment 17•4 months ago
|
||
(In reply to Petr Sumbera from comment #16)
Sorry.
about:config
change on 128 worked...I wonder why following didn't worked:
--- firefox-128.0/modules/libpref/init/StaticPrefList.yaml +++ firefox-128.0/modules/libpref/init/StaticPrefList.yam @@ -10124,6 +10124,8 @@ value: true #elif defined(XP_OPENBSD) value: true +#elif defined(XP_SOLARIS) + value: true #else value: false #endif
Maybe XP_SOLARIS need to be defined for
yaml
somewhere...
is it working elsewhere? At least it's a relief if it works and we just need to fix the define ...
Comment 18•4 months ago
|
||
it's not the C++ preprocessor so maybe you have to hack it there: https://searchfox.org/mozilla-central/rev/b220e40ff2ee3d10ce68e07d8a8a577d5558e2a2/modules/libpref/init/StaticPrefList.yaml#123
Comment 19•4 months ago
|
||
Assignee | ||
Comment 20•4 months ago
|
||
Sorry again. I was enabling media.rdd-process.enabled
instead. So I expect XP_SOLARIS
is working. I'm will check it...
Assignee | ||
Comment 21•4 months ago
|
||
Ok, actually both media.rdd-process.enabled
and media.utility-process.enabled
need to be set to true so that I can play videos.
Therefore I have set also all media.rdd-*
as BSDs do.
Can you please integrate it? Ideally also into 128 branch.
Thank you both!
Comment 22•4 months ago
|
||
Can you submit it via Phab? I can approve and ask for uplift
Updated•4 months ago
|
Comment 23•4 months ago
|
||
Comment 24•4 months ago
|
||
Comment on attachment 9414053 [details]
Bug 1908317 - Add XP_SOLARIS to media-related prefs r?padenot!
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Solaris maintainer mostly targets ESR
- User impact if declined: No media playback working on Solaris
- Fix Landed on Version: 130
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only flips prefs on Solaris, tested by Solaris maintainer
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 25•4 months ago
|
||
Assignee | ||
Comment 26•4 months ago
|
||
Thank you very much for fixing this. I just wonder whether setting media.audioFocus.management
for Solaris is intentional?
Comment 27•4 months ago
|
||
(In reply to Petr Sumbera from comment #26)
Thank you very much for fixing this. I just wonder whether setting
media.audioFocus.management
for Solaris is intentional?
I took your patch as-is, I made no change at all
Comment 28•4 months ago
|
||
bugherder |
Comment 29•4 months ago
|
||
Set release status flags based on info from the regressing bug 1835804
Updated•4 months ago
|
Comment 30•4 months ago
|
||
(In reply to :gerard-majax from comment #27)
(In reply to Petr Sumbera from comment #26)
Thank you very much for fixing this. I just wonder whether setting
media.audioFocus.management
for Solaris is intentional?I took your patch as-is, I made no change at all
That shouldn't be enabled on Solaris. That is only enabled by default on Android.
Updated•4 months ago
|
Comment 31•4 months ago
|
||
Backed out as requested by developer
Updated•4 months ago
|
Comment 32•4 months ago
|
||
Comment 33•4 months ago
|
||
Comment 34•4 months ago
|
||
The backout was merged to central and then merged back to autoland. As a result of this, there's a chance this has to be relanded on autoland in order for it to get fixed. Here is the central revision for the backout: https://hg.mozilla.org/mozilla-central/rev/17630c12ac58
Updated•4 months ago
|
Comment 36•4 months ago
|
||
Comment 37•4 months ago
|
||
Yes, that is fine
Updated•4 months ago
|
Comment 38•4 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7d083d75388a
https://hg.mozilla.org/mozilla-central/rev/9aa5f8358ff3
Comment 39•4 months ago
|
||
Comment on attachment 9414053 [details]
Bug 1908317 - Add XP_SOLARIS to media-related prefs r?padenot!
Approved for 128.1esr.
Comment 40•4 months ago
|
||
uplift |
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Description
•