[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-12-02 Thread hoocker
default-fragments = 2
default-fragment-size-msec = 5

in daemon.conf, and

load-module module-alsa-sink tsched=0 (only needed if using acpi,
acpi=off or apm works nice without it)

in default.pa helped me on thinkpad 570e with snd_cs46xx ( 00:05.0
Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear
SoundFusion Audio Accelerator] (rev 01) )

I'm on Debian, tested on 2.6.32 and 2.6.35 kernels. Pulseaudio 0.9.21-3

note: if you want to use APM with grub2 and get apm: bios not found
error, try

--- before/10_linux 2010-12-02 19:03:54.0 +0300
+++ after/10_linux  2010-12-02 19:03:58.0 +0300
@@ -79,12 +79,12 @@
   printf '%s\n' ${prepare_boot_cache}
   cat  EOF
echo'$(printf $(gettext_quoted Loading Linux %s ...) 
${version})'
-   linux   ${rel_dirname}/${basename} 
root=${linux_root_device_thisversion} ro ${args}
+   linux16 ${rel_dirname}/${basename} 
root=${linux_root_device_thisversion} ro ${args}
 EOF
   if test -n ${initrd} ; then
 cat  EOF
echo'$(gettext_quoted Loading initial ramdisk ...)'
-   initrd  ${rel_dirname}/${initrd}
+   initrd16${rel_dirname}/${initrd}
 EOF
   fi
   cat  EOF


$ update-grub
$reboot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/428619

Title:
  pulseaudio crackle/distortion with cs46xx on latest update

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-11-03 Thread gigaflop1000
I do not know much about ubuntu/linux, but I have been trying things
blindly for awhile and will only add what has not already been said. I
get huge variations in the quality of sound when I adjust the hardware
profile under sound preferences. The changes range from no sound, to
very tinny sound, to crashing audio on the system, to crackling, to
machine gun, and on. All with different profiles. Today, after updating
alsa and messing with the profiles some more, I managed to play one song
on vlc with absolutely no audio problems. When I closed the audio player
and played a different song, it was back to the regular problems and I
haven't been able to replicate a good play again. I don't know what that
means, but it seems strange as hell. hope that helps someone who knows
whats going on.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-10-16 Thread Aibara Iduas
I also have the same crackling sound problem on a Dell Dimension 8100
(Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio
Accelerator]). It started when I upgraded to Karmic, though now I'm
using a fresh install of Maverick. The problem, however, is still there
in Ubuntu 10.10.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-08-03 Thread Raymond
I: alsa-sink.c: Using 32.0 fragments of size 2048 bytes (11.61ms), buffer size 
is 65536 bytes (371.52ms)
I: alsa-sink.c: Time scheduling watermark is 20.00ms

: alsa-sink.c: Starting playback.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.


cs46xx use snd_pcm_indirect_playback_transfer() , this mean than PA can most 
likely only rewind to period boundary so you may need to set rewind_safeguard 
of PA to fragment size 2048 bytes or double of fragment side used by PA  for 
cs46xx instead of the default 256 when min_period_bytes is 128 for HDA 

http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=4df443bbe682055a41e7c2248877dcc7682a69b8

http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/6671

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-08-03 Thread Luke Yelavich
THis patch is not in the stable queue, so I am hesitant to pull it into
the package for maverick, and this is probably not a patch that would
qualify for an SRU. I'll get this patch into a PPA for you to test. if
its favourable, then I will consider adding the aptch to the maverick
pulseaudio package.

Thanks for pointing out that commit.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-07-21 Thread rgonnering
Like shanen (Shannon Jacobs), sound was working with 9.04 on my IBM T22
with Sound Fusion CS46xx. When I upgraded to 9.10, sound stopped
working. I then upgraded to 10.04, and still no sound. I then loaded the
10.04 live disk and still no sound. Does anyone have a clue what is
wrong or how to fix it? I really like Ubuntu, but I have been thinking
of Red Hat or SUSE. Sound has become an important part of the User
Experience.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-06-15 Thread Jeff Sumner
Any word? I see that there's no assigned person on this, and the Alsa
folk seem just as reluctant to work on it.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-05-11 Thread Joseph Huber
Same problem here...Turtle Beach Santa Cruz PCI with CS4630 chipset in a
Dell Optiplex 620.  This card was working wonderfully in 9.04. I skipped
the 9.10 upgrade after reading that support for this card was broken.  I
had to upgrade to 10.04 LTS to work on another project, and as mentioned
above, the card is broken in 10.04 LTS.  There are periods (10-15
seconds) of working sound, followed by motorboating for 5-10 seconds
followed by working sound.  When the sound is working, there is
crackling.  I played around with settings and tried a number of the
fixes suggested in other forums and blogs, but nothing has worked so
far.  The card works wonderfully in Windows XP.  This is a nice sound
card that serves me well, and I really dislike throwing away working
hardware because of buggy software support.  Hopefully someone can find
a fix and get it implemented.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-04-29 Thread jimbo
I am running a turtle beach santa cruz sound card cs46xx chipset. I had
the same problems with motorboating noise in ubuntu 9.10 and ubuntu
10.04. With linuxmint 8, based on ubuntu 9.10, the sound is great! No
problems at all! In windows xp the sound is also problem free!

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-04-27 Thread Jeff Sumner
Still a problem, right up to release date.
Is there a file, a log, any kind of information that might help in 
troubleshooting this?

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-03-18 Thread Jeff Sumner
Indeed- still present in Lucid.

Can't use the sound card for anything where I need to rely on it- like
fldigi, where my transmission might become illegal if the sound card
goes into a loop.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-03-18 Thread Kosmonaut
@thatthatman: Yes, this bug is still present in Lucid :-(

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-03-12 Thread Mobius
I have a Santa Cruz 5.1 card using Sound Fusion CS46xx. My sound
actually stopped working when I went from 8.10 to 9.04. 9.04 to 9.10 got
sound with pulseaudio troubleshooting. Exhibits the symptoms thathatman
described unless I set the hardware in pulseaudio to 4.0 output, but
only heard playback in audacious.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-03-04 Thread thathatman
Has anyone tested Lucid yet? Is this bug still present?

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-03-04 Thread Daniel T Chen
** Package changed: pulseaudio (Ubuntu) = linux (Ubuntu)

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-01-30 Thread shanen (Shannon Jacobs)
This bug is listed as a duplicate of a different bug report that more
accurately described the symptoms that I am seeing. In my machines. What
I see is total sound failure (apart from a few intermittent clicks at
boot time) on machines that worked fine with 9.04. That includes three
machines from two different makers, Lenovo and Sharp. Actually, it might
be three makers, since one of the machines is old enough that it is
probably an IBM. I've tried upgrades, clean installs, running live from
the CD, and also from VMware Player. Most of the machines are fairly
new.

Excuse me, but this is a massive failure. Ubuntu needs to do much better
regression testing. I like Ubuntu, but it is no longer an OS that I can
recommend to anyone. Off topic, but I think the main problem with Ubuntu
is now the broken economic model that is driving the adoption of
features without adequate testing, while at the same time leaving old
bugs open, sometimes for years... (I've already suggested an alternative
funding mechanism, but never detected any interest at the Ubuntu end...)
Unless these massive show-stopping problems are fixed, Ubuntu is going
to fail.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-01-30 Thread shanen (Shannon Jacobs)
Whoops, I meant to say at least 3 machines, but I think I may have
tested it on as many as five machines that failed, and found only one
machine where the sound worked properly (from the live CD, as I recall).

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-01-15 Thread Jeff Sumner
It's been a month- anyone need more information that we can  move
forward? The laptop still stutters, and I've removed Pulse from it
because of that, though I could install it again.

Fedora uses similar software and has the same problem.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2010-01-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/pulseaudio

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-12-04 Thread Jeff Sumner
Okay. Here are the specific symptoms (file attached):
Often, nothing noticed until I start a music player (any will do). Ubuntu 
bongos play normally when I log in. I start a music player, choose a song, 
press play, and often, a song will start to play (sometimes: silence- about 
20% of the time). If the volume is too high or low, I slide the slider on 
either the player or the master volume and every other detent the music will 
loop- about fifteen to twenty times per second, until I move the volume to the 
NEXT detent and either the song goes silent or returns to normal playing- but 
at a higher or lower volume.

So attached is the troubleshooting file.

I cannot get this behavior without pulseaudio running. I also couldn't
get this behavior in Debian, normal (read: ancient) install.

If there's anything to add- I can't get this laptop (IBM A20m) to correctly 
play with Speedstep governors. ACPI (and acpi-ibm) are working very well: 
lmsensors, fine- but there's no cpu speed indicated in the /sys filesystem. 
Not that it means anything, of course, but I'm just tryin' to be complete with 
systemic problems which might affect pulseaudio.

(compled with -ffast-math? )


** Attachment added: pulseaudio stutter log
   http://launchpadlibrarian.net/36453960/pulseverbose.log

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-11-15 Thread Jeff Sumner
I'm having trouble on an IBM Thinkpad A20m- CS46XX sound card. Is there
anything that I could do to help in the troubleshooting/fixing?

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-11-15 Thread Daniel T Chen
@Jeff Sumner
See https://wiki.ubuntu.com/PulseAudio/Log

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-11-03 Thread MiiJaySung
I can confirm that I also have this. My active sound card is the onboard
sound on my Asus M2N32 WS Pro motherboard. It's using a AD1988B (Analog
Devices) chip, and it's driving spare!

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-11-02 Thread Rod Shean
I also had an old Turtle Beach Santa Cruz sound Card using the CS46xx
Driver. Had problems with the making a loud buzzing noise anytime I used
the mouse; only way to get it to stop was to move the volume setting
around.  Played around with sitting using the Alsa mixer for at least 2
hours only seemed to get worse. Never did get the Mic working with any
programs.

