You are not logged in.

#1 2012-08-02 14:32:12

psauxw
Member
Registered: 2012-08-02
Posts: 4

[SOLVED] pulseaudio + alsa?

Hello everyone,

1st of all I want to thank the archlinux team for this great distro... its just awesome smile

I have installed arch + kde on my hp pavillion dv7 without any kind of problems exept this one.  I installed pulseaudio + pavucontrol first to test sound but it did not work. I had removed my user from the audio group as stated on the wiki.   I then installed pulseaudio-alsa (putted back my user in the audio group) and now the sound is working but KDE seems longer to start and then freeze when i get on the desktop for about 5-10 seconds and then plays the login sound. So I was wondering something.  Should I remove pulseaudio + pavucontrol since the sound started to work after I installed pulseaudio-alsa?  Can it causes those kind of problems having pulseaudio AND pulseaudio-alsa installed together?

Thanks for your time smile

Last edited by psauxw (2012-08-03 05:32:47)

Offline

#2 2012-08-02 16:13:53

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: [SOLVED] pulseaudio + alsa?

Pulseaudio-alsa is basically a config file to make programs outputting to ALSA use pulseaudio instead. So having pulseaudio-alsa without pulseaudio does not make much sense smile

Offline

#3 2012-08-02 19:56:57

psauxw
Member
Registered: 2012-08-02
Posts: 4

Re: [SOLVED] pulseaudio + alsa?

I see smile thanks for the clarification.  I bet that if i remove the notification sound on login kde will work fine.  I'll let you know the results.

thanks for answering btw smile

Offline

#4 2012-08-03 02:54:42

psauxw
Member
Registered: 2012-08-02
Posts: 4

Re: [SOLVED] pulseaudio + alsa?

bad news, the problem is still around. I really thought it was because of the sound.  The problem began when I installed sound soooo.  Should i just try uninstalling and go for alsa only?

Those are the last lines of my /var/log/message

Aug  2 22:34:16 localhost dbus[493]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Aug  2 22:34:16 localhost dbus[493]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug  2 22:34:16 localhost dbus[493]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
Aug  2 22:34:17 localhost dhcpcd[927]: wlan0: sending IPv6 Router Solicitation
Aug  2 22:34:17 localhost dhcpcd[927]: wlan0: no IPv6 Routers available
Aug  2 22:36:18 localhost kernel: [  189.485707] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

Hope it can gets someone on the track.

edit : found that https://bbs.archlinux.org/viewtopic.php?id=131716 about avahi... ill test a bit later.
Any thoughts on the 10 seconds freeze at kde start is welcomed.

Last edited by psauxw (2012-08-03 03:25:47)

Offline

#5 2012-08-03 05:31:59

psauxw
Member
Registered: 2012-08-02
Posts: 4

Re: [SOLVED] pulseaudio + alsa?

Alright so, bunch of updates.

the "avahi-deamon" was not in my rc.conf so i added it *AFTER dbus* so thats fixed for the time out.

Removed pulseaudio, pulseaudio-alsa, pavucontrol... fixed the kde hangs problem.

So for people with a laptop with a HDMI port and having no sound in adobe flash (youtube), execute the command "aplay -l" to view your sound cards and then create a file ~/.asoundrc with

 pcm.!default {
        type hw
        card 1
}

ctl.!default {
        type hw           
        card 1
}

Changing the value "card" if your hdmi is card 0 and analog card 1.

That did the trick for me.

setting thread as solved. I hope this will help some archlinuxians smile

Offline

Board footer

Powered by FluxBB