snd-hdsp driver error?
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about a problem with pulseaudio loading modules and my sound card (RME HDSP 9632), I was adviced to inform you about the problem.
I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+ processor.
Symptoms are:
Can only make pulseaudio load modules with the deprecated load-module module-detect command, module-udev-detect doesn't detect anything (no sound
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less. However, that leaves me without software mixing and apps fighting for the rights to make sound. And more inconveniences (fx. no volume-control).
I can play sound from audacity without stuttering by choosing the cardname directly in output HDSP, not ALSA, not pulseaudio.
When trying to run alsa-info.sh I get a lot of "not found" errors. So you'll get some manual info (they might have moved som files around in ubuntu 9.10).
This is part of my syslog during a boot. (I did the formatting to bold).
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect! Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events suppressed Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect! Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events suppressed Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Most likely this is a bug in the ALSA driver 'snd_hdsp'. Please report this issue to the ALSA developers.* Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail. Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 events
suppressed
Later if I try to play audio I get terrible skipping or stuttering and my syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events suppressed Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events suppressed Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events suppressed Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events suppressed Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events suppressed Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events suppressed Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events suppressed Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events suppressed Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory at fdff0000 (32-bit, non-prefetchable) [size=64K] Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdsp
And:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0
lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).
lars@lars-desktop:~$ cat /proc/asound/cards
0 [DSP ]: H-DSP - Hammerfall DSP
RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdsp
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19
And of course. My computer makes no sound if I don't load the hdspmixer at startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can help out here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
I guess route plugin used by RME96*.conf does not support mmap when there is channel conversion since minimum channels supported by hdsp is 14
static struct snd_pcm_hardware snd_hdsp_playback_subinfo = {
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_NONINTERLEAVED | SNDRV_PCM_INFO_SYNC_START | SNDRV_PCM_INFO_DOUBLE),
#ifdef SNDRV_BIG_ENDIAN
.formats = SNDRV_PCM_FMTBIT_S32_BE,
#else
.formats = SNDRV_PCM_FMTBIT_S32_LE,
#endif
.rates = (SNDRV_PCM_RATE_32000 |
SNDRV_PCM_RATE_44100 |
SNDRV_PCM_RATE_48000 |
SNDRV_PCM_RATE_64000 |
SNDRV_PCM_RATE_88200 |
SNDRV_PCM_RATE_96000),
.rate_min = 32000,
.rate_max = 96000,
.channels_min = 14,
.channels_max = HDSP_MAX_CHANNELS,
.buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS,
.period_bytes_min = (64 * 4) * 10,
.period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS,
.periods_min = 2,
.periods_max = 2,
.fifo_size = 0
};2009/11/2 Lars Zobbe <[email protected]>
Quoted 126 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about a problem with pulseaudio loading modules and my sound card (RME HDSP 9632), I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+ processor.
Symptoms are:
Can only make pulseaudio load modules with the deprecated load-module module-detect command, module-udev-detect doesn't detect anything (no sound
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less. However, that leaves me without software mixing and apps fighting for the rights to make sound. And more inconveniences (fx. no volume-control).
I can play sound from audacity without stuttering by choosing the cardname directly in output HDSP, not ALSA, not pulseaudio.When trying to run
alsa-info.shI get a lot of "not found" errors. So you'll
get some manual info (they might have moved som files around in ubuntu 9.10).This is part of my syslog during a boot. (I did the formatting to bold).
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect! Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events suppressed Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect! Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events suppressed Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Most likely this is a bug in the ALSA driver 'snd_hdsp'. Please report this issue to the ALSA developers.* Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail. Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 eventssuppressed
Later if I try to play audio I get terrible skipping or stuttering and my syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events suppressed Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events suppressed Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events suppressed Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events suppressed Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events suppressed Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events suppressed Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events suppressed Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events suppressed Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 eventssuppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable) [size=64K] Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspI don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the hdspmixer at startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can help out here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Please provide the full pulseaudio log and output of alsa-info.sh
http://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
2009/11/4 Lars Zobbe <[email protected]>
Quoted 200 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is there something more I have to tell you? Is there anything I can do to make pulseaudio able to detect via udev? Can I copy-paste that bit of code you sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.Quoted 183 lines · Raymond Yau
I guess route plugin used by RME96*.conf does not support mmap when there is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000), .rate_min = 32000, .rate_max = 96000, .channels_min = 14, .channels_max = HDSP_MAX_CHANNELS, .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS, .period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };2009/11/2 Lars Zobbe <[email protected]>
Quoted 4 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about a problem with pulseaudio loading modules and my sound card (RME HDSP
9632),
Quoted 4 lines
I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 5 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecated load-module module-detect command, module-udev-detect doesn't detect anything (nosound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less. However,that
Quoted 1 line
leaves me without software mixing and apps fighting for the rights to
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing the
cardname
Quoted 11 lines
directly in output HDSP, not ALSA, not pulseaudio.
When trying to run
alsa-info.shI get a lot of "not found" errors. So you'll
get some manual info (they might have moved som files around in ubuntu 9.10).This is part of my syslog during a boot. (I did the formatting to bold).
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detectis
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events suppressed Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detectis
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events suppressed Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA woke usup
Quoted 1 line
to write new data to the device, but there was actually nothing to
write!
Quoted 5 lines
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Most likely this is a bug in the ALSA driver 'snd_hdsp'. Please report this issue to the ALSA developers.* Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We werewoken
Quoted 7 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0 or another value <min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 eventssuppressed
Later if I try to play audio I get terrible skipping or stuttering and
my
Quoted 18 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events suppressed Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events suppressed Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events suppressed Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events suppressed Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events suppressed Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events suppressed Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events suppressed Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events suppressed Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 eventsQuoted 5 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
DSP
Quoted 32 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable) [size=64K] Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the hdspmixer
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can help
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Thanks Raymound. I've attached the outputs in 2 separate files, one with alsa-info and the other 5 command in another file.
I'm not sure alsa-info ran as it was supposed to. The output was rather short as you can se in the attached file en in the terminal I got this:
alsa-info.sh: 381: [[: not found
ALSA Information Script v 0.4.58
--------------------------------
This script visits the following commands/files to collect diagnostic information about your ALSA installation and sound related hardware.
dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See 'alsa-info.sh --help' for command line options.
alsa-info.sh: 607: [[: not foundalsa-info.sh: 607: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 5: [[: not foundalsa-info.sh: 734: [[: not foundalsa-info.sh: 759: [[: not found
Automatically upload ALSA information to www.alsa-project.org? [y/N] : read:
759: Illegal option -ealsa-info.sh: 795: [[: not found
alsa-info.sh: 795: [[: not found
I hope that helps. And please tell me if you need more info. Lars.
Quoted 231 lines · Raymond Yau
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
2009/11/4 Lars Zobbe <[email protected]>
Quoted 13 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is there something more I have to tell you? Is there anything I can do to make pulseaudio able to detect via udev? Can I copy-paste that bit of code you sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.Quoted 4 lines
Quoted 1 line · On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <[email protected] wrote:
I guess route plugin used by RME96*.conf does not support mmap when
there
Quoted 64 lines
Quoted 64 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000), .rate_min = 32000, .rate_max = 96000, .channels_min = 14, .channels_max = HDSP_MAX_CHANNELS, .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS, .period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };2009/11/2 Lars Zobbe <[email protected]>
Quoted 4 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about a problem with pulseaudio loading modules and my sound card (RME HDSP
9632),
Quoted 4 lines
I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 5 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecated load-module module-detect command, module-udev-detect doesn't detect anything (nosound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less. However,that
Quoted 1 line
leaves me without software mixing and apps fighting for the rights to
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing the
cardname
Quoted 3 lines
directly in output HDSP, not ALSA, not pulseaudio.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
When trying to run
alsa-info.shI get a lot of "not found" errors. So you'll
get some manual info (they might have moved som files around in ubuntu 9.10).This is part of my syslog during a boot. (I did the formatting to
bold).
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detectis
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events suppressed Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detectQuoted 5 lines
Quoted 5 lines
is
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events suppressed Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA wokeus
Quoted 4 lines
Quoted 4 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing to
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Mostlikely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report this issueto
Quoted 68 lines
Quoted 68 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We werewoken
Quoted 7 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0 or another value <min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 eventssuppressed
Later if I try to play audio I get terrible skipping or stuttering and
my
Quoted 18 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events suppressed Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events suppressed Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events suppressed Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events suppressed Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events suppressed Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events suppressed Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events suppressed Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events suppressed Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 eventsQuoted 5 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
DSP
Quoted 32 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable) [size=64K] Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 14 lines
Quoted 14 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can help
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
So sorry. Forgot the attachments.
Quoted 226 lines · Raymond Yau
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
2009/11/4 Lars Zobbe <[email protected]>
Quoted 13 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is there something more I have to tell you? Is there anything I can do to make pulseaudio able to detect via udev? Can I copy-paste that bit of code you sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.Quoted 4 lines
Quoted 1 line · On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <[email protected] wrote:
I guess route plugin used by RME96*.conf does not support mmap when
there
Quoted 64 lines
Quoted 64 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000), .rate_min = 32000, .rate_max = 96000, .channels_min = 14, .channels_max = HDSP_MAX_CHANNELS, .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS, .period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };2009/11/2 Lars Zobbe <[email protected]>
Quoted 4 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about a problem with pulseaudio loading modules and my sound card (RME HDSP
9632),
Quoted 4 lines
I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 5 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecated load-module module-detect command, module-udev-detect doesn't detect anything (nosound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less. However,that
Quoted 1 line
leaves me without software mixing and apps fighting for the rights to
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing the
cardname
Quoted 3 lines
directly in output HDSP, not ALSA, not pulseaudio.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
When trying to run
alsa-info.shI get a lot of "not found" errors. So you'll
get some manual info (they might have moved som files around in ubuntu 9.10).This is part of my syslog during a boot. (I did the formatting to
bold).
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detectis
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events suppressed Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detectQuoted 5 lines
Quoted 5 lines
is
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events suppressed Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA wokeus
Quoted 4 lines
Quoted 4 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing to
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Mostlikely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report this issueto
Quoted 68 lines
Quoted 68 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We werewoken
Quoted 7 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0 or another value <min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 eventssuppressed
Later if I try to play audio I get terrible skipping or stuttering and
my
Quoted 18 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events suppressed Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events suppressed Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events suppressed Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events suppressed Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events suppressed Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events suppressed Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events suppressed Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events suppressed Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 eventsQuoted 5 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
DSP
Quoted 32 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable) [size=64K] Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 14 lines
Quoted 14 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can help
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Sorry. I didn't realise that it was a bash script. Here is the link to my alsa-info
http://www.alsa-project.org/db/?f=d3728557be71067e2ed0920747118ae7efff2829
Thanks again.
Lars.
Quoted 231 lines · Raymond Yau
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
2009/11/4 Lars Zobbe <[email protected]>
Quoted 13 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is there something more I have to tell you? Is there anything I can do to make pulseaudio able to detect via udev? Can I copy-paste that bit of code you sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.Quoted 4 lines
Quoted 1 line · On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <[email protected] wrote:
I guess route plugin used by RME96*.conf does not support mmap when
there
Quoted 64 lines
Quoted 64 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000), .rate_min = 32000, .rate_max = 96000, .channels_min = 14, .channels_max = HDSP_MAX_CHANNELS, .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS, .period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };2009/11/2 Lars Zobbe <[email protected]>
Quoted 4 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about a problem with pulseaudio loading modules and my sound card (RME HDSP
9632),
Quoted 4 lines
I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 5 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecated load-module module-detect command, module-udev-detect doesn't detect anything (nosound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less. However,that
Quoted 1 line
leaves me without software mixing and apps fighting for the rights to
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing the
cardname
Quoted 3 lines
directly in output HDSP, not ALSA, not pulseaudio.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
When trying to run
alsa-info.shI get a lot of "not found" errors. So you'll
get some manual info (they might have moved som files around in ubuntu 9.10).This is part of my syslog during a boot. (I did the formatting to
bold).
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c: module-detectis
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27 events suppressed Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c: module-detectQuoted 5 lines
Quoted 5 lines
is
Quoted 4 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23 events suppressed Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSA wokeus
Quoted 4 lines
Quoted 4 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing to
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Mostlikely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report this issueto
Quoted 68 lines
Quoted 68 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We werewoken
Quoted 7 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0 or another value <min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99 eventssuppressed
Later if I try to play audio I get terrible skipping or stuttering and
my
Quoted 18 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16 events suppressed Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34 events suppressed Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70 events suppressed Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29 events suppressed Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43 events suppressed Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161 events suppressed Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28 events suppressed Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18 events suppressed Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16 eventsQuoted 5 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall
DSP
Quoted 32 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable) [size=64K] Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 14 lines
Quoted 14 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can help
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
AFAIK , alsa-lib use the driver name to find the name of corresponding conf file from /usr/share/alsa/cards/aliases.conf
In your case , H-DSP.conf does not exist and there is no aliases in /usr/share/alsa/cards/aliases.conf
You have to ask Takashi or Jaroslav to fix this issue for your card
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3
access("/usr/share/alsa/cards/H-DSP.conf", R_OK) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC1", O_RDONLY) = 3
close(3) = 0
write(2, "ALSA lib confmisc.c:1286:(snd_fu"..., 42ALSA lib confmisc.c:1286:(snd_func_refer) ) = 42
write(2, "Unable to find definition 'cards"..., 58Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0') = 58 write(2, "\n", 1
2009/11/7 Lars Zobbe <[email protected]>
Quoted 463 lines
It is a clean install.
lars@lars-desktop:~$ lsb_release -a && uname -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic Linux lars-desktop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/LinuxIt didn't work with pulseaudio in any previos version (of ubuntu or any other distro I've tried) either.
And the standard answer from people "out there" is "forget about pulse it doesn't work with the HDSP" f.x. this guy
http://ubuntuforums.org/showpost.php?p=7578331&postcount=10
And that's why I contacted pulseaudio developers first when I found out the it was becausesnd_hdspdidn't load with the preferred udev but only with module-detect (se my first post). They said that I should inform Alsa developers as there seems to be a problem with the alsa driver.I've attached the strace output.
Thanks.
Lars.Quoted 432 lines · Raymond Yau
Is it a clean install of Ubuntu 9.10 or upgrade from previous Ubuntu ?
you may need to find out why aplay -v -Dfront 32bit.wav fail ?
strace aplay -v -Dfront 32bit.wav
!!Linux Distribution
!!------------------
Ubuntu 9.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.10"
!!Sound Servers on this system
!!----------------------------Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)Running - Yes
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - NoJack:
Installed - Yes (/usr/bin/jackd)
Running - No!!ALSA configuration files
!!------------------------
!!User specific config file (~/.asoundrc)
pcm.!default { type plug slave { pcm "jack" } }pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } }ctl.mixer0 {
type hw
card 0
}lars@lars-desktop:~$ aplay -v -Dfront:0 32bit.wav ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM front:0 aplay: main:608: audio open error: No such file or directoryDid PA developer tell you not to load oss module ?
D:
alsa-util.c: Checking for subset analog-mono (hw:%f)
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalid argument
I:alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
D:alsa-util.c: Trying hw:0 as last resort...
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: Maximum hw buffer size is 371 ms
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
D:alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: Maximum hw buffer size is 371 ms
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
I:alsa-util.c: Failed to set hardware parameters on plug:hw:0: Device or resource busy
E:module.c: Failed to load module "module-alsa-source" (argument:
"device_id=0"): initialization failed.
W:module.c: module-oss is deprecated: Please use module-alsa-card instead of module-oss!
D:oss-util.c: capabilities: MMAP REALTIME TRIGGER
I:module-oss.c: Device opened inO_RDONLYmode.
D:oss-util.c: Asking for 4 fragments of size 512 (requested 880)
E:oss-util.c:SNDCTL_DSP_SETFMT: Device or resource busy
E:module.c: Failed to load module "module-oss" (argument:
"device=/dev/dsp"): initialization failed.
W:module-detect.c: failed to detect any sound hardware.2009/11/6 Lars Zobbe <[email protected]>
Sorry. I didn't realise that it was a bash script. Here is the link to my
Quoted 274 lines
alsa-info
http://www.alsa-project.org/db/?f=d3728557be71067e2ed0920747118ae7efff2829
Thanks again.
Lars.On Thu, Nov 5, 2009 at 5:29 AM, Raymond Yau <[email protected]
Quoted 263 lines
wrote:
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
2009/11/4 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is
there
Quoted 2 lines
something more I have to tell you? Is there anything I can do to make pulseaudio able to detect via udev? Can I copy-paste that bit of code
you
Quoted 9 lines
sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <
Quoted 2 lines · [email protected]>wrote:
Quoted 2 lines
I guess route plugin used by RME96*.conf does not support mmap when
there
Quoted 34 lines
Quoted 34 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000), .rate_min = 32000, .rate_max = 96000, .channels_min = 14, .channels_max = HDSP_MAX_CHANNELS, .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS, .period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };Quoted 5 lines
Quoted 5 lines
2009/11/2 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about
a
Quoted 11 lines
Quoted 11 lines
Quoted 1 line
problem with pulseaudio loading modules and my sound card (RME HDSP
9632),
Quoted 4 lines
I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 4 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecatedload-module
Quoted 1 line
Quoted 1 line
Quoted 1 line
module-detect command, module-udev-detect doesn't detect anything
(no
Quoted 4 lines
Quoted 4 lines
sound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less.However,
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
leaves me without software mixing and apps fighting for the rights
to
Quoted 8 lines
Quoted 8 lines
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing the
cardname
Quoted 4 lines
directly in output HDSP, not ALSA, not pulseaudio.
When trying to run
alsa-info.shI get a lot of "not found" errors.So
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
you'll
get some manual info (they might have moved som files around inubuntu
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
9.10).
This is part of my syslog during a boot. (I did the formatting to
bold).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c:module-detect
Quoted 3 lines
Quoted 3 lines
is
Quoted 2 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c:module-detect
Quoted 3 lines
Quoted 3 lines
is
Quoted 2 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSAwoke us
Quoted 4 lines
Quoted 4 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing to
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Mostlikely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report thisissue to
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We werewoken
Quoted 2 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0or
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
another value <
min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99events
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
suppressed
Later if I try to play audio I get terrible skipping or stuttering
and
Quoted 3 lines
Quoted 3 lines
my
Quoted 2 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME
Hammerfall
Quoted 3 lines
Quoted 3 lines
DSP
Quoted 2 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-ParErr-
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable)[size=64K]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632[RME
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Hammerfall HDSP 9632]
Subdevices: 1/1
Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 4 lines
Quoted 4 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can
help
Quoted 10 lines
Quoted 10 lines
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Not sure the H-DSP.conf uploaded by tom-ipp is OK since I don't have this card
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4650
http://pulseaudio.org/ticket/564
The problem of using your card with pulseaudio
1) No front device defined
2) No master volume control
3) The card only support SNDRV_PCM_INFO_NONINTERLEAVED but seem PA only support SNDRV_PCM_INFO_INTERLEAVED
4) PA expect your card support stereo but your card did not support stereo
2009/11/7 Lars Zobbe <[email protected]>
Quoted 552 lines
Thanks a lot Raymond. Now that's good news. Something that can be fixed is always good news.
And Takashi and Jaroslav? Are they on this mailing list. I suppose it would just be a cuestion of putting their names in the subject field then.
It would be so great if you could find a fix for this legendary card. Crossing my fingers.
Thanks again. You've been a great help (I hope), now I'll just have to find those two guys.
Lars.
Quoted 532 lines · Raymond Yau
AFAIK , alsa-lib use the driver name to find the name of corresponding conf file from
/usr/share/alsa/cards/aliases.conf
In your case , H-DSP.conf does not exist and there is no aliases in/usr/share/alsa/cards/aliases.confYou have to ask Takashi or Jaroslav to fix this issue for your card
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY)= 3
access("/usr/share/alsa/cards/H-DSP.conf", R_OK)= -1 ENOENT (No such file or directory)open("/dev/snd/controlC1", O_RDONLY)= 3
close(3) = 0write(2, "ALSA lib confmisc.c:1286:(snd_fu"..., 42ALSA lib confmisc.c:1286:(snd_func_refer) ) = 42
write(2, "Unable to find definition 'cards"..., 58Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0') = 58 write(2, "\n", 12009/11/7 Lars Zobbe <[email protected]>
Quoted 8 lines
It is a clean install.
lars@lars-desktop:~$ lsb_release -a && uname -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic Linux lars-desktop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01UTC
Quoted 5 lines
2009
x86_64GNU/LinuxIt didn't work with pulseaudio in any previos version (of ubuntu or any other distro I've tried) either.
And the standard answer from people "out there" is "forget about pulseit
Quoted 3 lines
doesn't work with the HDSP" f.x. this guy
http://ubuntuforums.org/showpost.php?p=7578331&postcount=10
And that's why I contacted pulseaudio developers first when I found outthe
Quoted 1 line
it was because
snd_hdspdidn't load with the preferred udev but onlywith
Quoted 12 lines
module-detect (se my first post). They said that I should inform Alsa developers as there seems to be a problem with the alsa driver.
I've attached the strace output.
Thanks.
Lars.On Fri, Nov 6, 2009 at 2:53 AM, Raymond Yau <
Quoted 67 lines · [email protected]>wrote:
Quoted 67 lines
Is it a clean install of Ubuntu 9.10 or upgrade from previous Ubuntu ?
you may need to find out why aplay -v -Dfront 32bit.wav fail ?
strace aplay -v -Dfront 32bit.wav
!!Linux Distribution
!!------------------
Ubuntu 9.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.10"
!!Sound Servers on this system
!!----------------------------Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)Running - Yes
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - NoJack:
Installed - Yes (/usr/bin/jackd)
Running - No!!ALSA configuration files
!!------------------------
!!User specific config file (~/.asoundrc)
pcm.!default { type plug slave { pcm "jack" } }pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } }ctl.mixer0 {
type hw
card 0
}Quoted 6 lines
Quoted 6 lines
lars@lars-desktop:~$ aplay -v -Dfront:0 32bit.wav ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such fileor
Quoted 9 lines
Quoted 9 lines
directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM front:0
aplay: main:608: audio open error: No such file or directoryDid PA developer tell you not to load oss module ?
Quoted 10 lines
Quoted 10 lines
D:
alsa-util.c: Checking for subset analog-mono (hw:%f)
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: snd_pcm_hw_params_set_format(Signed 16 bit LittleEndian)
Quoted 4 lines
Quoted 4 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: snd_pcm_hw_params_set_format(Float 32 bit LittleEndian)
Quoted 4 lines
Quoted 4 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalidargument
Quoted 3 lines
Quoted 3 lines
D:
alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalidargument
Quoted 4 lines
Quoted 4 lines
I:
alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
D:alsa-util.c: Trying hw:0 as last resort...
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...Quoted 8 lines
Quoted 8 lines
D:
alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: snd_pcm_hw_params_set_format(Signed 16 bit LittleEndian)
Quoted 4 lines
Quoted 4 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: snd_pcm_hw_params_set_format(Float 32 bit LittleEndian)
Quoted 14 lines
Quoted 14 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: Maximum hw buffer size is 371 ms
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
D:alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: Maximum hw buffer size is 371 msQuoted 8 lines
Quoted 8 lines
I: (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
I:alsa-util.c: Failed to set hardware parameters on plug:hw:0: Deviceor
Quoted 4 lines
Quoted 4 lines
resource busy
E:module.c: Failed to load module "module-alsa-source" (argument:
"device_id=0"): initialization failed.
W:module.c: module-oss is deprecated: Please use module-alsa-cardinstead
Quoted 10 lines
Quoted 10 lines
of module-oss!
D:oss-util.c: capabilities: MMAP REALTIME TRIGGER
I:module-oss.c: Device opened inO_RDONLYmode.
D:oss-util.c: Asking for 4 fragments of size 512 (requested 880)
E:oss-util.c:SNDCTL_DSP_SETFMT: Device or resource busy
E:module.c: Failed to load module "module-oss" (argument:
"device=/dev/dsp"): initialization failed.
W:module-detect.c: failed to detect any sound hardware.Quoted 3 lines
Quoted 3 lines
2009/11/6 Lars Zobbe <[email protected]>
Sorry. I didn't realise that it was a bash script. Here is the link to
my
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
alsa-info
http://www.alsa-project.org/db/?f=d3728557be71067e2ed0920747118ae7efff2829
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Thanks again.
Lars.On Thu, Nov 5, 2009 at 5:29 AM, Raymond Yau <
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
wrote:
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
2009/11/4 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is
there
Quoted 1 line
something more I have to tell you? Is there anything I can do to
make
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
pulseaudio able to detect via udev? Can I copy-paste that bit of
code
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
you
Quoted 8 lines
sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <
Quoted 2 lines · [email protected]>wrote:
Quoted 2 lines
I guess route plugin used by RME96*.conf does not support mmap
when
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
there
Quoted 19 lines
Quoted 19 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000),.rate_min = 32000,
.rate_max = 96000,
.channels_min = 14,
.channels_max =HDSP_MAX_CHANNELS, .buffer_bytes_max =HDSP_CHANNEL_BUFFER_BYTES*
HDSP_MAX_CHANNELS,Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
.period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
2009/11/2 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*)
about
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
a
Quoted 1 line
Quoted 1 line
Quoted 1 line
problem with pulseaudio loading modules and my sound card (RME
HDSP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
9632),
Quoted 3 lines
I
was adviced to inform you about the problem.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 4 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecatedload-module
Quoted 1 line
Quoted 1 line
Quoted 1 line
module-detect command, module-udev-detect doesn't detect
anything
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
(no
Quoted 4 lines
Quoted 4 lines
sound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less.However,
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
leaves me without software mixing and apps fighting for the
rights
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
to
Quoted 3 lines
Quoted 3 lines
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing
the
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
cardname
Quoted 4 lines
directly in output HDSP, not ALSA, not pulseaudio.
When trying to run
alsa-info.shI get a lot of "not found"errors.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
So
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
you'll
get some manual info (they might have moved som files around inubuntu
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
9.10).
This is part of my syslog during a boot. (I did the formatting
to
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
bold).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c:module-detect
Quoted 2 lines
Quoted 2 lines
is
Quoted 1 line
deprecated: Please use module-udev-detect instead of
module-detect!
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c:module-detect
Quoted 2 lines
Quoted 2 lines
is
Quoted 1 line
deprecated: Please use module-udev-detect instead of
module-detect!
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSAwoke us
Quoted 2 lines
Quoted 2 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing
to
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c:*Most
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
likely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report thisissue to
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: Wewere
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
woken
Quoted 2 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
or
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
another value <
min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99events
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
suppressed
Later if I try to play audio I get terrible skipping or
stuttering
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
and
Quoted 3 lines
Quoted 3 lines
my
Quoted 2 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci
-vvv
Quoted 35 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
02:09.0 Multimedia audio controller: Xilinx Corporation RME
Hammerfall
Quoted 3 lines
Quoted 3 lines
DSP
Quoted 2 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-ParErr-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=mediumTAbort-
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable)[size=64K]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632[RME
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Hammerfall HDSP 9632]
Subdevices: 1/1
Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq19
Quoted 36 lines
Quoted 36 lines
Quoted 36 lines
Quoted 36 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 4 lines
Quoted 4 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can
help
Quoted 17 lines
Quoted 15 lines
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Sat, 7 Nov 2009 07:12:21 +0800,
Quoted 17 lines · Raymond Yau
AFAIK , alsa-lib use the driver name to find the name of corresponding conf file from
/usr/share/alsa/cards/aliases.conf
In your case , H-DSP.conf does not exist and there is no aliases in/usr/share/alsa/cards/aliases.confYou have to ask Takashi or Jaroslav to fix this issue for your card
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY)= 3
access("/usr/share/alsa/cards/H-DSP.conf", R_OK)= -1 ENOENT (No such file or directory)open("/dev/snd/controlC1", O_RDONLY)= 3
close(3) = 0
Quoted 5 lines
write(2, "ALSA lib confmisc.c:1286:(snd_fu"..., 42ALSA lib confmisc.c:1286:(snd_func_refer) ) = 42
write(2, "Unable to find definition 'cards"..., 58Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0') = 58 write(2, "\n", 1
Finally I can catch up pending posts...
For hdsp, there is no clear definition for "front" or any surround outputs due to the nature of the hardware. So, getting an error isn't a bug in this case.
PA should fall back into "hw" if all such pre-defined PCMs are not available. So, this is no critical situation for PA. The problem is somewhere else.
Takashi
Quoted 471 lines
2009/11/7 Lars Zobbe <[email protected]>
Quoted 22 lines
It is a clean install.
lars@lars-desktop:~$ lsb_release -a && uname -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic Linux lars-desktop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/LinuxIt didn't work with pulseaudio in any previos version (of ubuntu or any other distro I've tried) either.
And the standard answer from people "out there" is "forget about pulse it doesn't work with the HDSP" f.x. this guy
http://ubuntuforums.org/showpost.php?p=7578331&postcount=10
And that's why I contacted pulseaudio developers first when I found out the it was becausesnd_hdspdidn't load with the preferred udev but only with module-detect (se my first post). They said that I should inform Alsa developers as there seems to be a problem with the alsa driver.I've attached the strace output.
Quoted 441 lines
Thanks.
Lars.Quoted 432 lines · Raymond Yau
Is it a clean install of Ubuntu 9.10 or upgrade from previous Ubuntu ?
you may need to find out why aplay -v -Dfront 32bit.wav fail ?
strace aplay -v -Dfront 32bit.wav
!!Linux Distribution
!!------------------
Ubuntu 9.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.10"
!!Sound Servers on this system
!!----------------------------Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)Running - Yes
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - NoJack:
Installed - Yes (/usr/bin/jackd)
Running - No!!ALSA configuration files
!!------------------------
!!User specific config file (~/.asoundrc)
pcm.!default { type plug slave { pcm "jack" } }pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } }ctl.mixer0 {
type hw
card 0
}lars@lars-desktop:~$ aplay -v -Dfront:0 32bit.wav ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM front:0 aplay: main:608: audio open error: No such file or directoryDid PA developer tell you not to load oss module ?
D:
alsa-util.c: Checking for subset analog-mono (hw:%f)
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalid argument
I:alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
D:alsa-util.c: Trying hw:0 as last resort...
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalid argument
D:alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Little Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: Maximum hw buffer size is 371 ms
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
D:alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: Maximum hw buffer size is 371 ms
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
I:alsa-util.c: Failed to set hardware parameters on plug:hw:0: Device or resource busy
E:module.c: Failed to load module "module-alsa-source" (argument:
"device_id=0"): initialization failed.
W:module.c: module-oss is deprecated: Please use module-alsa-card instead of module-oss!
D:oss-util.c: capabilities: MMAP REALTIME TRIGGER
I:module-oss.c: Device opened inO_RDONLYmode.
D:oss-util.c: Asking for 4 fragments of size 512 (requested 880)
E:oss-util.c:SNDCTL_DSP_SETFMT: Device or resource busy
E:module.c: Failed to load module "module-oss" (argument:
"device=/dev/dsp"): initialization failed.
W:module-detect.c: failed to detect any sound hardware.2009/11/6 Lars Zobbe <[email protected]>
Sorry. I didn't realise that it was a bash script. Here is the link to my
Quoted 274 lines
alsa-info
http://www.alsa-project.org/db/?f=d3728557be71067e2ed0920747118ae7efff2829
Thanks again.
Lars.On Thu, Nov 5, 2009 at 5:29 AM, Raymond Yau <[email protected]
Quoted 263 lines
wrote:
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
2009/11/4 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is
there
Quoted 2 lines
something more I have to tell you? Is there anything I can do to make pulseaudio able to detect via udev? Can I copy-paste that bit of code
you
Quoted 9 lines
sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <
Quoted 2 lines · [email protected]>wrote:
Quoted 2 lines
I guess route plugin used by RME96*.conf does not support mmap when
there
Quoted 34 lines
Quoted 34 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000), .rate_min = 32000, .rate_max = 96000, .channels_min = 14, .channels_max = HDSP_MAX_CHANNELS, .buffer_bytes_max = HDSP_CHANNEL_BUFFER_BYTES * HDSP_MAX_CHANNELS, .period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };Quoted 5 lines
Quoted 5 lines
2009/11/2 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*) about
a
Quoted 11 lines
Quoted 11 lines
Quoted 1 line
problem with pulseaudio loading modules and my sound card (RME HDSP
9632),
Quoted 4 lines
I
was adviced to inform you about the problem.I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 4 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecatedload-module
Quoted 1 line
Quoted 1 line
Quoted 1 line
module-detect command, module-udev-detect doesn't detect anything
(no
Quoted 4 lines
Quoted 4 lines
sound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less.However,
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
leaves me without software mixing and apps fighting for the rights
to
Quoted 8 lines
Quoted 8 lines
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing the
cardname
Quoted 4 lines
directly in output HDSP, not ALSA, not pulseaudio.
When trying to run
alsa-info.shI get a lot of "not found" errors.So
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
you'll
get some manual info (they might have moved som files around inubuntu
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
9.10).
This is part of my syslog during a boot. (I did the formatting to
bold).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c:module-detect
Quoted 3 lines
Quoted 3 lines
is
Quoted 2 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c:module-detect
Quoted 3 lines
Quoted 3 lines
is
Quoted 2 lines
deprecated: Please use module-udev-detect instead of module-detect!
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: ALSAwoke us
Quoted 4 lines
Quoted 4 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing to
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: *Mostlikely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report thisissue to
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: We werewoken
Quoted 2 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0or
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
another value <
min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99events
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
suppressed
Later if I try to play audio I get terrible skipping or stuttering
and
Quoted 3 lines
Quoted 3 lines
my
Quoted 2 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci -vvv
02:09.0 Multimedia audio controller: Xilinx Corporation RME
Hammerfall
Quoted 3 lines
Quoted 3 lines
DSP
Quoted 2 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-ParErr-
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable)[size=64K]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632[RME
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Hammerfall HDSP 9632]
Subdevices: 1/1
Subdevice #0: subdevice #0lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 4 lines
Quoted 4 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you can
help
Quoted 10 lines
Quoted 10 lines
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Thanks a lot Takashi and Raymond.
I guess that means the fix from tom-ipp, that Raymond referred to, won't work. So what can I do to help you fix this. Do you want me to try and run something? I would be pleased to help out.
When you say "the problem is somewhere else". Do you have an idea about where that could be?
Greetings
Lars.
Quoted 556 lines · Takashi Iwai
At Sat, 7 Nov 2009 07:12:21 +0800,
Quoted 17 lines · Raymond Yau
AFAIK , alsa-lib use the driver name to find the name of corresponding conf file from
/usr/share/alsa/cards/aliases.conf
In your case , H-DSP.conf does not exist and there is no aliases in/usr/share/alsa/cards/aliases.confYou have to ask Takashi or Jaroslav to fix this issue for your card
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY)= 3
access("/usr/share/alsa/cards/H-DSP.conf", R_OK)= -1 ENOENT (No such file or directory)open("/dev/snd/controlC1", O_RDONLY)= 3
close(3) = 0Quoted 5 lines
write(2, "ALSA lib confmisc.c:1286:(snd_fu"..., 42ALSA lib confmisc.c:1286:(snd_func_refer) ) = 42
write(2, "Unable to find definition 'cards"..., 58Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0') = 58 write(2, "\n", 1Finally I can catch up pending posts...
For hdsp, there is no clear definition for "front" or any surround outputs due to the nature of the hardware. So, getting an error isn't a bug in this case.
PA should fall back into "hw" if all such pre-defined PCMs are not available. So, this is no critical situation for PA. The problem is somewhere else.
Takashi
Quoted 11 lines
2009/11/7 Lars Zobbe <[email protected]>
Quoted 8 lines
It is a clean install.
lars@lars-desktop:~$ lsb_release -a && uname -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic Linux lars-desktop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01UTC
Quoted 5 lines
Quoted 5 lines
2009
x86_64GNU/LinuxIt didn't work with pulseaudio in any previos version (of ubuntu or any other distro I've tried) either.
And the standard answer from people "out there" is "forget about pulseit
Quoted 3 lines
Quoted 3 lines
doesn't work with the HDSP" f.x. this guy
http://ubuntuforums.org/showpost.php?p=7578331&postcount=10
And that's why I contacted pulseaudio developers first when I found outthe
Quoted 1 line
Quoted 1 line
it was because
snd_hdspdidn't load with the preferred udev but onlywith
Quoted 12 lines
Quoted 12 lines
module-detect (se my first post). They said that I should inform Alsa developers as there seems to be a problem with the alsa driver.
I've attached the strace output.
Thanks.
Lars.On Fri, Nov 6, 2009 at 2:53 AM, Raymond Yau <
Quoted 67 lines · [email protected]>wrote:
Quoted 67 lines
Quoted 67 lines
Is it a clean install of Ubuntu 9.10 or upgrade from previous Ubuntu ?
you may need to find out why aplay -v -Dfront 32bit.wav fail ?
strace aplay -v -Dfront 32bit.wav
!!Linux Distribution
!!------------------
Ubuntu 9.10 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.10"
!!Sound Servers on this system
!!----------------------------Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)Running - Yes
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - NoJack:
Installed - Yes (/usr/bin/jackd)
Running - No!!ALSA configuration files
!!------------------------
!!User specific config file (~/.asoundrc)
pcm.!default { type plug slave { pcm "jack" } }pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } }ctl.mixer0 {
type hw
card 0
}Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
lars@lars-desktop:~$ aplay -v -Dfront:0 32bit.wav ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.H-DSP.pcm.front.0:CARD=0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such fileor
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM front:0
aplay: main:608: audio open error: No such file or directoryQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Did PA developer tell you not to load oss module ?
D:
alsa-util.c: Checking for subset analog-mono (hw:%f)
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalidargument
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
D:
alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalidargument
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
D:
alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: snd_pcm_hw_params_set_format(Signed 16 bit LittleEndian)
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: snd_pcm_hw_params_set_format(Float 32 bit LittleEndian)
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalidargument
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
D:
alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c:snd_pcm_hw_params_set_channels(1)failed: Invalidargument
Quoted 1 line
Quoted 1 line
Quoted 1 line
I:
alsa-util.c: Failed to set hardware parameters on plug:hw:0:Invalid
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
argument
D:alsa-util.c: Trying hw:0 as last resort...
D:alsa-util.c: Trying hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalidargument
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
D:
alsa-util.c: Trying hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open hw:0
D:alsa-util.c:snd_pcm_hw_params_set_access()failed: Invalidargument
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
D:
alsa-util.c: Trying plug:hw:0 withSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: snd_pcm_hw_params_set_format(Signed 16 bit LittleEndian)
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Signed 16 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: snd_pcm_hw_params_set_format(Float 32 bit LittleEndian)
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
failed: Invalid argument
D:alsa-util.c:snd_pcm_hw_params_set_format(Float 32 bit Big Endian)
failed: Invalid argument
D:alsa-util.c: Maximum hw buffer size is 371 ms
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
D:alsa-util.c: Trying plug:hw:0 withoutSND_PCM_NO_AUTO_FORMAT...
D:alsa-util.c: Managed to open plug:hw:0
D:alsa-util.c: Maximum hw buffer size is 371 msQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
I: (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
D:alsa-util.c: Set neither period nor buffer size.
I: (alsa-lib)pcm_hw.c:SNDRV_PCM_IOCTL_HW_PARAMSfailed
I:alsa-util.c:snd_pcm_hw_paramsfailed: Device or resource busy
I:alsa-util.c: Failed to set hardware parameters on plug:hw:0: Deviceor
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
resource busy
E:module.c: Failed to load module "module-alsa-source" (argument:
"device_id=0"): initialization failed.
W:module.c: module-oss is deprecated: Please use module-alsa-cardinstead
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
of module-oss!
D:oss-util.c: capabilities: MMAP REALTIME TRIGGER
I:module-oss.c: Device opened inO_RDONLYmode.
D:oss-util.c: Asking for 4 fragments of size 512 (requested 880)
E:oss-util.c:SNDCTL_DSP_SETFMT: Device or resource busy
E:module.c: Failed to load module "module-oss" (argument:
"device=/dev/dsp"): initialization failed.
W:module-detect.c: failed to detect any sound hardware.Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
2009/11/6 Lars Zobbe <[email protected]>
Sorry. I didn't realise that it was a bash script. Here is the link to
my
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
alsa-info
http://www.alsa-project.org/db/?f=d3728557be71067e2ed0920747118ae7efff2829
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Thanks again.
Lars.On Thu, Nov 5, 2009 at 5:29 AM, Raymond Yau <
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
wrote:
Please provide the full pulseaudio log and output of
alsa-info.shhttp://www.pulseaudio.org/wiki/Troubleshooting
pulseaudio -k; pulseaudio -vvv
and
aplay -v -Dfront:0 32bit.wav
aplay -v -M -Dfront:0 32bit.wav
aplay -v -Dplughw:0 any.wav
aplay -v -M -Dplughw:0 any.wav
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
2009/11/4 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi Raymond.
I so sorry Raymond. But I'm not sure what to do with this info. Is
there
Quoted 1 line
something more I have to tell you? Is there anything I can do to
make
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
pulseaudio able to detect via udev? Can I copy-paste that bit of
code
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
you
Quoted 8 lines
sent me somewhere?
Please tell me if there's more you need to know.
Greetings.
Lars.Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
On Tue, Nov 3, 2009 at 7:48 AM, Raymond Yau <
Quoted 2 lines · [email protected]>wrote:
Quoted 2 lines
I guess route plugin used by RME96*.conf does not support mmap
when
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
there
Quoted 19 lines
Quoted 19 lines
is
channel conversion since minimum channels supported by hdsp is 14static struct
snd_pcm_hardwaresnd_hdsp_playback_subinfo= {
.info = (SNDRV_PCM_INFO_MMAP|
SNDRV_PCM_INFO_MMAP_VALID|SNDRV_PCM_INFO_NONINTERLEAVED|SNDRV_PCM_INFO_SYNC_START|SNDRV_PCM_INFO_DOUBLE),#ifdef SNDRV_BIG_ENDIAN .formats = SNDRV_PCM_FMTBIT_S32_BE, #else .formats = SNDRV_PCM_FMTBIT_S32_LE, #endif .rates = (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
SNDRV_PCM_RATE_64000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000),.rate_min = 32000,
.rate_max = 96000,
.channels_min = 14,
.channels_max =HDSP_MAX_CHANNELS, .buffer_bytes_max =HDSP_CHANNEL_BUFFER_BYTES*
HDSP_MAX_CHANNELS,Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
.period_bytes_min = (64 * 4) * 10, .period_bytes_max = (8192 * 4) * HDSP_MAX_CHANNELS, .periods_min = 2, .periods_max = 2, .fifo_size = 0 };Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
2009/11/2 Lars Zobbe <[email protected]>
Quoted 3 lines
Hi.
Talking to one of the pulseaudio developers (*Colin Guthrie*)
about
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
a
Quoted 1 line
Quoted 1 line
Quoted 1 line
problem with pulseaudio loading modules and my sound card (RME
HDSP
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
9632),
Quoted 3 lines
I
was adviced to inform you about the problem.Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
I'm on ubuntu 9.10, 64bit, kernel 2.6.31 with an amd64 x2 3800+
processor.
Quoted 4 lines
Symptoms are:
Can only make pulseaudio load modules with the deprecatedload-module
Quoted 1 line
Quoted 1 line
Quoted 1 line
module-detect command, module-udev-detect doesn't detect
anything
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
(no
Quoted 4 lines
Quoted 4 lines
sound
Quoted 3 lines
- only null sink output in padevchooser).
I get terrible stuttering.
I can remove pulseaudio and make things work, more or less.However,
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
leaves me without software mixing and apps fighting for the
rights
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
to
Quoted 3 lines
Quoted 3 lines
make
Quoted 2 lines
sound. And more inconveniences (fx. no volume-control). I can play sound from audacity without stuttering by choosing
the
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
cardname
Quoted 4 lines
directly in output HDSP, not ALSA, not pulseaudio.
When trying to run
alsa-info.shI get a lot of "not found"errors.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
So
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
you'll
get some manual info (they might have moved som files around inubuntu
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
9.10).
This is part of my syslog during a boot. (I did the formatting
to
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
bold).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Nov 2 10:57:32 lars-desktop pulseaudio[1524]: module.c:module-detect
Quoted 2 lines
Quoted 2 lines
is
Quoted 1 line
deprecated: Please use module-udev-detect instead of
module-detect!
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Nov 2 10:57:37 lars-desktop pulseaudio[1524]: ratelimit.c: 27events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:39 lars-desktop pulseaudio[1612]: module.c:module-detect
Quoted 2 lines
Quoted 2 lines
is
Quoted 1 line
deprecated: Please use module-udev-detect instead of
module-detect!
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: ratelimit.c: 23events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c:ALSA
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
woke us
Quoted 2 lines
Quoted 2 lines
up
Quoted 1 line
to write new data to the device, but there was actually nothing
to
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
write!
Quoted 1 line
Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c:*Most
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
likely
Quoted 1 line
Quoted 1 line
Quoted 1 line
this is a bug in the ALSA driver '
snd_hdsp'. Please report thisissue to
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
the
ALSA developers.*Nov 2 10:57:44 lars-desktop pulseaudio[1612]: alsa-sink.c: Wewere
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
woken
Quoted 2 lines
up
with POLLOUT set -- however a subsequentsnd_pcm_avail()returned 0
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
or
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
another value <
min_avail.Nov 2 10:57:49 lars-desktop pulseaudio[1612]: ratelimit.c: 99events
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
suppressed
Later if I try to play audio I get terrible skipping or
stuttering
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
and
Quoted 3 lines
Quoted 3 lines
my
Quoted 2 lines
syslog (in less than a minute) writes:
Nov 2 11:55:16 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:21 lars-desktop pulseaudio[1612]: ratelimit.c: 34events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:26 lars-desktop pulseaudio[1612]: ratelimit.c: 70events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:31 lars-desktop pulseaudio[1612]: ratelimit.c: 29events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:36 lars-desktop pulseaudio[1612]: ratelimit.c: 43events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:41 lars-desktop pulseaudio[1612]: ratelimit.c: 161events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:46 lars-desktop pulseaudio[1612]: ratelimit.c: 28events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:51 lars-desktop pulseaudio[1612]: ratelimit.c: 18Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
events
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
suppressed
Nov 2 11:55:56 lars-desktop pulseaudio[1612]: ratelimit.c: 16events
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
suppressed
Here's the relevant part (concerning my sound card) of lspci
-vvv
Quoted 22 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
02:09.0 Multimedia audio controller: Xilinx Corporation RME
Hammerfall
Quoted 3 lines
Quoted 3 lines
DSP
Quoted 2 lines
(rev 9a)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-ParErr-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=mediumTAbort-
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 255
Interrupt: pin A routed to IRQ 19
Region 0: Memory atfdff0000(32-bit, non-prefetchable)[size=64K]
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Kernel driver in use: RME Hammerfall DSP
Kernel modules: snd-hdspAnd:
lars@lars-desktop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP9632
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
[RME
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Hammerfall HDSP 9632]
Subdevices: 1/1
Subdevice #0: subdevice #0Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
lars@lars-desktop:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21. Compiled on Oct 15 2009 for kernel 2.6.31-14-generic (SMP).lars@lars-desktop:~$ cat /proc/asound/cards 0 [DSP ]: H-DSP - Hammerfall DSP RME Hammerfall HDSP 9632 at 0xfdff0000,irq 19
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
lars@lars-desktop:~$ cat /proc/asound/modules 0 snd_hdspI don't have .asound.conf files.
lars@lars-desktop:~$ hdsploader hdsploader - firmware loader for RME Hammerfall DSP cards Looking for HDSP + Multiface or Digiface cards : Card 0 : RME Hammerfall HDSP 9632 at 0xfdff0000, irq 19Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
And of course. My computer makes no sound if I don't load the
hdspmixer
Quoted 4 lines
Quoted 4 lines
at
Quoted 3 lines
startup. I guess that's just normal for this card though.
Please let me know, if you need more info. I really hope you
can
Quoted 32 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
help
Quoted 17 lines
Quoted 15 lines
out
Quoted 9 lines
here. And that this might help you to.
Thanks for the great work you do. Greetings.
Lars Zobbe.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 9 lines
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
2009/11/9 Lars Zobbe <[email protected]>
Quoted 12 lines
Thanks a lot Takashi and Raymond.
I guess that means the fix from tom-ipp, that Raymond referred to, won't work. So what can I do to help you fix this. Do you want me to try and run something? I would be pleased to help out.
When you say "the problem is somewhere else". Do you have an idea about where that could be?Greetings
Lars.
Refer to
http://pulseaudio.org/ticket/764#comment:1
load-module module-alsa-sink device_id=0 tsched=0 load-module module-alsa-source device_id=0 tsched=0
A message that is not in the archive (sent off-list or not yet received): [email protected]
2010/1/16 Lars Zobbe <[email protected]>
Quoted 11 lines
Thansk a lot Raymond. That actually works! My HDSP now loads without mayor problems. This is brilliant. I've been struggling for so long to make this work and finally...
I recommend everyone with a RME HDSP, who wants to use pulseaudio, to check out ticket 764.
Thanks again Raymond.
Lars.2010/1/14 Raymond Yau <[email protected]>
Quoted 1 line
Quoted 10 lines
Quoted 7 lines
Refer to
http://pulseaudio.org/ticket/764#comment:1
load-module module-alsa-sink device_id=0 tsched=0
load-module module-alsa-source device_id=0 tsched=0
Quoted 1 line
if your hdsp works , this mean that this is a bug introduced at pulseaudio since 0.9.15 ( working profile )
I guess none of PA develpers had your card ,
if you want the pulseaudio bug fixed ,
you will need to post the output of full pulseaudio log of module-alsa-sink ( pulseaudio -k;pulseaudio -vvvvv ) and the outout of aplay -v -Dplughw:0,0 any.wav
in the pulseaudio bug tracker
so that PA developer can compare with the non-working pulseaudio log