LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2004, 11:08 PM   #1
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Rep: Reputation: 15
dvd's and xine


im trying to get dvd's to work on my slack 9.1 w/ 2.6.2 kernal to work however im running into some problems. first, i tried using the xine that came with slack to play my dvd, however, in the xine gui, i get the error
Quote:
The source can't be read. Maybe you don't have enough rights for this, or source doesn't contain data (Error reading NAV packet)
in the terminal window it gives me the error
Quote:
load_plugins: plugin dxr3-spudec failed to instantiate itself. libspudec: init_plugin called input_dvd: Error getting next block from DVD (Error reading NAV packet)
. so i decided to install a new version of xine since the one that came with slack was .9.22. so i installed v1.rc3a. however, i dont know how to use the new version that i installed. when i type xine in the terminal window, it still brings up the old xine. any help would be much appreciated.


p.s. the dvd drive works just fine, i can browse the content of the dvd.
 
Old 02-17-2004, 11:16 PM   #2
JROCK1980
Member
 
Registered: Aug 2003
Distribution: FreeBSD
Posts: 490

Rep: Reputation: 30
How did you uninstall the old version of xine. If you did not then you need to change into root and then type pkgtool. Find it in the list and remove it. Then install the new xine and you should be good to go.
 
Old 02-18-2004, 08:56 AM   #3
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
ok, i uninstalled xine using the package tools and reinstalled the new version. i have made some progress. i think the problem is with the dvd security. i tried playing my dvd and it gave me the same nav error. however, i then decided to try to copy the dvd using my dvd burner. the copied version actually played! so now my question is, is there some other program i need to get to allow me to play regular store bought dvd's?
 
Old 02-18-2004, 02:40 PM   #4
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
ok, so it turned out my probelm was dvdcss. i found a this thread which said i needed to get libdvdcss and i did. the dvd's now play just fine, however, xine stutters constantly. is there any way to get smooth playback? thanks.
 
Old 02-18-2004, 02:42 PM   #5
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Quote:
Originally posted by AlteZza2k2
however, xine stutters constantly. is there any way to get smooth playback? thanks.
hdparm -d1 /dev/hd*

where hd* is your dvd drive.
 
Old 02-18-2004, 04:12 PM   #6
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
my linux partition is /dev/hda5 so i tried hdparm -d1 /dev/hda5 and i got the error: HDIO_SET_DMA failed: Invalid argument. so then i thought to try hdparm -d1 /dev/hda and i got the error: HDIO_SET_DMA failed: Operation not permitted. all of this was done in root. any way to fix this?

ps. i dont know if this matters, but when i compiled my kernel, i set the option to enable dma automatically if availible.

Last edited by AlteZza2k2; 02-18-2004 at 04:16 PM.
 
Old 02-18-2004, 06:13 PM   #7
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
hd* should refer to your dvd player, not your hard disk.

So if your cd/dvd player is the primary cd then it's likely to be hdc. If you have 2 cd devices and the dvd is the second then it's likely to be hdd.

HTH
 
Old 02-18-2004, 06:45 PM   #8
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
sorry, i missread your post. i tried doing it on my cdrom, hdc, and i got the same error. Operation not permitted. using_dma = 0 (off).
 
Old 02-18-2004, 07:36 PM   #9
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Try physically logging in as root perhaps
 
Old 02-18-2004, 07:36 PM   #10
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
nope, im already physically logged in as root
 
Old 02-18-2004, 07:41 PM   #11
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Dunno where to go on this now.
 
Old 02-18-2004, 08:44 PM   #12
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
does hdparm -d /dev/hdX for all X show dma off?
cpu speed? ram size?

try nice -19 xine
 
Old 02-18-2004, 10:08 PM   #13
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
well i guess it turns out dma is turned off for all my devices . im running slack 9.1 compiled with kernel 2.6.2 on a dell 600m wiith a 1.6 ghz centrino, 512 mb ram. also, the last command you recommended i try doesnt fix it. so i guess my problem is dma. i dont understand though, when i compiled, i most definatly selected dma to be. i even double check my config now and it says on. is there anything i can do?
 
Old 02-19-2004, 12:11 AM   #14
mint567
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
Most likely you did configure your kernel with DMA, but you need to select it for your specific chipset. I had the same problem with DMA reading when I first compiled the 2.6.0 kernel. Anyways, I figured I would hop in on this thread because mplayer plays DVD's back smoothly, but Xine will not for me. It is a stutter that happens every 5 seconds or so. Just not real smooth playback. I'm not sure why it does this. I have tried compiling Xine from source and everything. Either way I just use mplayer, but if anyone has any idea's i am all ears! The mplayer gui is nice but some reason I prefer xine
Thanks
 
Old 02-19-2004, 12:44 AM   #15
AlteZza2k2
Member
 
Registered: Sep 2003
Posts: 39

Original Poster
Rep: Reputation: 15
well i thought i did select it? i am having the same exact problem the person in this thread .
 
  


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
Playing DVD's w/ XINE cphase Slackware 6 04-11-2005 04:01 PM
Need help with Xine playing DVD's wswartz Linux - Software 15 11-29-2004 11:54 PM
Xine cant see my dvd's caleb star Fedora 5 06-26-2004 11:07 AM
Xine & DVD's xquizit Linux - Software 1 06-26-2003 04:32 AM
xine and dvd's zero-g Linux - General 33 03-14-2003 06:59 AM


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