LinuxQuestions.org
Visit Jeremy's Blog.
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 01-12-2014, 11:38 PM   #1
fractal5
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Rep: Reputation: Disabled
Strange mplayer "lag"


I have Slackware 14.1 on a Core 2 "HTPC" computer used for watching video.

Yesterday, everything was fine. However, today, mplayer lags. It lags in a way that makes it show approximately 10-15 FPS on a typical video that I know should have 25. On any other computer that I have, the video runs smooth and appears to be 25 as it is, while on this HTPC machine, every video now appears to run at around half the real FPS.

When I run mplayer from the console, I get no warnings or errors, especially not the infamous "YOUR SYSTEM IS TOO SLOW".

CPU usage is around 5%.
Most of the memory is free (80-90% free).
I have tried to play the video over both network and from local disk, it makes no difference.
I have tried to reboot.
I have tried to reinstall the NVIDIA drivers (Quadro FX 370).
I have tried to disable vdpau and run everything in software rendering.
I have tried different types of media files. Strangely when playing a video in the flash player in Youtube, it looks fine. But in mplayer, everything lags.

I have looked at dmesg for anything suspicious.
I have executed mcelog to look for MCE errors.

Nothing makes any sense to me. Intermittently, for maybe 2-3 seconds, the video will go up to 25 FPS, before it drops back down to a choppy 10-15 FPS.

The size of the media file and the encoder used doesn't appear to make much difference, but some appear worse than others. But even small files exhibit this behavior.

How is it possible that this would work yesterday, but fail to work today? I have made no changes whatsoever to the system.
 
Old 01-13-2014, 02:10 AM   #2
dhabyx
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
I had that problem with an old laptop. But I discovered it was a problem with HD, for some strange reason the DMA was turned off.

you can check with

hdparm -I /dev/sdX
 
Old 01-13-2014, 04:51 PM   #3
fractal5
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dhabyx View Post
I had that problem with an old laptop. But I discovered it was a problem with HD, for some strange reason the DMA was turned off.

you can check with

hdparm -I /dev/sdX
Unfortunately this is not related to my problem. If I was using PIO mode, my CPU load would be higher, and even PIO mode probably wouldn't be a problem for small video files on a Core 2 system.

As I mentioned I also have this problem over the network too.

But I checked anyway, I'm using DMA.
 
Old 01-14-2014, 03:40 AM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,383

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Perhaps cut the Gordian knot and simply try compiling a newer version, current svn is quite stable...
 
  


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
Very Strange Linux Screen "Lag" Problem kingisw Linux - Newbie 1 10-20-2011 05:33 AM
Strange "LAG" while using CP command ps1x0 Linux - Server 3 10-10-2011 06:05 PM
How do I skip/jump to a "particular place" or "specified time/second" in mplayer? Aidin Sabetian Linux - Software 3 04-20-2010 07:46 PM
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 12:05 PM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 04:12 PM

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

All times are GMT -5. The time now is 01:43 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