Cannot Play DVDs

General support questions
Post Reply
weisdaclick
Posts: 6
Joined: 2018/05/01 19:00:32

Cannot Play DVDs

Post by weisdaclick » 2019/05/02 19:02:49

Hi All,

My DVD drive does not play DVDs, CDs seem to play ok, I have tried a couple of players - vlc, Gnome-Mplayer and the default application - none work. The DVD title is recognised in the playlist, however clicking it spins the disc but no sound or image. I thought I may need a codec, however I think I have pretty much everything. I can play videos on the hard drive.

All the info I can think of:

# cat /proc/version
Linux version 3.10.0-957.10.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Mar 18 15:06:45 UTC 2019

# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)


# cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name: sr0
drive speed: 48
drive # of slots: 1
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 0
Can write CD-RW: 0
Can read DVD: 1
Can write DVD-R: 0
Can write DVD-RAM: 0
Can read MRW: 0
Can write MRW: 0
Can write RAM: 0


# grep -i dvd /var/log/*
/var/log/dmesg:[ 5.831432] scsi 1:0:0:0: CD-ROM HL-DT-ST DVD-ROM DH50N DF02 PQ: 0 ANSI: 5
/var/log/dmesg.old:[ 3.066336] ata1.00: ATAPI: HL-DT-ST DVD-ROM DH50N, DF02, max UDMA/100
/var/log/dmesg.old:[ 5.834443] scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-ROM DH50N DF02 PQ: 0 ANSI: 5
grep: /var/log/libvirt: Is a directory
/var/log/messages:May 2 17:38:14 artemis kernel: ata1.00: ATAPI: HL-DT-ST DVD-ROM DH50N, DF02, max UDMA/100
/var/log/messages:May 2 17:38:17 artemis kernel: scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-ROM DH50N DF02 PQ: 0 ANSI: 5
/var/log/messages:Apr 15 09:42:18 artemis kernel: ata1.00: ATAPI: HL-DT-ST DVD-ROM DH50N, DF02, max UDMA/100
/var/log/messages:Apr 15 09:42:18 artemis kernel: scsi 1:0:0:0: CD-ROM HL-DT-ST DVD-ROM DH50N DF02 PQ: 0 ANSI: 5
/var/log/messages:Apr 15 10:15:59 artemis kernel: ata1.00: ATAPI: HL-DT-ST DVD-ROM DH50N, DF02, max UDMA/100
/var/log/messages:Apr 15 10:15:59 artemis kernel: scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-ROM DH50N DF02 PQ: 0 ANSI: 5
/var/log/messages:May 2 18:16:35 artemis org.gnome.Nautilus: libdvdnav: Using dvdnav version 5.0.3
/var/log/messages:May 2 18:16:35 artemis org.gnome.Nautilus: libdvdread: Encrypted DVD support unavailable.
/var/log/messages:May 2 18:16:36 artemis org.gnome.Nautilus: libdvdnav: DVD Title: AIRPORT_77
/var/log/messages:May 2 18:16:36 artemis org.gnome.Nautilus: libdvdnav: DVD Serial Number: 43D0F447___MVB__
/var/log/messages:May 2 18:16:36 artemis org.gnome.Nautilus: libdvdnav: DVD Title (Alternative):
/var/log/messages:May 2 18:16:36 artemis org.gnome.Nautilus: libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions: 2 4 5
/var/log/messages:May 2 18:16:40 artemis org.gnome.Nautilus: libdvdnav: Using dvdnav version 5.0.3
/var/log/messages:May 2 18:16:40 artemis org.gnome.Nautilus: libdvdread: Encrypted DVD support unavailable.
/var/log/messages:May 2 18:16:40 artemis org.gnome.Nautilus: libdvdnav: DVD Title: AIRPORT_77
/var/log/messages:May 2 18:16:40 artemis org.gnome.Nautilus: libdvdnav: DVD Serial Number: 43D0F447___MVB__
/var/log/messages:May 2 18:16:40 artemis org.gnome.Nautilus: libdvdnav: DVD Title (Alternative):
/var/log/messages:May 2 18:16:40 artemis org.gnome.Nautilus: libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions: 2 4 5
/var/log/messages:May 2 18:45:16 artemis vlc.desktop: libdvdnav: Using dvdnav version 5.0.3
/var/log/messages:May 2 18:45:16 artemis vlc.desktop: libdvdread: Encrypted DVD support unavailable.
/var/log/messages:May 2 18:45:16 artemis vlc.desktop: libdvdnav: DVD Title: AIRPORT_77
/var/log/messages:May 2 18:45:16 artemis vlc.desktop: libdvdnav: DVD Serial Number: 43D0F447___MVB__
/var/log/messages:May 2 18:45:16 artemis vlc.desktop: libdvdnav: DVD Title (Alternative):
/var/log/messages:May 2 18:45:16 artemis vlc.desktop: libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions: 2 4 5
/var/log/messages:May 2 18:55:09 artemis vlc.desktop: libdvdnav: Using dvdnav version 5.0.3
/var/log/messages:May 2 18:55:09 artemis vlc.desktop: libdvdread: Encrypted DVD support unavailable.
/var/log/messages:May 2 18:55:09 artemis vlc.desktop: libdvdnav: DVD Title: AIRPORT_77
/var/log/messages:May 2 18:55:09 artemis vlc.desktop: libdvdnav: DVD Serial Number: 43D0F447___MVB__
/var/log/messages:May 2 18:55:09 artemis vlc.desktop: libdvdnav: DVD Title (Alternative):
/var/log/messages:May 2 18:55:09 artemis vlc.desktop: libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions: 2 4 5
/var/log/messages:May 2 18:55:54 artemis vlc.desktop: libdvdnav: Using dvdnav version 5.0.3
/var/log/messages:May 2 18:55:54 artemis vlc.desktop: libdvdread: Encrypted DVD support unavailable.
/var/log/messages:May 2 18:55:54 artemis vlc.desktop: libdvdnav: DVD Title: AIRPORT_77
/var/log/messages:May 2 18:55:54 artemis vlc.desktop: libdvdnav: DVD Serial Number: 43D0F447___MVB__
/var/log/messages:May 2 18:55:54 artemis vlc.desktop: libdvdnav: DVD Title (Alternative):
/var/log/messages:May 2 18:55:54 artemis vlc.desktop: libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions: 2 4 5


# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=16310156k,nr_inodes=4077539,mode=755)
...
/dev/sr0 on /tmpmnt type iso9660 (ro,relatime)


# /bin/cd-drive
cd-drive version 0.92 x86_64-redhat-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
The driver selected is GNU/Linux
The default device for this driver is /dev/cdrom

Drivers available...
GNU/Linux ioctl and MMC driver
cdrdao (TOC) disk image driver
bin/cuesheet disk image driver
Nero NRG disk image driver

CD-ROM drive supports MMC 3

Drive: /dev/cdrom
Vendor : HL-DT-ST
Model : DVD-ROM DH50N
Revision : DF02
Profile List Feature
Read only DVD - on

Core Feature

Morphing Feature
Operational Change Request/Notification supported
Synchronous GET EVENT/STATUS NOTIFICATION supported

Removable Medium Feature
Tray type loading mechanism
can eject the medium or magazine via the normal START/STOP command
can be locked into the Logical Unit

Random Readable Feature

Multi-Read Feature

CD Read Feature
C2 Error pointers are supported
CD-Text is supported

DVD Read Feature

Management Ability of the Logical Unit/media system to provide an apparently defect-free space. Feature

DVD+RW Feature

DVD+R Feature

DVD+R Double Layer Feature

Initiator- and Device-directed Power Management Feature

CD Audio External Play Feature
SCAN command is supported
audio channels can be muted separately
audio channels can have separate volume levels
256 volume levels can be set

Ability for the device to accept new microcode via the interface Feature

Ability to respond to all commands within a specific time Feature

Ability to perform DVD CSS/CPPM authentication via RPC Feature
CSS version 1

Ability to read and write using Initiator requested performance parameters Feature

The Logical Unit Unique Identifier Feature
405HL030274

Vendor-specific code 10a Feature

Vendor-specific code 10b Feature

Hardware : CD-ROM or DVD
Can eject : Yes
Can close tray : Yes
Can disable manual eject : Yes
Can select juke-box disc : No

Can set drive speed : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device : No

Reading....
Can read Mode 2 Form 1 : Yes
Can read Mode 2 Form 2 : Yes
Can read (S)VCD (i.e. Mode 2 Form 1/2) : Yes
Can read C2 Errors : Yes
Can read IRSC : Yes
Can read Media Channel Number (or UPC) : Yes
Can play audio : Yes
Can read CD-DA : Yes
Can read CD-R : Yes
Can read CD-RW : Yes
Can read DVD-ROM : Yes