I had a Creative Lab sound card which I had taken from an old computer.
Replace the Turtle Beach Card with the Creative Lab card. All the sound
problems vanished as soon as the system finished booting including the
mic stated to work.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-11-02 Thread Daniel T Chen
The cs46xx driver is notorious for making you jump through mixer
control hoops to do things. We have a FAQ in the ALSA wiki for it.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-11-01 Thread John Watson
I have an old Turtle Beach Santa Cruz sound card using the CS46xx driver
and was having exactly these symptoms after upgrading to Karmic (audio
with pulseaudio was working perfectly in Jaunty). Switching output to
the onboard audio (Realtek ALC883) made the problem completely go away.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-28 Thread Ernesto Manriquez
1. Arch Linux is stuck in Pulseaudio 0.9.15 because of this.
2. CS46xx is buggy as hell. It is possible, but difficult, to trigger the same 
bug with plain ALSA. Also, Pulseaudio with ts_sched=1 is unusable with CS46xx. 
Audio streams lose their synchronization, and the only way to play audio 
reliably with that is playing with PAVuControl always enabled. Also, I read 
somewhere in the ALSA mailing lists that the timing mechanism for the CS46xx 
driver is unique and buggy.

Please, report all of these issues to the ALSA team.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-26 Thread thathatman
When I use my onboard audio instead this problem disappears completely.
(Too bad it sounds a little bit better than a drive-thru intercom...)

So we've nailed down that it's a pulseaudio problem specific to this
audio chipset. Any ideas, Daniel?

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-26 Thread Daniel T Chen
I won't have time in the near future to investigate, but it's
certainly on my plate for Lucid/10.04. Please hang tight...

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-26 Thread Rob Speer
I have my doubts that this is a pulseaudio problem. If I kill pulseaudio
and play sound with alsaplayer, I get exactly the same effect. Also,
when I run pulseaudio manually, I see things like this:

E: alsa-sink.c: ALSA woke us up to write new data to the device, but there was 
actually nothing to write!
E: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_cs46xx'. 
Please report this issue to the ALSA developers.
E: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent 
snd_pcm_avail() returned 0 or another value  min_avail.
W: ratelimit.c: 20 events suppressed
W: ratelimit.c: 38 events suppressed
W: ratelimit.c: 43 events suppressed
W: ratelimit.c: 42 events suppressed
W: ratelimit.c: 35 events suppressed
W: ratelimit.c: 35 events suppressed
W: ratelimit.c: 41 events suppressed
W: ratelimit.c: 39 events suppressed
W: ratelimit.c: 42 events suppressed

So I'm thinking this should be reported to ALSA, but I don't know the
package name or how to do that. It would be tragic, though, if all
cs46xx cards produced such horrible noises on the released version of
Karmic when they didn't on Jaunty.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-19 Thread Simon Booth
Same problem here with pulse/cs46xx on a T20.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-19 Thread Simon Booth
I've just tested and DVD playback is fine with esound in place of
pulseaudio.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-07 Thread Rob Speer
I know how to use ubuntu-bug to add my system information to a new bug,
but how do I add it to an existing one?

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-07 Thread Rob Speer
Figured out how (apport-collect). Okay, there's my information.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-07 Thread thathatman
Whoa, I didn't even see that this bug was marked as fixed. The patch
posted above did not fix this bug for me. Sounds like Knarf and Daniel
fixed a similar bug above.

