Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD Trouble
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Nov 28, 2002 5:07 am    Post subject: DVD Trouble Reply with quote

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
View user's profile Send private message
wHAcKer
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 228
Location: Grimbergen, Belgium

PostPosted: Thu Nov 28, 2002 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Thu Nov 28, 2002 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Thu Nov 28, 2002 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cid Highwind
n00b
n00b


Joined: 09 Jul 2002
Posts: 53

PostPosted: Sun Dec 01, 2002 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrjoops
n00b
n00b


Joined: 23 Aug 2002
Posts: 23
Location: Annecy, France

PostPosted: Mon Dec 02, 2002 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
squanto
Guru
Guru


Joined: 20 Apr 2002
Posts: 524
Location: Rochester, NY, USA

PostPosted: Tue Dec 03, 2002 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum