You are not logged in.

#1 2015-01-23 20:13:32

dzld
Member
Registered: 2015-01-23
Posts: 24

no sound in firefox [solved]

Hello comunity,

i have a problem with my firefox.

I would like to listen to music with spotify, but get not a tone.

When i start firefox through the terminal i get:

Failed to open VDPAU backend libvdpau_r600.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave

Unfortunatly, i have absolutly no clue about sound architecture and don ´t know where to start.

Please help me!!!

Thanks, dzld

Last edited by dzld (2015-01-28 18:31:07)

Offline

#2 2015-01-23 21:15:43

MK13
Member
From: Germany
Registered: 2014-04-12
Posts: 80

Re: no sound in firefox [solved]

Not sure, but maybe this is related: https://bbs.archlinux.org/viewtopic.php?pid=1409818

Offline

#3 2015-01-24 15:19:27

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

The solution dosn´ t work for me.

Here some info i just found out:

Firefox plays sound, when i shut down all other applications using the soundsystem.
When firefox plays sound, all other appluications don´ t. On the other hand, when any other application plays sound, firefox dosen´ t.

Offline

#4 2015-01-24 18:52:11

MK13
Member
From: Germany
Registered: 2014-04-12
Posts: 80

Re: no sound in firefox [solved]

You could try to re-install whatever sound related packages you use.

Also provide more info: logs, installed packages, a link to the guide you followed to set up sound, ...

Offline

#5 2015-01-24 20:58:38

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

Hm, i didn´ t really set up any sound. It came with the installation.
Other than that, i installed pulseaudio.

Like i said in my first post, i dont really know anything about how alsa or pulsaudio works.

So, the only thing i can post without any further tips where to look, is the outout form vainfo:

ibva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Does that maybe help?


And then there is this line from journalctl

Jan 24 21:38:52 myname pulseaudio[577]: [alsa-sink-ALC889 Analog] alsa-sink.c: Error opening PCM device front:0: Das Gerät oder die Ressource ist belegt

The last part means: The device or the resource is busy.

Last edited by dzld (2015-01-24 21:08:26)

Offline

#6 2015-01-26 01:21:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,197

Re: no sound in firefox [solved]

Install pulseaudio-alsa, also: https://wiki.archlinux.org/index.php/PulseAudio#ALSA (you are trying to use flash which uses ALSA and doesn't have a native pulse backend)

Last edited by V1del (2015-01-26 08:51:32)

Online

#7 2015-01-26 19:00:44

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

Sorry, i forgot that one.

It is already installed.

Offline

#8 2015-01-26 19:23:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,197

Re: no sound in firefox [solved]

Output of

fuser -v /dev/snd/*

  then while firefox is running , and post the contents of your /etc/asound.conf and any ~/.asoundconf (you shouldn't have that last one, if you have it post its contents anyway)

Last edited by V1del (2015-01-26 19:24:05)

Online

#9 2015-01-26 21:09:12

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

fuser gives me:

                     BEN.        PID ZUGR.  BEFEHL
/dev/snd/controlC0:  maik        604 F.... pulseaudio
/dev/snd/controlC1:  maik        604 F.... pulseaudio
/dev/snd/pcmC0D0p:   maik        604 F...m pulseaudio

/etc/asound.conf :

# Use PulseAudio by default
pcm.!default {
  type pulse
 fallback "sysdefault"
 hint {
   show on
   description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
 fallback "sysdefault"
}

# vim:set ft=alsaconf:

i don´ t have a ~/asoundconf, but there is a ~/asoundrc

pcm.!default {
#       type pulse
#       fallback "sysdefault"
#       hint {
#               show on description "Default ALSA Output (currently PulseAudioSound Server)"
#       }
  type plug
    slave.pcm "asymed"
}

#ctl.!default {
#       type pulse
#       fallback "sysdefault
#}"

pcm.asymed {
    type asym
   playback.pcm {
        @func getenv
        vars [ ALSAPCM ]
        default "dmix"
    }
    capture.pcm "dsnoop"
}

Offline

#10 2015-01-26 21:20:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,197

Re: no sound in firefox [solved]

Yeah, this is your problem, why are you doing this? you bypass pulse for ALSA devices and as soon as something alsa comes up it tries to use the asym and dmix stuff which won't work if pulseaudio is already using the device and vice versa. Pulse should provide you with duplex profiles by default which you can switch to using pavucontrol

Online

#11 2015-01-27 15:52:35

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

OK, so i need to change that. Only to be sure: Before i posted here, i found another topic, with this fix.

This asoundrc was suposed to look like the asound.conf.

Those lines with # before them are from me, the rest was in there. Of course, when i tested this, those lines were marked with #.
When i tried that, i didn´ t have any sound at all.

And what do i have to do with this now? Change it ? Delete it? Or is there a way to tell my system not to use this file but the asound.conf, or link the asoundrc to asound.conf?

Thank you

Last edited by dzld (2015-01-27 15:53:10)

Offline

#12 2015-01-27 17:08:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,197

Re: no sound in firefox [solved]

What did you try to fix? If you don't know you can delete it, it isn't needed the /etc/asound.conf is enough.

Online

#13 2015-01-27 19:10:13

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

Well, i tried to fix my sound problem with this. As i said, it didn´ t work. OK, then, i´ m going to delete it.

Offline

#14 2015-01-27 19:18:22

dzld
Member
Registered: 2015-01-23
Posts: 24

Re: no sound in firefox [solved]

Oh my god, it worked perfectly.

You are the man, V1del (or woman, i´ m not sure smile )

Thank you so much.

Last edited by dzld (2015-01-27 19:18:44)

Offline

#15 2015-01-27 20:30:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,197

Re: no sound in firefox [solved]

Then you tried to fix this before you installed pulseaudio-alsa or something, whelp whatever no problem, don't forget to prepend [solved] to your title by editing your initial post

Online

Board footer

Powered by FluxBB