Alsa and Pulse audio hang system when listening to music

Bug #1361384 reported by xerofoify
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

I seem to be getting a hang and crash of my system every time I listen to music in the background. I have tried both pulseaudio
and alsa but both crash every day or two. It's rather annoying. I am using 14.04 Lubuntu and expect the music to not hang my system.
Nick

Tags: bot-comment
Revision history for this message
xerofoify (nickkrause) wrote :

I may have not installed a package. I will reply in a few days if this still is an issue.
Nick

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1361384/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
xerofoify (nickkrause)
affects: ubuntu → alsa-utils (Ubuntu)
Revision history for this message
Badr (ronsterp) wrote :

I had the exact same problem. I was able to fix it eventually after some googling. Here is the fix:
In terminal type (lspci -nn | grep -i audio) you will get an output similar to mine which I believe because of two conflicting devices (
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:9840]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 02)

this will give you the pid and vid for each device, the two numbers at the end of each line.

Now create a file /etc/modprobe.d/alsa-base.conf with the following, in my case:

options snd-hda-intel index=0 model=auto vid=1022 pid=780d
options snd-hda-intel index=1 model=auto vid=1002 pid=9840

also pay attention to what module you are using and replace snd-hda-intel if you are using different module accordingly.

Hope it works for you.

Revision history for this message
xerofoify (nickkrause) wrote :

Still freezes this time without sound and on random web page. Seems to be an inssue with ati graphics.
Will try upstream graphics.
Nick

Revision history for this message
xerofoify (nickkrause) wrote :

Still an issue with upstream graphics ,reseated card to no avail seems to be an issue with xorg or fglrx drivers.

Revision history for this message
xerofoify (nickkrause) wrote :

I wil run this command , sudo amdconfig --initia and see if this works.
Nick

Revision history for this message
xerofoify (nickkrause) wrote :

Still an issue have tried upsteam graphics and Badr's solution seems to be an issue with my sound.
Nick

Revision history for this message
xerofoify (nickkrause) wrote :

Also trying my audio through a different plug on my case.

Revision history for this message
Badr (ronsterp) wrote :

Try to also add this to the modprobe file:

alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel
options snd cards_limit=2

Revision history for this message
Badr (ronsterp) wrote :

For reference. My modprobe file ended up like this:

alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel

options snd cards_limit=2

options snd-hda-intel index=0 power_save=1 bdl_pos_adj=128 position_fix=-1 align_buffer_size=0 model=auto vid=1022 pid=780d
options snd-hda-intel index=1 power_save=1 model=auto vid=1002 pid=9840

Revision history for this message
xerofoify (nickkrause) wrote :

Thanks again Badr that should work.

Revision history for this message
xerofoify (nickkrause) wrote :

options snd-usb-audio index=-2
options snd-hda-intel index=1 power_save=1 model=auto vid=1002 pid=aab0
options snd-hda-intel index=0 power_save=1 bdl_pos_adj=128 position_fix=-1 align_buffer_size=0 model=auto vid=8086 pid=1c20
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel
options snd cards_limit=2
Here is my file parts I added as stated.
This is the output from the command.
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
It's still not working and I seem to be fixing something.

Revision history for this message
Badr (ronsterp) wrote :

OK try to change model=auto in modprobe file to model=laptop or model=hp

Revision history for this message
xerofoify (nickkrause) wrote :

I will try that but I am not on a laptop or hp desktop. I am on my own build system.

Revision history for this message
Badr (ronsterp) wrote :

also if didn't work try the following:
type:
aplay -l

Get the name after (device *:) and then pick the proper model from the following link http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt and place it in model=

Best!

Revision history for this message
xerofoify (nickkrause) wrote :

Badr,
This reallys simple but due to the list of different asus mode's I am uncertain which to pick.
39 asus-mode1 ASUS
40 asus-mode2 ASUS
41 asus-mode3 ASUS
42 asus-mode4 ASUS
43 asus-mode5 ASUS
44 asus-mode6 ASUS
45 asus-mode7 ASUS
46 asus-mode8 ASUS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.