LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-01-2003, 10:03 AM   #1
sgfweatherguy
LQ Newbie
 
Registered: Apr 2002
Location: Springfield, MO
Posts: 6

Rep: Reputation: 0
Unhappy Xine can't read source (DVD)


I'm a Linux newbie but successfully compiled and installed Xine and xine-ui on my machine. When I insert a DVD and click the "DVD tab" it reads the disc title (which displays in the ui) but then says "source can't be read. You may not have enough rights for this, or the source doesn't contain data." I added read access to the drive (just in case), but no chance.

I can see the files in my directory tree...any idea what I'm not doing right here?
 
Old 10-01-2003, 11:34 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292
"I can see the files in my directory tree"

Try reading the files with a text editor (even though it may display garbage). That will determine whether the problem is in accessing the DVD or if the problem is located in Xine.
 
Old 10-01-2003, 11:51 AM   #3
sgfweatherguy
LQ Newbie
 
Registered: Apr 2002
Location: Springfield, MO
Posts: 6

Original Poster
Rep: Reputation: 0
Steve, I CAN read the files from the tree...it just won't read them from Xine.
 
Old 10-01-2003, 07:38 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292
"Steve, I CAN read the files from the tree...it just won't read them from Xine."

Then the problem is probably somewhere within Xine. Did you install the complete Xine package? I went to this site:
http://xinehq.de/index.php/faq#BUILDING The only thing that I can find that you might be missing is libdvdcss or perhaps libdvdread.

Last edited by jailbait; 10-01-2003 at 07:40 PM.
 
Old 10-01-2003, 08:40 PM   #5
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
That's the error message you get when you are missing libdvdcss and/or libdvdread -- I learned that the hard way
 
Old 10-02-2003, 09:40 AM   #6
sgfweatherguy
LQ Newbie
 
Registered: Apr 2002
Location: Springfield, MO
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks...installed both libdvdcss and libdvdread and it works great now. One other issue has popped up, though. I'm running a Dell 650 with 1 GB memory and dual 2.4 GHz processors. The video seems quite smooth, but the audio cuts in and out frequently. I've tried setting the drive to use DMA:

#hdparm -d1 /dev/dvd

but it denies it. I saw a post in another section with someone else who had the DMA problem and it suggested adding:

options hd-cd dma=1

to the /etc/modules.conf file. It still doesn't allow me to set DMA. Thoughts?
 
Old 10-02-2003, 10:43 AM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292
"#hdparm -d1 /dev/dvd"

/dev/dvd may be a symbolic link to another device. If it is then try the command on the linked to device.



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 10-02-2003 at 10:48 AM.
 
Old 10-02-2003, 11:16 AM   #8
sgfweatherguy
LQ Newbie
 
Registered: Apr 2002
Location: Springfield, MO
Posts: 6

Original Poster
Rep: Reputation: 0
the actual device is /dev/hdc. I've tried it here as well and there's no success. Then again, the machine is rather speedy, so I wonder if the DMA settings has anything to do with it. Another user had choppy audio and discovered an IRQ conflict with the sound card and the ethernet card. I have no idea how to check or fix this.
 
Old 10-02-2003, 11:28 AM   #9
sgfweatherguy
LQ Newbie
 
Registered: Apr 2002
Location: Springfield, MO
Posts: 6

Original Poster
Rep: Reputation: 0
Okay, found out how to see IRQ:
'# cat /proc/interrupts'

Unfortunately there doesn't appear to be any conflicts.
 
Old 10-02-2003, 04:37 PM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292
The only other thing that I can think of is a possible slowdown caused by sharing the IDE port. If you have a device on /dev/hdd then I/O to /dev/hdc and /dev/hdd can only run single file, not in paralel. So if you have an active device on /dev/hdd it will slow down the access to /dev/hdc.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 10-02-2003 at 04:38 PM.
 
Old 10-02-2003, 08:37 PM   #11
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
does dma explicitely fail? it looks like your dvd player is set up as an IDE device. try using scsi emulation in either grub or lilo (insert boot option "hdc=ide-scsi" in either grub.conf or lilo.conf depending on which boot loader you use). when i installed red hat 7.3 on my dad's laptop, setting dma for his dvd (hdb) and cdrw (hdc) would always fail until i told them to use scsi emulation on boot.

doing this will set your dvd player to /dev/scd0 or /dev/scd1 depending on if that's the only cd/dvd peripheral you have (if only one, then /dev/scd0 should be the block device). you maybe need to edit your fstab and you'll definately need to relink /dev/dvd to the new device block.
 
Old 10-02-2003, 08:54 PM   #12
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
how you got it set up in preferences

 
Old 10-02-2003, 08:55 PM   #13
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
In mine it says that there are too many video packets in the buffer.

DMA is turned on and I have all of the lib installed.

Anybody know how to fix it?
 
Old 10-02-2003, 09:03 PM   #14
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
flamesrock

mine did that last night
preferences
turn off double buffering
allow frame dropping

our processors are too slow

did your sound run ahead of the video by a sec or so before it crashed?

Last edited by ehdwuld; 10-02-2003 at 09:05 PM.
 
Old 10-03-2003, 12:35 AM   #15
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
Thanks I'll try that. funny that my computer is 2.4 ghz and can't run a movie
 
  


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
DVD Read issue in xine and mplayer necbrownie SUSE / openSUSE 1 02-06-2005 10:20 PM
RedHat 8.0-cannot read DVD using either xine or ogle Amos Ku Linux - Hardware 2 09-13-2003 09:43 AM
Xine dvd problem: no dvd button hwood7587 Linux - Software 3 08-18-2003 11:40 AM
my dvd is read as hdd and my ide cd-rw is read as scsi??? spyghost Linux - Hardware 11 07-16-2003 05:03 PM
cant read DVD on mplayer or xine Henry Linux - General 68 12-13-2002 05:53 PM


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