recent libdvdcss2 update broke DVD-Support

Bug #920527 reported by AllesMeins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Medibuntu
Fix Released
Undecided
Unassigned

Bug Description

Since the recent update to libdvdcss2 (1.2.11), I'm no longer able to watch DVD-Movies. Xine fails with:

xine dvd://
This is xine (X11 gui) - a free video player v0.99.6.
(c) 2000-2007 The xine Team.
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdread: Attempting to use device /dev/sda1 mounted on / for CSS authentication
libdvdread: Could not open /dev/sda1 with libdvdcss.
libdvdread: Can't open /dev/sda1 for reading
libdvdread: Device /dev/sda1 inaccessible, CSS authentication not available.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: Using libdvdcss version 1.2.11 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 0x00000130
libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x00000130)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001db
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00005256
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x00005256)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003712e5
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0

VLC does pretty much the same i tried it with several diffrent DVDs... So I downloaded and installed an older Version (1.2.10) from http://download.videolan.org/libdvdcss/1.2.10/deb/libdvdcss2_1.2.10-1_amd64.deb and everything was working again. So it seems, something is wrong with the new version

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libdvdcss2 1.2.11-0.0medibuntu1
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CrashDB: medibuntu
Date: Mon Jan 23 17:01:19 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 LANGUAGE=en
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: libdvdcss
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :
Revision history for this message
samspin (e9x6-sam) wrote :

I can confirm the same problem with the latest version of libdvdcss2, and get the 'error cracking CSS key' error.
As I regularly do upgrades on my system, it has become cumbersome having to keep downgrading my version of libdvdcss2 in order to watch my DVD's after every update (uninstall libdvdcss2, then install the older version via the DEB package over and over)

I've done a temporary workaround by extracting the module file "libdvdcss.so.2.1.0" from the archive http://download.videolan.org/libdvdcss/1.2.10/deb/libdvdcss2_1.2.10-1_amd64.deb and copied it over the top of the broken "libdvdcss.so.2.1.0" in /usr/lib . This has allowed me to trick Ubuntu into thinking I have the latest libdvdcss2 installed, and it no longer gets replaced each time I upgrade anymore with apt-get, and I can watch my DVD's in peace.
Hopefully Medibuntu will do a new update with a new version number to fix this issue properly soon.

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

Hi,

I couldn't reproduce the problem here. Could you remove ~/.dvdcss and try again to see if it helps?

Thanks.

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

No, unfortunatly removing ~/.dvdcss does not change anything...

Revision history for this message
MMarking (cpt-mocha) wrote :
Download full text (4.3 KiB)

I'm affected by this as well with the 1.2.11 version. Reverting to 1.2.10 works. Web searches are not revealing much on this issue, maybe it's a hardware specific problem? With 1.2.11 and a commercial DVD in the drive I would get output like this:

$ lsdvd /dev/dvd5
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdread: Can't seek to block 2655603
libdvdread: Can't seek to block 2655603
libdvdread: Invalid IFO for title 2 (VTS_02_0.IFO).
Can't open ifo 2!

It seems the block that it always stops at is the layer break because I could playback the DVD using mplayer or VLC but only up to the layer break. Using VLC I would get output like this for most of the vobs:

libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_10_1.VOB (0x002caaf9)!!

------------------------------------------

Anyway, here's some info on my cd/dvd drive:

$ sudo lshw -C disc

*-cdrom
       description: DVD-RAM writer
       product: DVD RW AD-7240S
       vendor: Optiarc
       physical id: 0.0.0
       bus info: scsi@3:0.0.0
       logical name: /dev/cdrom5
       logical name: /dev/cdrw5
       logical name: /dev/dvd5
       logical name: /dev/dvdrw5
       logical name: /dev/scd0
       logical name: /dev/sr0
       logical name: /media/cdrom0
       version: 1.03
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 mount.fstype=iso9660 mount.options=ro,nosuid,nodev,relatime,utf8 state=mounted status=ready

-----------------------------------

$ wodim -prcap

Detected CD-R drive: /dev/sr0
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'Optiarc '
Identification : 'DVD RW AD-7240S '
Revision : '1.03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.

Drive capabilities, per MMC-3 page 2A:

  Does read CD-R media
  Does write CD-R media
  Does read CD-RW media
  Does write CD-RW media
  Does read DVD-ROM media
  Does read DVD-R media
  Does write DVD-R media
  Does read DVD-RAM media
  Does write DVD-RAM media
  Does support test writing

  Does read Mode 2 Form 1 blocks
  Does read Mode 2 Form 2 blocks
  Does read digital audio blocks
  Does restart non-streamed digital audio reads accurately
  Does support Buffer-Underrun-Free recording
  Does read multi-session CDs
  Does read fixed-packet CD media using Method 2
  Does not read CD bar code
  Does read R-W subcode information
  Does not return R-W subcode de-interleaved and error-corrected
  Does read raw P-W subcode data from lead in
  Does return CD media catalog number
  Does return CD ISRC information
  Does support C2 error pointers
  Does not deliver composite A/V data

  Does play audio CDs
  Number of volume control levels: 0
  Does not support individual volume control setting for each channel
  Does not support independent mute setting for each channel
  Does not support digital output on port 1
  Does not support digital output on port 2

  Loading mechanism type: tray
  Does support ejection of CD via START/STOP command
  Does not lock media on power up via prevent jumper
  Does allow medi...

Read more...

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

I've just uploaded a new version of libdvdcss. It fixes a regression related to some hardware. Could you test it? Thanks.

Revision history for this message
MMarking (cpt-mocha) wrote :

I just tried 1.2.12 on a dual-layer commercial dvd with CSS and it's back to working again. Thanks.

Changed in medibuntu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.