Writing....
Can write CD-RW : No
Can write DVD-R : No
Can write DVD-RAM : No
Can write DVD-RW : No
Can write DVD+RW : No


# rpm -qa |egrep '(gstream|vlc|dvd)'
vlc-3.0.6-17.el7.x86_64
gstreamer1-plugins-ugly-free-1.10.4-3.el7.x86_64
gstreamer-0.10.36-7.el7.x86_64
gstreamer1-libav-1.10.4-2.el7.x86_64
PackageKit-gstreamer-plugin-1.1.10-1.el7.centos.x86_64
gstreamer1-plugins-base-1.10.4-2.el7.x86_64
dvd+rw-tools-7.1-15.el7.x86_64
gstreamer-tools-0.10.36-7.el7.x86_64
gstreamer-plugins-bad-free-0.10.23-23.el7.x86_64
vlc-core-3.0.6-17.el7.x86_64
gstreamer1-plugins-bad-free-1.10.4-3.el7.x86_64
gstreamer-plugins-good-0.10.31-13.el7.x86_64
gstreamer1-plugins-bad-freeworld-1.10.4-2.el7.x86_64
libdvdnav-5.0.3-1.el7.x86_64
libdvdread-5.0.3-3.el7.x86_64
radvd-2.17-3.el7.x86_64
gstreamer1-plugins-bad-free-gtk-1.10.4-3.el7.x86_64
gstreamer1-1.10.4-2.el7.x86_64
gstreamer1-plugins-good-1.10.4-2.el7.x86_64
gstreamer-plugins-base-0.10.36-10.el7.x86_64


# lsmod | egrep '(cd|dvd)'
cdrom 42556 1 sr_mod


On opening and inserting a DVD:

# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[7694.714271] remove /kernel/slab/nf_conntrack_ffff8e5b2bea2900 (slab)
UDEV [7694.714959] remove /kernel/slab/nf_conntrack_ffff8e5b2bea2900 (slab)
KERNEL[7709.151952] change /devices/pci0000:00/0000:00:1f.2/ata1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
UDEV [7709.861280] change /devices/pci0000:00/0000:00:1f.2/ata1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
KERNEL[7709.875361] add /kernel/slab/nf_conntrack_ffff8e5b2bea3d80 (slab)
UDEV [7709.879510] add /kernel/slab/nf_conntrack_ffff8e5b2bea3d80 (slab)


Thanks in advance.
Last edited by weisdaclick on 2019/05/02 19:27:01, edited 1 time in total.

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Cannot Play DVDs

Post by chemal » 2019/05/02 19:18:16

libdvdread: Encrypted DVD support unavailable.
Installing libdvdcss fixes this.

weisdaclick
Posts: 6
Joined: 2018/05/01 19:00:32

Re: Cannot Play DVDs

Post by weisdaclick » 2019/05/02 19:26:39

chemal thanks that worked a treat!

feacluster
Posts: 23
Joined: 2017/11/28 14:48:49

Re: Cannot Play DVDs

Post by feacluster » 2021/12/26 17:55:05

I got the same error and tried installing libdvdcss per these step:

Code: Select all

yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install libdvdcss

However, now I receive this error:

Code: Select all

var/log/messages:Dec 26 12:50:25 dell490 vlc.desktop: libdvdnav: Using dvdnav version 5.0.3
/var/log/messages:Dec 26 12:50:25 dell490 vlc.desktop: libdvdread: Could not open /dev/cdrom with libdvdcss.
/var/log/messages:Dec 26 12:50:25 dell490 vlc.desktop: libdvdread: Can't open /dev/cdrom for reading
/var/log/messages:Dec 26 12:50:25 dell490 vlc.desktop: libdvdnav: vm: failed to open/read the DVD
/var/log/messages:Dec 26 12:50:25 dell490 vlc.desktop: libdvdread: Could not open /dev/cdrom with libdvdcss.
/var/log/messages:Dec 26 12:50:25 dell490 vlc.desktop: libdvdread: Can't open /dev/cdrom for reading
And when trying to play Audio CD's I get:

Code: Select all

Dec 26 13:02:31 dell490 vlc.desktop: [00007fbd74002210] cdda stream error: could not read TOCHDR

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Cannot Play DVDs

Post by lightman47 » 2021/12/28 13:05:13

DVDs are not CDs and thus won't play on a cdrom drive. However, a DVD player will play CDs.

Post Reply