LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-03-2005, 11:40 PM   #1
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Rep: Reputation: 15
Problems Playing DVD's


I'm pretty sure that Ubuntu cannot play video dvd's, due to the incredibly large number of problems I am having with it, and the fact that none of my friends can play DVD's either, but I am going to give it one last shot before I switch to another distro. (I love Ubuntu, but if it can't play DVD's, then I have no choice).

Here is what I have done to get it working:

1. I installed libdvdcss2, libdvdread, basically everything that so much as has the word "DVD" in it.

2. In turned on DMA, but I have to do this every single time I login with hdparm, because adding it to the end of that file (forgot the name of the file in question) makes my computer say "/dev/hdc no such file or directory" when it boots so I have to do it manually every time in Konsole.

Anyway, I tried Mplayer, Xine, Totem, Totem-xine, and VLC and they all have the same problem. The dvd will play for quite some time and then crash out. Some dvd's don't make it passed the intro screen, some will last an hour into the movie and fail out.

Xine gives me this error:
"the source can't be read. maybe you don't have enough rights for this, or source doesn't contain data" That's the error it gives me when it crashes out. For example, I tried playing Spiderman 2 and when selecting a scene I get that immediately. With Dragonball GT, I can play an episode all the way through but it will fail if I let it go by itself. (If that makes sense).

Mplayer:
MPlayer crashes instananeously with signal 11. Mplayer will play all video files fine (even wmv files) but not dvd's.

Vlc:
I forgot what it does, but that player is worthless to me anyway.

Totem-xine:
Crashes at the same points as Xine, but says something about trying to play a dvd without libdvdcss (Although lbdvdcss is installed, and I even tried reinstalling it).

I went through the unofficial ubuntu guide several times and searched google and nothing helps. For the heck of it, I changed the jumpers on my dvd drive so that it is set to master, but still nothing.

When I open Xine in a terminal, here is the output all the way from when I start playing it to when it crashes. In this example I played Spiderman 2, I chose scen 38 in scene selection, and then it crashed.
Code:
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
libdvdread: Using libdvdcss version 1.2.8 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000200
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001680
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00012968
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x002e2940
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x002e2960
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x002e3c20
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x002e3c40
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0030a5e0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0030a600
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0031c480
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0031c4a0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0033f480
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0033f4a0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00343d80
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00343da0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0034fb20
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0034fb40
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x0035e700
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x0035e720
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00368320
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x00368340
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x00374780
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x003747a0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x003810a0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x003810c0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_0.VOB at 0x00387c40
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x00387c60
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_0.VOB at 0x00395b60
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x00395b80
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_0.VOB at 0x003983c0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x003983e0
libdvdread: Elapsed time 0
libdvdread: Found 15 VTS's
libdvdread: Elapsed time 0
jeremy@Athlon:~$
PLEASE someone help.
 
Old 08-04-2005, 02:37 AM   #2
Shaddy
Member
 
Registered: Apr 2003
Location: Germany
Distribution: PC1: Xandros 4 Prof, PC2: Debian Sarge, NB: SLED10+Windows XP
Posts: 39

Rep: Reputation: 15
I'm wondering you said vlc is worthless for you. I play all Files/DVD with VLC, it works with all videos (Kubuntu). Tried to configure VLC?
 
Old 08-04-2005, 11:30 AM   #3
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
hdparm -d1 /dev/hdc
 
Old 08-05-2005, 12:46 AM   #4
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by CouchMaster
hdparm -d1 /dev/hdc
Yeah, thats the terminal code I used, it turns it on temporarily. However, when you reboot you have to run that command again.

VLC is worthless because it doesn't fix the problem I'm having, plus its slower than molasses.
 
Old 08-06-2005, 08:23 AM   #5
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
Quote:
Originally posted by jlacroix
Yeah, thats the terminal code I used, it turns it on temporarily. However, when you reboot you have to run that command again.

VLC is worthless because it doesn't fix the problem I'm having, plus its slower than molasses.
You're right! I didn't notice that on mine until you mentioned it.
I even went in and edited everything in the hdparm.conf file that said hda to hdc and you still have to manually turn it on to play a DVD - maybe someone can answer this.
 
Old 08-06-2005, 02:27 PM   #6
christine_lewis
LQ Newbie
 
Registered: Jul 2005
Location: WI
Distribution: fedora
Posts: 19

Rep: Reputation: 0
You could add the line to /etc/init.d/bootmisc.sh
Then you won't have to type it yourself when you reboot.
 
Old 08-06-2005, 04:37 PM   #7
NomadX
Member
 
Registered: Jul 2005
Location: Portland, OR
Distribution: Debian Testing
Posts: 78

Rep: Reputation: 15
Try Ogle... it used to be on freshmeat

It has been quite some time since I've messed w/ DVD stuff under linux... at that time, every player I tried had problems of one kind or another.. I eventualy found a player called Ogle ... it was the only one to work right away, but worked poorly (I forget just why)... in the doc's I noticed the author hung out on IRC and I got him to help me.... regardless if it fixes your problem I'd give it a try since it was a better player...

good luck

Last edited by NomadX; 09-04-2005 at 05:53 PM.
 
Old 08-06-2005, 08:05 PM   #8
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
Quote:
Originally posted by christine_lewis
You could add the line to /etc/init.d/bootmisc.sh
Then you won't have to type it yourself when you reboot.
OK christine_lewis, add hdparm -d1 /dev/hdc to /etc/init.d/bootmisc.sh?
Are you sure...?
 
Old 08-06-2005, 09:27 PM   #9
christine_lewis
LQ Newbie
 
Registered: Jul 2005
Location: WI
Distribution: fedora
Posts: 19

Rep: Reputation: 0
Yeah. There's probably a config file that can be modified too (and that might be a better option if you can figure out what it is and how to modify it), but adding hdparm -d1 /dev/whatever to the end of bootmisc.sh will have it executed on boot, every time the system boots into Ubuntu, regardless of which user ultimately logs in, etc.

The one reason I can think of not to do this is if the drive doesn't work in other situations if you do. (I'm assuming that everything still works after you play a DVD?) If you're worried that this will mess something up you can back stuff up first (definitely make a copy of bootmisc.sh before you change it anyway), but I don't think you're in danger of doing anything too awful to your system.

If you try it, lemme know if it causes problems.

Cheers
-Christine
 
Old 08-07-2005, 12:40 PM   #10
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
Quote:
Originally posted by christine_lewis
Yeah. There's probably a config file that can be modified too (and that might be a better option if you can figure out what it is and how to modify it), but adding hdparm -d1 /dev/whatever to the end of bootmisc.sh will have it executed on boot, every time the system boots into Ubuntu, regardless of which user ultimately logs in, etc.

The one reason I can think of not to do this is if the drive doesn't work in other situations if you do. (I'm assuming that everything still works after you play a DVD?) If you're worried that this will mess something up you can back stuff up first (definitely make a copy of bootmisc.sh before you change it anyway), but I don't think you're in danger of doing anything too awful to your system.

If you try it, lemme know if it causes problems.

Cheers
-Christine
That worked just just slicker than owl snot! Turns itself on now ever time I boot..!

/dev/hdc:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument

Been watchin 'Sweet Home Alabama' all morning...
 
Old 08-08-2005, 08:32 AM   #11
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
I wouldn't ever want to turn traffic away from this fine site, but the forums on the Ubuntu site have a lot of questions regarding this same with some answers that seem to have solved similar problems. Just letting you know your options. Good luck with that.
 
Old 08-08-2005, 09:25 AM   #12
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
Quote:
Originally posted by mipia
I wouldn't ever want to turn traffic away from this fine site, but the forums on the Ubuntu site have a lot of questions regarding this same with some answers that seem to have solved similar problems. Just letting you know your options. Good luck with that.
I frequent the Ubuntu site quite often - I just find this one easier to use for some reason!
 
Old 10-11-2005, 04:39 PM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
jlacroix: still dvd issues though?

I've seen a little hint that suggests reinstalling totem-xine after libdvdcss2 has been installed. This would look like something for you to try - since xine seems not to recognise that the css libs are installed.

This sort of thing can be a problem with pre-compiled packages. They do not always link in the libraries you need for full functionality - especially for very moral distros like ubuntu. (The use of libdvdcss is a bit of a grey area...)

There are other things like maybe your DVD's are not for your zone? They play in multi-zone dvd players but maybe not in locally (for you) zoned ones? This would lead to the "perhaps you don't have the rights to play this dvd" messages.

MPlayer installed from binary debs will lack some functionality. The best thing is to look over the www.mjmwired.net site for the FC3 source installation guide. Yes I know. Install all the dependencies by apt-get instead of the rpm/source-compile sugegsted there but do the actual mplayer install from source.

Note: if you run mplayer from terminal (gmplayer) you get more information about what is going on.
 
Old 10-11-2005, 06:04 PM   #14
andrew4558
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
To JLacroix
Based on the errors you gave, I think you haven't installed libdvdnav or your dvd drive does not have a sym link to the /dev/hdc . Make a new /dev/dvd or whatever and link it to the /dev/hdc .
 
Old 10-11-2005, 08:23 PM   #15
jlacroix
Member
 
Registered: Nov 2003
Posts: 187

Original Poster
Rep: Reputation: 15
I have done all of that, I changed out my DVD drive to one with CD/RW built in, and it works fine now. However, my old DVD drive works fine with Fedora, so I know the drive isn't defective. I think Ubuntu just doesn't like my old drive but likes my new one.
 
  


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 oldie Linux - Software 2 06-24-2005 04:30 PM
Playing DVD's Zakirium SUSE / openSUSE 12 05-18-2005 12:39 PM
Playing DVD'S tired SUSE / openSUSE 6 05-06-2005 05:33 PM
Playing DVD's w/ XINE cphase Slackware 6 04-11-2005 03:01 PM
Playing DVD's Nigel Linux - Software 2 01-05-2004 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:38 PM.

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