Discussion:
DVD playback working only after commercial Software installation?
Martin Wilck
2005-11-07 19:35:00 UTC
Permalink
Hello,

I have recently been installing Linux on two very similar Samsung
notebooks.
I have encountered the same phenomenon both times and I thought I should
post a a record of it here. The laptops both have a built-in Matshita
"DVD-RAM UJ-822S" DVD device.

On both laptops, I first tried to configure DVD playback using
libdvdcss2, but it failed reproducably with DVD read errors like those
documented in the attachment. I tried reading the DVD's and got read
errors, too.

In order to check whether the drive had some defect, I then booted into
Windows, installed the "PowerDVD5" software bundled with the laptop, and
found everything worked.
The really strange thing was that when I retried libdvdcss2 afterwards
the read errors were gone. It appears that the installation of the
Windows software changed something in the player's firmware.

I find this pretty shocking. It works fine for me now, yet I'd rather
not have to install "PowerDVD5" on my computer to use the DVD drive. I
found hints that this may have something to do with the region code, but
I doubt this was the point here (I didn't have to enter a region code
at any time during the installation, just a "PowerDVD5" installation key).

I have seen that other people have had similar problems than me. I
encourage everybody to try a similar setup procedure and find if it
works for them, too (I wouldn't have believed myself had I encountered
this only on one computer).

Regards
Martin
Diego Biurrun
2005-11-08 11:39:40 UTC
Permalink
Post by Martin Wilck
In order to check whether the drive had some defect, I then booted into
Windows, installed the "PowerDVD5" software bundled with the laptop, and
found everything worked.
The really strange thing was that when I retried libdvdcss2 afterwards
the read errors were gone. It appears that the installation of the
Windows software changed something in the player's firmware.
This is a common problem. You have to set the region once before you
can use your DVD drive. You can achieve this under Linux with the
regionset tool.

Diego
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html
Luke R. Anderson BSc. (hons)
2005-11-08 19:38:44 UTC
Permalink
Hi,

I'm not sure if this has been discussed much as I cannot find any
archives of these postings, so apologies if I cover old ground :(.

I'd like to help debug what is preventing libdvdcss2 from cracking some
css keys, and hence playing the dvd (whereas, just for reference,
mplayer + mpdvdkit2 seems to play the DVD fine)

Is there a website where you can register specific DVDs which people are
experiencing problems with? I know that copy protection and other nasty
things can interfere with our ability to watch our DVDs, but it would be
good if there was some central reference.

Sorry If I've waffled, to the meat: (FUTURAMA_SEASON_4_DISC_3)

libdvdread: Using libdvdcss version 1.2.8 for DVD access
Reading disc structure, please wait...
There are 12 titles on this DVD.
There are 6 chapters in this DVD title.
There are 1 angles in this DVD title.

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 0x00000130
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000002a6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000e332
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0027f941
*libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB
(0x0027f941)!!*
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0027f987
*libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB
(0x0027f987)!!*
libdvdread: Elapsed time 4
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 4

Perhaps I should upgrade to CVS?

Kind regards,
Luke R. Anderson BSc.
Technical Support Analyst
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html
Sam Hocevar
2005-11-09 00:25:29 UTC
Permalink
Post by Luke R. Anderson BSc. (hons)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0027f987
*libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB
(0x0027f987)!!*
libdvdread: Elapsed time 4
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 4
Perhaps I should upgrade to CVS?
You should at least export DVDCSS_VERBOSE=2 because your log only
shows libdvdread errors which are close to useless.

Regards,
--
Sam.
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html
Luke R. Anderson BSc. (hons)
2005-11-09 22:13:38 UTC
Permalink
Apologies, I didn't know of that debug string:

libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 9d:52:77:b3:80
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 03:4e:b9:90:cc
libdvdcss debug: using CSS key cache dir: /home/skiy/.dvdcss/FUTURAMA_SEASON4_DISC3-2003101413265900-034eb990cc/
Reading disc structure, please wait...
There are 12 titles on this DVD.
There are 6 chapters in this DVD title.
There are 1 angles in this DVD title.

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 0x00000130
libdvdcss debug: title key found in cache 00:00:00:00:00
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000002a6
libdvdcss debug: title key found in cache d6:f9:9c:20:00
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000e332
libdvdcss debug: title key found in cache d6:f9:9c:20:00
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0027f941
libdvdcss debug: getting title key at block 2619713 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 9d:52:77:b3:80
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 03:4e:b9:90:cc
libdvdcss debug: cracking title key at block 2619713
libdvdcss debug: non MPEG block found at block 2619769 (end of title)
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/0, scrambled blocks 27/56
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x0027f941)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0027f987
libdvdcss debug: getting title key at block 2619783 the classic way
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: ioctl ReadTitleKey failed (region mismatch?)
libdvdcss debug: GetASF not authenticated, ASF=0
libdvdcss debug: lost ASF requesting title key
libdvdcss debug: resetting drive and cracking title key
libdvdcss debug: requesting AGID
libdvdcss debug: drive authenticated, using variant 0
libdvdcss debug: authentication established
libdvdcss debug: GetASF authenticated, ASF=1
libdvdcss debug: decrypting disc key 9d:52:77:b3:80
libdvdcss debug: trying player key 01:af:e3:12:80
libdvdcss debug: decrypted disc key is 03:4e:b9:90:cc
libdvdcss debug: cracking title key at block 2619783
libdvdcss debug: at block 2623879, still cracking...
libdvdcss debug: at block 2627975, still cracking...
libdvdcss debug: non MPEG block found at block 2629556 (end of title)
libdvdcss debug: end of title reached
libdvdcss debug: successful attempts 0/47, scrambled blocks 2654/9773
libdvdcss debug: title key is 00:00:00:00:00
libdvdcss error: fatal error in vts css key
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x0027f987)!!
libdvdread: Elapsed time 4
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 5

I notice some lines read "region mismatch?" but I know the region is correctly (as mplayer / mpdvdkit will play these)

Hope this sheds some light on the issue.

Kind regards,
Luke.
Post by Sam Hocevar
Post by Luke R. Anderson BSc. (hons)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0027f987
*libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB
(0x0027f987)!!*
libdvdread: Elapsed time 4
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 4
Perhaps I should upgrade to CVS?
You should at least export DVDCSS_VERBOSE=2 because your log only
shows libdvdread errors which are close to useless.
Regards,
--
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, go to: http://developers.videolan.org/lists.html
Loading...