Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0000198]: only one pcm active on alsa>=1.0.3
@ 2004-06-18 20:42 noreply
  0 siblings, 0 replies; 3+ messages in thread
From: noreply @ 2004-06-18 20:42 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000198
======================================================================
Reported By:                prymitive
Assigned To:                
======================================================================
Project:                    ALSA - driver
Bug ID:                     198
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               PLD 2.0
Kernel Version:             
======================================================================
Date Submitted:             04-09-2004 15:55 CEST
Last Modified:              06-18-2004 22:42 CEST
======================================================================
Summary:                    only one pcm active on alsa>=1.0.3
Description: 
bug(?) in ALSA 1.0.3 and higher and via82xx driver. there should be (by
default, when using DXS channels) 4 subdevices active on first pcm and one
on second, and it works great on alsa up to 1.0.2c, but on higher versions
there is only one subdevice active on first pcm, the second isn't active.
/proc/asound shows that all pcm's and theire subdevices are active but
when I try to play some mp3's with xmms and artsd is blocking one device,
it returns an error opening device, when artsd goes idle and free that
device xmms starts playing but when some apps tries to use artsd it
crashes. I've tried kernels: 2.6.5-rc2 (with and without -mm pathces),
plain 2.6.5 and 2.6.5-mm1. I've tried also alsa-lib: 1.0.1, 1.0.3 and
1.0.4. It does not change anything. My mobo is K7VT4-4X (via kt333cf and
via 8235). With 2.6.4 kernel erverything is ok. I've tried all dxs_support
options, alsa compiled in and as modules.
======================================================================

----------------------------------------------------------------------
 tiwai - 04-16-2004 12:06 CEST 
----------------------------------------------------------------------
does it happen if you run 2 aplay simultaneously?

----------------------------------------------------------------------
 prymitive - 04-16-2004 14:24 CEST 
----------------------------------------------------------------------
With aplay I can use all 4 subdevices on vanilla 2.6.5 and alsa-lib-1.0.1,
I've downgraded alsa-lib becouse 1.0.4 and kernel 2.6.4 skips few seconds
of playback when switching from X11 to console with ctr+fxx and sometimes
when mini/maximizing windows or fast scrolling in mozilla. In xmms(1.2.10)
when I use alsa output I've got error:

>ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Z³y argument
>
>** WARNING **: alsa_setup(): Unable to install hw params

but when I use oss output I've got 100% cpu usage and no sound or errors
on console, same thing with mplayer -ao oss, audio device is open
(/proc/asound confirms that) and that cpu usage goes ~33% to mplayer and
~66% to kdeinit (?). When I terminate artsd mplayer and xmms plays withs
alsa without problems. And mplayer -ao alsa9 gives me this:

>Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411,2
kbit)
>Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
>==========================================================================
>Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
>AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
>AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
>alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Little-Endian)
>alsa-init: 1 soundcard found, using: hw:0,0
>ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Z³y argument
>alsa-init: unable to set hw-parameters: Bad argument
>Could not open/initialize audio device -> no sound.

----------------------------------------------------------------------
 prymitive - 06-18-2004 22:42 CEST 
----------------------------------------------------------------------
It seems to be gone in current (2.6.7-rc3-mm1) kernel.

Thanks for Your work
prymitive

Bug History
Date Modified  Username       Field                    Change              
======================================================================
04-09-04 15:55 prymitive      New Bug                                      
04-09-04 15:55 prymitive      Distribution              => PLD 2.0         
04-16-04 12:06 tiwai          Bugnote Added: 0000836                       
04-16-04 14:24 prymitive      Bugnote Added: 0000837                       
06-18-04 22:42 prymitive      Bugnote Added: 0001321                       
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ALSA - driver 0000198]: only one pcm active on alsa>=1.0.3
@ 2004-06-22 16:43 noreply
  0 siblings, 0 replies; 3+ messages in thread
From: noreply @ 2004-06-22 16:43 UTC (permalink / raw)
  To: alsa-devel


