You are not logged in.

#1 2011-08-26 06:11:51

splatterdash
Member
Registered: 2011-06-07
Posts: 72

[SOLVED] Flash video plays sound, but gnome 3 sound is not working

Hi guys,

I'm using Gnome 3 and haven't been able to get audio working entirely.

I can hear sound when I play flash videos. But I couldn't hear anything if I play videos using VLC or mplayer. Also, whenever I want to test my speakers from Sound settings -> Hardware, the window always closes and nothing gets played.

I've tried running VLC from the terminal to see if there's any useful information, but it only displays this:

[0x1ad57e0] signals interface error: signal 17 overridden (0x7f26f6275760)
[0x1ad57e0] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]

How do I fix this?

Last edited by splatterdash (2011-08-26 07:44:08)

Offline

#2 2011-08-26 06:33:33

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

Do all your alsamixer levels look right?

Offline

#3 2011-08-26 06:41:16

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

In alsamixer, the default output is 100% and nothing seems to be muted.

Also, I just noticed that Gnome does not play any sound at all (it's supposed to have a short 'click' sound when GDM starts, right?)

EDIT: Also, speaker-test -c 2 does not produce any output. Still, I am listening to a YouTube video as I try different things here, though.

Last edited by splatterdash (2011-08-26 06:44:13)

Offline

#4 2011-08-26 06:47:47

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

splatterdash wrote:

In alsamixer, the default output is 100% and nothing seems to be muted.

Also, I just noticed that Gnome does not play any sound at all (it's supposed to have a short 'click' sound when GDM starts, right?)

Not sure. I do not use gdm. If you do an "lsmod | grep snd" and a "cat /etc/group | grep audio" does everything look like it should? I am assuming the second should be at least since you get sound in flash. Does the sound work in totem?

Offline

#5 2011-08-26 06:51:33

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

What should the output of "lsmod | grep snd" look like?

For the second one, yes, I have my user name listed in the audio group.

While VLC plays my videos fine (except for the sound), Totem couldn't play the files. When opening an audio file, it says there is an error with gstreamer. When opening a video file, it says there is a datastream error.

Offline

#6 2011-08-26 06:54:50

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

If you're using gnome, everything should default to a (working) pulseaudio setup. Look through the pulseaudio wiki's instructions.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2011-08-26 06:56:59

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

Nevermind on the lsmod thing. You have sound in flash so some sound modules in the kernel must be loaded. Are you sure that you have all the codecs you need? Have you tried reinstalling gstreamer? Have you Syu'ed lately?

Offline

#8 2011-08-26 07:05:39

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

ngoonee:
I tried the wiki, and everything it told me to install, I ended up reinstalling. So I think all the required modules are present already.

dodo3773:
Yes, I tried reinstalling gstreamer and all my packages are fresh. Still no sound sad..

It's very weird that it seems Gnome is not playing any sound at all (during login, or when an error shows up, or when I test my speakers) yet flash seems to be working fine..

Offline

#9 2011-08-26 07:19:03

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

splatterdash wrote:

It's very weird that it seems Gnome is not playing any sound at all (during login, or when an error shows up, or when I test my speakers) yet flash seems to be working fine..

Very strange indeed. Does not make any sense to me at all. All I can think of is going into "gnome-control-center sound" and making sure you don't have sound muted or something.

Offline

#10 2011-08-26 07:20:54

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

Wow, I did just that and I found something else: the flash sound keeps playing even though the gnome-control-center sound is muted. Is it possible that flashplugin is messing up Gnome sound?

Last edited by splatterdash (2011-08-26 07:21:13)

Offline

#11 2011-08-26 07:33:37

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

splatterdash wrote:

Wow, I did just that and I found something else: the flash sound keeps playing even though the gnome-control-center sound is muted. Is it possible that flashplugin is messing up Gnome sound?

Not sure. They may be unrelated though. If you test speaker sound (front center test I mean) as root do you get sound?

Offline

#12 2011-08-26 07:38:36

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

They are related!

I tried uninstalling flashplugin, restarted my computer, and then the sound came back on (videos, test speakers). When I install flashplugin, the sound stopped again.

Now the question is how do I make flashplugin work without killing Gnome's sound..

EDIT: found out how. lib32-libpulse is not installed. I thought pulse support comes by default, but it's an optional dependency. So flash sound and regular video sound works now smile!

Last edited by splatterdash (2011-08-26 07:41:24)

Offline

#13 2011-08-26 07:41:10

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

splatterdash wrote:

They are related!

I tried uninstalling flashplugin, restarted my computer, and then the sound came back on (videos, test speakers). When I install flashplugin, the sound stopped again.

Now the question is how do I make flashplugin work without killing Gnome's sound..

Are you using a 32 bit flash version on a 64 bit system? There is something similar on the alsa wiki.

Offline

#14 2011-08-26 07:42:02

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

Yes. Should've paid attention to that earlier, it seems hmm. I'm running 32 bit on 64 bit.

Thanks for the help smile!

Last edited by splatterdash (2011-08-26 07:42:14)

Offline

#15 2011-08-26 07:47:10

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Flash video plays sound, but gnome 3 sound is not working

splatterdash wrote:

Yes. Should've paid attention to that earlier, it seems hmm. I'm running 32 bit on 64 bit.

Thanks for the help smile!

Right on. Glad you got it all sorted out.

Offline

Board footer

Powered by FluxBB