From owner-freebsd-questions@freebsd.org Thu Jun 23 15:38:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48DB8B72D64 for ; Thu, 23 Jun 2016 15:38:00 +0000 (UTC) (envelope-from Ephaeton@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A7AA31B6F for ; Thu, 23 Jun 2016 15:37:58 +0000 (UTC) (envelope-from Ephaeton@gmx.net) Received: from hephaistos.local ([93.134.60.227]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Li1hG-1bldu244Ru-00n7qT for ; Thu, 23 Jun 2016 17:37:57 +0200 Received: by hephaistos.local (Postfix, from userid 1000) id 343CB297CDF6; Thu, 23 Jun 2016 17:37:56 +0200 (CEST) Date: Thu, 23 Jun 2016 17:37:56 +0200 From: "Martin S. Weber" To: freebsd-questions@freebsd.org Subject: Audio volume suddenly very low Message-ID: <20160623153756.GA1296@hephaistos.local> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.6.1 (2016-04-27) X-Provags-ID: V03:K0:DuPGBdN4cAXmGMPE5CZXj5xwl8YsMOhf1ckYJmRM/T9IC0SRH4Z WZDqAjyP1mZhXDvdgcnTWTjVLPXEKibBcfXh5IvWG6/JoUtRzJZei2LAdv+3IT01m9V69f3 W4wQT3wEvthD6yOkeAIXub22pYEsCBPofbM3zoUM+U31wR8yC/vB1417nGzVw3rXhDufJsZ gsstuf7IlLKvJoB8vnqSA== X-UI-Out-Filterresults: notjunk:1;V01:K0:+xI7lSNUdwQ=:6UV0cTIAC7C77jm3lLPCNF 1BOquJ3cmQp47r1QTl3MCtnBkz9NCzMOR+IATB0bbk6gY/Xo32TbmjWm0inqHlCXjZWnHF4+T ej9rCp0fHQogyv0HGtyGA/9dYSf9WEASN8iJyqS/kpuBHI7fa4OeFVz9yo2kXP5mBFRTQcdcx +BACpmpXLLmm+z2jIeCiwhfECBfKRPksjk78dRVDY+XRAkQMRnUezDjE5IxkoEMtdz7U18VK+ /eyoYmnCiBR/brrcHOxRInL2kQkL25s6hkFTJ5EwkiH1Ak1zKp2qOAFRP4uWpo8TCS1QRhhzj aQOUIU8+griMt8kBUkGWn5fyhj3Mewia9ztx1O3+N29R5Gf+g9hIC9qwBsKUDXF583yxLYbzS 4GezHSEpbspevEsTjDq9mDijRSB6UWZy+iBn08KTt57DkeaxhBSXqB754Xrx5LBlFRUfbkrkk tUtyRKrvtxxjZpxm1pZLiy6mT4iskwk0p5NZcqNnA3P+amEgK323VxtIUyPWcvrhsnlTTV+F+ v59n6bsWRzn5w3+H6yFDf03ZFMM+9yMghs/YAlHIz4iveRgjk/XrFjnXoFJUerybZlc7BT1q9 kwlC8n3fTNaB4MlgFLzjI8bU1WcboNx44rWLjz8Y5ZhAmQWGXLxE2xIXly3OCvBcA0vN0NzqD HSzDmWQseJCT6qbnUE0KLVSwaWEMUZ0Ok2olWb4l9eKubn/jQWkAZ4iStPsdvCFe/JXSTvBwR FKLMnjXByGbpt34J+QpXr/RZTaDiAT782Juys3UCml3ilueHvkWI45Tcj0o= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 15:38:00 -0000 Hiho, I'm looking for pointers of things to try out. I have essentially done nothing to the audio, I was experimenting with uhidd as I got a new keyboard (I was using uhidd with the previous keyboard also) and faced some problems with some key combos not sending keycodes. Suspecting a problem with uhidd, I stopped uhidd from starting, removed its devd.conf, set it to NO in rc.conf, and removed the cuse4bsd and vkbd modules from loader.conf. Rebooted, and now my audio is extremely low. So low that even setting hw.snd.vpc_0db to 1 (argh!) still requires my external amp to go to +20 dB and it's still quiet. Before I was listening comfortably at some -50 dB. That's _seven orders of magnitude_ fewer oomph. Here's my audio hardware: dmesg | grep pcm pcm0: at nid 4 on hdaa0 pcm1: at nid 5 on hdaa0 pcm2: at nid 6 on hdaa0 pcm3: at nid 7 on hdaa0 pcm4: at nid 20,22,21 and 24,26 on hdaa1 pcm5: at nid 27 and 25 on hdaa1 pcm6: at nid 17 on hdaa1 pcm7: at nid 30 on hdaa1 pcm8: on uaudio0 I'm usually using pcm4 (default unit =4, see below). I use musicpd (ugh, only for cantata) to play music. Its configuration essentially boils down to "audio_output { type "oss" } ". I haven't touched my mpd.conf between those boots though. My sysctl settings for hw.snd (the ones I explicitly put in /etc/sysctl.conf) are hw.snd.vpc_autoreset=0 hw.snd.vpc_0db=70 The settings for hw.snd in general are: $ sysctl hw.snd hw.snd.maxautovchans: 16 hw.snd.default_unit: 4 hw.snd.version: 2009061500/amd64 hw.snd.default_auto: 1 hw.snd.verbose: 0 hw.snd.vpc_mixer_bypass: 1 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 hw.snd.basename_clone: 1 hw.snd.compat_linux_mmap: 0 hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 70 hw.snd.vpc_autoreset: 0 hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 Again, those 0db = 70 used to be enough to drive the card (even though with considerably more noise and considerably less output than under win or lin), but now it's ultra-quiet. I haven't updated my system between boots, it's still a 10.3-RELEASE-p5. I haven't changed hardware either. I have experienced problems with booting FreeBSD "warmly" wrt sound (i.e., boot e.g. win and then restart the box for a warm reboot, sound output would be "garbled" with many artifacts and playback errors), so I'm cold-booting the box, but nothing has changed in this procedure either. This used to work. So.. any ideas how I get my sound back? TIA, -Martin