The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000198
======================================================================
Reported By:                prymitive
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Bug ID:                     198
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Distribution:               PLD 2.0
Kernel Version:             
Resolution:                 fixed
======================================================================
Date Submitted:             04-09-2004 15:55 CEST
Last Modified:              06-22-2004 18:43 CEST
======================================================================
Summary:                    only one pcm active on alsa>=1.0.3
Description: 
bug(?) in ALSA 1.0.3 and higher and via82xx driver. there should be (by
default, when using DXS channels) 4 subdevices active on first pcm and one
on second, and it works great on alsa up to 1.0.2c, but on higher versions
there is only one subdevice active on first pcm, the second isn't active.
/proc/asound shows that all pcm's and theire subdevices are active but
when I try to play some mp3's with xmms and artsd is blocking one device,
it returns an error opening device, when artsd goes idle and free that
device xmms starts playing but when some apps tries to use artsd it
crashes. I've tried kernels: 2.6.5-rc2 (with and without -mm pathces),
plain 2.6.5 and 2.6.5-mm1. I've tried also alsa-lib: 1.0.1, 1.0.3 and
1.0.4. It does not change anything. My mobo is K7VT4-4X (via kt333cf and
via 8235). With 2.6.4 kernel erverything is ok. I've tried all dxs_support
options, alsa compiled in and as modules.
======================================================================

----------------------------------------------------------------------
 tiwai - 04-16-2004 12:06 CEST 
----------------------------------------------------------------------
does it happen if you run 2 aplay simultaneously?

----------------------------------------------------------------------
 prymitive - 04-16-2004 14:24 CEST 
----------------------------------------------------------------------
With aplay I can use all 4 subdevices on vanilla 2.6.5 and alsa-lib-1.0.1,
I've downgraded alsa-lib becouse 1.0.4 and kernel 2.6.4 skips few seconds
of playback when switching from X11 to console with ctr+fxx and sometimes
when mini/maximizing windows or fast scrolling in mozilla. In xmms(1.2.10)
when I use alsa output I've got error:

>ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Z³y argument
>
>** WARNING **: alsa_setup(): Unable to install hw params

but when I use oss output I've got 100% cpu usage and no sound or errors
on console, same thing with mplayer -ao oss, audio device is open
(/proc/asound confirms that) and that cpu usage goes ~33% to mplayer and
~66% to kdeinit (?). When I terminate artsd mplayer and xmms plays withs
alsa without problems. And mplayer -ao alsa9 gives me this:

>Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411,2
kbit)
>Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
>==========================================================================
>Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
>AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
>AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
>alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Little-Endian)
>alsa-init: 1 soundcard found, using: hw:0,0
>ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Z³y argument
>alsa-init: unable to set hw-parameters: Bad argument
>Could not open/initialize audio device -> no sound.

----------------------------------------------------------------------
 prymitive - 06-18-2004 22:42 CEST 
----------------------------------------------------------------------
It seems to be gone in current (2.6.7-rc3-mm1) kernel.

Thanks for Your work
prymitive

Bug History
Date Modified  Username       Field                    Change              
======================================================================
04-09-04 15:55 prymitive      New Bug                                      
04-09-04 15:55 prymitive      Distribution              => PLD 2.0         
04-16-04 12:06 tiwai          Bugnote Added: 0000836                       
04-16-04 14:24 prymitive      Bugnote Added: 0000837                       
06-18-04 22:42 prymitive      Bugnote Added: 0001321                       
06-22-04 18:43 tiwai          Assigned To               => tiwai           
06-22-04 18:43 tiwai          Resolution               open => fixed       
06-22-04 18:43 tiwai          Status                   new => resolved     
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ALSA - driver 0000198]: only one pcm active on alsa>=1.0.3
@ 2004-07-16 10:55 noreply
  0 siblings, 0 replies; 3+ messages in thread
From: noreply @ 2004-07-16 10:55 UTC (permalink / raw)
  To: alsa-devel


