[ltp] DVD movie playing issues

fire-eyes linux-thinkpad@linux-thinkpad.org
Sun, 22 Jan 2006 12:36:58 -0500


I am having problems playing DVD movies. The Movies are:
 Bourne Identity
 Primus - Hallucinogenetics concert

Both of these work on my desktop system, also running gentoo with the same
USE flags in mplayer and xine.

This is a brand new IBM Thinkpad T43, running gentoo.

Here's what we get with Bourne Identity with mplayer:

$ mplayer dvd://
MPlayer dev-CVS-060102-02:04-3.4.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.


89 audio & 203 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait...
There are 31 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
libdvdread: Invalid title IFO (VTS_01_0.IFO).
Cannot open the IFO file for DVD title 1.
[file] No filename
Failed to open dvd://

And with xine:

$ 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.9 for DVD access
libdvdread: Attempting to use device /dev/sda3 mounted on / for CSS
authentication
libdvdread: Could not open /dev/sda3 with libdvdcss.
libdvdread: Can't open /dev/sda3 for reading
libdvdread: Device /dev/sda3 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.9 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 0x000001fc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000055f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000b593
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x002cd1a0
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_0.VOB (0x002cd1a0)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x002cd1a4
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x002cd1a4)!!
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x002fd702
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_0.VOB (0x002fd702)
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x002fd706
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x002fd706)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0031b396
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_0.VOB (0x0031b396)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0031b39a
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x0031b39a)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x003a9f6e
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_0.VOB (0x003a9f6e)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003a9f72
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_1.VOB (0x003a9f72)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003c4850
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_0.VOB (0x003c4850)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003c4854
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_1.VOB (0x003c4854)!!
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x003c4872
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_07_0.VOB (0x003c4872)
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003c4a88
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_07_1.VOB (0x003c4a88)!!
libdvdread: Elapsed time 1
[ snip ]

Which goes on for a while. Eventually it plays the warning screens,
tries to move on
and there is a massive flood of:

*** libdvdread: CHECK_VALUE failed in ifo_read.c:669 ***
*** for pgc->cell_position_offset != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:649 ***
*** for pgc->nr_of_programs <= pgc->nr_of_cells ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:667 ***
*** for pgc->program_map_offset != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:668 ***
*** for pgc->cell_playback_offset != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:669 ***
*** for pgc->cell_position_offset != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:649 ***
*** for pgc->nr_of_programs <= pgc->nr_of_cells ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:667 ***
*** for pgc->program_map_offset != 0 ***


I then have to killall -9 xine...


In system logs is where things get really interesting:

ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 15367956
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 15367960
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 15367964
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50 { LastFailedSense=0x05 }
ide: failed opcode was: unknown

hdc being my dvd drive. I do not have problems with this drive at any
other time.

I get similar issues with the Primus DVD. BOTH of these work on my desktop.

# emerge info
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5,
glibc-2.3.6-r2, 2.6.15.1-ifc i686)
=================================================================
System uname: 2.6.15.1-ifc i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 alsa apm audiofile avi berkdb bitmap-fonts bzip2
cdr chroot crypt dv dvd dvdr dvdread eds emboss encode ethereal expat
fam ffmpeg flac foomaticdb fortran gdbm gif gmp gpm gstreamer gtk gtk2
hal idn imlib jpeg kde kdeenablefinal lcms libg++ libwww mad mikmod mmx
mng motif mozilla mp3 mpeg ncurses network nls ogg oggvorbis opengl oss
pam pcre pdflib perl png pwdb python qt quicktime readline sdl spell sse
ssl theora tiff truetype truetype-fonts type1-fonts udev usb vorbis xine
xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS