Index

Subject : Re: LUG: Ubuntu Sound Issues

From : "Donald Waterman" <don_waterman@ncsu.[redacted]>

Date : Thu, 07 Apr 2011 22:23:21 -0400

Parent


Nathan,
Can you post back your Ubuntu release and kernel rev?

Also check out: http://ubuntuforums.org/showthread.php?t=1302296

-Don


Don Waterman
Systems Programmer
Office of Information Technology, NC State University


>>> Nicholas Almond <njalmond@ncsu.[redacted]> 4/7/2011 8:31 PM >>>
Sorry its taken so long for me to repost about this, I've been busy...I got
the information about my sound hardware using the command you suggested:

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Subsystem: Giga-byte Technology Device a002
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
Subsystem: Giga-byte Technology Device 960f
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fdffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
03:07.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
Subsystem: Creative Labs SB0570 [SB Audigy SE]
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at cf00 [size=32]
Capabilities: <access denied>
Kernel driver in use: CA0106
Kernel modules: snd-ca0106
I looked and my motherboard is a Gigabyte GA-MA78GM-US2H. I was also
incorrect on my first post, I tried that same video again, still in VLC, and
it had the same issue as the music. I also tried Youtube, same issue. I
tried changing VLC's audio output, I tried updating the ALSA drivers, and I
tried using XMMS, all had the same issue with the "skipping" audio.
Here are the contents of my user.log file:
Apr 5 20:45:49 ubuntu pulseaudio[2083]: pid.c: Daemon already running.
Apr 5 20:45:54 ubuntu pulseaudio[2022]: ratelimit.c: 20 events suppressed
Apr 5 20:46:52 ubuntu python: io/hpmud/pp.c 627: unable to read device-id
ret=-1
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/50mounted-tests on /dev/sda1
Apr 5 20:59:44 ubuntu 50mounted-tests: debug: mounted as ntfs-3g filesystem
Apr 5 20:59:44 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10freedos
Apr 5 20:59:44 ubuntu 10freedos: debug: /dev/sda1 is not a FAT partition:
exiting
Apr 5 20:59:44 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10qnx
Apr 5 20:59:44 ubuntu 10qnx: debug: /dev/sda1 is not a QNX4 partition:
exiting
Apr 5 20:59:44 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20macosx
Apr 5 20:59:44 ubuntu macosx-prober: debug: /dev/sda1 is not an HFS+
partition: exiting
Apr 5 20:59:44 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20microsoft
Apr 5 20:59:44 ubuntu 20microsoft: debug: /dev/sda1 is a NTFS partition
Apr 5 20:59:44 ubuntu 20microsoft: result: /dev/sda1:Windows 7
(loader):Windows:chain
Apr 5 20:59:44 ubuntu 50mounted-tests: debug: os found by subtest
/usr/lib/os-probes/mounted/20microsoft
Apr 5 20:59:44 ubuntu os-prober: debug: os detected by
/usr/lib/os-probes/50mounted-tests
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/10freedos on mounted /dev/sda2
Apr 5 20:59:44 ubuntu 10freedos: debug: /dev/sda2 is not a FAT partition:
exiting
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/10qnx on mounted /dev/sda2
Apr 5 20:59:44 ubuntu 10qnx: debug: /dev/sda2 is not a QNX4 partition:
exiting
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/20macosx on mounted /dev/sda2
Apr 5 20:59:44 ubuntu macosx-prober: debug: /dev/sda2 is not an HFS+
partition: exiting
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/20microsoft on mounted /dev/sda2
Apr 5 20:59:44 ubuntu 20microsoft: debug: /dev/sda2 is a FUSE partition
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/30utility on mounted /dev/sda2
Apr 5 20:59:44 ubuntu 30utility: debug: /dev/sda2 is not a FAT partition:
exiting
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/40lsb on mounted /dev/sda2
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/70hurd on mounted /dev/sda2
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/80minix on mounted /dev/sda2
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sda2
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/90solaris on mounted /dev/sda2
Apr 5 20:59:44 ubuntu os-prober: debug: running
/usr/lib/os-probes/50mounted-tests on /dev/sdb1
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: mounted as ntfs-3g filesystem
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10freedos
Apr 5 20:59:45 ubuntu 10freedos: debug: /dev/sdb1 is not a FAT partition:
exiting
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10qnx
Apr 5 20:59:45 ubuntu 10qnx: debug: /dev/sdb1 is not a QNX4 partition:
exiting
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20macosx
Apr 5 20:59:45 ubuntu macosx-prober: debug: /dev/sdb1 is not an HFS+
partition: exiting
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20microsoft
Apr 5 20:59:45 ubuntu 20microsoft: debug: /dev/sdb1 is a NTFS partition
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/30utility
Apr 5 20:59:45 ubuntu 30utility: debug: /dev/sdb1 is not a FAT partition:
exiting
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/40lsb
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/70hurd
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/80minix
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/90linux-distro
Apr 5 20:59:45 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/90solaris
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/50mounted-tests on /dev/sda1
Apr 5 21:00:00 ubuntu 50mounted-tests: debug: mounted as ntfs-3g filesystem
Apr 5 21:00:00 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10freedos
Apr 5 21:00:00 ubuntu 10freedos: debug: /dev/sda1 is not a FAT partition:
exiting
Apr 5 21:00:00 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10qnx
Apr 5 21:00:00 ubuntu 10qnx: debug: /dev/sda1 is not a QNX4 partition:
exiting
Apr 5 21:00:00 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20macosx
Apr 5 21:00:00 ubuntu macosx-prober: debug: /dev/sda1 is not an HFS+
partition: exiting
Apr 5 21:00:00 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20microsoft
Apr 5 21:00:00 ubuntu 20microsoft: debug: /dev/sda1 is a NTFS partition
Apr 5 21:00:00 ubuntu 20microsoft: result: /dev/sda1:Windows 7
(loader):Windows:chain
Apr 5 21:00:00 ubuntu 50mounted-tests: debug: os found by subtest
/usr/lib/os-probes/mounted/20microsoft
Apr 5 21:00:00 ubuntu os-prober: debug: os detected by
/usr/lib/os-probes/50mounted-tests
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/10freedos on mounted /dev/sda2
Apr 5 21:00:00 ubuntu 10freedos: debug: /dev/sda2 is not a FAT partition:
exiting
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/10qnx on mounted /dev/sda2
Apr 5 21:00:00 ubuntu 10qnx: debug: /dev/sda2 is not a QNX4 partition:
exiting
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/20macosx on mounted /dev/sda2
Apr 5 21:00:00 ubuntu macosx-prober: debug: /dev/sda2 is not an HFS+
partition: exiting
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/20microsoft on mounted /dev/sda2
Apr 5 21:00:00 ubuntu 20microsoft: debug: /dev/sda2 is a FUSE partition
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/30utility on mounted /dev/sda2
Apr 5 21:00:00 ubuntu 30utility: debug: /dev/sda2 is not a FAT partition:
exiting
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/40lsb on mounted /dev/sda2
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/70hurd on mounted /dev/sda2
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/80minix on mounted /dev/sda2
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sda2
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/mounted/90solaris on mounted /dev/sda2
Apr 5 21:00:00 ubuntu os-prober: debug: running
/usr/lib/os-probes/50mounted-tests on /dev/sdb1
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: mounted as ntfs-3g filesystem
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10freedos
Apr 5 21:00:01 ubuntu 10freedos: debug: /dev/sdb1 is not a FAT partition:
exiting
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/10qnx
Apr 5 21:00:01 ubuntu 10qnx: debug: /dev/sdb1 is not a QNX4 partition:
exiting
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20macosx
Apr 5 21:00:01 ubuntu macosx-prober: debug: /dev/sdb1 is not an HFS+
partition: exiting
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/20microsoft
Apr 5 21:00:01 ubuntu 20microsoft: debug: /dev/sdb1 is a NTFS partition
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/30utility
Apr 5 21:00:01 ubuntu 30utility: debug: /dev/sdb1 is not a FAT partition:
exiting
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/40lsb
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/70hurd
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/80minix
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/90linux-distro
Apr 5 21:00:01 ubuntu 50mounted-tests: debug: running subtest
/usr/lib/os-probes/mounted/90solaris
Apr 5 21:06:09 ubuntu pulseaudio[1718]: pid.c: Daemon already running.
Apr 5 21:06:14 ubuntu pulseaudio[1659]: ratelimit.c: 14 events suppressed
Apr 5 21:40:32 ubuntu pulseaudio[1659]: alsa-sink.c: ALSA woke us up to
write new data to the device, but there was actually nothing to write!
Apr 5 21:40:32 ubuntu pulseaudio[1659]: alsa-sink.c: Most likely this is a
bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA
developers.
Apr 5 21:40:32 ubuntu pulseaudio[1659]: alsa-sink.c: We were woken up with
POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another
value < min_avail.
Apr 5 21:40:49 ubuntu pulseaudio[1659]: ratelimit.c: 13 events suppressed
Apr 5 21:49:25 ubuntu pulseaudio[1674]: pid.c: Daemon already running.
Apr 5 22:01:30 ubuntu pulseaudio[1615]: alsa-sink.c: ALSA woke us up to
write new data to the device, but there was actually nothing to write!
Apr 5 22:01:30 ubuntu pulseaudio[1615]: alsa-sink.c: Most likely this is a
bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA
developers.
Apr 5 22:01:30 ubuntu pulseaudio[1615]: alsa-sink.c: We were woken up with
POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another
value < min_avail.
Apr 7 20:15:08 ubuntu pulseaudio[1750]: pid.c: Daemon already running.
Apr 7 20:15:08 ubuntu pulseaudio[1751]: pid.c: Daemon already running.

