You are not logged in.
According to gstreamer's site, the 0.10 plugins are end of life so I was wondering if there was a way to make firefox use the new ones? Simply uninstalling the 0.10 plugins and using the gst-* plugins doesn't work.
Q:
So which GStreamer version should I get?
A:
You should download GStreamer-1.0. GStreamer-0.10 is end-
of-life.
Offline
You'll have to rebuild firefox with "--enable-gstreamer=1.0", but it will only work with version 30 onwards.
Edit: FF30 is still a nightly, beta is currently 28, aurora 29.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I've read you need 6 gigs of ram to compile firefox, is that true? I only have 4.
Offline
I think you may need 16 GB.
Offline
6 gigs of ram to compile firefox
I compiled firefox 28.0b9 yesterday, in 32-bit userland, with 4GB RAM + 1GB swapfile
I did *not* have to use: LDFLAGS+=' -Wl,--no-keep-memory'
I have both gstreamer 0.10 and 1.0 installed. Firefox only looks for the old gstreamer:
checking for gstreamer-0.10 >= 0.10.25
gstreamer-app-0.10
gstreamer-plugins-base-0.10... yes
checking GSTREAMER_CFLAGS... -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
checking GSTREAMER_LIBS... -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2
Offline
https://bugs.archlinux.org/task/37576#comment115938
Has anyone tried rebuilding extra/firefox through abs to see if the bug is still present?
Yup, but he (WorMzy) didn't go far because he only had 16 GB RAM.
I killed off everything non-essential and reran the build overnight
I gather 16 GB is enough, but maybe you can get away with a bit less than 16 GB.
I guess WorMzy was compiling the 64-bit version.
Offline
I compiled firefox 28.0b9 yesterday, in 32-bit userland, with 4GB RAM + 1GB swapfile
![]()
...
I have both gstreamer 0.10 and 1.0 installed. Firefox only looks for the old gstreamer:
As I said, gstreamer 1.0 is currently only available in the nightlies and probably will be in FF30.
https://bugzil.la/806917#c123
Clarification: The prebuilt binary nightlies and alphas do not include gstreamer 1.0. It only works if you compile from source and enable it manually.
Last edited by progandy (2014-03-18 21:13:58)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Hm but I am using a nightly build from the AUR and it didn't detect 1.0.
Offline
Hm but I am using a nightly build from the AUR and it didn't detect 1.0.
Which one exactly?
https://aur.archlinux.org/packages/firefox-nightly/ uses a prebuilt binary.
Offline
ya that one.
Offline
Offline
So would this command work or should I add something to .mozconfig?
python2 mach build --enable-gstreamer=1.0
My .mozconfig:
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
ac_add_options --enable-application=browser
ac_add_options --enable-optimize=-O2
ac_add_options --disable-tests
ac_add_options --disable-debug-symbols
mk_add_options PYTHON=/usr/bin/python2
mk_add_options AUTOCONF=autoconf-2.13
Offline
Probably you'll have to add it to .mozconfig:
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
ac_add_options --enable-application=browser
ac_add_options --enable-optimize=-O2
ac_add_options --enable-gstreamer=1.0
ac_add_options --disable-tests
ac_add_options --disable-debug-symbols
mk_add_options PYTHON=/usr/bin/python2
mk_add_options AUTOCONF=autoconf-2.13
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Ya that .mozconfig worked, at least in youtube.com/html5 it shows h264 support.
But now I get 100% cpu usage playing a video in youtube with gstreamer enabled and around 10% with it off.
I think I may just go back to regular with .10 plugins until it gets officially supported.
Last edited by Xenphor (2014-03-18 22:44:02)
Offline
https://bugs.archlinux.org/task/37576#comment115938
HalosGhost wrote:Has anyone tried rebuilding extra/firefox through abs to see if the bug is still present?
karol wrote:Yup, but he (WorMzy) didn't go far because he only had 16 GB RAM.
WorMzy wrote:I killed off everything non-essential and reran the build overnight
I gather 16 GB is enough, but maybe you can get away with a bit less than 16 GB.
I guess WorMzy was compiling the 64-bit version.
I was, I was also compiling in a tmpfs, which I realised later probably wasn't helping matters. When I compile Fx now, I unmount my tmpfs and compile it on disk instead.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I've read you need 6 gigs of ram to compile firefox, is that true? I only have 4.
I have been compiling my own firefox for ages now on a 4GB ram 64bit machine.
You might run out of memory linking libxul.so so I recommend 4GB of swap.
You might also want to try using ld.gold instead since it uses less memory. I "think" export LD=ld.gold will do it.
clang uses ld.gold by default.
Last edited by hussam (2014-03-19 00:16:37)
Offline