You are not logged in.

#1 2012-07-16 13:49:49

eskatrem
Member
Registered: 2012-07-06
Posts: 13

[Solved] Lost sound with xMonad

Hello,

I lost the sound when I run xMonad. When I run gnome everything works fine. Someone from the xMonad mailing list said I must be forgetting to start alsa or pulseaudio daemons. How do I do that?

Thanks!

Last edited by eskatrem (2012-07-16 19:33:49)

Offline

#2 2012-07-16 13:53:40

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] Lost sound with xMonad

Did you look on the wiki under the ALSA and Pulse Audio pages?


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2012-07-16 13:59:53

eskatrem
Member
Registered: 2012-07-06
Posts: 13

Re: [Solved] Lost sound with xMonad

I did look at the alsa page on Arch wiki, but I havent been able to solve my problem with that. After changing my rc.conf file, running rc.d start alsa doesn't do anything.

Offline

#4 2012-07-16 14:03:11

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: [Solved] Lost sound with xMonad

Are you in the audio group? Did you unmute the channels with alsamixer? Does `speaker-test` do anything?

Offline

#5 2012-07-16 14:07:34

eskatrem
Member
Registered: 2012-07-06
Posts: 13

Re: [Solved] Lost sound with xMonad

I ran alsamizer and turned the volume to maximum for everything.
EDIT: I set myself in the audio group, but still unable to get any sound
speaker-test does this (before I interrupt it, it seems to do something forever):
speaker-test 1.0.25

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Time per period = 2.665351
0 - Front Left
Time per period = 2.986627
0 - Front Left
Time per period = 2.986616
0 - Front Left
Time per period = 2.986630
0 - Front Left

Last edited by eskatrem (2012-07-16 14:19:41)

Offline

#6 2012-07-16 14:10:58

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] Lost sound with xMonad

1) Please put any code in code tags
2) Please do more research rather than saying things like "I dont know what is the audio group"

https://wiki.archlinux.org/index.php/Groups


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#7 2012-07-16 18:51:15

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [Solved] Lost sound with xMonad

Is the right sound card selected in alsamixer? Are you sure you unmuted the necessary channels in alsamixer? (Below the green/red bar: 00 means unmuted, MM means muted.)

edit: If the answer to both questions is yes: post the output of "lsmod | grep snd".

Last edited by Terminator (2012-07-16 18:53:46)

Offline

#8 2012-07-16 19:32:27

eskatrem
Member
Registered: 2012-07-06
Posts: 13

Re: [Solved] Lost sound with xMonad

Terminator, you nailed it! I hadn't unmuted my speakers!
I simply didn't know that 00 meant unmuted while MM is mute.

Thanks a lot!

Offline

Board footer

Powered by FluxBB