Thanks again for your help,
Nick

On Tue, Apr 5, 2011 at 8:23 PM, Nathan Wilson <njwilso3@ncsu.[redacted]> wrote:

> Hi,
>
> What you have right now sounds to me like a buffer overrun issue. For
> starters, I would start up a terminal
> (Applications->Accessories->Terminal in default GNOME desktop) and
> enter the command <lspci -v | less>. Use the cursor keys (or j, k, f,
> b) to scroll. You'll get more precise identifying information about
> your built-in PC98 audio or your SoundBlaster as well as the kernel
> driver title and module. You can use (and post) this to start
> diagnosing the problem and find out if you need to do any
> configuration file tweaking or the like.
>
> Have you checked your system log (System->Administration->Log File
> Viewer->user.log)? I bet you will see reports from alsa-util and maybe
> ratelimit via pulseaudio. This information could be of use.
>
> You could try changing your audio output, as well. In VLC, go to
> Audio->Output Module and try different sound systems. (Pulseaudio is
> Ubuntu's default.) If you find one that's not giving you problems, you
> can set GStreamer to default to it following the instructions in
> http://www.webupd8.org/2010/03/how-to-switch-to-alsa-or-oss-instead-of.html
> .
>
> Finally, one thing that has helped me in the past is upgrading ALSA
> (the usual back-end system for the Pulseaudio layer). The latest is
> 1.0.24, and you can upgrade past the version you have from Canonical
> using a PPA:
> https://launchpad.net/~ricotz/+archive/unstable?field.series_filter=maverick<https://launchpad.net/%7Ericotz/+archive/unstable?field.series_filter=maverick>
> .
> (The instructions are there on the page if you need them. Run Update
> Manager afterwards to get the new packages.) If this causes issues,
> you can remove the PPA from your software sources list and reinstall
> the packages. (I remember back when a big shell script was written to
> do all this....)
>
> I really hope this helps. Sound issues damage the desktop Linux experience!
>
> On Tue, Apr 5, 2011 at 6:10 PM, Nicholas Almond <njalmond@ncsu.[redacted]> wrote:
> > I have a custom built pc with a Gigabyte MB (I'm not sure of the model #
> > offhand) and an AMD Athlon 7750 Dual-Core Processor, I am currently
> running
> > Windows 7 with no issues, other than the fact that it is windows...
> > I want to run Ubuntu Linux on it, but any time that I have had Ubuntu on
> it,
> > the audio doesn't work right. I have not tried a clean install, but I
> have
> > used the wubi, but that should act the same way as a clean install right?
> > Specifically, when I play audio files, using the on-board sound card (I
> also
> > tried a SoundBlaster Audigy, same issue) and several different music
> players
> > (VLC, Banshee, Movie Player, Rhythmbox), the sound is choppy, almost like
> an
> > old cd player that would skip if something bumped it. The skips are
> > inconsistent and can start anywhere from the beginning of the song to one
> > minute into it. I have tried mp3s, AACs, and oggs, all have the same
> > issue. However, I did not have this issue playing a video file (.m2ts in
> > this case) in VLC.
> > Does anyone have any ideas or suggestions as to how to solve or identify
> the
> > source of this problem?
> >
> > Thanks,
> > Nick
> >
>
>
>
> --
> Nathan Wilson
> Computer Engineering, NC State University
>
>