I'm guessing that this must be a cs46xx related bug... How can I help
track this bug down?


Rob, can you add all your system information to this bug?


Do you experience sound problems on volume changes? I've found that if I change 
the volume three or four times, it will temporarily fix the audio problems.

** Changed in: pulseaudio (Ubuntu)
   Status: Fix Released = Confirmed

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-10-06 Thread Rob Speer
I have pulseaudio 0.9.18-0ubuntu3, and I am still experiencing terrible
machine-gun noises, crackling, and distortion on my cs46xx.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-22 Thread knarf
Looking at the differences between svolume_sse.c from pulseaudio 0.9.16
and the current one I noticed that those changes are only cosmetical -
only a comment has changed. It does not make sense to try to patch
that... But you can of course try the patch I posted in #19 and see if
that works for you.

It is quite simple really. Assuming you...

- keep your sources in /usr/src
- downloaded the patch to your home directory
- have not built pulseaudio before so there are no pulseaudio*.deb or 
libpulse*.deb packages in /usr/src

...it goes something like this:

(first get the build dependencies:)

   sudo apt-get build-dep pulseaudio

(now get the source:)

   cd /usr/src
   apt-get source pulseaudio

(patch the source:)
(cd whatever directory the source was installed to, currently pulseaudio-0.9.18 
so...)

   cd pulseaudio-0.9.18
   patch -p1  ~/revert_svolume_mmx_to_known_good_version.patch

(build the binary packages:)

   fakeroot dpkg-buildpackage -b

(install pulseaudio and libpulse:)
(while still in the pulseaudio source directory, directly after the build has 
finished:)

   sudo dpkg -i ../libpulse0_*.deb ../pulseaudio_*.deb

As to how to test the new build depends on how you use it. If you run a
sound-generating package like mplayer or totem it should be sufficient
to kill any running pulseaudio daemon with:

   pulseaudio -k

It should autostart the next time you start any sound-generating
program... unless you have autospawn=no in your personal pulseaudio
config of course... in that case you need to start it manually.

If you run some sound-generating daemon like mpd you may need to restart
that to make sure it starts a fresh copy of pulseaudio.

Now try to change volume...

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-22 Thread Launchpad Bug Tracker
** Branch linked: lp:~crimsun/pulseaudio/ubuntu

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-22 Thread Launchpad Bug Tracker
This bug was fixed in the package pulseaudio - 1:0.9.18-0ubuntu3

---
pulseaudio (1:0.9.18-0ubuntu3) karmic; urgency=low

  * debian/patches/:
+ 0052-revert-sse2-optimize.patch: Revert 3d5a57 causing audio
  anomalies (LP: #428619)

 -- Daniel T Chen crim...@ubuntu.com   Tue, 22 Sep 2009 22:19:42 -0400

** Changed in: pulseaudio (Ubuntu)
   Status: New = Fix Released

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-21 Thread knarf
After modifying that incantation a bit by adding PULSE_NO_SIMD=1 to the
mpd init script as mpd starts its own version of pulseaudio the noise
dissappeared... in other words the recent problems with distorted sound
ARE caused by the SSE-optimized code... There are very few changes to
the actual assembler code in svolume_sse.c, I'll try a version of
current pulseaudio with these changes reverted to see if that makes a
difference... be right back...

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-21 Thread knarf
Reverted svolume_sse.c does NOT solve the problem - the bug lives
elsewhere.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-21 Thread knarf
Another observation: the volume control on a client (in my case mpd)
does not actually change the volume. There are three states:

volume maxed, sound OK
volume between maxed and minimum, sound distorted at full volume
volume minimized, no sound

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-21 Thread knarf
OK, I found it. The problem - in my case at least - lies in
svolume_mmx.c (not svolume_sse.c). Reverting that file back to the
previous version gets rid of the problem. These are the changes which
caused the appearance of the distorted sound problem on my box:

diff -pruN ../pulseaudio-0.9.16~test7-14-g7ca81/src/pulsecore/svolume_mmx.c 
src/pulsecore/svolume_mmx.c
--- ../pulseaudio-0.9.16~test7-14-g7ca81/src/pulsecore/svolume_mmx.c
2009-09-20 17:26:04.657239828 +0200
+++ src/pulsecore/svolume_mmx.c 2009-09-18 22:21:44.0 +0200
@@ -57,14 +57,12 @@
punpcklwd %%mm4, #s\n\t /* .. |0  |   p0  | */  
 \
pcmpgtw #v, %%mm4  \n\t /* .. |0  | s(vl) | */  
 \
pand #s, %%mm4 \n\t /* .. |0  |  (p0) |  (vl  15) 
 p */   \
-   movq %%mm6, %%mm5\n\t /* .. |   |   0   | */  
 \
-   pand #v, %%mm5 \n\t /* .. |   vh  |   0   | */  
 \
-   por %%mm5, %%mm4 \n\t /* .. |   vh  |  (p0) | */  
 \
-   pmulhw #s, #v\n\t /* .. |0  | vl*p0 | */  
 \
-   paddw %%mm4, #v\n\t /* .. |   vh  | vl*p0 | vh + sign 
correct */ \
-   pslld $16, #s  \n\t /* .. |   p0  |0  | */  
 \
-   por %%mm7, #s  \n\t /* .. |   p0  |1  | */  
 \
-   pmaddwd #s, #v   \n\t /* .. |p0 * v0| */  
 \
+   movq #s, %%mm5 \n\t 
 \
+   pmulhw #v, #s\n\t /* .. |0  | vl*p0 | */  
 \
+   paddw %%mm4, #s\n\t /* .. |0  | vl*p0 | + sign 
correct */\
+   psrld $16, #v  \n\t /* .. |0  |   vh  | */  
 \
+   pmaddwd %%mm5, #v  \n\t /* .. |p0 * vh| */  
 \
+   paddd #s, #v \n\t /* .. |p0 * v0| */  
 \
packssdw #v, #v  \n\t /* .. | p1*v1 | p0*v0 | */

 /* approximately advances %3 = (%3 + a) % b. This function requires that
@@ -105,10 +103,6 @@ pa_volume_s16ne_mmx (int16_t *samples, i
 __asm__ __volatile__ (
  xor %3, %3\n\t
  sar $1, %2\n\t /* length /= sizeof (int16_t) */
- pcmpeqw %%mm6, %%mm6  \n\t /* .. |   |   | */
- pcmpeqw %%mm7, %%mm7  \n\t /* .. |   |   | */
- pslld  $16, %%mm6 \n\t /* .. |   | 0 | */
- psrld  $31, %%mm7 \n\t /* .. | 0 | 1 | */

  test $1, %2   \n\t /* check for odd samples */
  je 2f \n\t

The simplest solution is to revert that piece of assembly back to what
it was. The attached patch accomplishes this.

** Attachment added: revert svolume_mmx.c back to last known good version
   
http://launchpadlibrarian.net/32144505/revert_svolume_mmx_to_known_good_version.patch

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-21 Thread knarf
I should add that I run pulseaudio on a Thinkpad T23 with a Pentium
III-m which does NOT support SSE2. As I do not have any systems
available which do support SSE2 I can not test the validity of
svolume_sse.c (which actually contains SSE2 code, not SSE...). Someone
else, like the original bug reporter (who seems to run a Pentium 4 which
does support SSE2) should try to revert svolume_sse.c back to a previous
version and test with that.

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-21 Thread thathatman
knarf, thanks for all your work. Can you give me some help reverting and 
testing?
Thanks

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-20 Thread knarf
Same problem here on different hardware running latest pulseaudio from
ubuntu-audio-dev. Symptoms are the same: sound is sort of allright when
the volume client is maxed, anything below that sounds from bad to
worse. Being that the symptoms seem to be volume-related I wonder if
this is due to some bug in the new SSE-optimized volume code...

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-20 Thread Daniel T Chen
On Sun, Sep 20, 2009 at 11:26 AM, knarf launchpad-ubunt...@unternet.org wrote:
 Same problem here on different hardware running latest pulseaudio from
 ubuntu-audio-dev. Symptoms are the same: sound is sort of allright when
 the volume client is maxed, anything below that sounds from bad to
 worse. Being that the symptoms seem to be volume-related I wonder if
 this is due to some bug in the new SSE-optimized volume code...

If this is indeed the case, you can test:

echo autospawn = no|tee -a ~/.pulse/client.conf
killall pulseaudio
PULSE_NO_SIMD=1 pulseaudio -

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 428619] Re: pulseaudio crackle/distortion with cs46xx on latest update

2009-09-14 Thread thathatman
Bug still present in 1:0.9.17-0ubuntu1.
Crackling/distortion appears to be diminished but machine-gun sound remains.
What other information would be helpful?

-- 
pulseaudio crackle/distortion with cs46xx on latest update
https://bugs.launchpad.net/bugs/428619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs