Unable to play DVDs

Since I upgraded to 42.3 I have not been able to play DVDs Dragonplayer just locks up and crashes and Mplayer (SMplayer) returns the following error when trying to play from a disc:

 Error parsing option dvd-device (option not found)
 Setting command line option '--dvd-device=/dev/sr0' failed.
 Exiting... (Fatal error)


I also tried changing the

--dvd-device=

option to /dev/dvd with no luck, I get the same error. Any ideas?

Both media players will play files off the hard drive just fine, it’s only playing DVDs that’s a problem.

Should have posted this in multimedia, sorry about that.

I guess this means everyone is stumped. I’m having the same problem on two separate laptops, both with fresh installs so I’m sure this is a common issue.

nah the reason is nobody uses DVD’s any more I haven’t seen a DVD in years, I have no ide where the ones I have are.
a few questions/suggestions
what desktop are you using I’m guessing plasma 5, what happens when you put in your DVD does plasma offer you a choice of options like open folder, play DVD etc?
do you have libdvdcss2 installed from http://opensuse-guide.org/repo/openSUSE_Leap_42.3 (the repository is not browsable and only has the libdvdcss package)
have you done a full vendor change to packman do you have packman
what is your repo list

zypper lr -d

the device path to your optical device should be /dev/sr0 and there shouldn’t be a need to change it I don’t think you can change it
have you tried vlc asside from dragon player (I’ve never used it I use kaffeine under plasma 5)
I can’t remember the last time I played a DVD but I do remember trying xine-ui kaffeine and vlc and they all worked fine played the menus the movie the extras etc.

edit
you said this was an upgrade, how did you do the uipgrade from an iso image or live with zypper dup, there have been quite a few cases when upgrading with an image (DVD or usb) that packman packages from the previous installation are left over, if you upgraded from 42.2 check and see if you have some 42.2 packages left as they might be tha cause of your issues

rpm -qa --queryformat "%{Name}:%{Distribution}
" | grep -F "42.2"

if you upgraded from 42.1 replace 42.2 with 42.1 or 13.x if you jumped from the old TW based release to the SLE based LEAP

The popup offers to open the DVD with browse, play in dragonplayer (which doesn’t work), or VLC (installed since the initial post).

I have the dvd and packman repos active with the required codecs installed, and I did the vendor change to the packman repo for the relevant packages.

#  | Alias                      | Name                                    | Enabled | GPG Check | Refresh | URI                                                                           
---+----------------------------+-----------------------------------------+---------+-----------+---------+-------------------------------------------------------------------------------
 1 | KDEextra                   | KDEextra                                | Yes     | (r ) Yes  | No      | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.3/      
 2 | NVIDIA                     | NVIDIA                                  | Yes     | (r ) Yes  | Yes     | http://http.download.nvidia.com/opensuse/leap/42.3                            
 3 | Wine                       | Wine                                    | Yes     | (r ) Yes  | No      | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.3/ 
 4 | dvd                        | dvd                                     | Yes     | (r ) Yes  | Yes     | http://opensuse-guide.org/repo/openSUSE_Leap_42.3/                            
 5 | openSUSE-Leap-42.3-0       | openSUSE-Leap-42.3-0                    | Yes     | (r ) Yes  | No      | cd:///?devices=/dev/disk/by-id/ata-PLDS_DVD+_-RW_DS-8A8SH_G0V0C550811AL48KMA00
 6 | openSUSE-Leap-42.3-Non-Oss | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | No      | http://mirrors.rit.edu/opensuse/distribution/leap/42.3/repo/non-oss/          
 7 | openSUSE-Leap-42.3-Oss     | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | No      | http://mirrors.rit.edu/opensuse/distribution/leap/42.3/repo/oss/              
 8 | packman                    | packman                                 | Yes     | (r ) Yes  | Yes     | http://packman.inode.at/suse/openSUSE_Leap_42.3/                              
 9 | repo-debug                 | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/           
