Launchpad has imported 26 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=84804.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2014-10-08T14:49:49+00:00 Bejjamin wrote: Pulseaudio doesn't know how to handle soundcards like the RME HDSP 9652 I use (26 channels, 24bit only). I tried to alter the default.pa file since there are some soundcard specific workarounds available* but I had no success. This is pretty frustrating because pulseaudio is the standard soundsystem of most distros nowadays and the only real workaround is to remove it and use plain alsa. I use Debian testing (Jessie/Sid) with pulseaudio 5.0. * http://ccrma-mail.stanford.edu/pipermail/planetccrma/2011-April/017566.html http://ubuntuforums.org/showthread.php?t=1871685 Thanks, Benjamin Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/0 ------------------------------------------------------------------------ On 2014-10-08T15:56:23+00:00 Raymond wrote: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa /alsa-mixer.c?id=48edd0a00f455df075efcf1986103e5f507c816f do you mean multichannel profile still not fix your problem? Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/1 ------------------------------------------------------------------------ On 2014-10-08T15:58:52+00:00 Raymond wrote: you have to post pulseaudio verbose log, output of alsa-info.sh if tje multichannel profile still not work Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/2 ------------------------------------------------------------------------ On 2014-10-08T16:31:05+00:00 Bejjamin wrote: Created attachment 107567 Pulseaudio verbose log Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/3 ------------------------------------------------------------------------ On 2014-10-08T16:31:34+00:00 Bejjamin wrote: Created attachment 107568 alsa-info.sh output Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/4 ------------------------------------------------------------------------ On 2014-10-08T16:34:00+00:00 Bejjamin wrote: Hi, I only use pulseaudio 5.0 from Debian testing. If the multichannel profile has been added to the 5.0 release then I have it, otherwise I need some help on how to use it. I've attached what you asked for. I should probably add that pulseaudio itself runs fine, but doesn't give me any audio output at all, I've checked this via hdspmixer. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/5 ------------------------------------------------------------------------ On 2014-10-08T22:50:43+00:00 Raymond wrote: 2014-08-23 alsa: Remove four channel input profile 2014-08-01 alsa: Add a multichannel fallback mapping 2014-08-01 alsa: Allow "fallback" configuration for mappings and profiles 2014-08-01 alsa: Add "exact-channels" mapping configurability those patches were supposed to support firewire audio which don't support mono, stereo surround40,..surround71 playback and mono,stereo4 ch capture Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/6 ------------------------------------------------------------------------ On 2014-10-08T22:57:57+00:00 Raymond wrote: http://lists.freedesktop.org/archives/pulseaudio- discuss/2014-August/021037.html http://lists.freedesktop.org/archives/pulseaudio- discuss/2014-August/021036.html you need to follow up if it still not fix your problem Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/7 ------------------------------------------------------------------------ On 2014-10-10T16:44:55+00:00 Bejjamin wrote: Hey Raymond, again, is the multichannel profile included in pulseaduio 5.0? It seems to me that these commits are more recent, and I don't build pulseaudio from source. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/8 ------------------------------------------------------------------------ On 2014-10-10T19:38:13+00:00 Tanu Kaskinen wrote: Yes, the multichannel fix is newer than 5.0. If you feel adventurous enough to install pulseaudio from source, here are steps for installing the current git version: git clone git://anongit.freedesktop.org/pulseaudio/pulseaudio cd pulseaudio ./bootstrap.sh make sudo make install sudo ldconfig The bootstrap.sh script will probably give you all kinds of errors, if you don't have the development tools and the headers of various dependecy libraries already installed. I think debian has some tool for installing the build dependencies, which should make it pretty painless to get everything installed, something like "apt-get build-dependencies pulseaudio". I don't know the exact command, google will help you. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/9 ------------------------------------------------------------------------ On 2014-10-11T03:03:54+00:00 Raymond wrote: your driver seem need to set autosync source 1992.311070] snd_hdsp 0000:04:07.0: No AutoSync source for requested rate [ 2007.259919] snd_hdsp 0000:04:07.0: No AutoSync source for requested rate [ 2029.877275] snd_hdsp 0000:04:07.0: No AutoSync source for requested rate [ 2050.904205] snd_hdsp 0000:04:07.0: No AutoSync source for requested rate [ 2072.123263] snd_hdsp 0000:04:07.0: No AutoSync source for requested rate Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/10 ------------------------------------------------------------------------ On 2014-10-13T12:31:51+00:00 Bejjamin wrote: That's true, I use an external autosync source with 44100hz, so that's the only possible rate. Alsa has no issues with this. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/11 ------------------------------------------------------------------------ On 2014-10-16T04:46:53+00:00 Raymond wrote: seem no active ports/ports https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1381475/+attachment/4237185/+files/pulseverbose.log Card #3 Name: alsa_card.firewire-0x000aac0300592827 Driver: module-alsa-card.c Owner Module: 8 Properties: alsa.card = "0" alsa.card_name = "PHASE 88 Rack FW" alsa.long_card_name = "TerraTec Electronic Gmb PHASE 88 Rack FW (id:3, rev:1), GUID 000aac0300592827 a" alsa.driver_name = "snd_bebob" device.bus_path = "pci-0000:01:09.0" sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:01:09.0/fw2/fw2.0/sound/card0" udev.id = "firewire-0x000aac0300592827" device.bus = "firewire" device.vendor.name = "Texas Instruments" device.product.name = "TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]" device.string = "0" device.description = "TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]" module-udev-detect.discovered = "1" device.icon_name = "audio-card-firewire" Profiles: input:10-channels: 10 Channels Input (sinks: 0, sources: 1, priority. 10) output:10-channels: 10 Channels Output (sinks: 1, sources: 0, priority. 1000) output:10-channels+input:10-channels: 10 Channels Output + 10 Channels Input (sinks: 1, sources: 1, priority. 1010) off: Off (sinks: 0, sources: 0, priority. 0) Active Profile: output:10-channels+input:10-channels Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/12 ------------------------------------------------------------------------ On 2014-10-16T04:56:07+00:00 Raymond wrote: why did pulseaidio still probe channels higher than channels_max ? ( 2.896| 0.000) I: [pulseaudio] alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le. ( 2.909| 0.012) D: [pulseaudio] alsa-mixer.c: Profile output:10-channels+input:10-channels supported. ( 2.909| 0.000) D: [pulseaudio] alsa-mixer.c: Skipping profile output:10-channels+input:12-channels - will not be able to open input:12-channels ( 2.910| 0.000) D: [pulseaudio] alsa-mixer.c: Skipping profile output:10-channels+input:14-channels - will not be able to open input:14-channels ( 2.910| 0.000) D: [pulseaudio] alsa-mixer.c: Skipping profile output:10-channels+input:16-channels - will not be able to open input:16-channels ( 2.910| 0.000) D: [pulseaudio] alsa-mixer.c: Skipping profile output:10-channels+input:18-channels - will not be able to open input:18-channels ( 2.911| 0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile output:12-channels ( 2.911| 0.000) D: [pulseaudio] alsa-mixer.c: Checking for playback on 12 Channels (12-channels) ( 2.911| 0.000) D: [pulseaudio] alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ... Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/13 ------------------------------------------------------------------------ On 2014-10-27T11:01:54+00:00 Bejjamin wrote: I finally tried out the multichannel fallback patch (with the help of the Debian pulseaudio maintenance team) but it doesn't solve my problem. I have no clue why there are no active ports or why pa probes higher channels. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/14 ------------------------------------------------------------------------ On 2014-10-27T11:34:22+00:00 Raymond wrote: http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/ you can try build and run pulseaudio from git without install and post the verbose log if it still not work Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/15 ------------------------------------------------------------------------ On 2014-10-27T12:01:50+00:00 Raymond wrote: post the output of aplay -v --dump-hw-params -Dhw:0,0 test.wav arecord -v --dump-hw-params -Dhw:0,0 test.wav Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/16 ------------------------------------------------------------------------ On 2014-10-27T14:49:15+00:00 Bejjamin wrote: --- $ arecord -v --dump-hw-params -Dhw:0,0 test.wav Aufnahme: WAVE 'test.wav' : Unsigned 8 bit, Rate: 8000 Hz, mono HW Params of device "hw:0,0": -------------------- ACCESS: MMAP_NONINTERLEAVED RW_NONINTERLEAVED FORMAT: S32_LE SUBFORMAT: STD SAMPLE_BITS: 32 FRAME_BITS: [448 832] CHANNELS: [14 26] RATE: [32000 96000] PERIOD_TIME: (666 256000] PERIOD_SIZE: [64 8192] PERIOD_BYTES: [3584 851968] PERIODS: 2 BUFFER_TIME: (1333 512000] BUFFER_SIZE: [128 16384] BUFFER_BYTES: [7168 1703936] TICK_TIME: ALL -------------------- arecord: set_params:1228: Zugriffs-Modus nicht unterstützt -- The last message means "Access-mode not supported" --- aplay -v --dump-hw-params -Dhw:0,0 music.wav Wiedergabe: WAVE 'music.wav' : Signed 16 bit Little Endian, Rate: 44100 Hz, stereo HW Params of device "hw:0,0": -------------------- ACCESS: MMAP_NONINTERLEAVED RW_NONINTERLEAVED FORMAT: S32_LE SUBFORMAT: STD SAMPLE_BITS: 32 FRAME_BITS: [448 832] CHANNELS: [14 26] RATE: [32000 96000] PERIOD_TIME: (666 256000] PERIOD_SIZE: [64 8192] PERIOD_BYTES: [3584 851968] PERIODS: 2 BUFFER_TIME: (1333 512000] BUFFER_SIZE: [128 16384] BUFFER_BYTES: [7168 1703936] TICK_TIME: ALL -------------------- aplay: set_params:1228: Zugriffs-Modus nicht unterstützt Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/17 ------------------------------------------------------------------------ On 2014-10-27T16:14:05+00:00 Raymond wrote: those pa_log_debug() should be pa_log_error() to indicate both MMAP_NONINTERLEAVED RW_NONINTERLEAVED are not supported if (_use_mmap) { if (snd_pcm_hw_params_set_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_INTERLEAVED) < 0) { /* mmap() didn't work, fall back to interleaved */ if ((ret = snd_pcm_hw_params_set_access(pcm_handle, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) { pa_log_debug("snd_pcm_hw_params_set_access() failed: %s", pa_alsa_strerror(ret)); goto finish; } _use_mmap = false; } } else if ((ret = snd_pcm_hw_params_set_access(pcm_handle, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) { pa_log_debug("snd_pcm_hw_params_set_access() failed: %s", pa_alsa_strerror(ret)); goto finish; } Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/18 ------------------------------------------------------------------------ On 2014-10-27T23:18:50+00:00 Raymond wrote: need to test whether sound card only support non interleaved mode by using snd_pcm_hw_params_test_access instead of snd_pcm_hw_params_set_access Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/19 ------------------------------------------------------------------------ On 2014-10-29T23:37:51+00:00 Raymond wrote: http://git.alsa-project.org/?p=alsa- lib.git;a=blob;f=include/pcm.h;hb=HEAD /** PCM access type */ typedef enum _snd_pcm_access { /** mmap access with simple interleaved channels */ SND_PCM_ACCESS_MMAP_INTERLEAVED = 0, /** mmap access with simple non interleaved channels */ SND_PCM_ACCESS_MMAP_NONINTERLEAVED, /** mmap access with complex placement */ SND_PCM_ACCESS_MMAP_COMPLEX, /** snd_pcm_readi/snd_pcm_writei access */ SND_PCM_ACCESS_RW_INTERLEAVED, /** snd_pcm_readn/snd_pcm_writen access */ SND_PCM_ACCESS_RW_NONINTERLEAVED, SND_PCM_ACCESS_LAST = SND_PCM_ACCESS_RW_NONINTERLEAVED } snd_pcm_access_t; there are five pcm access type but pulseaudio only support two and does not report any error when the sound card does not support interleaved modes Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/20 ------------------------------------------------------------------------ On 2014-11-15T12:41:38+00:00 pmeerw wrote: Created attachment 109516 logging when only non-interleaved PCM available patch which adds logging if no suitable access format found; non- interleaved PCM is still unsupported Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/27 ------------------------------------------------------------------------ On 2014-11-15T14:25:57+00:00 Raymond wrote: (In reply to Peter Meerwald from comment #21) > Created attachment 109516 [details] [review] > logging when only non-interleaved PCM available > > patch which adds logging if no suitable access format found; non-interleaved > PCM is still unsupported did your patch really works ? if you want to test different accesses, you need to use test_access to find out whether the access is support before you use set_access which is destructive when error ocurrs Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/28 ------------------------------------------------------------------------ On 2014-11-15T14:34:01+00:00 Raymond wrote: try snd-dummy model=rme9652 https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/drivers/dummy.c Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/29 ------------------------------------------------------------------------ On 2014-11-15T14:54:39+00:00 Raymond wrote: (In reply to Peter Meerwald from comment #21) > Created attachment 109516 [details] [review] > logging when only non-interleaved PCM available > > patch which adds logging if no suitable access format found; non-interleaved > PCM is still unsupported this is a fatal error when the interleaced access is not supported by the alsa driver the card is unusable by pulseaudio Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/30 ------------------------------------------------------------------------ On 2014-11-16T15:05:49+00:00 Raymond wrote: Read / Write transfer There are two versions of read / write routines. The first expects the interleaved samples at input (SND_PCM_ACCESS_RW_INTERLEAVED access method), and the second one expects non-interleaved (samples in separated buffers - SND_PCM_ACCESS_RW_NONINTERLEAVED access method) at input. There are these functions for interleaved transfers: snd_pcm_writei() snd_pcm_readi(). For non-interleaved transfers, there are these functions: snd_pcm_writen() and snd_pcm_readn(). this mean pulseaudio still need snd_pcm_writen() and snd_pcm_readn() to support SND_PCM_ACCESS_RW_NONINTERLEAVED access method Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1390474/comments/31 ** Changed in: pulseaudio Status: Unknown => Confirmed ** Changed in: pulseaudio Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1390474 Title: "Volume element PCM has 6 channels. That's too much!" - PA doesn't support elements with more than two channels To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/1390474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs