Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2016 22:48:44 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409976 - in head: . audio/alsa-plugins
Message-ID:  <201603022248.u22Mmiee083331@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Mar  2 22:48:44 2016
New Revision: 409976
URL: https://svnweb.freebsd.org/changeset/ports/409976

Log:
  audio/alsa-plugins: partially revert r380063
  
  Restore BUFSZ_P2=on by default as a temporarily fix for excessive CPU usage
  in Firefox. r378529 wasn't enough to make BUFSZ_P2=off transition smooth.
  
  PR:		203732
  Reported by:	Henry Hu, Arto Pekkanen, many more indirectly
  MFH:		2015Q1

Modified:
  head/UPDATING   (contents, props changed)
  head/audio/alsa-plugins/Makefile   (contents, props changed)

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Mar  2 22:48:25 2016	(r409975)
+++ head/UPDATING	Wed Mar  2 22:48:44 2016	(r409976)
@@ -5,6 +5,22 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20160302:
+  AFFECTS: audio/alsa-utils, www/firefox, www/firefox-esr, www/seamonkey
+  AUTHOR: jbeich@FreeBSD.org
+
+  ALSA backend in libcubeb as used by Firefox has an unresolved issue
+  with the OSS patch in audio/alsa-plugins. To avoid excessive CPU
+  usage when playing HTML5 videos rebuild the port with BUFSZ_P2
+  option enabled or reset options to default.
+
+  However, with BUFSZ_P2 enabled alsa-utils may crash:
+
+    $ aplay test.wav
+    Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
+    Assertion failed: (err >= 0), function set_params, file aplay.c, line 1289.
+    Aborted by signal Abort trap...
+
 20160229:
   AFFECTS: users of security/openssh-portable-devel
   AUTHOR: bdrewery@FreeBSD.org

Modified: head/audio/alsa-plugins/Makefile
==============================================================================
--- head/audio/alsa-plugins/Makefile	Wed Mar  2 22:48:25 2016	(r409975)
+++ head/audio/alsa-plugins/Makefile	Wed Mar  2 22:48:44 2016	(r409976)
@@ -3,6 +3,7 @@
 
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	ALSA/plugins \
 		GENTOO
@@ -20,7 +21,7 @@ EXTRA_PATCHES+=	${FILESDIR}/alsa-plugins
 INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${.CURDIR}/../alsa-lib/files
 
-OPTIONS_DEFAULT=IO_PTR
+OPTIONS_DEFAULT=BUFSZ_P2 IO_PTR
 OPTIONS_DEFINE=	JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX
 OPTIONS_SUB=	yes
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603022248.u22Mmiee083331>