Ticket #649 (closed defect: elsewhere)

Opened 2 years ago

Last modified 2 years ago

sound input not work when 6 channels are set

Reported by: FelisLeopard Owned by: lennart
Milestone: Component: daemon
Keywords: microphone, input, 6ch, daemon.conf Cc:

Description

it just a question or maybe a bug when i set to use 6 channels (default-sample-channels = 6 in daemon.cong), i've got a 6 channels for input device (sound card CA0106) and every application, that use sound input causes PA fail. even opening Volume Control aplet and selecting Input Devices tab - gives error "Connection failed: Connection terminated" see screenshot in atachments. is this a bur, or i should make some additional settings, scrypts, etc.

Attachments

PA-error.jpg (115.2 kB) - added by FelisLeopard 2 years ago.
pulse_log.txt (20.8 kB) - added by FelisLeopard 2 years ago.
logfile
pulse_log_02.txt (12.6 kB) - added by FelisLeopard 2 years ago.
logfile 2 during crash

Change History

Changed 2 years ago by FelisLeopard

  Changed 2 years ago by FelisLeopard

  • owner changed from daemon.conf to FelisLeopard

follow-up: ↓ 4   Changed 2 years ago by coling

It seems that pulse is crashing and thus the connection is terminated.

Can you run pulse manually: pulseaudio -k; pulseaudio -vvv

And then paste the output. We may need a full backtrace as indicated on wiki:Community too but start with this :)

Changed 2 years ago by FelisLeopard

logfile

in reply to: ↑ 2   Changed 2 years ago by FelisLeopard

sorry for previous flood. delete it please here is txt file of output http://disk.tom.ru/43jre3e or see the attachments

  Changed 2 years ago by coling

Hi Felis,

Thanks for the output (and welcome the world of Trac's WikiFormatting :))

Sadly the output just shows, normal operation. Would you be able to repeat the test, but trigger the error while you are capturing the output? There will likely be an assert or a seg fault at the end.

Cheers. Col

Changed 2 years ago by FelisLeopard

logfile 2 during crash

  Changed 2 years ago by FelisLeopard

here i attached new log. i restarted pulse and then open Volume Control. moved 6 sliders on Input Devices tab and have daemon shudown. more of it. i see the previous log shows that alsa found 6 channels input and converted it to 2 channel. but pulse still have 6. think this is the error. when i use 2 channels as default - everything work, including sound capture.

  Changed 2 years ago by coling

  • owner changed from FelisLeopard to lennart

Well it seems you're hitting the CPU limiter. Not sure why, but I'll let Lennart work that out!

YOu should be able to set the default sample channels to 2 and then pick a 5.1 output via the configuration tab in pavucontrol to get 6 channel output while still maintaining a 1 or 2 channel input. (although this is still a bug in some capacity).

  Changed 2 years ago by FelisLeopard

so i comented string ; default-sample-channels = 6 in daemon conf and back to where i started. now i have 2 channel input and 2 channel output. more of it - it seems to be mixed from 6ch sources to 2ch. is there other method to get 6ch output? pavucontrol shows 2ch output and has no other prefs.

  Changed 2 years ago by coling

When you load pavucontol there should be a tab labelled "Configuration". This tab should list your card and give a list of valid profiles. Simply select the most appropriate profile for your needs (i.e. one that lists 5.1 output).

  Changed 2 years ago by FelisLeopard

strange, but i don't have this tab. tried to install latest vers of pavucontrol, but stuck with libcanberra-gtk package. pavucontrol requires vers >=0.16, but ubuntu repositories has only 0.11

  Changed 2 years ago by coling

Try the previous version 0.9.8... perhaps it is less restrictuve... it seems you're quite far behind with the versions... what version of pulseaudio is this?

  Changed 2 years ago by FelisLeopard

sad, but i have version of pulse 0.9.14-0ubuntu20, and pavucontrol 0.9.7-1ubuntu3. tried to install pulse 0.9.15 and pavucontrol 0.9.8. seems like make and install was complete, but they don't start.
pulseaudio: error while loading shared libraries: libpulsecore-0.9.15.so: cannot open shared object file: No such file or directory
pavucontrol: relocation error: pavucontrol: symbol pa_context_get_card_info_list, version PULSE_0 not defined in file libpulse.so.0 with link time reference

  Changed 2 years ago by coling

While it's no doubt annoying, I think you really need to work with the latest versions when reporting bugs here. Only the latest versions are going to receive attention and things have moved on significantly since 0.9.14 so there is a good chance that whatever bug you were seeing is already fixed.

As you're an ubuntu man, why not ask around in ubuntu IRC channels or forums to see if someone can give you a handy repository for a more recent pulseaudio? That said the latest pulse requires a fairly new kernel and udev, so it could be time to help out with the testing of the next distro version?

  Changed 2 years ago by lennart

  • status changed from new to closed
  • resolution set to elsewhere

Yes, this bug seems to be related to a very old version of PA where Multichannel support was mostly available as hack, and not properly supported. Please contact your distro about this and make sure to run a newer version of PA! Thanks!

Note: See TracTickets for help on using tickets.