[Bug 471265] New: ATI IXP audio problems with gstreamer
https://bugzilla.novell.com/show_bug.cgi?id=471265 Summary: ATI IXP audio problems with gstreamer Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: andrescimmarusti@yahoo.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 I'm running openSuSe 11.1 i586 GNOME, and I have been trying to play my media on banshee and totem, but I get a lot of stuttering and skipping while I'm minimizing windows or opening other programs. All my audio specs can be found here: http://www.alsa-project.org/db/?f=ea...ab4baee8003f32 I tried the audio troubleshoot guide for OpenSuSe (SDB:AudioTroubleshooting - openSUSE): if I run the 'speaker-test -c2 -l5 -twav' I can hear the lady saying front left and right without problems. But I get stuck on step 2: Yast -> Hardware -> Sound and when I try playing the test sound, NOTHING happens. I tried reconfiguring, either the quick setup and normal setup, but it made no difference. If I do: cat /proc/asound/cards I get 0 [IXP ]: ATIIXP - ATI IXP ATI IXP rev 2 with unknown codec at 0xc0003400, irq 17 1 [Modem ]: ATIIXP-MODEM - ATI IXP Modem ATI IXP Modem rev 2 at 0xc0003800, irq 17 2 [U0x46d0x991 ]: USB-Audio - USB Device 0x46d:0x991 USB Device 0x46d:0x991 at usb-0000:00:13.2-1, high speed It is the "ATI IXP rev 2 with unknown codec at 0xc0003400, irq 17" line that worries me. what is that about unknown codec? Sometimes when I play a video on youtube.com, for example, I get a brief horrible noise at the beginning, but then I get normal audio (even though I run firefox from the terminal, I get no output concerning this issue). I tried installing Skype to test my usb mic, but all I got was this ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi There is clearly something wrong with my audio card under ALSA. And Pulseaudio is making gstreamer dependent audio stutter and skip. Reproducible: Always Steps to Reproduce: 1.banshee-1 & 2.skype & 3.totem & 4.cat /proc/asoung/cards Actual Results: faulty audio all over -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c1
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c2
--- Comment #2 from Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c3
Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c4
--- Comment #4 from Takashi Iwai
To answer your question: Yes I'm using only the OpenSuSe 11.1 packages (except for skype, of course), I haven't even used Packman as a repository. Though it's harmless I think this is due to the fact that Skype displays the information regarding its default audio device (even if I'm using a different one), since I have a modem as well (even though I don't use it), this might be getting in the way and causing trouble... but it is just speculation.
The hdmi thing is really just harmfull unless you have some own setup. Just ignore it. (There is an alias for that, but no definition in your case)
How do I go about solving the pulseaudio situation? I've been meaning to uninstall it and bring back ESD, but I don't know if this would be wise. Can ALSA alone handle everything? including the media online?
ALSA could handle, but GNOME wants the other backend. That's all.
This is the output of the script you required
Please don't paste but upload the file at the next time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c5
--- Comment #5 from Takashi Iwai
Sorry for double posting, but I forgot to ask something:
what is this unknown codec thing?
The codec chip on your laptop (supposed to be a Conexant one) has an unknown ID. Usually the codec chip should be compatible with the standard AC97 spec, so it should be OK. Of course, it'd be helpful if you can figure out what codec chip is on your laptop actually. Then we can add the entry to the device table in the driver so that it shows the right codec chip name. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c6
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c7
Andres Cimmarusti
Oh, and does the old ESD work well? If yes, it's a PA problem, and I'd like > to pass it over to the PA maintainer.
As I said before, I didn't know how to properly remove PA and bring back ESD (I tried going to YAST -> SOFTWARE MANAGEMENT and removing all packages related to pulseaudio, but this caused a lot of dependency problems and threatened to uninstall gnome-desktop!). So what I decided to do was to reinstall OpenSuSe 11.1 i586 GNOME without the following packages: - padevchooser - paprefs - paman - pavucontrol - pavumeter - pulseaudio-module-bluetooth - pulseaudio-module-gconf - pulseaudio-module-lirc - pulseaudio-module-x11 - pulseaudio-module-zeroconf - pulseaudio-utils That means these packages are still installed (and I can't remove them without dependency problems) - alsa-plugins-pulse - libpulse0 - pulseaudio - pulseaudio-esound-compat - libpulsecore4 Under CONTROL CENTER -> SOUND I get the following sources: - Autodetect - ATI IXP rev2 with unknown codec ATI IXP AC97 (ALSA) - ATI IXP rev2 with unknown codec ATI IXP AC97 (OSS) (it's there twice) - ATI IXP Modem rev 2 ATI IXP MC97 (OSS) (it's also there twice) - ALSA - Advanced Linux Sound Architecture - ESD - Enlightened Sound Daemon - PulseAudio Sound Server
From this list I chose ESD and sound overall works better, but whenever I try to play sounds from two sources (say an online video in firefox and music with banshee) I get a lot of scratchy noise and interference. Now this brings me back to one of your other comments:
The codec chip on your laptop (supposed to be a Conexant one) has an unknown ID. Usually the codec chip should be compatible with the standard AC97 spec, so it should be OK.
Yes, I have a Conexant AC-Link sound chip. However, I'm not sure this is "OK" for the following reason. When I choose under CONTROL CENTER -> SOUND as sound playback the device: ATI IXP rev2 with unknown codec ATI IXP AC97 (ALSA) and I click on 'Test' I this an error message: audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback. That, however, does not happen to the same device under OSS. I do get a test sound, but of poorer quality than the other sound sources. I will now sum up what happens with each sound source when I try the test sound: - Autodetect -> Plays well, but plays the same pattern as PulseAudio Sound Server (see below) - ATI IXP Modem rev 2 ATI IXP MC97 (OSS) -> I get no errors but I get no sound - ALSA - Advanced Linux Sound Architecture -> I get a bad skipping, scratchy and stuttering sound (much like the one I described in my earlier posts) - ESD - Enlightened Sound Daemon -> Sound plays well - PulseAudio Sound Server -> Sound plays well but it is definitely a different sound pattern, it makes a short beep and then a continuous one, while for the others sources it is always continuous.
Of course, it'd be helpful if you can figure out what codec chip is on your laptop actually. Then we can add the entry to the device table in the driver so that it shows the right codec chip name.
How do I do this? I have no clue whatsoever. Should I ask HP? Should I ask Conexant? Should I run some kind of program that can tell me such information? I'm sorry I can't provide you with more information, I'm only a newcomer to OpenSuSe 11.1 and a newbie in linux overall (I had been using Ubuntu 8.10 on my laptop for nearly 6 months before switching to OpenSuSe 11.1 and sound worked well there, except skype didn't, due to a bluetooth conflict). You'll have to guide me a bit more (I tried the forums, but no one has replied) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c8
Takashi Iwai
Ok, I'm not knowledgeable enough to figure out all that you are asking. In fact it is I who needs the info!
Oh, and does the old ESD work well? If yes, it's a PA problem, and I'd like > to pass it over to the PA maintainer.
As I said before, I didn't know how to properly remove PA and bring back ESD (I tried going to YAST -> SOFTWARE MANAGEMENT and removing all packages related to pulseaudio, but this caused a lot of dependency problems and threatened to uninstall gnome-desktop!).
Yes. So far, lots of GNOME stuff depend on PA. If you use other desktop, it would work, though.
So what I decided to do was to reinstall OpenSuSe 11.1 i586 GNOME without the following packages:
- padevchooser - paprefs - paman - pavucontrol - pavumeter - pulseaudio-module-bluetooth - pulseaudio-module-gconf - pulseaudio-module-lirc - pulseaudio-module-x11 - pulseaudio-module-zeroconf - pulseaudio-utils
That means these packages are still installed (and I can't remove them without dependency problems)
- alsa-plugins-pulse - libpulse0 - pulseaudio - pulseaudio-esound-compat - libpulsecore4
This means that pulseaudio will be still used. So the situation is same.
Under CONTROL CENTER -> SOUND I get the following sources:
- Autodetect - ATI IXP rev2 with unknown codec ATI IXP AC97 (ALSA) - ATI IXP rev2 with unknown codec ATI IXP AC97 (OSS) (it's there twice) - ATI IXP Modem rev 2 ATI IXP MC97 (OSS) (it's also there twice) - ALSA - Advanced Linux Sound Architecture - ESD - Enlightened Sound Daemon - PulseAudio Sound Server
From this list I chose ESD and sound overall works better, but whenever I try to play sounds from two sources (say an online video in firefox and music with banshee) I get a lot of scratchy noise and interference. Now this brings me back to one of your other comments:
You are seeing the same thing. The difference is that you removed some PA-utilities, but the PA itself is still used. Note that there is no genuine esound on 11.1. It's emulated by pulseaudio. In theory you could install esound package from 11.0 or older, then the dependency on PA might be lighter. But do it at your own risk if you really want...
The codec chip on your laptop (supposed to be a Conexant one) has an unknown ID. Usually the codec chip should be compatible with the standard AC97 spec, so it should be OK.
Yes, I have a Conexant AC-Link sound chip. However, I'm not sure this is "OK" for the following reason. When I choose under CONTROL CENTER -> SOUND as sound playback the device: ATI IXP rev2 with unknown codec ATI IXP AC97 (ALSA) and I click on 'Test' I this an error message:
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback.
That, however, does not happen to the same device under OSS. I do get a test sound, but of poorer quality than the other sound sources.
Irrelevant. This is simply the question of device usage.
I will now sum up what happens with each sound source when I try the test sound:
- Autodetect -> Plays well, but plays the same pattern as PulseAudio Sound Server (see below)
- ATI IXP Modem rev 2 ATI IXP MC97 (OSS) -> I get no errors but I get no sound
- ALSA - Advanced Linux Sound Architecture -> I get a bad skipping, scratchy and stuttering sound (much like the one I described in my earlier posts)
- ESD - Enlightened Sound Daemon -> Sound plays well
- PulseAudio Sound Server -> Sound plays well but it is definitely a different sound pattern, it makes a short beep and then a continuous one, while for the others sources it is always continuous.
Also irrelevant from the codec chip identification. The scratchy sound or repeated sound are rather the problem with the controller chip, not about the codec chip.
Of course, it'd be helpful if you can figure out what codec chip is on your laptop actually. Then we can add the entry to the device table in the driver so that it shows the right codec chip name.
How do I do this? I have no clue whatsoever. Should I ask HP? Should I ask Conexant? Should I run some kind of program that can tell me such information?
I don't care how you achieve it :)
I'm sorry I can't provide you with more information, I'm only a newcomer to OpenSuSe 11.1 and a newbie in linux overall (I had been using Ubuntu 8.10 on my laptop for nearly 6 months before switching to OpenSuSe 11.1 and sound worked well there, except skype didn't, due to a bluetooth conflict). You'll have to guide me a bit more (I tried the forums, but no one has replied)
Please try the following: - kill pulseaudio once, killall -9 pulseaudio - run aplay with a WAV file (e.g. /usr/share/sounds/alsa/test.wav) aplay -Dplughw -vv /usr/share/sounds/alsa/test.wav - run aplay with -Dplug:dmix instead of -Dplughw aplay -Dplug:dmix -vv /usr/share/sounds/alsa/test.wav - if the former works well, run two aplay at the same time (e.g. on two terminals) This basically tests the ALSA-native playback. Let's see whether this works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c9
Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c10
--- Comment #10 from Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c11
--- Comment #11 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c12
--- Comment #12 from Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c13
--- Comment #13 from Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c14
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c15
Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c16
--- Comment #16 from Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c17
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c18
Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c19
--- Comment #19 from Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c20
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c21
Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c22
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
User andrescimmarusti@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c23
Andres Cimmarusti
https://bugzilla.novell.com/show_bug.cgi?id=471265
User tiwai@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471265#c24
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=471265
Federico Mena Quintero
participants (1)
-
bugzilla_noreply@novell.com