From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FEDq2-0004ZF-BJ for garchives@archives.gentoo.org; Tue, 28 Feb 2006 23:01:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1SMvD6S015228; Tue, 28 Feb 2006 22:57:13 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1SMq3J2008880 for ; Tue, 28 Feb 2006 22:52:04 GMT Received: by xproxy.gmail.com with SMTP id i28so812091wxd for ; Tue, 28 Feb 2006 14:52:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=PaDLzihe4qfITtOOVXYnSZWBLpWvhIQHpik6jwKKK3Z4ZxHaRqo7NZ2uV8q+5rn5wTHw14BkGShVwdHgr23vDyhO2yOLLEjPho8Z6PRgab7U6m//7sT1jdk0Jo41Xng7tNSeedPJcuCvzSsyQR7SGdHNpmZo4DOBXEd6VACvOqE= Received: by 10.70.21.1 with SMTP id 1mr1101058wxu; Tue, 28 Feb 2006 14:52:40 -0800 (PST) Received: from ?192.168.0.14? ( [65.64.221.204]) by mx.gmail.com with ESMTP id h7sm5856292wxd.2006.02.28.14.52.39; Tue, 28 Feb 2006 14:52:40 -0800 (PST) Message-ID: <4404D386.6010608@gmail.com> Date: Tue, 28 Feb 2006 16:49:42 -0600 From: Mike Myers User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mplayer sound issues References: <4404C0B7.60701@yaay.us> <7573e9640602281411i3517986er6a8dca87eacfe684@mail.gmail.com> In-Reply-To: <7573e9640602281411i3517986er6a8dca87eacfe684@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: b0ce9ec3-97cb-4149-8b4f-ef1008c45840 X-Archives-Hash: 7975b3024efb608aac8e022d847e02cd Richard Fish wrote: >On 2/28/06, Mike Myers wrote: > > >>Opening audio decoder: [pcm] Uncompressed PCM audio decoder >>AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000->16000) >>Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) >>========================================================================== >>[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or >>resource busy >>alsa-init: 1 soundcard found, using: default >>alsa: 8000 Hz/1 channels/2 bpf/5460 bytes buffer/Signed 16 bit Little Endian >>AO: [alsa] 8000Hz 1ch s16le (2 bytes per sample) >> >> > >What version of alsa-lib do you have, and do you use the in-kernel >alsa drivers or the alsa-driver package? Which version? > > I'm using the kernel alsa drivers with the 2.6.15-suspend2-r6 kernel with alsa-lib 1.0.11_rc3 and alsa-headers 1.0.11_rc3. >Does anything change if you do "mplayer -ao alsa file.wav"? > > This is where it's kinda weird. If I use vo=alsa then the .wav files won't play at all. If I use ao=arts, then they work, but skipping around, like fast forwarding or rewinding lags. Like, I'll press the left or right button and then about a second later it will actually rewind or forward. Before I migrated to the modular xorg, when I used the alsa driver it worked fine and it responded immediately when I skipped around. >The above "resource busy" error indicates that something is using the >legacy OSS interface. IIRC, older versions of alsa could not share >this interface, and in fact would prevent other applications from >using the sound card at all if something was using this interface. > >Maybe try an "lsof /dev/dsp" to see what is using the old OSS interface... > >-Richard > > > I seem to get that error regardless of what I'm playing. I can play some files, like mp3s with the ao=alsa and that message will still appear, but it plays anyway. Also, if I do the 'lsof /dev/dsp' command as you suggested, it only goes to a newline and then just sits there. It seems to do that for any file i use it on. The man page for that program is like a mile long and I don't have time to read through it right now. I'll read it later though. Also, I don't know if it's worth mentioning or not, but the whole reason I upgraded to the modular xorg is because it was the only way I could get my mobile intel video card to work with the i810 driver and dri rendering. -- gentoo-user@gentoo.org mailing list