LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2018, 02:37 PM   #1
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Rep: Reputation: 15
No Sound with XMMS


Last week I plugged in an HDMI cable and to support that changed my pulse audio volume control configuration to "HDMI 2 + analog input." When I was finished, I changed the configuration back to "analog stereo duplex".

XMMS has not worked since then; I don't know why. I haven't found much help searching on line for this. I've been using XMMS for years.

As of today, XMMS won't even load a playlist. I have my session start to launch XMMS on a certain playlist and it launches empty. When I try to manually load a playlist, it doesn't work.

I'm using XFCE Fedora 28 Linux. Can anyone offer any advice?
 
Old 11-04-2018, 08:09 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Do you have pavucontrol installed (that's the Pulse Audio Mixer)? It should be in the repos.

It gives you more granular control than most simple volume control applications. Check the Playback-->Applications settings to make sure the XMMS stream is not muted and let us know what you find.
 
Old 11-04-2018, 11:00 PM   #3
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
Yes, I do have it installed. According to the Volume Control, there is no playback stream for XMMS.

That was the case last week right after I changed the configuration to HDMI, and later changed it back.

But as of yesterday, I can't even get XMMS to load a playlist. When I open it (and I have the playlist editor displayed on load), it shows an empty playlist. I click "load playlist" and the file picker pops up. When I choose a playlist file, the file picker closes, the playlist editor blinks, and remains empty. Note this playlist file is a .pls that was created by XMMS.

I keep thinking some configuration file was removed or altered when I switch to HDMI audio but I can't figure out what.
 
Old 11-04-2018, 11:03 PM   #4
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
Follow up -- don't know why I didn't try this before, but I have been trying to load playlists (which is what I always used). I just tried to load a single file, and it displays in the playlist editor. However, it doesn't play. A popup reports the error:

"Couldn't open audio
Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard"

I haven't changed any of these since before I used HDMI audio and XMMS worked then.
 
Old 11-04-2018, 11:12 PM   #5
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
Second follow up -- I recreated the playlist by loading the songs and saving the playlist. I can now load and play a playlist. In this sense I am back to where I was two days ago.

That is, XMMS acts as if it is playing. The little output monitor on the face bounces up and down and the play indicator scrolls across the face of the player. But there is no sound.

Pulse Audio Volume Control does not see any audio playback stream from XMMS. Rhythmbox works, VLC player works, etc. but XMMS does not.
 
Old 11-04-2018, 11:22 PM   #6
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
Just to let everyone know, earlier today I un-installed XMMS and re-installed it. Just now I closed XMMS, deleted the ~/.xmms directory, and relaunched it to generate a new ~/.xmms directory. As far as I know, XMMS should be installed with everything set to the default settings.
 
Old 11-05-2018, 08:10 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Thanks for the updates. I probably would have tried the same steps myself.

I must admit that I haven't encountered anything like this. Do other media players work?

If so, try starting XMMS from the command line and look for helpful error messages in the terminal.
 
Old 11-05-2018, 08:56 PM   #8
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
Yes, all other audio applications work (that I know of). I'm using Rhythmbox in the meanwhile until I get XMMS sorted out. But I don't like the Rhythmbox CLI. Basically, I can't figure out how to launch Rhythmbox in CLI and start a particular play list file. Tried everything in man rhythmbox and man rhythmbox-client and I don't care what they say ... it doesn't work. I *can* launch rhythmbox but it has located every sound file on the whole system and they are all in the play queue (as is the desired playlist). rhythmbox-client --clear-queue does not work, and rhythmbox --playlists-file="myplaylistfile" starts rhythmbox okay but does not clear the queue down to just the identified playlist (everything on the system plays, sooner or later).

I'd like to just get XMMS functioning again ... that is, get XMMS output stream connected to Pulse Audio.
 
Old 11-05-2018, 08:59 PM   #9
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
Command line launch of XMMS looks like this:

$ xmms --play "desiredplaylistfile"
Message: device: default

** WARNING **: Failed to open font: "-adobe-helvetica-bold-r-*-*-10-*".

It is playing (GUI visible and responsive) but there is no stream shown in Pulse Audio Volume Control.
 
Old 11-05-2018, 09:05 PM   #10
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
We can see from this screenshot that Rhythmbox (background) is playing, and so is XMMS. In live view, you can see the audio bars on XMMS moving up and down, as well as the playing track bug moving to the right.

But you can observe that Pulse Audio Volume Control "sees" the Rhythmbox stream (the audio level is pulsating) but it's not even showing a stream from XMMS.

Once again, this worked just fine until very recently.
Attached Thumbnails
Click image for larger version

Name:	rhythmboxworks-xmmsdoesnt.png
Views:	47
Size:	207.3 KB
ID:	28922  
 
Old 11-05-2018, 09:25 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
It's a long shot, but try creating a new user, then check whether XMMS plays for the new user.

I'm using a VM of Fedora here. I just installed XMMS and started to play a file, and it worked.

Have you looked in the log files? (Unfortunately, I'm not familiar enough with journalctl to offer much help in using it. I took a look at /var/log in the Fedora VM and am working on figuring it out; it is not traditional.)
 
Old 11-07-2018, 07:30 PM   #12
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
frankbell, thanks for helping me think outside of the box. Create a new user ... hadn't thought of that. Well, I gave it a shot and no dice. XMMS behaves the same for the test user I created as it does for me. When starting play it reports "can't open sound output, check that the audio card is configured properly." Or words to that effect.

Seems XMMS just can't get Pulse Audio to accept an output stream from it. But I don't know why.

I'm not knowledgeable enough to read logs. If someone in the forum could tell me what logs to look for I can post the output here.
 
Old 11-07-2018, 08:33 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Quote:
Seems XMMS just can't get Pulse Audio to accept an output stream from it. But I don't know why.
It worked on my Fedora VM, so I'm inclined to think it is not a general issue, but, at this point, this issue above my level of knowledge.

If you want an XMMS like substitute to test with, try QMMP. It looks and behaves like XMMS and will even accept XMMS skins.
 
Old 11-09-2018, 07:19 PM   #14
JWilliamCupp
Member
 
Registered: Jul 2005
Location: Indiana, U.S.A.
Distribution: Fedora
Posts: 57

Original Poster
Rep: Reputation: 15
[Couldn't log in to LinuxQuestions.org for two days!]

Glad to hear that XMMS works for you. I will give QMMP a look-over.

Can you send me the settings you have in: Preferences -> Audio I/O Plugins -> Output Plugin
Be sure to include what is set in Configure, as well. Thanks.
 
Old 11-09-2018, 07:42 PM   #15
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I pretty much default to QMMP these days.
 
  


Reply

Tags
audio, configuration, xmms



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
No surround sound, mic not working, XMMS wont play (others give sound) Virtuality Linux - Hardware 2 03-26-2012 07:26 PM
How to play sound file using xmms and then having xmms quit... trist007 Linux - Newbie 2 12-17-2008 12:00 AM
Isnt it xmms crappy to play sound, like detecting sound cards. Others are all better frenchn00b Linux - General 2 02-11-2008 06:51 PM
no sound with xmms sh4d0w13 Linux - Newbie 5 07-24-2005 11:19 AM
While XMMS is outputing sound, sound from other programs doesn't output untill after. brynjarh Linux - Newbie 2 07-09-2004 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:06 AM.

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