firefox-fourier: vendor-prefs install path correction (browser/defaults -> defaults) #13
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/firefox-fourier-vendor-prefs-correct-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Empirical follow-up to #9 — caught while installing & testing 150.0.1-4 on fresnel.
The symptom
MOZ_LOG of a fresh-profile H.264 playback on fresnel after
pacman -S firefox-fourier:Exactly the issue #8 failure pattern. PDM init order in the RDD child showed
FFmpeg(FFVPX) > FFmpeg(OS) > Agnostic— no VAAPI PDM at all. The patched code path never reached.The cause
The vendor-prefs file landed at
/usr/lib/firefox-fourier/browser/defaults/preferences/rockchip-fourier-defaults.jsper #9. That path is not a vendor-prefs scan location in Firefox 150 — I had guessed wrong. Mozilla's canonical scan dir is/usr/lib/<app>/defaults/preferences/(nobrowser/prefix).The verification
Copied the same file to
/usr/lib/firefox-fourier/defaults/preferences/and re-ran the test. MOZ_LOG immediately showed engagement:15+ DMABUF surface locks across two MediaPDecoder threads. End-to-end zero-copy via libva-v4l2-request-fourier iter38b → hantro/rkvdec H.264 decode.
What this PR does
Single-line install-path correction:
${pkgdir}/usr/lib/firefox-fourier/browser/defaults/preferences/rockchip-fourier-defaults.js${pkgdir}/usr/lib/firefox-fourier/defaults/preferences/rockchip-fourier-defaults.jsPlus an inline comment documenting the empirical finding so a future me/you doesn't fall for the same path again.
pkgrel 4 → 5. Vendor-prefs file content unchanged.
Postmortem note
The issue body's "Alternative" mentioned
/usr/lib/firefox-fourier/defaults/pref/(singularpref). I instinctively reached forbrowser/defaults/preferences/because it looked more "modern-Firefox". Should have stuck closer to what the issue actually suggested. Adding to the "verify, don't infer" memory pile.Bot: claude-noether