View previous topic :: View next topic |
Author |
Message |
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Thu Nov 28, 2002 5:07 am Post subject: DVD Trouble |
|
|
When i play a DVD in xine, the dvd lags pretty bad under both the 2.4 and 2.5 kernels. CPU time is at 100%. Also, when i make any change (pause, fast foreward, etc.) i lose all sound anbd have to quit and restart xine.
I tried ogle, but it quits w/ an insufficant resources error as soon as it starts.
I have a decent com (p3 6500/3230mb ram) and have previously watched DVDs w/out trouble, however i may not have watched any since updating to gentoo 1.4 if i could have broken something there.
EDIT mplayer /dev/dvd returns the exact same error as xine _________________ Aim:gsfgf0 |
|
Back to top |
|
|
wHAcKer Apprentice
Joined: 18 Oct 2002 Posts: 228 Location: Grimbergen, Belgium
|
Posted: Thu Nov 28, 2002 7:40 pm Post subject: |
|
|
maybe try to turn on udma manually
at least check to see if it's on, it wasn't enabled at first after my install...
got me pretty bad lag too, but now everything works like a charm |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Thu Nov 28, 2002 7:47 pm Post subject: |
|
|
Besides the UDMA, a good tip would be to mount the DVD before reading it, the mplayer folks say that it improves velocity |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu Nov 28, 2002 10:00 pm Post subject: |
|
|
This is usually a dma issue as was already mentioned but also make sure you're using the xv video output driver in mplayer. |
|
Back to top |
|
|
Cid Highwind n00b
Joined: 09 Jul 2002 Posts: 53
|
Posted: Sun Dec 01, 2002 4:11 pm Post subject: |
|
|
If all the above suggestions don't help, make sure you are not using software video scaling. That can eat lots of CPU cycles just making minor changes to the video window's size. |
|
Back to top |
|
|
mrjoops n00b
Joined: 23 Aug 2002 Posts: 23 Location: Annecy, France
|
Posted: Mon Dec 02, 2002 9:51 pm Post subject: |
|
|
Look at /etc/init.d/hdparm. By default the script enables DMA for hard drives only !
Edit it and add a line to fit your needs.
I had the same problem and this is the way I solve it. |
|
Back to top |
|
|
squanto Guru
Joined: 20 Apr 2002 Posts: 524 Location: Rochester, NY, USA
|
Posted: Tue Dec 03, 2002 4:02 pm Post subject: |
|
|
Quote: | By default the script enables DMA for hard drives only |
Also, if that don't work, check kernel config and make sure you didn't check dma for hard disks only as well. |
|
Back to top |
|
|
|