LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't play DVDs (https://www.linuxquestions.org/questions/slackware-14/cant-play-dvds-889086/)

IRIGHTI 06-29-2011 09:54 PM

Can't play DVDs
 
I can read and write data dvds, but cannot play a regular dvd now. I have libdvdcss installed. I am running Slackware 64 13.37 (just installed).

Code:

MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team

Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd (No medium found)
No stream found to handle url dvd://


Exiting... (End of file)

It can see the drive is there and /dev/sr0 is linked to /dev/dvd and I tried running as root to check if it was a permissions problem but got the same thing.

I have tried lots of different DVDs in the drive, same issue. I even switched out my DVD drive to another old DVD-ROM I had laying around, same thing.

Any ideas?

Diantre 06-29-2011 10:34 PM

Is this happening with all media players or only mplayer? Have you tried xine or dragon?

IRIGHTI 06-29-2011 10:52 PM

I have tried Xine too. Get "File/Stream source doesn't exist" and "Source cannot be read".

It is really weird, I can put a Slackware DVD in the drive and mount it no problem, and see everything.

I can't imagine it is the drive if I can still read data DVDs.

hemp4fuel 06-29-2011 10:57 PM

The only time I had a problem like this was when I thought I had libdvdcss installed when I really didn't.

IRIGHTI 06-29-2011 11:12 PM

I built libdvdcss from the slackbuild and checked that it was installed in pkgtool.

Diantre 06-29-2011 11:17 PM

Quote:

Originally Posted by IRIGHTI (Post 4399842)
I built libdvdcss from the slackbuild and checked that it was installed in pkgtool.

And how does it work without libdvdcss? Just out of curiosity, trying to eliminate possibilities, you know.

Daedra 06-29-2011 11:19 PM

have you tried Alien Bob's VLC build? I would give it a try, grab it from here http://taper.alienbase.nl/mirrors/pe...ackbuilds/vlc/.

Just make sure you grab the correct version for your system. install it with installpkg and you should be good to go. I have always had problems playing DVD's with mplayer, but VLC has always works flawlessly.

Woodsman 06-30-2011 01:42 PM

Quote:

libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd (No medium found)
Does that device node /dev/dvd exist? That device node should be a sym link. For example, to /dev/sr0.

The software you use to read and write data dvds might be using the device node /dev/sr0 rather than /dev/dvd.

Possible temporary solution if /dev/dvd does not exist: As root create the sym link: (cd /dev; ln -s sr0 dvd). Then try playing a video DVD.

Possible long-term solution: delete /etc/udev/rules.d/70-persistent-cd.rules and reboot. Then verify that /dev/dvd exists.

Cultist 06-30-2011 02:16 PM

Some DVDs have DRM schemes that go beyond CSS. DVD you're using might be one of these and thus might require something you don't have installed. Have you tried it with a dvd that you know for a fact has worked on your Linux system in the past?

IRIGHTI 07-01-2011 06:21 PM

Quote:

Originally Posted by Diantre (Post 4399844)
And how does it work without libdvdcss? Just out of curiosity, trying to eliminate possibilities, you know.


Code:

MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team

Playing dvd://.
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: No medium found
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd (No medium found)
No stream found to handle url dvd://


Exiting... (End of file)

Quote:

Some DVDs have DRM schemes that go beyond CSS. DVD you're using might be one of these and thus might require something you don't have installed. Have you tried it with a dvd that you know for a fact has worked on your Linux system in the past?
I have tried many different dvds and ones I know have worked before.

Quote:

Does that device node /dev/dvd exist? That device node should be a sym link. For example, to /dev/sr0.

The software you use to read and write data dvds might be using the device node /dev/sr0 rather than /dev/dvd.

Possible temporary solution if /dev/dvd does not exist: As root create the sym link: (cd /dev; ln -s sr0 dvd). Then try playing a video DVD.

Possible long-term solution: delete /etc/udev/rules.d/70-persistent-cd.rules and reboot. Then verify that /dev/dvd exists.
All of that I checked several times. I tried /dev/sr0 and /dev/dvd, /dev/dvd1, etc.

Quote:

have you tried Alien Bob's VLC build? I would give it a try, grab it from here http://taper.alienbase.nl/mirrors/pe...ackbuilds/vlc/.

Just make sure you grab the correct version for your system. install it with installpkg and you should be good to go. I have always had problems playing DVD's with mplayer, but VLC has always works flawlessly.
I will give that a go.

IRIGHTI 07-01-2011 06:27 PM

Code:

VLC media player 1.1.10 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x6059b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Error: call to XSetErrorHandler((nil))
Error: call to XSetIOErrorHandler((nil))
Blocked: call to setlocale(6, "")
Error: call to XSetErrorHandler(0x7fe7de785df0)
Error: call to XSetIOErrorHandler(0x7fe7de787060)
QGtkStyle was unable to detect the current GTK+ theme.
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: failed to open/read the DVD
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
[0x967fc0] dvdread demux error: DVDRead cannot open source: /dev/dvd
[0x95a8e0] main input error: open of `dvd:///dev/dvd' failed: (null)
Error: call to XSetErrorHandler(0x7fe7e43cc810)
Error: call to XSetIOErrorHandler(0x7fe7e43cc750)


captain_sensible 07-02-2011 06:38 AM

Daedra

i've done some simple builds before usually you have a compressed source tar.gz , a build which you unpack ,and a couple of other files like desc.

usually its just a case of unpacking bthe build file, putting the source tar.gz as it is straight into the unpacked build and doing # ./packagename.SlackBuild

Had a look at alien bobs vlc , but looking into build folder there are scores of files; so i'm completely confussed which ones i need as a minimum. I'm using slackware 13.37 32 bit.

any chance of clarifying for me what do i need as a minimum, I can see there are some patches in there, and some doc files but other thatn that it looks like a dogs breakfast to me

Alien Bob 07-02-2011 07:24 AM

Quote:

Originally Posted by captain_sensible (Post 4402336)
Daedra

i've done some simple builds before usually you have a compressed source tar.gz , a build which you unpack ,and a couple of other files like desc.

usually its just a case of unpacking bthe build file, putting the source tar.gz as it is straight into the unpacked build and doing # ./packagename.SlackBuild

Had a look at alien bobs vlc , but looking into build folder there are scores of files; so i'm completely confussed which ones i need as a minimum. I'm using slackware 13.37 32 bit.

any chance of clarifying for me what do i need as a minimum, I can see there are some patches in there, and some doc files but other thatn that it looks like a dogs breakfast to me

You only need one file, the 32bit package for VLC. It's this one for instance (download from a fast mirror): http://taper.alienbase.nl/mirrors/pe...486-1alien.txz

Eric

harryhaller 07-02-2011 08:23 AM

I had a similar problem - it was caused by an option in my mplayer configuration file - I was using "-lavdopts lowres=1:fast". I removed it and the problem was solved (it was actually making mplayer crash).

captain_sensible 07-02-2011 01:53 PM

much appreciated Alien Bob,

just downloaded vlc via your link and installed using
# installpkg vlc-1.1.10-i486-1alien.txz

cheers

acummings 07-03-2011 12:14 AM

Quote:

libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Hopefully it doesn't at all have to do with the next as in hopefully any and all *brands* and *types* of motherboard controllers are now adequately supported by Linux drivers.

FWIW: I have an Asus P5Q Pro motherboard. Also, on this same box, I have an pata DVD burner. (some months back/ago) I had hardware compatability issues with the (particular brand of) pata motherboard controller on this motherboard. The exhibited symptoms/problem: Some cd/dvd activities worked while others cd/dvd activities wouldn't work or sometimes worked and sometimes not.

A Promise pata controller (plugged it in) was my solution (back then) (I went into bios and disabled the motherboard's pata controller)

Question (but probably for yet a different thread): are sata DVD hardware compatability still a bit on the new side yet for Linux? (still bugs, etc.?)

(if you're curious on this) As root the next command

lspci

then search google's Linux section for your specific brand/version of pata/sata controller (whichever of those two types of controller your particular DVD drive)

Once upon a time, I found out that I was *not the only one* (with that particular, specific hardware compatability issue).

--
Alan.

IRIGHTI 07-04-2011 11:46 AM

Code:

/dev/sr0:
 multcount    =  0 (off)
 IO_support    =  0 (default)
 readonly      =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device

Anybody know how to fix this? This might be the issue. DMA is not on for it and cannot be set because of this problem.

IRIGHTI 07-04-2011 02:15 PM

Found a third drive to try.....works fine. Both of the other ones I had are toast, awesome.


All times are GMT -5. The time now is 10:52 PM.