Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: weird sound problems with ATIIXP, skype problems

  1. #1

    Default weird sound problems with ATIIXP, skype problems

    I have an ACER Travelmate laptop with an IXP150 AC'97 sound card, and I've been having sound-related problems for a long time. I recently upgraded to opensuse 11.0 (new installation) but that didn't solve the problem.

    When I log in, sometimes I can hear the greeting sound, but it suddenly stops and there is no sound. For example, MPlayer talks about broken pipe in AO_ALSA. I have to restart the soundcard.
    Sometimes I don't hear the greeting sound at all, I have sound, but knotify eats 99% CPU... strange that it behaves differently every time.

    Skype doesn't work. I can login, I can set the sound options, sometimes I can even have a good test sound, but during the test call I don't hear anything starting from the ringing. And skype seems to block sound: if I try to run mplayer, it says that device is busy. In skype I get error messages like this:

    ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
    RtApiAlsa: callback thread error (RtApiAlsa: audio write error for device (ATI IXP (hw:IXP,0)): Exec format error.) ... closing stream.

    However, the problem seems to be more general than only a skype bug. I've tried to search the forums, and I've tried quite a few things, I installed the newest alsa (which I could through yast), alsa-firmware, I blacklisted the snd_atiixp_modem module, I played around with the options (ac97_codec=0 etc.) in /etc/modprobe.d/sound...

    Here are my sound setting details (outputs of tsalsa and alsa-info.sh):

    tsalsa.txt - nopaste.com (beta)
    http://www.alsa-project.org/db/?f=0d...8afb85ecbd68db

    Any help would be really appreciated.

  2. #2
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,391
    Blog Entries
    34

    Default Re: weird sound problems with ATIIXP, skype problems

    Quote Originally Posted by marcilood View Post
    .... and I've tried quite a few things, I installed the newest alsa (which I could through yast), alsa-firmware, I blacklisted the snd_atiixp_modem module, I played around with the options (ac97_codec=0 etc.) in /etc/modprobe.d/sound...

    Here are my sound setting details (outputs of tsalsa and alsa-info.sh):

    tsalsa.txt - nopaste.com (beta)
    http://www.alsa-project.org/db/?f=0d...8afb85ecbd68db
    I don't understand.

    You stated you installed the latest alsa (which happens to be 1.0.19) but the scripts you provided indicate 1.0.17 and 1.0.18, which is the stock version of alsa that comes with openSUSE-11.1. There is a newer version (of alsa) that can be applied thru YaST with the appropriate repos in place.

    There is no point in my looking at the script, if it was run before you updated alsa.

    So please run the script again, so that it reflects the version of alsa that you have installed (which I assume is 1.0.19 as you stated you installed the latest version) and please also provide the output of:
    rpm -qa | grep alsa
    rpm -qa | grep pulse
    rpm -q libasound2
    uname -a
    cat /etc/modprobe.d/sound
    With that information, I can do some research to see if there are any updates or configuration tweaks that can be applied.

  3. #3
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,391
    Blog Entries
    34

    Default Re: weird sound problems with ATIIXP, skype problems

    Further to my previous post, if you wish to do this on your own (although I am more than willing to try to help with basic sound (not with skype - as I do not have any skype knowledge)) you could try working your way through: SDB:AudioTroubleshooting - openSUSE

    Note there is a guide here for updating to the latest alsa version via zypper/yast: Alsa-update - openSUSE Note as part of that update you need to update all the alsa applications (you currently have installed) plus install the appropriate alsa-driver-kmp ....

  4. #4

    Default Re: weird sound problems with ATIIXP, skype problems

    Thank you very much for your help.

    You were right, I didn't try hard enough to install the latest alsa packages. Now I hope I managed:

    > rpm -qa | grep alsa
    alsa-tools-1.0.19.git20090120-1.7
    alsa-firmware-1.0.19.git20090120-1.1
    alsa-oss-1.0.17.git20080715-2.16
    alsa-utils-1.0.19.git20090130-2.1
    alsa-plugins-jack-1.0.19.git20090123-1.4
    alsa-driver-kmp-default-1.0.19.20090201_2.6.27.7_9.1-1.1
    alsa-plugins-pulse-1.0.19.git20090123-1.4
    tsalsa-20080914-0.pm.1
    alsa-driver-unstable-kmp-default-1.0.19.20090131_2.6.27.7_9.1-1.1
    alsa-plugins-1.0.19.git20090123-1.4
    alsa-1.0.19.git20090130-1.1

    > rpm -qa | grep pulse
    pulseaudio-module-zeroconf-0.9.12-9.6
    libpulsecore4-0.9.12-9.6
    pulseaudio-utils-0.9.12-9.6
    pulseaudio-module-jack-0.9.12-9.6
    libpulse0-0.9.12-9.6
    libpulse-mainloop-glib0-0.9.12-9.6
    pulseaudio-module-lirc-0.9.12-9.6
    pulseaudio-0.9.12-9.6
    pulseaudio-module-bluetooth-0.9.12-9.6
    alsa-plugins-pulse-1.0.19.git20090123-1.4
    libpulse-browse0-0.9.12-9.6
    pulseaudio-esound-compat-0.9.12-9.6
    libxine1-pulse-1.1.15-20.8
    pulseaudio-module-x11-0.9.12-9.6

    > rpm -q libasound2
    libasound2-1.0.19.git20090130-1.1

    > uname -a
    Linux linux-5u22 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

    > cat /etc/modprobe.d/sound

    options snd slots=snd-atiixp
    # hB6S.2vvYHXqtdU0:IXP150 AC'97 Audio Controller
    alias snd-card-0 snd-atiixp

    > cat /proc/asound/cards
    0 [IXP ]: ATIIXP - ATI IXP
    ATI IXP rev 0 with ALC202 at 0xe8003000, irq 17
    1 [Modem ]: ATIIXP-MODEM - ATI IXP Modem
    ATI IXP Modem rev 1 at 0xe8003400, irq 17

    > cat /proc/asound/modules
    0 snd_atiixp
    1 snd_atiixp



    Further information:
    tsalsa.txt - nopaste.com (beta)
    http://www.alsa-project.org/db/?f=74...579ec980bc6632

    I rebooted after updating the packages, there was no greeting sound. When I tried to run speaker-test I got

    > speaker-test 1.0.19

    Playback device is plug:front
    Stream parameters are 48000Hz, S16_LE, 2 channels
    WAV file(s)
    Playback open error: -16,Device or resource busy
    Playback open error: -16,Device or resource busy
    Playback open error: -16,Device or resource busy
    ^C

    Then I found out that knotify eats CPU, I killed it, and then speaker-test worked properly.


    I noticed the following lines in /var/log/boot.msg:

    <4>snd_atiixp_modem: Unknown symbol snd_verbose_printd
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_new
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_new
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_stop
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_stop
    <4>snd_atiixp_modem: disagrees about version of symbol snd_verbose_printk
    <4>snd_atiixp_modem: Unknown symbol snd_verbose_printk
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_lib_malloc_pages
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_lib_malloc_pages
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_lib_ioctl
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_lib_ioctl
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_lib_free_pages
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_lib_free_pages
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_set_ops
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_set_ops
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_hw_constraint_list
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_hw_constraint_list
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_suspend_all
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_suspend_all
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_hw_constraint_integer
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_hw_constraint_integer
    <4>snd_atiixp_modem: disagrees about version of symbol snd_pcm_period_elapsed
    <4>snd_atiixp_modem: Unknown symbol snd_pcm_period_elapsed

    The snd_atiixp_modem module is not blacklisted at the moment, but lsmod doesn't show it.


    The line

    <6>ATI IXP AC97 controller 0000:00:14.5: PCI INT B -> GSI 17 (level, low) ->
    IRQ 1

    appears twice in boot.msg, I don't know if it's normal.

    Following the step on the troubleshooting page I tried to search for codec ALC202 on the ALSA homepage, but didn't find anything.
    Another tip is to play around with the model option, but I couldn't do that because snd_atiixp doesn't have such an option.

    I hope this time I gave some valuable information.

  5. #5
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,391
    Blog Entries
    34

    Default Re: weird sound problems with ATIIXP, skype problems

    Quote Originally Posted by marcilood View Post
    > rpm -qa | grep alsa
    alsa-driver-kmp-default-1.0.19.20090201_2.6.27.7_9.1-1.1
    alsa-driver-unstable-kmp-default-1.0.19.20090131_2.6.27.7_9.1-1.1
    alsa-1.0.19.git20090130-1.1
    I don't know if this is your only problem, but it is enough to block your sound. ... please keep 'alsa' and keep 'alsa-driver-kmp-default' but remove 'alsa-driver-unstable-kmp-default'. That should not be installed at the same time as alsa-driver-kmp-default.

    Then reboot and test your sound.

    When testing your sound, please use the sound test (copy and paste it into a konsole or terminal):
    speaker-test -c2 -l5 -twav
    you should hear a lady's voice saying 'FRONT LEFT','FRONT RIGHT' five times. Ensure you check your mixer, and move BOTH master and PCM volume controls up to 95% when testing for basic sound functionality. Once you have basic sound functionality, you can move them down to a much lower level to remove distortion.

  6. #6

    Default Re: weird sound problems with ATIIXP, skype problems

    I thought of adding some error messages that mplayer and skype give, perhaps these can also orient us:

    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    [AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
    [AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
    [AO_ALSA] Playback open error: Device or resource busy
    [AO ESD] esd_open_sound failed: Connection timed out
    AO: [pulse] 22050Hz 2ch s16le (2 bytes per sample

    and

    ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

    RtApiAlsa: callback thread error (RtApiAlsa: audio write error for device (ATI IXP (hw:IXP,0)): No room on device.) ... closing stream.

  7. #7
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,391
    Blog Entries
    34

    Default Re: weird sound problems with ATIIXP, skype problems

    Please remove the alsa-driver-unstable-kmp-default rpm that I noted above.
    Quote Originally Posted by marcilood View Post
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    [AO_ALSA] alsa-lib: pcm_hw.c:1321snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
    [AO_ALSA] alsa-lib: pcm_dmix.c:1008snd_pcm_dmix_open) unable to open slave
    [AO_ALSA] Playback open error: Device or resource busy
    [AO ESD] esd_open_sound failed: Connection timed out
    AO: [pulse] 22050Hz 2ch s16le (2 bytes per sample
    OK, ... After re-booting, if your sound still does not work, try a restart of alsa with:
    su -c 'rcalsasound restart'
    and try the speaker test I recommended.

    I also note the "external amp" is OFF in your mixer. What happens if you switch that ON and test your sound? If it does not help, put it back to how it was before (OFF).

  8. #8

    Default Re: weird sound problems with ATIIXP, skype problems

    I don't think this module is the problem, I've just installed it. I thought that it might be a mistake to install it, but Yast offered it together with the other kmp package.

    I removed it, rebooted to find

    <4>snd_ac97_codec: disagrees about version of symbol ac97_bus_type
    <4>snd_ac97_codec: Unknown symbol ac97_bus_type
    <4>snd_atiixp: Unknown symbol snd_ac97_pcm_close
    <4>snd_atiixp: Unknown symbol snd_ac97_resume
    <4>snd_atiixp: Unknown symbol snd_ac97_pcm_open
    <4>snd_atiixp: Unknown symbol snd_ac97_update_bits
    <4>snd_atiixp: Unknown symbol snd_ac97_mixer
    <4>snd_atiixp: Unknown symbol snd_ac97_bus
    <4>snd_atiixp: Unknown symbol snd_ac97_suspend
    <4>snd_atiixp: Unknown symbol snd_ac97_get_short_name
    <4>snd_atiixp: Unknown symbol snd_ac97_pcm_assign
    <4>snd_atiixp: Unknown symbol snd_ac97_tune_hardware

    Then I tried

    > rcalsasound restart
    Shutting down sound driver done
    Starting sound driver: atiixpWARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.27.7-9-default/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    FATAL: Error inserting snd_atiixp (/lib/modules/2.6.27.7-9-default/kernel/sound/pci/snd-atiixp.ko): Unknown symbol in module, or unknown parameter (see dmesg)


    OK... I will reinstall all the alsa packages, I hope it will be enough... otherwise I will have to reinstall the whole system, I guess...

  9. #9

    Default Re: weird sound problems with ATIIXP, skype problems

    Huhh, now everything "works" just like before, the problems are the same.
    I find interesting that the speaker-test worked after login, but when I tried to play a video file with mplayer it said

    [AO_ALSA] Trying to reset soundcard.
    [AO_ALSA] Write error: Broken pipe

    After "rcalsasound restart" mplayer works again...

    Now I have (snd_atiixp_modem is blacklisted):

    > cat /proc/asound/modules
    0 snd_atiixp
    > cat /proc/asound/cards
    0 [IXP ]: ATIIXP - ATI IXP
    ATI IXP rev 0 with ALC202 at 0xe8003000, irq 17

    > rpm -qa | grep alsa
    alsa-plugins-jack-1.0.19.git20090123-1.4
    alsa-driver-kmp-default-1.0.19.20090201_2.6.27.7_9.1-1.1
    alsa-1.0.19.git20090130-1.1
    alsa-plugins-1.0.19.git20090123-1.4
    alsa-utils-1.0.19.git20090130-2.1
    alsa-oss-1.0.17.git20080715-2.16
    tsalsa-20080914-0.pm.1
    alsa-firmware-1.0.19.git20090120-1.1
    alsa-tools-1.0.19.git20090120-1.7
    alsa-plugins-pulse-1.0.19.git20090123-1.4

    What should I try next?

  10. #10
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,391
    Blog Entries
    34

    Default Re: weird sound problems with ATIIXP, skype problems

    Quote Originally Posted by marcilood View Post
    Huhh, now everything "works" just like before, the problems are the same.
    I find interesting that the speaker-test worked after login, but when I tried to play a video file with mplayer it said

    [AO_ALSA] Trying to reset soundcard.
    [AO_ALSA] Write error: Broken pipe

    After "rcalsasound restart" mplayer works again...
    Set up your repositories for software package management with ONLY oss, non-oss, update and packman. No others. Just those 4. There is guidance here for how to setup those 4: Repositories/11.1 - openSUSE-Community

    Again, only those 4: oss, non-oss, update and packman. In particular remove videolan and replace any apps (except libdvdcss2) with packman versions.

    With those 4 setup, install packman packaged version of smplayer. Then using smplayer as a front end to mplayer, try changing your output audio module to alsa (from auto) and your output video module from auto to "xv" (if you do not have desktop effects enabled) and to "x11" if you have desktop effects enabled.

    You could also try playing with your sound with desktop effects disabled (and "x11" selected as output video module).
    Quote Originally Posted by marcilood View Post
    Now I have (snd_atiixp_modem is blacklisted):

    > cat /proc/asound/modules
    0 snd_atiixp
    > cat /proc/asound/cards
    0 [IXP ]: ATIIXP - ATI IXP
    ATI IXP rev 0 with ALC202 at 0xe8003000, irq 17
    I'm not convinced black listing is necessary. When happens if you do not black list?

    You could also take a read of the HDA-Audio.txt file (in the 1.0.19 alsa documentation) to see if there are any relevant hints there reference your symptoms.

    In that vain, can you reboot your PC, and immediately after the reboot, with your PC connected to the internet, run:
    dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a

    and post here the URL provided (just the URL)

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •