LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-13-2005, 07:49 AM   #16
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52

Quote:
Originally posted by Adrohak
I just read in the 'Playing DVD and Videos' guide on here that if DMA mode is not on, I may get stuttering in playback. I don't get that problem with the few DVDs that work, but I decided to check to see if DMA mode was on anyway.

Code:
[slackbox ~] su -l
Password:
[slackbox:root /home/cowboy] file /dev/dvd
/dev/dvd: symbolic link to `/dev/scd0'
[slackbox:root /home/cowboy] /sbin/hdparm -d1 /dev/scd0

/dev/scd0:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Invalid argument
Could this be contributing to my DVDs not playing?
You are probably using ide to scsi emulation.(correct?) To enable dma you use the hdparm to the hdx device that would be assigned to the dvd if you didn't use the scsi emulation. So instead of doing
/sbin/hdparm -d1 /dev/scd0
do /sbin/hdparm -d1 /dev/hdx x=1,2,3,4 (probably 2 or 3)

SO although my dvd is scd0 or sr0 (if you do ls -la to both, you'll see it's the same device file):
Code:
skalkoto@darkstar:~$ ls -la /dev/sr0 /dev/scd0
brw-rw----  1 root cdrom 11, 0 1994-07-18 19:06 /dev/scd0
brw-rw-rw-  1 root cdrom 11, 0 1999-04-13 07:24 /dev/sr0
they have the same major,minor (11,0) device number so they are the same, in order to tweak the option though hdparm, I do it to hdc .


I don't know for slack 9.1 but in slack 10 and 10.1 DMA is set by default. I doubt if this is the problem. do sbin/hdparm /dev/hdx x=1,2,3,4.
Code:
root@darkstar:/home/skalkoto# hdparm /dev/hdc

/dev/hdc:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 BLKRAGET failed: Invalid argument
 HDIO_GETGEO failed: Invalid argument
root@darkstar:/home/skalkoto#

Last edited by perfect_circle; 03-13-2005 at 08:01 AM.
 
Old 03-13-2005, 08:11 AM   #17
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tuttle
The only thing I see is a hardware problem then. It might help to list the dvds which don't work here, If anyone posts here saying that the same dvd works on their system then I would have to assume that your hardware (or a driver) is playing up.
Try moving the dvd to another location ie. from hdc to hdd (change it from master to slave) and see if it makes any difference.
Scarface (20th anniversary edition): the 'warning' chapter's key gets cracked; none of the others are cracked.
Analyze This (widescreen and fullscreen): completely fails.
Analyze That (fullscreen): completely fails.
Copycat (widescreen and fullscreen): completely fails.
Fight Club: 'warning' chapters get cracked, lead-in to the DVD menu gets cracked; all else fails.
American History X: 'warning' works, all else fails.
The Matrix: completely fails.

I'll post more results later.
 
Old 03-13-2005, 11:23 AM   #18
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
I was testing some of my other DVDs. Every DVD in The Godfather's boxed set returns this:
Code:
[slackbox ~] xine dvd:/
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: CHECK_VALUE failed in ifo_read.c:1522 ***
*** for info_length % sizeof(uint32_t) == 0 ***
What does this mean?

Anyway, here's some more on the list:
Road to Perdition (widescreen): complete fail.
Once Upon A Time In America (both DVDs): complete fail.
Matrix Reloaded: first DVD, complete fail; second DVD returned same as Godfather DVDs.
Matrix Revolutions (both DVDs): complete fail.
Queen of the Damned: complete fail.
Sleepers (widescreen, both sides): complete fail.
28 Days Later (widescreen): 'warning' loads, rest of the keys fail, then returns same as Godfather DVDs.

I know I've rented DVDs that have worked on here, but apparently none of the DVDs I own work in it.
 
Old 03-13-2005, 11:49 AM   #19
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
I've just resolved that it is _not_ a hardware problem. I set up the VLC media player on an old Windows box and set up the DVD drive on it and it played DVDs without a problem.

What, then, is the problem with my Linux setup?
 
Old 03-13-2005, 01:13 PM   #20
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
I've played a few of those movies on my box before, no problem. It could be a hardware issue, but MS Windows has addressed and fixed it already. I really have no idea what is wrong, but here are some things I would try:
- install an older version of libdvdcss, see if there is any difference
- borrow a friends DVD-Rom Drive and see if it works
 
Old 03-13-2005, 01:20 PM   #21
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
Same problems after a libdvdcss downgrade to 1.2.7.
And 1.2.6.
And 1.2.5.

:\
 
Old 03-13-2005, 01:31 PM   #22
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
I figured I would try running the VLC media player in Cedega.

No luck there either.
 
Old 03-13-2005, 01:41 PM   #23
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Which brings us back to the /dev/scd* issue mentioned by perfect_circle. Which kernel are you using? Have you tried udev at all? Playing with your kernel setup may help to diagnose the problem...
 
Old 03-13-2005, 01:49 PM   #24
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
I'm using the Slackware 10.0 default, 2.4.26. *shame*
 
Old 03-13-2005, 02:07 PM   #25
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Quote:
Originally posted by Adrohak
I'm using the Slackware 10.0 default, 2.4.26. *shame*
What is the error you get well you try to play the dvd?
 
Old 03-13-2005, 02:11 PM   #26
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by perfect_circle
What is the error you get well you try to play the dvd?
Code:
[slackbox ~] xine dvd:/
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 0x0000013a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000028a0
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x000028a0)
libdvdread: Elapsed time 3
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00004eb2
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x00004eb2)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x002fc78b
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0x002fc78b)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x002fc78f
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x002fc78f)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0031366a
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x0031366a)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0031366e
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x0031366e)!!
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 4
Along the lines of this for all of them.
 
Old 03-13-2005, 02:30 PM   #27
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
I've seen this. I mean does it pop-up a window telling you unable to play, does it play but the picture is bad?
 
Old 03-13-2005, 02:38 PM   #28
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
In the case of that DVD (American History X), it will play the lead-in warning for the DVD, then a window pops up that reads:
Code:
The source can't be read.
Maybe you don't have enough rights for this,
or source doesn't contain data (e.g: not disc
in drive). (Error reading NAV packet.)
 
Old 03-13-2005, 03:23 PM   #29
audibel
Member
 
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Rep: Reputation: 30
Just a shot in the dark here, but try gmplayer (or mplayer for non gui) -codecs-file /usr/local/lib/codecs/*
 
Old 03-13-2005, 03:27 PM   #30
Adrohak
Member
 
Registered: Jun 2004
Location: Florida
Distribution: Gentoo
Posts: 148

Original Poster
Rep: Reputation: 15
Running "mplayer -codecs-file /usr/local/lib/codecs/*" made MPlayer attempt to play each of the codecs.

Code:
[slackbox ~] man mplayer | grep codecs-file
[slackbox ~]
:\
 
  


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
mplayer/libdvdcss does not play DVDs snooo Slackware 1 08-05-2004 08:52 AM
libdvdcss now installed movies still don't play doobers Linux - Software 5 07-27-2004 05:18 PM
Totem with libdvdcss still not playing dvds marsonist Linux - Software 1 04-05-2004 03:08 PM
Cannot play DVDs even with libdvdcss! BlueCarrot Linux - Software 8 12-29-2003 08:12 AM
dvd's wont play (even with libdvdcss) spyderusa11 Linux - Software 2 07-09-2003 05:41 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration