LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2004, 02:26 PM   #1
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
No sound in XFCE


I've found the perfect DE! Except, I have no sound, and can't figure out how to get it working.

I have Slackware 10.0, have alsa configed for x. Sound works fine in KDE and Gnome. But I have no sound in XFCE. If I click on a sound file, it opens and plays in XMMS but I can't hear anything. My speakers are on, the volume is up, and everything is plugged in correctly.
 
Old 08-25-2004, 02:30 PM   #2
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Next to the clock is a volume bar. Click on the button right next to it and turn up the volumes. You might have to right-click on it and select "properties", then "use internal mixer" before doing that.
 
Old 08-25-2004, 02:48 PM   #3
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
Yes, I just found that. I did what you said, still no sound.

When i right-click on the Volume-Control and go to properties, what should be in the command: box? Maybe that is the problem.
 
Old 08-25-2004, 02:51 PM   #4
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
Also, the volume control can't be adjusted. I can't increase it, it reads 0%.

I just re-started xfce, and now I have a green bar in my volume, apparently I can adjust it. But still no sound.

Last edited by linda; 08-25-2004 at 02:56 PM.
 
Old 08-25-2004, 05:29 PM   #5
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
run "alsamixer" in the terminal and umute main volume control bar and the one for PCM that should do the trick... actually while your playing your fav tunes on XMMS open up the terminal and run alsamixer...

for some reason unlike KDE, XFCE does not autoload volumes on startup...
 
Old 08-25-2004, 09:43 PM   #6
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
Well, it works now. I just rebooted the computer. Just re-starting x did not fix it, but rebooting did. Thanks for the replies!
 
Old 08-25-2004, 10:57 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
*shivers* - the windows solution! :}
 
Old 08-26-2004, 04:30 PM   #8
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
I'm still having trouble, but I know someone will know what I should do... :-)
If I boot up my computer and go from a terminal into my user acct with XFCE, I have no sound. If I then go into root, startx which is KDE, then logout of KDE and out of root, and log into my user acct with XFCE I have sound.

So to me, it seems KDE is loading the sound for XFCE. Does that seem reasonable? Now, how do I fix it?
 
Old 08-26-2004, 04:34 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
KDE fires up the arts daemon to provide its applications
with a common sound interface. You could put the call
to artsd in your /etc/rc.d/rc.local if this is what your xfce
is missing.

/opt/kde/bin/artsd&


Cheers,
Tink
 
Old 08-26-2004, 04:42 PM   #10
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
I'm a little surprised that sound in X relies on KDE. What if I hadn't even installed KDE?

Off to try your trick... Thanks Tink!
 
Old 08-26-2004, 04:49 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It doesn't.

But I've set-up my applications to not use
arts. There's alsa (which again may be used
by arts as an intermediate layer), there's esd,
sdl ... all concurrent systems.

But the description of xfce you gave makes
me think that (in your particular case) it relies
on artsd ;)


Cheers,
Tink
 
Old 08-26-2004, 05:12 PM   #12
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
Well, I'm afraid that did not work. I typed the exact thing you wrote into my rc.local. When I rebooted, here is what appeared on my screen:
ALSA lib pcm_hw.c:549snd_pcm_hw.start) SNDRV_PCM_10CTL-STASRT failed: Broken pipe.
ALSA lib pcm_hw.c:549snd_pcm_hw.start) SNDRV_PCM_10CTL-STASRT failed: Broken pipe.

Yes, 2 lines of it.

I don't know if this is a clue, but after I logout of x, I always get messages saying :
Warning leaving MCOP dispatches and still 12 (or more) object references alive
ARTS:/Sample Storage, and lots of others with ARTS: something

I have a Creative Audigy card, using Alsa, and emu10k.

At least I found a way to get my sound working, but I wouldn't want to use the process I described above all of the time. And to think, I actually got Neverwinter Nights working on Linux! That is the reason I am tinkering with sound... I want to play!
 
Old 08-26-2004, 05:34 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
At which stage in the boot-process, when starting arts?
Add an echo in the rc.local before and after that call ..
like so

echo "Going to start arts!"
/opt/kde/bin/artsd&
echo "After arts"


Cheers,
Tink
 
Old 08-26-2004, 05:50 PM   #14
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Original Poster
Rep: Reputation: 30
I typed in those echo messages, now my screen displays this:
Going to start arts!
After arts.
ALSA lib pcm_hw.c:549snd_pcm_hw.start) SNDRV_PCM_10CTL-STASRT failed: Broken pipe.
ALSA lib pcm_hw.c:549snd_pcm_hw.start) SNDRV_PCM_10CTL-STASRT failed: Broken pipe.

This is pretty much the last thing that prints out on the screen.
? clueless, me?
 
Old 08-26-2004, 06:18 PM   #15
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmm ... may be just a timing-problem, and the output
could really be related to the manual start of arts ...

If you don't log into kde, and do an
lsmod
what do you get?

I'm not very good with ALSA, I don't use it here.


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfce problems with task bar and xfce-panel aeruzcar Linux - Software 4 06-26-2006 05:29 AM
XFCE, what is it? webwolf70 Linux - Software 2 05-06-2005 12:12 AM
xfce sound mixer not remembering settings killerbob Slackware 5 10-30-2004 03:22 PM
xfce M.R Fedora 15 08-04-2004 09:57 AM
Xfce 4 .... Solean Linux - Software 7 09-29-2003 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration