Jump to content

mpeg2 playback slow [solved]


adamato
 Share

Recommended Posts

My 2.5GHz machine gets really slow while playing normal mpeg2 or avi video files.

The scenes are not fluid and the cpu is working 99% (using totem, caffeine, xine or mplayer)

My graphic card is nvidia GeForce4 MX 440

my /etc/X11/xorg.conf is appended

 

thanks for your help

Alex

 

# File generated by XFdrake.

 

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

AllowMouseOpenFail # allows the server to start up even if the mouse does not work

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx"

Load "/usr/X11R6/lib/modules/extensions/libglx.so"

 

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "de_CH"

Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

Option "ZAxisMapping" "4 5"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Samsung"

ModelName "Samsung SyncMaster 171v"

HorizSync 30-81

VertRefresh 56-75

EndSection

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corp."

BoardName "NVIDIA GeForce4 (generic)"

Driver "nvidia"

Option "DPMS"

Option "IgnoreEDID" "1"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Virtual 1280 1024

EndSubsection

 

Subsection "Display"

Depth 15

Virtual 1280 1024

EndSubsection

 

Subsection "Display"

Depth 16

Virtual 1280 1024

EndSubsection

 

Subsection "Display"

Depth 24

Virtual 1280 1024

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1"

EndSection

Link to comment
Share on other sites

mplayer -vo gave me no usefull info.

To be more precise, mplayer or kaffeine do work with mpeg4 files, but both fail with raw video files (from my videocam) and mpeg2 encoded movies (coded with kino or MS movie maker)

Surprisingly commercial DVD work!

 

codec problems?

 

regards

adamato

Link to comment
Share on other sites

No codec problems. No hardware problem. (I play mpeg2 movies (recordings from my tv card) on an ancient P4). No driver problem.....

 

Perhaps the HDD? Open a console login as root and type: hdparm /dev/hdx (where x is the letter of your drive). Make sure dma is on. If it's off turn it on with hdparm -d1 /dev/hdx. With hdparm -Tt /dev/hdx you can see f it made any difference.

Link to comment
Share on other sites

Ehi!

For some reason the hardrake puts sometimes DMA off.

The system went back working properly on mpeg2 playback when I pluged a Bluetooth-USB device, and then something changed in the HD config. (???)

 

I decided to disable hardrake at boot.

At the moment it works.

 

thanks for the tip

adamato

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...