[pulseaudio-tickets] [PulseAudio] #497: Creative surround regression=> assertion, alsa-time report for broken sound drivers. and more..

PulseAudio trac-noreply at tango.0pointer.de
Sat Feb 28 10:07:39 PST 2009


#497: Creative surround regression=> assertion, alsa-time report for broken sound
drivers. and more..
----------------------------------------+-----------------------------------
 Reporter:  gourgi                      |       Owner:  lennart
     Type:  defect                      |      Status:  new    
 Priority:  normal                      |   Milestone:         
Component:  daemon                      |    Severity:  normal 
 Keywords:  creative, ca0106, surround  |  
----------------------------------------+-----------------------------------
 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. "

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

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

 -----------------
 So  here it is :
 [[BR]]

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

 [[BR]]
 $ cat /etc/pulse/daemon.conf

 [[BR]]
 http://pastebin.com/f5ced62d3

 [[BR]]
 $ cat /etc/pulse/default.pa

 [[BR]]
 http://pastebin.com/f5d29b165

 [[BR]]
 $ cat /etc/pulse/client.conf

 [[BR]]
 http://pastebin.com/f51c6f6ab

 [[BR]]
 $ cat /etc/pulse/system.pa

 [[BR]]
 http://pastebin.com/f36c31407

 [[BR]]
 $ cat /var/log/syslog |grep pulse

 [[BR]]
 http://pastebin.com/f75913b9

 [[BR]]
 #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.
 [[BR]]
 #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.
 [[BR]]
 #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!
 [[BR]]
 #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.
 [[BR]]
 #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.
 [[BR]]
 #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!
 [[BR]]
 #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.
 [[BR]]
 #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.
 [[BR]]
 #Feb 28 13:28:41 gourgi pulseaudio[4895]: module.c: Failed to open module
 "module-x11-cork-request": file not found
 [[BR]]
 #Feb 28 13:28:48 gourgi pulseaudio[4895]: module-x11-xsmp.c: X11 session
 manager not running.
 [[BR]]
 #Feb 28 13:28:48 gourgi pulseaudio[4895]: module.c: Failed to load  module
 "module-x11-xsmp" (argument: ""): initialization failed.
 [[BR]]
 #Feb 28 13:32:01 gourgi pulseaudio[4895]: cpulimit.c: Received request to
 terminate due to CPU overload.
 [[BR]]

 [[BR]]
 $ pulseaudio -vvvv 2> ~/Desktop/pulse_start
 [[BR]]
 http://pastebin.com/f3f28a3fd
 [[BR]]
 ---------------
 related alsa bug reports about sample-rate, No PCM , No Mic found :
 [[BR]]
 # 0003407
 [[BR]]
 # 0001837
 [[BR]]
 # 0004398 ( "Mic"  problem reported by me,  a lot of pulse-related
 questions are asked by Raymond, i think you should look at it! )
 [[BR]]
 # 0002939
 [[BR]]

 ---------------
 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 )
 [[BR]]

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

 and now the syslog and userlog shows this errors:
 [[BR]]
 $ tail -f /var/log/syslog | grep pulse
 [[BR]]
 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.
 [[BR]]
 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.
 [[BR]]
 Feb 28 18:24:54 gourgi pulseaudio[4785]: module.c: Failed to open module
 "module-x11-cork-request": file not found
 [[BR]]
 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!
 [[BR]]
 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.
 [[BR]]
 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.
 [[BR]]
 Feb 28 18:25:01 gourgi pulseaudio[4785]: module-x11-xsmp.c: X11 session
 manager not running.
 [[BR]]
 Feb 28 18:25:01 gourgi pulseaudio[4785]: module.c: Failed to load  module
 "module-x11-xsmp" (argument: ""): initialization failed.
 [[BR]]
 Feb 28 18:27:05 gourgi pulseaudio[4785]: cpulimit.c: Received request to
 terminate due to CPU overload.
 [[BR]]
 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.
 [[BR]]

 [[BR]]
 $ pulseaudio -vvvv 2> ~/Desktop/pulse_start
 [[BR]]

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

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

 i created 4 logs and the full outputs are here
 [[BR]]
 http://utopia.duth.gr/~ggourgio/ubuntu/pulse/
 [[BR]]
 -----------------
 Disabling glitch-free mode doesn't help much ...
 [[BR]]
 default.pa:  http://pastebin.com/f4a319872
 [[BR]]
 syslog:  http://pastebin.com/f61f79a45
 [[BR]]
 pulseaudio -vvvv :   http://pastebin.com/f1062b30d
 [[BR]]
 -----------------
 ubuntu 8.10 working setup (surround too ..)
 [[BR]]

 $ cat /proc/asound/version
 [[BR]]
         Advanced Linux Sound Architecture Driver Version 1.0.17.
 [[BR]]
 pulseaudio --version
 [[BR]]
         W: ltdl-bind-now.c: Failed to find original dlopen loader.
 [[BR]]
         pulseaudio 0.9.10
 [[BR]]

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

 If more info/testing is needed please guide me !
 [[BR]]


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

 [[BR]]

-- 
Ticket URL: <http://pulseaudio.org/ticket/497>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list