The following bug has been CLOSED
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000198
======================================================================
Reported By:                prymitive
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Bug ID:                     198
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Distribution:               PLD 2.0
Kernel Version:             
======================================================================
Date Submitted:             04-09-2004 15:55 CEST
Last Modified:              07-16-2004 12:55 CEST
======================================================================
Summary:                    only one pcm active on alsa>=1.0.3
Description: 
bug(?) in ALSA 1.0.3 and higher and via82xx driver. there should be (by
default, when using DXS channels) 4 subdevices active on first pcm and one
on second, and it works great on alsa up to 1.0.2c, but on higher versions
there is only one subdevice active on first pcm, the second isn't active.
/proc/asound shows that all pcm's and theire subdevices are active but
when I try to play some mp3's with xmms and artsd is blocking one device,
it returns an error opening device, when artsd goes idle and free that
device xmms starts playing but when some apps tries to use artsd it
crashes. I've tried kernels: 2.6.5-rc2 (with and without -mm pathces),
plain 2.6.5 and 2.6.5-mm1. I've tried also alsa-lib: 1.0.1, 1.0.3 and
1.0.4. It does not change anything. My mobo is K7VT4-4X (via kt333cf and
via 8235). With 2.6.4 kernel erverything is ok. I've tried all dxs_support
options, alsa compiled in and as modules.
======================================================================

----------------------------------------------------------------------
 tiwai - 04-16-2004 12:06 CEST 
----------------------------------------------------------------------
does it happen if you run 2 aplay simultaneously?

----------------------------------------------------------------------
 prymitive - 04-16-2004 14:24 CEST 
----------------------------------------------------------------------
With aplay I can use all 4 subdevices on vanilla 2.6.5 and alsa-lib-1.0.1,
I've downgraded alsa-lib becouse 1.0.4 and kernel 2.6.4 skips few seconds
of playback when switching from X11 to console with ctr+fxx and sometimes
when mini/maximizing windows or fast scrolling in mozilla. In xmms(1.2.10)
when I use alsa output I've got error:

>ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Z³y argument
>
>** WARNING **: alsa_setup(): Unable to install hw params

but when I use oss output I've got 100% cpu usage and no sound or errors
on console, same thing with mplayer -ao oss, audio device is open
(/proc/asound confirms that) and that cpu usage goes ~33% to mplayer and
~66% to kdeinit (?). When I terminate artsd mplayer and xmms plays withs
alsa without problems. And mplayer -ao alsa9 gives me this:

>Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411,2
kbit)
>Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
>==========================================================================
>Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
>AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
>AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
>alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Little-Endian)
>alsa-init: 1 soundcard found, using: hw:0,0
>ALSA lib pcm_hw.c:466:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
failed: Z³y argument
>alsa-init: unable to set hw-parameters: Bad argument
>Could not open/initialize audio device -> no sound.

----------------------------------------------------------------------
 prymitive - 06-18-2004 22:42 CEST 
----------------------------------------------------------------------
It seems to be gone in current (2.6.7-rc3-mm1) kernel.

Thanks for Your work
prymitive

Bug History
Date Modified  Username       Field                    Change              
======================================================================
04-09-04 15:55 prymitive      New Bug                                      
04-09-04 15:55 prymitive      Distribution              => PLD 2.0         
04-16-04 12:06 tiwai          Bugnote Added: 0000836                       
04-16-04 14:24 prymitive      Bugnote Added: 0000837                       
06-18-04 22:42 prymitive      Bugnote Added: 0001321                       
06-22-04 18:43 tiwai          Assigned To               => tiwai           
06-22-04 18:43 tiwai          Resolution               open => fixed       
06-22-04 18:43 tiwai          Status                   new => resolved     
07-16-04 12:55 tiwai          Status                   resolved => closed  
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-16 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18 20:42 [ALSA - driver 0000198]: only one pcm active on alsa>=1.0.3 noreply
  -- strict thread matches above, loose matches on Subject: below --
2004-06-22 16:43 noreply
2004-07-16 10:55 noreply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox