sound stop working after updating on asus k50in

oh I see. My default engine on my setting was GStreamer and there is nothing more advanced setting for this engine. Now after I saw you screenshot, I then switch the gstreamer to xine engine, and see all the rest adv setting like yours.

after this switch to xine and to alsa. amarok became as quiet as youtube. I rcalsasound restart, still quiet. let me reboot it…

right after rebooting, amarok works, NOT hear the login music though, speaker-test fine.
then

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 3893 wzhou 11u CHR 116,7 0t0 4347 /dev/snd/controlC0
pulseaudi 3937 wzhou mem CHR 116,4 4329 /dev/snd/pcmC0D0p
pulseaudi 3937 wzhou 18u CHR 116,7 0t0 4347 /dev/snd/controlC0
pulseaudi 3937 wzhou 19u CHR 116,4 0t0 4329 /dev/snd/pcmC0D0p
pulseaudi 3937 wzhou 20u CHR 116,7 0t0 4347 /dev/snd/controlC0
pulseaudi 3937 wzhou 27u CHR 116,7 0t0 4347 /dev/snd/controlC0

try youtube - QUIET

again lsof:

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 3893 wzhou 11u CHR 116,7 0t0 4347 /dev/snd/controlC0
pulseaudi 3937 wzhou mem CHR 116,4 4329 /dev/snd/pcmC0D0p
pulseaudi 3937 wzhou 18u CHR 116,7 0t0 4347 /dev/snd/controlC0
pulseaudi 3937 wzhou 19u CHR 116,4 0t0 4329 /dev/snd/pcmC0D0p
pulseaudi 3937 wzhou 20u CHR 116,7 0t0 4347 /dev/snd/controlC0
pulseaudi 3937 wzhou 27u CHR 116,7 0t0 4347 /dev/snd/controlC0

current status:

amarok(xine-alsa) and speaker-test fine,
youtube no sound
login/out music NO (a new problem).

conflict between alsa and pulseaudio?

Maybe not. Possibly we got unlucky, and another problem crept in to complicate the situation.

Keep flash-player, but remove libflashsupport. Then see if that helps re: YouTube. (note - I suggested this twice already above, but I do not recall you advising if you had done this).

What does the above reperesent? Is this with amarok running (it does not have to be playing a song - is it running) ? Is this with the speaker-test running ? This is this with no application running ? If amarok is running, did you have alsa selected as the output module?

Again please, what do you have running? Do you have amarok running in the lower right corner? Is this also when you tube was supposed to be playing a song?

And again, status of libflashsupport please ?

Hi I was away the whole day, so didn’t get a chance to look at our discussion. Here is what I got. From your suggestions, I learned npviewer actually is the process behind youtube. So after a most recent reboot, my computer doesn’t have sound for youtube as before. I used a “ps” command and found a npviewer process. Killing that npviewer process basically fixed the problem, so youtube started to have sound. So is amarok (using xine-alsa as you suggested). I’m pretty happy with the solution so far, since I know which process to look for and to fix the sound conflict.

Here is some lsof tests:

no sound playing, amarok residing at corner (but not playing). youtube not running:

lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4320 wzhou 12u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 20u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 27u CHR 116,7 0t0 16398 /dev/snd/controlC0

start amarok play, music on -nice

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4320 wzhou 12u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou mem CHR 116,4 16352 /dev/snd/pcmC0D0p
pulseaudi 8916 wzhou 18u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 19u CHR 116,4 0t0 16352 /dev/snd/pcmC0D0p
pulseaudi 8916 wzhou 20u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 27u CHR 116,7 0t0 16398 /dev/snd/controlC0

stop music by amarok, but not quit program

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4320 wzhou 12u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 20u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 27u CHR 116,7 0t0 16398 /dev/snd/controlC0

now start a youtube page, music, video on - nice

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4320 wzhou 12u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 20u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 27u CHR 116,7 0t0 16398 /dev/snd/controlC0
npviewer. 16125 wzhou 14u CHR 116,4 0t0 16352 /dev/snd/pcmC0D0p

stop youtube playing, but leave the page on

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4320 wzhou 12u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 20u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 27u CHR 116,7 0t0 16398 /dev/snd/controlC0
npviewer. 16125 wzhou 14u CHR 116,4 0t0 16352 /dev/snd/pcmC0D0p

apparently npviewer still there, now close the tab page of the youtube

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4320 wzhou 12u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 20u CHR 116,7 0t0 16398 /dev/snd/controlC0
pulseaudi 8916 wzhou 27u CHR 116,7 0t0 16398 /dev/snd/controlC0

youtube actually is gone. I remember last time close tag wouldn’t close npviewer, so maybe the process killing I did is behind this?

anyway, sofar so good. at least I know npviewer running(or hunging) in the background is the trouble maker.

will look at libflashsupport in next post.

And again, status of libflashsupport please ?

based on yast - software manager:

Installed Version
1.2-4.20
Wed 03 Dec 2008 02:06:04 AM PST

Isn’t it required for flash playing?

Thats interesting. I’m surprised a bit by some of the lsof results, and it makes me wonder if the xine sound engine is setup to use pulse, and not the alsa api, on your PC. For example, look what I get

No audio playing, no multimedia application running.

oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 5547  oldcpu   20u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   27u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   32u   CHR  116,4      0t0 5184 /dev/snd/controlC1
kmix      5566  oldcpu   10u   CHR  116,9      0t0 5245 /dev/snd/controlC0
kmix      5566  oldcpu   11u   CHR  116,4      0t0 5184 /dev/snd/controlC1 

Start amarok, but play no music:

oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
amarokapp 1495  oldcpu   17u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   20u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   27u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   32u   CHR  116,4      0t0 5184 /dev/snd/controlC1
kmix      5566  oldcpu   10u   CHR  116,9      0t0 5245 /dev/snd/controlC0
kmix      5566  oldcpu   11u   CHR  116,4      0t0 5184 /dev/snd/controlC1 

Note above an amarok app has already opened a file in /dev/snd and seized part of the sound device.

Now start playing music in Amarok:

oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
amarokapp 1495  oldcpu  mem    CHR  116,6          5224 /dev/snd/pcmC0D0p
amarokapp 1495  oldcpu   17u   CHR  116,9      0t0 5245 /dev/snd/controlC0
amarokapp 1495  oldcpu   18u   CHR  116,2      0t0 5010 /dev/snd/timer
amarokapp 1495  oldcpu   28u   CHR  116,6      0t0 5224 /dev/snd/pcmC0D0p
amarokapp 1495  oldcpu   29u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   20u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   27u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   32u   CHR  116,4      0t0 5184 /dev/snd/controlC1
kmix      5566  oldcpu   10u   CHR  116,9      0t0 5245 /dev/snd/controlC0
kmix      5566  oldcpu   11u   CHR  116,4      0t0 5184 /dev/snd/controlC1 

Note the multiple files that have been opened by amarok to access the alsa api.

Now stop amarok from playing music and close the amarok application:

oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 5547  oldcpu   20u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   27u   CHR  116,9      0t0 5245 /dev/snd/controlC0
pulseaudi 5547  oldcpu   32u   CHR  116,4      0t0 5184 /dev/snd/controlC1
kmix      5566  oldcpu   10u   CHR  116,9      0t0 5245 /dev/snd/controlC0 

So why does your setup (with xine/alsa selected in amarok) not indicate amarok has opened a file in /dev/snd but rather indicates pulse audio has opened the file? It suggests to me your amarok, despite the settings, is still using pulse audio.

Do you have xine-ui installed (the xine user interface) ? If so, you could use it to check the preferences in xine, and its possible there under xine you hae pulse audio selected ?

Do you have xine-ui installed (the xine user interface) ? If so, you could use it to check the preferences in xine, and its possible there under xine you hae pulse audio selected ?

interesting point. you have amarok app but mine is using pulseaudio?
i don’t have xine-ui, here is what i got:

xi
xidump ximtoppm xine-list-1.1 xinit xinput xiterm

i think i have amarok, mplayer and smplayer listed in the application menu. I double checked. Amarok is indeed using xine-alsa.

This moring after I booted into the system, I didn’t hear any starting musci, so the first think i did is to

~/Desktop> ps -ef | grep npviewer
wzhou 3999 3860 3 10:04 ? 00:00:00 /usr/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/lib/browser-plugins/libflashplayer.so --connection /org/wrapper/NSPlugins/libflashplayer.so/3860-1
wzhou 4020 3819 0 10:04 pts/1 00:00:00 grep npviewer

you see, there is npviewer there, i think that’s the trouble maker.

~/Desktop> kill 3999
~/Desktop> ps -ef | grep npviewer
wzhou 4121 3819 0 10:18 pts/1 00:00:00 grep npviewer
wzhou@linux-wh0i:~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 3863 wzhou 11u CHR 116,7 0t0 4163 /dev/snd/controlC0
pulseaudi 3886 wzhou mem CHR 116,4 4142 /dev/snd/pcmC0D0p
pulseaudi 3886 wzhou 18u CHR 116,7 0t0 4163 /dev/snd/controlC0
pulseaudi 3886 wzhou 19u CHR 116,4 0t0 4142 /dev/snd/pcmC0D0p
pulseaudi 3886 wzhou 20u CHR 116,7 0t0 4163 /dev/snd/controlC0
pulseaudi 3886 wzhou 27u CHR 116,7 0t0 4163 /dev/snd/controlC0

I think there are too many pulseaudio here (should be only 3 instead of 5 to have a normal sound, I found yesterday).

now let’s restart alsa:

rcalsasound restart

Shutting down sound driver done
Starting sound driver: hda-intel

now lsof

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
wzhou@linux-wh0i:~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
wzhou@linux-wh0i:~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*

has nothing?

start kmix

~/Desktop> kmix
wzhou@linux-wh0i:~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4448 wzhou 12u CHR 116,7 0t0 16307 /dev/snd/controlC0

where are the 3 pulseaudio?

now speaker-test fine.

start youtube page, play a news, fine, then pause.

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4448 wzhou 12u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 20u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 27u CHR 116,7 0t0 16307 /dev/snd/controlC0
npviewer. 4479 wzhou 13u CHR 116,4 0t0 16241 /dev/snd/pcmC0D0p

here is what i got to make youtube to work.

current: no youtube, no amarok

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4448 wzhou 12u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 20u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 27u CHR 116,7 0t0 16307 /dev/snd/controlC0

start amarok, goes to the corner.

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4448 wzhou 12u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 20u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 27u CHR 116,7 0t0 16307 /dev/snd/controlC0

starts music, good

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4448 wzhou 12u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou mem CHR 116,4 16241 /dev/snd/pcmC0D0p
pulseaudi 4469 wzhou 18u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 19u CHR 116,4 0t0 16241 /dev/snd/pcmC0D0p
pulseaudi 4469 wzhou 20u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 27u CHR 116,7 0t0 16307 /dev/snd/controlC0

click stop button,

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4448 wzhou 12u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 20u CHR 116,7 0t0 16307 /dev/snd/controlC0
pulseaudi 4469 wzhou 27u CHR 116,7 0t0 16307 /dev/snd/controlC0

i think you are right. amarok looks like is using pulseaudio.

sound stop working after updating on asus k50in - openSUSE Forums

Assuming amarok is set to use xine, then that suggest xine is using pulse and not the alsa api.

I recommend you install the xine user interface (xine-ui) so you can set xine to use alsa. The packman packagers package xine-ui: PackMan :: Informationen zum Paket xine-ui
if you have packman setup as a repository, then you can install it with:
**zypper install xine-ui
**
once that is installed, and with amarok closed completely, then launch xine by typing “xine”. Right click the mouse on the xine blank image screen, and select SETTINGS > SETUP
http://thumbnails20.imagebam.com/5350/ac7c5453495829.gif](http://www.imagebam.com/image/ac7c5453495829)

In SETUP go to GUI > Configuration Experience Level and change it to “Master of the known universe”.
http://thumbnails21.imagebam.com/5350/9dd39453495830.gif](http://www.imagebam.com/image/9dd39453495830)
Close xine. Then start xine again by typing “xine”.

This time go to SETTINGS > SETUP > AUDIO > Audio Driver to Use … and change the setting to “alsa”.
http://thumbnails20.imagebam.com/5350/ac661553495832.gif](http://www.imagebam.com/image/ac661553495832)
Then close xine.

And then start amarok , test amarok again, being certain it has xine and alsa selected.

Lets see if that configures amarok to using xine.

Hi oldcpu, Next two weeks I will be super busy to prep for important meetings. I will definitely try your suggestions when I get a chance and update you then.

Cheers.