LinuxQuestions.org
Review your favorite Linux distribution.
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 12-12-2016, 03:30 PM   #46
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,353
Blog Entries: 2

Rep: Reputation: 288Reputation: 288Reputation: 288
Thumbs up


Quote:
Originally Posted by Ztcoracat View Post
Nice of you to say that; thanks!

I must say that XMMS is a very small player.
Not sure I want to pursue using it.

Have a great day and a good week ahead.
Have You ever tried web radio URI on XMMS
I use that a lot
And on Audacious also
I really use them both in sequence (am I wierd?)
 
Old 12-12-2016, 04:08 PM   #47
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,926

Original Poster
Blog Entries: 14

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
Code:
Have You ever tried web radio URI on XMMS
No I haven't.
I did download a skin that I like for XMMS-
Not sure how to change it but I'll figure it out.

No your not weird. Just sounds like you like multiple things and there's nothing wrong with that.
Preference rules:-
 
Old 12-13-2016, 01:36 AM   #48
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,353
Blog Entries: 2

Rep: Reputation: 288Reputation: 288Reputation: 288
have a nice time hacking that skin into the GUI.
 
Old 12-17-2016, 09:36 AM   #49
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,444

Rep: Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212
Quote:
Originally Posted by Ztcoracat View Post
When you get a chance bassmadrigal would you mind?.... turn on screensaver and play a video or audio and see if mplayer locks up on you when the screensaver launches?
Sorry it took me so long to get back to this. It's been a crazy few weeks.

So, I first tested this in KDE as that is what I run on my htpc. I enabled the default KDE screensaver and chose GLMatrix (as that is what I used to use back in the early 2000s when I started with Slackware). I tested both an mp3 and mp4, running mplayer from the commandline without any options and nothing more than the default system configs (no ~.mplayer/config or whatever file it uses). There was no pause with either when the screensaver came up. Both continued playing in the background while the screensaver played.

Then I logged out of KDE and logged into xfce (first login with xfce on this machine, so it was the default config). I then enabled the GLMatrix screensaver and set the blank time to 1 minute. Again I played both files with no additional options and using the system's default mplayer config. The mp3 played without issue and there was no pause when the screensaver came on. However, with the video, it paused and wouldn't resume playback when the screensaver ended. Even hitting my spacebar to resume playback didn't work. I ended up needing to skip ahead in the video to finally resume playback. I got several alsa errors while trying to resume playback.

Code:
[AO_ALSA] pcm pause error: file descriptor in bad state
[AO_ALSA] pcm resume error: file descriptor in bad state
Video playback was done with vdpau and audio playback was done with alsa (likely with a pipe to pulse, as I haven't changed any audio configurations on this machine). Both seem to be mplayer's default. The mp4's video was h264 and the audio was AAC.

I then tried switching audio output to pulse (mplayer -ao pulse video.mp4), which brought an unexpected change. When I did this, I had a slight pause when the screensaver came on (during the fade to black transition), but then the audio continued on while the screensaver played. When I exited the screensaver, the video continued playing without any errors. Since it only occurred during the transition, I disabled that under the advanced tab under the screensaver, and that prevented the pause and everything continued playing in the background. Exiting the screensaver continued the video as expected.

I then went back to alsa output (removed the -ao pulse from the command) and tried playing the video with just the transition disabled, and that created no pause. I also tested an avi file that used xvid for the video and mp3 for the audio, just in case the audio portion played a factor in the outcome, but it had the same outcome as the mp4, so it seems like it happens when video is playing.

So to recap:
mp3 - no pause when screensaver comes on
mp4/alsa - completely pauses and won't resume with transition -- no pause/stutter without transition
mp4/pulse - stutters with transition but audio continues -- no pause/stutter without transition

So, it looks like the fade-to-black transition of xscreensaver is causing the problems. I'm not sure why alsa/pulse make a difference in whether it completely locks up or just stutters.

Let me know if you have any further questions.
 
Old 12-17-2016, 06:39 PM   #50
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,926

Original Poster
Blog Entries: 14

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
Thanks for taking the time to test this on your system.

Quote:
The mp3 played without issue and there was no pause when the screensaver came on. However, with the video, it paused and wouldn't resume playback when the screensaver ended.
Sounds like (at least on your system) the audio isn't the issue.
But we both have the same playback issue with video.

I'm starting to wonder if XFCE has some sort of conflict with the xscreensaver.

How did you switch the audio output to 'pulse'?
 
Old 12-17-2016, 08:10 PM   #51
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,926

Original Poster
Blog Entries: 14

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
For grins and giggles I logged into KDE on my Sony Vaio and set up the screensaver to activate in 2 min's.
Started up mplayer and waited. Sadly I still have the same result as the Slack install on my quad core desktop.
 
Old 12-17-2016, 09:07 PM   #52
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,444

Rep: Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212
If you run the command manually, you can specify pulse using the -ao option.

Code:
mplayer -ao pulse /location/to/file.mp3
If you want to make it permanent, you can add it to mplayer's config using ao=pulse and it can be specified per user (~/.mplayer/config) or system-wide (/etc/mplayer/mplayer.conf).
 
Old 12-17-2016, 09:50 PM   #53
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,926

Original Poster
Blog Entries: 14

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
Quote:
Originally Posted by bassmadrigal View Post
If you run the command manually, you can specify pulse using the -ao option.

Code:
mplayer -ao pulse /location/to/file.mp3
If you want to make it permanent, you can add it to mplayer's config using ao=pulse and it can be specified per user (~/.mplayer/config) or system-wide (/etc/mplayer/mplayer.conf).
Would that argument go under audio, video or other settings?
I'm not sure:-
 
Old 12-17-2016, 10:09 PM   #54
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,444

Rep: Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212
Quote:
Originally Posted by Ztcoracat View Post
Would that argument go under audio, video or other settings?
I'm not sure:-
It actually doesn't matter. Those labels are just comments that can allow you to group similar settings. But in actuality, you could put it under any section, or just at the top of the file.
 
Old 12-17-2016, 10:11 PM   #55
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,926

Original Poster
Blog Entries: 14

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
Quote:
Originally Posted by bassmadrigal View Post
It actually doesn't matter. Those labels are just comments that can allow you to group similar settings. But in actuality, you could put it under any section, or just at the top of the file.
Cool beans; thanks-
 
Old 01-02-2017, 09:47 PM   #56
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,926

Original Poster
Blog Entries: 14

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
Quote:
I'm not sure why alsa/pulse make a difference in whether it completely locks up or just stutters.
I'll think on that for a few days and maybe find out the who, what, why when and how:-

Power Management is in the kernel isn't it?

This may/might be another way to have control over the Mplayer when screensaver launches.
(just an idea)

So far the only thing that works is to use Amarok or XMMS:-

Last edited by Ztcoracat; 01-02-2017 at 09:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Regarding Interrupt Request Line rocky_siva Linux - Kernel 5 06-17-2011 03:05 PM
Screen freezes and there is a spike in interrupt request. What could cause it? MikeyCarter Linux - Software 5 09-17-2010 03:27 PM
Need procedure to integrate the xscreensaver bug fix barunparichha Linux - Software 1 04-29-2009 11:32 AM
USB bus deregistered request interrupt failed MariusD Linux - Hardware 1 07-17-2008 08:00 AM
XScreenSaver lockup: a bug? Samsara Fedora 1 11-12-2004 03:18 PM

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

All times are GMT -5. The time now is 05:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration