Date: Sat, 02 Jun 2012 14:53:22 +0500 From: Jan Beich <jbeich@tormail.org> To: AN <andy@neu.net> Cc: freebsd-gecko@FreeBSD.org Subject: Re: issue with VP8 and Ogg video Message-ID: <1Sal3r-000FjK-OV@internal.tormail.org> References: <alpine.BSF.2.00.1204181706060.34141@mail.neu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain Content-Disposition: inline AN <andy@neu.net> writes: > Hi: > > I want to report an issue I have playing HTML5 video in Firefox. > > - if you pause or stop a video it takes time (10-30 secs) before the sound > stops playing > > - after viewing a video Firefox cpu utilization pegs at 100% and stays > there until you exit firefox and restart it. > > I have seen this problem before with Adobe Flash, it seems that it has > been fixed with Flash. Now it happens with VP8, and Ogg. I would > like to help to troubleshoot this if I can. I am not a developer, > just a lowly user. [...] Try to test[1] on www/linux-firefox to verify if this a platform specific bug. In my case on Nightly after pause takes effect (a few *seconds* after hitting it) firefox cpu usage ramps up to 100% in audio_callback around pthread_mutex_unlock, i.e. sydney_audio_oss.c:459. And if I close the tab while sound still plays (whether or not I hit pause) the bug would not appear. [1] if you manage to make sound work (I haven't) despite linux aplay(1) working fine; a few related diffs attached, may or may not make a difference --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=alsa-oss.diff Content-Description: use oss in alsa by default Index: audio/linux-f10-alsa-lib/Makefile =================================================================== RCS file: /a/.csup/ports/audio/linux-f10-alsa-lib/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- audio/linux-f10-alsa-lib/Makefile 3 Mar 2011 09:26:34 -0000 1.16 +++ audio/linux-f10-alsa-lib/Makefile 1 Jun 2012 17:14:47 -0000 @@ -25,4 +25,8 @@ RPMVERSION= 2.fc10 BRANDELF_FILES= usr/bin/aserver USE_LDCONFIG= yes +post-install: + ${INSTALL_DATA} ${PORTSDIR}/audio/alsa-lib/files/asound.conf.sample \ + ${LINUXBASE}/etc/asound.conf + .include <bsd.port.mk> --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=linux-nightly.diff Content-Description: update linux-firefox to Nightly Index: www/linux-firefox/Makefile =================================================================== RCS file: /a/.csup/ports/www/linux-firefox/Makefile,v retrieving revision 1.93 diff -u -p -r1.93 Makefile --- www/linux-firefox/Makefile 24 Apr 2012 20:53:35 -0000 1.93 +++ www/linux-firefox/Makefile 1 Jun 2012 03:22:11 -0000 @@ -6,19 +6,22 @@ # PORTNAME= firefox -PORTVERSION= 10.0.4 +DISTVERSION= 15.0a1 PORTEPOCH= 1 CATEGORIES= www -MASTER_SITE_SUBDIR?= firefox/releases/${PORTVERSION}esr/linux-i686/en-US -DISTNAME= ${PORTNAME}-${DISTVERSION}esr +MASTER_SITE_SUBDIR?= firefox/nightly/latest-mozilla-central +DISTNAME= ${PORTNAME}-${DISTVERSION}.en-US.linux-i686 MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla +NO_CHECKSUM= # different each day USE_LDCONFIG= yes USE_BZIP2= yes USE_LINUX_APPS= dbusglib dbuslibs alsalib +PREFS_FILE= ${WRKSRC}/defaults/preferences/channel-prefs.js + .include "${.CURDIR}/../linux-seamonkey/Makefile.common" .include <bsd.port.mk> Index: www/linux-firefox/pkg-plist =================================================================== RCS file: /a/.csup/ports/www/linux-firefox/pkg-plist,v retrieving revision 1.15 diff -u -p -r1.15 pkg-plist --- www/linux-firefox/pkg-plist 31 Jan 2012 21:34:12 -0000 1.15 +++ www/linux-firefox/pkg-plist 1 Jun 2012 03:19:15 -0000 @@ -15,14 +15,12 @@ lib/%%APP_NAME%%/components/libnkgnomevf lib/%%APP_NAME%%/crashreporter lib/%%APP_NAME%%/crashreporter-override.ini lib/%%APP_NAME%%/crashreporter.ini -lib/%%APP_NAME%%/defaults/pref/browser-prefs.js -lib/%%APP_NAME%%/defaults/pref/channel-prefs.js +lib/%%APP_NAME%%/defaults/preferences/channel-prefs.js lib/%%APP_NAME%%/dependentlibs.list lib/%%APP_NAME%%/dictionaries/en-US.aff lib/%%APP_NAME%%/dictionaries/en-US.dic lib/%%APP_NAME%%/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png lib/%%APP_NAME%%/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf -lib/%%APP_NAME%%/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/preview.png lib/%%APP_NAME%%/firefox lib/%%APP_NAME%%/firefox-bin lib/%%APP_NAME%%/icons/mozicon128.png @@ -59,7 +57,7 @@ lib/%%APP_NAME%%/searchplugins/google.xm lib/%%APP_NAME%%/searchplugins/twitter.xml lib/%%APP_NAME%%/searchplugins/wikipedia.xml lib/%%APP_NAME%%/searchplugins/yahoo.xml -lib/%%APP_NAME%%/update.locale +lib/%%APP_NAME%%/update-settings.ini lib/%%APP_NAME%%/updater lib/%%APP_NAME%%/updater.ini @exec /bin/cp -R %%LOCALBASE%%/lib/npapi/symlinks/%%APP_NAME%%/ %D/lib/%%APP_NAME%%/plugins/ 2>/dev/null || true @@ -74,7 +72,7 @@ lib/%%APP_NAME%%/updater.ini @dirrm lib/%%APP_NAME%%/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} @dirrm lib/%%APP_NAME%%/extensions @dirrm lib/%%APP_NAME%%/dictionaries -@dirrm lib/%%APP_NAME%%/defaults/pref +@dirrm lib/%%APP_NAME%%/defaults/preferences @dirrm lib/%%APP_NAME%%/defaults @dirrm lib/%%APP_NAME%%/components @dirrm lib/%%APP_NAME%%/chrome/icons/default Index: www/linux-seamonkey/Makefile.common =================================================================== RCS file: /a/.csup/ports/www/linux-seamonkey/Makefile.common,v retrieving revision 1.15 diff -u -p -r1.15 Makefile.common --- www/linux-seamonkey/Makefile.common 12 Dec 2009 14:00:35 -0000 1.15 +++ www/linux-seamonkey/Makefile.common 1 Jun 2012 03:20:01 -0000 @@ -25,7 +25,7 @@ COMMON_DIR= ${.CURDIR}/../../www/linux-s PLIST_SUB+= APP_NAME=${APP_NAME} SUB_LIST+= APP_NAME=${APP_NAME} SUB_FILES= ${APP_NAME}.desktop -PREFS_FILE= ${WRKSRC}/defaults/pref/browser-prefs.js +PREFS_FILE?= ${WRKSRC}/defaults/pref/browser-prefs.js .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX:M*devel*} DESKTOP_SUFFIX?= (Linux, devel) .endif --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Sal3r-000FjK-OV>