You are not logged in.

#1 2013-04-27 16:01:34

nixIT
Member
Registered: 2010-01-13
Posts: 394

[SOLVED] no 5.1 sound in Xfce4

Hello all,

did a fresh install of arch last weekend, installed cinnamon and gnome 3.10.  I had sound working fine.  Since cinnamon would lock up on me (tried the update, didn't work), and didn't care of the new gnome classic, I uninstalled gnome and cinnamon and installed Xfce4.  Everything went smoothly, except after Xfce install, I have no sound, where it worked 1 hour prior with gnome and cinnamon.

I've read through the wiki's, and forums posts and tried their suggestions, however, nothing seems to work.

the output of speaker-test -c 6 appears to work, but I don't get sound.

Here is some output that will help determine what's going on, though I'm not sure what to look for and could use some help.

$ lsmod | grep '^snd' | column -t
snd_usb_audio          111545  0
snd_usbmidi_lib        19027   1   snd_usb_audio
snd_hda_codec_hdmi     27857   4
snd_emu10k1            139495  1
snd_util_mem           2339    1   snd_emu10k1
snd_ac97_codec         112216  1   snd_emu10k1
snd_hda_codec_realtek  62279   1
snd_rawmidi            18742   2   snd_usbmidi_lib,snd_emu10k1
snd_seq_device         5180    2   snd_rawmidi,snd_emu10k1
snd_hda_intel          33946   2
snd_hda_codec          101474  3   snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              6364    3   snd_usb_audio,snd_hda_codec,snd_emu10k1
snd_pcm                76956   6   snd_usb_audio,snd_ac97_codec,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_emu10k1
snd_page_alloc         7298    3   snd_pcm,snd_hda_intel,snd_emu10k1
snd_timer              18687   2   snd_pcm,snd_emu10k1
snd                    58893   19  snd_hda_codec_realtek,snd_usb_audio,snd_ac97_codec,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_emu10k1,snd_seq_device
$ ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       60 Apr 27 07:51 by-id
drwxr-xr-x  2 root root      120 Apr 27 07:51 by-path
crw-rw----+ 1 root audio 116,  7 Apr 27 07:51 controlC0
crw-rw----+ 1 root audio 116, 19 Apr 27 07:51 controlC1
crw-rw----+ 1 root audio 116, 28 Apr 27 07:51 controlC2
crw-rw----+ 1 root audio 116, 31 Apr 27 07:51 controlC3
crw-rw----+ 1 root audio 116,  6 Apr 27 07:51 hwC0D0
crw-rw----+ 1 root audio 116,  8 Apr 27 07:51 hwC1D0
crw-rw----+ 1 root audio 116, 27 Apr 27 07:51 hwC2D0
crw-rw----+ 1 root audio 116, 26 Apr 27 07:51 hwC2D1
crw-rw----+ 1 root audio 116, 25 Apr 27 07:51 hwC2D2
crw-rw----+ 1 root audio 116, 24 Apr 27 07:51 hwC2D3
crw-rw----+ 1 root audio 116, 10 Apr 27 07:51 midiC1D0
crw-rw----+ 1 root audio 116,  9 Apr 27 07:51 midiC1D1
crw-rw----+ 1 root audio 116,  5 Apr 27 07:51 pcmC0D0c
crw-rw----+ 1 root audio 116,  4 Apr 27 11:44 pcmC0D0p
crw-rw----+ 1 root audio 116,  3 Apr 27 07:51 pcmC0D1p
crw-rw----+ 1 root audio 116,  2 Apr 27 07:51 pcmC0D2c
crw-rw----+ 1 root audio 116, 18 Apr 27 07:51 pcmC1D0c
crw-rw----+ 1 root audio 116, 17 Apr 27 11:55 pcmC1D0p
crw-rw----+ 1 root audio 116, 16 Apr 27 07:51 pcmC1D1c
crw-rw----+ 1 root audio 116, 15 Apr 27 07:51 pcmC1D2c
crw-rw----+ 1 root audio 116, 14 Apr 27 07:51 pcmC1D2p
crw-rw----+ 1 root audio 116, 13 Apr 27 07:51 pcmC1D3p
crw-rw----+ 1 root audio 116, 12 Apr 27 07:51 pcmC1D4c
crw-rw----+ 1 root audio 116, 11 Apr 27 07:51 pcmC1D4p
crw-rw----+ 1 root audio 116, 23 Apr 27 07:51 pcmC2D3p
crw-rw----+ 1 root audio 116, 22 Apr 27 07:51 pcmC2D7p
crw-rw----+ 1 root audio 116, 21 Apr 27 07:51 pcmC2D8p
crw-rw----+ 1 root audio 116, 20 Apr 27 07:51 pcmC2D9p
crw-rw----+ 1 root audio 116, 30 Apr 27 07:51 pcmC3D0c
crw-rw----+ 1 root audio 116, 29 Apr 27 07:51 pcmC3D0p
crw-rw----  1 root audio 116,  1 Apr 27 07:51 seq
crw-rw----+ 1 root audio 116, 33 Apr 27 07:51 timer

I even ran though the setting default sound card from the Alsa wiki, no help.

I'm new to Xfce, so not to sure what to look for, any and all help is appreciated.

Any and all help/guidance is appreciated.

--nixIT

*EDIT*
Changed subject to reflect 5.1 sound is not working.  with speaker-test -c 6, I have sound out of all the speakers at once only when speaker-test cycles to front left and front right.  no sound at all when cycling center, rear left or rear right.

Last edited by nixIT (2013-05-15 00:20:40)


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#2 2013-04-27 20:37:41

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,054

Re: [SOLVED] no 5.1 sound in Xfce4

What exactly you mean by no sound? In xfce4 I can't enable sound events, whatever I do, see: https://bbs.archlinux.org/viewtopic.php?id=157072 . I have google it a lot but I have no solution. However apps play sound fine. What happens when you run alsamixer (and unmute channels if they are muted). Is it a permission problem? (Test it by running your app as root).

Offline

#3 2013-04-28 03:27:50

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

no sound in videos, speaker-test -c 6 runs through it's cycle, no errors, but no static.

However, I uninstalled pulseaudio and resinstalled and now when I run:

speaker-test -c 6

when speaker test cycles through my 5.1, on front left and front right, I get static out of all speakers, and on rear right, rear left, and center I don't have sound.    Ive had this before, and even posted about it https://bbs.archlinux.org/viewtopic.php?id=130964
I checked to see if I had volti installed and I do not.

Not sure what to check now so I get sound out of the 5.1 properly.  any ideas?

*EDIT*
spoke too soon.  I rebooted, and now I get this:

speaker-test -c 6

speaker-test 1.0.27

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory


--nixIT

Last edited by nixIT (2013-04-28 04:04:40)


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#4 2013-04-28 04:04:23

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

Ok, just got sound back, but it's back to this:

speaker-test -c 6
when speaker test cycles through my 5.1, on front left and front right, I get static out of all speakers, and on rear right, rear left, and center I don't have sound.   Ive had this before, and even posted about it https://bbs.archlinux.org/viewtopic.php?id=130964
I checked to see if I had volti installed and I do not.


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#5 2013-04-29 01:17:23

brebs
Member
Registered: 2007-04-03
Posts: 3,406

Re: [SOLVED] no 5.1 sound in Xfce4

See if anything has already opened the soundcard in stereo mode, preventing it from being opened for more speakers:

fuser -fv /dev/snd/* /dev/dsp*

If you want to stick with ALSA, rather than pulseaudio, then I recommend checking out the config in my sig.

Offline

#6 2013-04-29 16:00:13

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

@brebs,

Thanx for your help, here is the output:

$ fuser -fv /dev/snd/* /dev/dsp*
Specified filename /dev/dsp* does not exist.
                                    USER        PID ACCESS COMMAND
/dev/snd/controlC0:        nixit           426 F.... pulseaudio
                                    nixit           480 F.... panel-18-mixer
/dev/snd/controlC1:        nixit           426 F.... pulseaudio
                                    nixit           480 F.... panel-18-mixer
/dev/snd/controlC2:        nixit           426 F.... pulseaudio
                                    nixit           480 F.... panel-18-mixer
/dev/snd/controlC3:        nixit           426 F.... pulseaudio

Not sure what I am looking for.

I'm not dead set on using ALSA over pulseaudio, my end goal is to have my 5.1 to work, so whichever technology works, I'm down, just need a bit of help getting it to work.

--nixIT


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#7 2013-04-29 16:15:57

brebs
Member
Registered: 2007-04-03
Posts: 3,406

Re: [SOLVED] no 5.1 sound in Xfce4

I recommend getting rid of xfce4-mixer - it can only cause trouble, keeping audio open all the time. Especially confusing newbies who wonder why their changes aren't taking effect.

To alter the volume, I use xbindkeys.

Well, ALSA-only or Pulseaudio, *you* have to choose wink

Offline

#8 2013-04-29 16:47:40

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

Well, I"ve only used gnome in the past and alsa and my sound card (SB Audigy 2 series) has always worked with 5.1.

Whatever the preferred solution (ALSA only or pulseaudio only), I'm down to switch to it.  I assume with Xfce, pulseaudio is the way to go?

-nixIT


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#9 2013-04-30 22:33:04

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

uggg, did my daily reboot, and now I get this:

$ speaker-test -c 6

speaker-test 1.0.27

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory

I have something seriously mucked up with my sound in Xfce, where it worked fine in gnome and cinnamon.  oy vey, off to troubleshoot.


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#10 2013-04-30 22:42:12

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

brebs wrote:

...If you want to stick with ALSA, rather than pulseaudio, then I recommend checking out the config in my sig.

Just took a look at your config, yeah, uh, I have no idea what I'm looking at, I don't understand it.  guess I better start reading up on it.


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#11 2013-05-13 19:35:24

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

Ok, I finally had some time to look into this.  Here is what I did:

-removed my SB Audigy card and using onboard only
-booted to windows to make sure 5.1 works.  *check
-booted to arch 64 w/Xfce4  -- no 5.1 sound

As a test, I booted to a linux mint 14 Xfce live media and installed, only took 5 minutes so no biggie.  Had 5.1 sound.  and "speaker-test -c 6" worked perfectly
As a second test, I booted to the recently released Xubuntu Xfce4, and installed, again, only took a few minutes.  Had 5.1 sound, and "speaker-test -c 6" worked perfectly

I then copied "/etc/modprobe.d/alsa-base.conf" from xubuntu to a data drive

Last night I downloaded the latest Arch 64 ISO and installed following the wiki.  Once it was time to test sound I ran "speaker-test -c 6" and I can see it cycle through the speakers but only got sound out of all the speakers when speaker-test would cycle to Front Left and Front Right, nothing when it hit Center, Rear Right, Rear Left of subwoofer. 

I then installed Xfce4 following the wiki, I can hear a slight static pop from the speakers, I then repeated the speaker test, same thing.  sound out of all the channels when speaker-test would cycle to Front Left and Front Right only.

I'm stumped.  This worked prior to when I moved from Cinnamon to Xfce.

I'm followed the wiki with setting sound cards, and nothing.  I even tried the file /etc/modprobe.d/alsa-base.conf, which I copied from my Xubuntu install (above) and rebooted, same thing.

I don't know what to try to get my sound working under Arch and Xfce now.  Any help is appreciated.

--nixIT


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#12 2013-05-14 01:24:54

brebs
Member
Registered: 2007-04-03
Posts: 3,406

Re: [SOLVED] no 5.1 sound in Xfce4

Might help to pinch the configuration from e.g. Mint:

alsactl -f /tmp/asound.state store

Then try using it in Arch, by copying it to /var/lib/alsa/

Offline

#13 2013-05-14 02:09:55

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

I thought the alsa-base.conf from my xubuntu install would work, I guess grabbing that from mint wouldn't hurt.  going to go try it from the live media to see if that works.

--nixIT


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#14 2013-05-14 03:05:55

brebs
Member
Registered: 2007-04-03
Posts: 3,406

Re: [SOLVED] no 5.1 sound in Xfce4

nixIT wrote:

This worked prior to when I moved from Cinnamon to Xfce.

There's lots of ALSA changes in kernel 3.9, and also in alsa-lib 1.0.27 sad

I suspect that speaker-test is somehow buggy, because this only gives sound from the front-left and front-right speakers:

speaker-test -c6 -t wav -Dsurround51

Whereas mplayer outputs correctly to all 5.1 speakers (here's surround-test.ac3):

mplayer surround-test.ac3

Offline

#15 2013-05-14 03:40:01

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

brebs wrote:

Might help to pinch the configuration from e.g. Mint:

alsactl -f /tmp/asound.state store

Then try using it in Arch, by copying it to /var/lib/alsa/

booted up the live media of mint 14, and speaker-test gave me the individual 5.1 sounds. copied the file over to arch, rebooted and nada.

I went into pavucontrol and unlocked the volume sliders, and only had sound come out of the front speakers whenever I increased front right or front left. 

For some reason, I can't get 5.1 to work.  sad

and it did work in Arch and does work in other distros.

--nixIT


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#16 2013-05-15 00:22:04

nixIT
Member
Registered: 2010-01-13
Posts: 394

Re: [SOLVED] no 5.1 sound in Xfce4

going back through the wiki, re-installing pulse.  Come to find out that pulse-alsa was not installed, installed that, and BAM, speaker-test -c 6 gives me indendent sound.

marked as solved.


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

Board footer

Powered by FluxBB