Ticket #497 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Creative surround regression=> assertion, alsa-time report for broken sound drivers. and more..

Reported by: gourgi Owned by: lennart
Milestone: Component: daemon
Keywords: creative, ca0106, surround Cc:

Description

I know "Creative doesn't like Open Source -- there are no docs available. If you buy Creative it is hence a bit your own fault. "


It is said clear enough and very often by lennart
i hope this bug report can make my creative soundblaster live! 24bit (snd ca0106) rock and surround sound without problem!!


my stereo sound is acceptable using pulseaudio 0.9.15-test3 but when i enable surround -> assertion and disaster :(
also my volume controls have no meaning from 0%-60% , and after 60% the sliders become of usage and increasing/decreasing volume level works.
Below i attach logs and config for:
1) default setup , config and logs for stereo output
2) config and logs for surround (5,1) output.
3) related alsa bugs
4) alsa-time.c output
5) disabling glitch-free
5) a working ubuntu 8.10 PulseAudio surround setup


So here it is :

Distro : Ubuntu Jaunty 9.04 Alpha4
pulseaudio version 0.9.15-test3 (from TheMuso? PPA)
$ uname -a
Linux gourgi 2.6.28-8-generic #26-Ubuntu SMP Wed Feb 25 04:27:53 UTC 2009 x86_64 GNU/Linux
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
$ alsa-info.sh
http://www.alsa-project.org/db/?f=fd00007c5f10dd673a5ec06673ea75e0794210b3


$ cat /etc/pulse/daemon.conf


http://pastebin.com/f5ced62d3


$ cat /etc/pulse/default.pa


http://pastebin.com/f5d29b165


$ cat /etc/pulse/client.conf


http://pastebin.com/f51c6f6ab


$ cat /etc/pulse/system.pa


http://pastebin.com/f36c31407


$ cat /var/log/syslog |grep pulse


http://pastebin.com/f75913b9


#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-util.c: Cannot find fallback mixer control "PCM" or mixer control is no combination of switch/volume.
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_ca0106'. Please report this issue to the ALSA developers.
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read!
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_ca0106'. Please report this issue to the ALSA developers.
#Feb 28 13:28:40 gourgi pulseaudio[4895]: alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
#Feb 28 13:28:41 gourgi pulseaudio[4895]: module.c: Failed to open module "module-x11-cork-request": file not found
#Feb 28 13:28:48 gourgi pulseaudio[4895]: module-x11-xsmp.c: X11 session manager not running.
#Feb 28 13:28:48 gourgi pulseaudio[4895]: module.c: Failed to load module "module-x11-xsmp" (argument: ""): initialization failed.
#Feb 28 13:32:01 gourgi pulseaudio[4895]: cpulimit.c: Received request to terminate due to CPU overload.


$ pulseaudio -vvvv 2> ~/Desktop/pulse_start
http://pastebin.com/f3f28a3fd


related alsa bug reports about sample-rate, No PCM , No Mic found :
# 0003407
# 0001837
# 0004398 ( "Mic" problem reported by me, a lot of pulse-related questions are asked by Raymond, i think you should look at it! )
# 0002939


i changed the daemon.conf to 6 channels and sample-rate to 48000 as this is the right sample rate for my card (alsa bug tracker's bug report #0003407, #0004398 )

$ cat /etc/pulse/daemon.conf
http://pastebin.com/f41a0e5b0

and now the syslog and userlog shows this errors:
$ tail -f /var/log/syslog | grep pulse
Feb 28 18:24:54 gourgi pulseaudio[4785]: alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_ca0106'. Please report this issue to the ALSA developers.
Feb 28 18:24:54 gourgi pulseaudio[4785]: alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Feb 28 18:24:54 gourgi pulseaudio[4785]: module.c: Failed to open module "module-x11-cork-request": file not found
Feb 28 18:24:55 gourgi pulseaudio[4785]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Feb 28 18:24:55 gourgi pulseaudio[4785]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_ca0106'. Please report this issue to the ALSA developers.
Feb 28 18:24:55 gourgi pulseaudio[4785]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Feb 28 18:25:01 gourgi pulseaudio[4785]: module-x11-xsmp.c: X11 session manager not running.
Feb 28 18:25:01 gourgi pulseaudio[4785]: module.c: Failed to load module "module-x11-xsmp" (argument: ""): initialization failed.
Feb 28 18:27:05 gourgi pulseaudio[4785]: cpulimit.c: Received request to terminate due to CPU overload.
Feb 28 18:27:05 gourgi pulseaudio[4785]: core.h: Assertion 'pa_object_refcnt(pa_object_cast(o)) > 0' failed at ./pulsecore/core.h:159, function pa_core_assert_ref(). Aborting.


$ pulseaudio -vvvv 2> ~/Desktop/pulse_start

http://pastebin.com/f1bcbf1a9


broken drivers report following the wiki page http://www.pulseaudio.org/wiki/BrokenSoundDrivers
$ gcc -Wall -Wextra -O0 -g alsa-time-test.c -o alsa-time-test pkg-config --cflags --libs alsa
$ ./alsa-time-test hw:0 > log
alsa-time-test: alsa-time-test.c:189: main: Assertion `(unsigned) avail <= buffer_size' failed.

here is the log http://utopia.duth.gr/~ggourgio/ubuntu/pulse/log

i created 4 logs and the full outputs are here
http://utopia.duth.gr/~ggourgio/ubuntu/pulse/


Disabling glitch-free mode doesn't help much ...
default.pa: http://pastebin.com/f4a319872
syslog: http://pastebin.com/f61f79a45
pulseaudio -vvvv : http://pastebin.com/f1062b30d


ubuntu 8.10 working setup (surround too ..)

$ cat /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.17.


pulseaudio --version

W: ltdl-bind-now.c: Failed to find original dlopen loader.


pulseaudio 0.9.10


alsa-info: http://www.alsa-project.org/db/?f=87b04446e1d3871bc352bd93402f8f66f2696296
/etc/pulse/client.conf : http://pastebin.com/f1d6c2887
/etc/pulse/daemon.conf : http://pastebin.com/f7f7227a8
/etc/pulse/default.pa: http://pastebin.com/f6475ed12
syslog and dmesg errors in ubuntu 8.10 : http://pastebin.com/f25d1f390


If more info/testing is needed please guide me !

as suggested in the logs something in the driver is buggy
(alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_ca0106'. Please report this issue to the ALSA developers.)
how i should report this ? title and description that can be meaningfull ???


Change History

Changed 3 years ago by lennart

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

Duplicate of #491.

Note: See TracTickets for help on using tickets.