10 | repo-debug-non-oss         | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/       
11 | repo-debug-update          | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/42.3/oss/                      
12 | repo-debug-update-non-oss  | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                  
13 | repo-non-oss               | openSUSE-Leap-42.3-Non-Oss              | No      | ----      | ----    | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/             
14 | repo-oss                   | openSUSE-Leap-42.3-Oss                  | No      | ----      | ----    | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                 
15 | repo-source                | openSUSE-Leap-42.3-Source               | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/          
16 | repo-source-non-oss        | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/      
17 | repo-update                | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/42.3/oss/                            
18 | repo-update-non-oss        | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/42.3/non-oss/ 

I can’t remember the last time I played a DVD but I do remember trying xine-ui kaffeine and vlc and they all worked fine played the menus the movie the extras etc.

VLC works, but the audio drops out intermittently.

you said this was an upgrade,

Not an upgrade, it’s a fresh install…on two separate laptops with the exact same problem, a Dell XPS and a Lenovo ideapad. Playing DVDs worked fine in 42.2, but apparently now there’s a problem. I re-partitioned my hard drive to get rid of windows before this last “upgrade.” So, it was not an upgrade in the traditional sense. Clean install on a blank hard drive.

Doing the vendor change to Packman is a must, but when you say

and I did the vendor change to the packman repo for the relevant packages.

then that is not OK. How do you know what is relevant? You should simply do the vendor change, period.

And when we are not 100% convinced that it is 1000% sure you did it, further investigation of what might be wrong is rather useless for most here.
Thus, to be sure, please repeat:

zypper dup --from packman

The system packages that are present in packman and also the other repos. I already did the vendor changes, it was correct. The codecs are not the problem as all media players will play media files just fine. The only problem is reading a DVD from the disc drive.

It might be helpful if you capture what is reported by launching dragon from a terminal perhaps…

dragon --play-dvd

How many DVDs have you tried?

Also, check…

zypper se -si libdvd

Another thought…Since you mentioned that you’d recently upgraded to Leap 42.3, I was wondering if this might be relevant here

https://lists.gnu.org/archive/html/bug-guix/2017-09/msg00026.html

The gstreamer cache in ~/.cache/gstreamer-1.0 goes stale and must be
>> manually deleted after changing what gstreamer plugins are installed.
>> This can be dangerous as old plugins might be referenced long after they
>> have been upgraded, causing the user to continue using old plugins
>> despite an upgrade.

and also mentioned here in this thread…
https://forums.opensuse.org/showthread.php/514446-I-can-not-play-video-files-with-Dragon-Player?p=2771990#post2771990

No harm in trying IMHO…

rm -f ~/.cache/gstreamer-1.0/registry.x86_64.bin

but you said vlc can read disks?
if vlc can play the DVD but Dragon can not it sounds like a gstreamer issue what’s the output of

zypper se -si gstreamer

gstreamer it self does not provide a library to access DVD’s I think it uses libdvdread4 check to see if it’s installed

zypper se -si libdvdread4

you could try and use libvlc instead of the gstreamer libraries by installing and setting as the preferred decoder in kde settings phonon-backend-vlc

zypper in phonon-backend-vlc

about vlc audio issues afaik DVD’s use ac3 or mp2 for audio coding and I do believe the patents on both of those formats ended and are now available from the oss repositories skips could indicate a damaged disk or failing drive

I have a couple updates.

I tried dragonplayer again and it will technically start playing a DVD now, but it freezes up shortly after selecting play from the menu. Running it from the terminal, everything looks ok and there are no errors, it just freezes and terminal output stops.

My preferred frontend is SMplayer, which I’d really like to get working. I realized that the mplayer backend was not installed, so I fixed that problem but now SMplayer is not working at all and returning an error that:

MPlayer/mpv failed to start.  Please check the mplayer/mpv path in preferences.

I have mplayer selected as the multimedia engine under preferences in SMplayer with the path /usr/bin/mplayer.

I can play DVDs from the terminal with mplayer.

mplayer dvd://1

Works just fine, and all the command line options I’ve tried appear to be working.

It looks like the root of the problem may be that the smplayer frontend is only available in the KDEextra repo while mplayer is only available from packman.
Using the mpv backend brings back the DVD drive read error listed initially, but will play files off the HD just fine.

I guess I’ll just stick with VLC for DVDs.

you’re mixing apples and oranges and avoiding the question
I got an DVD to test LEAP out and I found no opensuse related issues
after inserting the disk the Plasma 5 Device Notifier gave me a few options some of which was to play the Disk in vlc or kaffeine or dragon
the DVD opens fine in Kaffeine and VLC it does not in Dragon, this seams to be a dragon issue as Kaffeine 1.2.2 uses gstreamer for decoding and it had no problems playing the disk
your vlc issue is strange as libvlc is great in audio decoding maybe you played with the options and broke something
if you don’t like vlc use Kaffeine or Xine-UI
you can report the Dragon issue here
https://bugs.kde.org/
as nobody at opensuse does Dragon development it’s done by a 3rd party over at kde and opensuse only packages it
I have no idea why smplayer does not work as I don’t use it, the development of mplayer is a bit confusing afaik it was replaced with mpv as a backend in smplayer but generally speaking if you get mpv or mplayer from packman they should do dvd decoding smplayer is only a gui wrapper and it doesn’t matter where it’s from btw smplayer is available for LEAP in the main OSS repo
https://software.opensuse.org/package/smplayer

this was bugging me so I decided to take a look at it
running dragon in a terminal causes a bunch of va-api errors seeing how my gpu has no va-api support I removed that package and now dragon plays dvd’s fine

linux:~> dragon
Stopped state
updated actions
updated menus
set titles 
seekable changed to  false
actually playing the disc at  "/dev/sr0"
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:2164
    for vts_attributes->vtstt_subp_attr* = 0x40006e650000
libdvdnav: Using dvdnav version 5.0.3
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:2152
    for vts_attributes->vtstt_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:2164
    for vts_attributes->vtstt_subp_attr* = 0x40006e650000
libdvdnav: DVD Title: the_departed
libdvdnav: DVD Serial Number: 3641B3B3C9BE4C4C
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: �� 
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: �� 
libdvdnav: Language 'en' not found, using '��' instead
libdvdnav: Menu Languages available: �� 

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000154
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000eb4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0022574a
libdvdread: Elapsed time 0
libdvdread: Found 2 VTS's
libdvdread: Elapsed time 0
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x00a3ffff00000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000
*** Zero check failed in src/ifo_read.c:702
    for vtsi_mat->vts_subp_attr* = 0x40006e650000
playing disc true
chapters:  0  titles:  0
going from  "Loading"  to  "Stopped"
Stopped state
updated actions
updated menus
set titles 
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3726600000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10a3736500000000
*** Zero check failed in src/ifo_read.c:698
    for vtsi_mat->vts_audio_attr* = 0x10236e6500000000


it turns out gstreamer-plugins-vaapi is installed by default even on systems that don’t use it (nvidia gpu’s)
as libva has no use on nvidia setups the fix is removing it

zypper rm gstreamer-plugins-vaapi

a quick disclaimer intel gpu’s do use va-api (not sure about amd/ati) so don’t remove that package if you’re on an intel device
after removing gstreamer-plugins-vaapi dragon opens DVD’s fine
that being said I couldn’t find a VDPAU plugin for gstreamer which means DVD’s will be played using a software renderer which is suboptimal
VLC has buildin VDPAU support so VLC should be preffered for DVD playback on nvidia systems

edit
apparently VDPAU support for gstramer should be provided by gstreamer-plugins-bad
so make sure that package is installed I have no idea about how to check if hardware acceleration is enabled in gstreamer
ps
seeing how dragon uses phonon a better choice is to use libvlc via phonon-backend-vlc*********************************************************