Discussion:
older css works, new one doesn't on old RPC-1 drive
Ben Bay
2004-02-12 04:22:54 UTC
Permalink
I sent this to the Xine list. Then it occurred to me that since it
seems to be something in libdvdcss that's the root of the problem,
you guy would probably be interested as well.



Hello. I have here what is probably a unique situation. Or at least
one that I can't find mentioned anywhere else after hours of googling.

The problem, in a nutshell, is that an ancient version of Xine can play
my DVDs while the latest versions cannot.

My system is as follows. I'm running Slackware 9.1, Linux 2.4.24 on
an AMD Athlon 1800. I have a KT333 motherboard (VIA chipset) and an
older RPC-1 Creative Encore DVD drive that came with a Dxr2 board.
I'm not currently using the Dxr2 board.

For the last year or two I've been running the 0.4.3 version of Xine
with the dvd plugin from here http://www.prout.be/dvd/dvd.html (the
thing called dvdkit-0.1.1.tar.gz ). And it's worked quite well, except
for the lack of navigation.

Recently I upgraded my system to the latest Slackware so that I could
compile transcode for some other projects. I also pulled down the
latest Xine at the same time and tried to run it.

Unfortunately I get an error like this:

blarg:/usr/src> xine-0.9.22 dvd://
This is xine (X11 gui) - a free video player v0.9.22.
(c) 2000-2003 The xine Team.
Built with xine library 1.0.0 (1-rc0a)
Found xine library version: 1.0.0 (1-rc3a).
XServer Vendor: The XFree86 Project, Inc. Release: 40300000,
Protocol Version: 11, Revision: 0,
Available Screen(s): 1, using 0
Depth: 24.
XShmQueryVersion: 1.1.
-[ xiTK version 0.10.5 [XMB]]-
-[ xiTK will use XShm ]-
-[ WM type: (GnomeCompliant) (EWMH) Sawfish {Sawfish} ]-
Display is not using Xinerama.
main: probing <aadxr3> video output plugin
main: probing <dxr3> video output plugin
main: probing <xv> video output plugin
main: probing <alsa> audio output plugin
main: probing <oss> audio output plugin
libdvdnav: Using dvdnav version 1-rc3a from http://xine.sf.net
libdvdread: Using libdvdcss version 1.1.1 for DVD access
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using varient 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: decrypting disc key with player keys
libdvdcss debug: the key is 0f 3d ff 4f e7
libdvdcss error: failed opening raw device, continuing
libdvdnav: DVD Title: FIREFLY_D4
libdvdnav: DVD Serial Number: 2F295918
libdvdnav: DVD Title (Alternative): FIREFLY_D4
libdvdnav: Unable to find map file '/home/bbay/.dvdnav/FIREFLY_D4.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

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 0x00000145
libdvdcss debug: decrypting title key with disc key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using varient 0
libdvdcss debug: authentication established
libdvdcss error: ioctl_ReadTitleKey failed
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x00000145)
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000049f
libdvdcss debug: decrypting title key with disc key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authentic, using varient 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated (ASF=1)
libdvdcss debug: the key is c0 00 21 12 fb
libdvdread: Elapsed time 0

[ repeat for each VTS_*_*.VOB ]

libdvdnav: Suspected RCE Region Protection!!!
libdvdnav: ifoRead_TITLE_VOBU_ADMAP vtsi failed - CRASHING


Before you say anything about the slightly older version of dvdcss, I
started with 1.2.8 and was downgrading it on the theory that I might
find one that worked.

This all takes quite a while, as you can imagine. Strange, in my opinion
since the older version of xine tends to play DVDs instantly.

So, when the above happens, I also get one of these in syslog:

kernel: ATAPI device hdb:
kernel: Error: Illegal request -- (Sense key=0x05)
kernel: Copy protection key exchange failure - Key not present -- (asc=0x6f, ascq=0x01)
kernel: The failed "Report Key" packet command was:
kernel: "a4 00 00 00 01 45 00 00 00 0c c4 00 "

And then a bunch of these:

kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error }
kernel: hdb: command error: error=0x50
kernel: end_request: I/O error, dev 03:40 (hdb), sector 15746716

In case you're wondering, MPlayer doesn't work either. Same output
in syslog.

I should probably mention that I have gotten the new xine to play a
couple of DVDs occasionally. I played The Messenger twice, and The
Matrix once. Once or twice while switching back and forth from root,
running MPlayer, running Xine, trying every conceivable permutation of
hdparms, switching disks and tearing my hair out it suddenly worked for
a single invocation and then not again. The Firefly disk in the above
example fails reliably. With those particular kernel messages, I would
be inclined to suspect some intermittent hardware problem, if it weren't
for the fact that the older version of Xine is rock solid, and has been
for two years.

So, it's very strange I think, that the very old version of xine can
play DVDs with no problem (within the limits of its abilities) while
the recent version cannot.

I'm not desperate to use the latest and greatest toys (though it
would be nice to have navigable menus, instead of guessing the
magic numbers), but I figured that maybe you would find this info
useful.

I'm not on the mailing list so you'll have to CC: me if you wish
to reply. I can provide further information and run some tests if
you want me to.

Don't bother telling me to change my DMA settings or turn on Multi-mode
in the kernel or anything simple, I googled this thing from here to the
kernel lists and back again.
--
-o) Ben Bay, Phoenix Web Group, Inc. | www.phoenixwebgroup.com
/\\ Cust: "There are smoke and flames coming from my computer."
_\_V Tech Support: "Unplug the computer, and call the fire department."
Cust: "I know that, just tell me how to do a backup. Fastest possible method."
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Gildas Bazin
2004-02-12 07:57:20 UTC
Permalink
Post by Ben Bay
The problem, in a nutshell, is that an ancient version of Xine can play
my DVDs while the latest versions cannot.
Could you try to do an "export DVDCSS_METHOD=title" and retry to play your
DVD ?

--
Gildas
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Loading...