Author Topic: DVD not playing in Ubuntu 16.04 [SOLVED!]  (Read 7878 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #15 on: February 27, 2018, 10:50:35 am »
Mark,
I had indeed booted from the live USB before installing the libdvd-pkg. 
I have just tried your new suggestions and had some errors:
1.  In the "other software" tab of "software & updates"  Canonical Partners was not listed - only "CDROM: [Ubuntu 16.04.1 LTS_Xenial Xerus.........main restricted".  But I carried on regardless.
2.  During the get update I got this:
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial Release
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease                       
Hit:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease               
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease             
                                                 
** (appstreamcli:5664): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.

Reading package lists... Done
ubuntu@ubuntu:~$


3.  During the installation of libdvd-pkg I had the error: 
libdvd-pkg: dpkg database is locked. You may need to use command "sudo dpkg-reconfigure libdvd-pkg".
libdvd-pkg: Building and installation of package(s) [libdvdcss2 libdvdcss-dev] postponed till after next APT operation.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
W: Operation was interrupted before it could finish

so I did "sudo dpkg-reconfigure libdvd-pkg" then tried to install the package again,  which operation said:
libdvd-pkg is already the newest version (1.4.0-1-1).
0 upgraded, 0 newly installed, 0 to remove and 645 not upgraded.

The DVD now plays  - on the live USB - but not on the installed Ubuntu 16.04 despite taking the same actions. 
So at least the hardware is OK. 
« Last Edit: February 27, 2018, 12:52:17 pm by Keith »

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #16 on: February 27, 2018, 11:31:58 am »
I re-installed VLC and the libdvd-pkg then ran VLC from the terminal on my installed Ubuntu.  It failed as usual so I crashed out and found this on the terminal:
keith@T500:~$ vlc &
[1] 10763
keith@T500:~$ VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000000817148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
libdvdnav: DVD Title: DVDVolume
libdvdnav: DVD Serial Number: c8e1e47a       
libdvdnav: DVD Title (Alternative): DVDVolume
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[00007ff6c0000c18] core input error: ES_OUT_RESET_PCR called
[00007ff6c0000c18] core input error: ES_OUT_RESET_PCR called
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007ff6c0000c18] core input error: ES_OUT_RESET_PCR called
[00007ff6c0000c18] core input error: ES_OUT_RESET_PCR called
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory


Does it help at all?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #17 on: February 27, 2018, 12:19:37 pm »
It might...

Run:
Code: [Select]
sudo apt-get remove --purge libdvdcss2
then:
Code: [Select]
sudo apt-get install --reinstall libdvd-pkg libvdpau-va-gl1
and now test DVD's

If that doesn't work, try this:
Code: [Select]
sudo apt-get remove --purge libdvdcss2
then download this file:-
http://download.videolan.org/pub/ubuntu/raring/libdvdcss2_1.2.13-0_amd64.deb
and double-click it to install .. then test DVD's
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #18 on: February 27, 2018, 01:23:13 pm »
After the re-install, VLC shows the initial menu page but selecting an item had no effect.  The PC then froze with ~continuous disk access. 
Hard reboot.
Purged then installed libdvdcss2_1.2.13-0_amd64.deb as instructed but the same behaviour is shown.   

Hmmm!  At least CDs run properly, so the R&R is OK. 


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #19 on: February 27, 2018, 11:53:06 pm »
That's not necessarily true.. the data tracks are MUCH closer together on a DVD, so if the laser is having trouble focussing........

You're going to have to find a way to test the DVD drive in a different OS as I suggested.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #20 on: February 28, 2018, 09:16:55 am »
................  except that in my post #15 I reported that the DVD did play via a Ubuntu live USB.  Or is there something special about Live discs?  Excuse my ignorance. 

[EDIT]  Just tried to run the DVD via Live USB again but it failed.  But it definitely worked earlier this way as reported in #15. 

[EDIT 2]  I guess the optimum solution is to replace the DVD player or go for an external, USB, player.  I tried the former some time ago but the Lenovo T500 DVD reader has a peculiarly-shaped bezel that is not transferrable, so an external player would be the only option.  Although my preference is obviously to fix the present setup, if you feel the current player is U/S perhaps you could recommend an external, USB, player - one that plays on the PC as I don't have a TV!    I've looked on the web and don't understand the technical gobbledygook.   
« Last Edit: February 28, 2018, 09:46:35 am by Keith »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #21 on: February 28, 2018, 10:37:17 am »
Sorry I missed post 15...

Anyway, only you can decide if you consider the drive unserviceable .. I'd try the LiveUSB method again, and test a few different DVD's .. if some play, some play a bit and then break up/freeze, and others don't play at all, that would suggest failing hardware (where the laser can't focus properly).

Another way to check if this is anything to do with libdvdcss2 (which is the library for decoding the content scrambling system employed on 'commercial' DVD's) would be to test a non-commercial (user recorded) DVD(R) which is unlikely to use content scrambling .. if they all play, but commercial ones don't, that would suggest a software issue .. if they don't play either, it would suggest a hardware issue.

Anyway, once you've decided, and if you still want/need info on an external player, let me know .. but please state if you want a small portable drive USB drive (which because they're unpowered will likley require 2 USB ports) or a larger one that plugs into the mains and so only requires a single USB port.
Also mention if you need it to be a DVD recorder/player or just a player
« Last Edit: February 28, 2018, 10:42:34 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #22 on: February 28, 2018, 10:40:44 am »
Thank you Mark - you are very patient. 
I shall spend the day playing with various combinations and come back with the results.

Cheers,
    Keith

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #23 on: February 28, 2018, 10:49:40 am »
Is this a Thinkpad T500 Keith ?

If so, and it turns out to  be hardware, we can probably sourcce a replacement internal DVDR if you'd like ?

There are then youtube videos on how to fit it .. such as this one
https://www.youtube.com/watch?v=AxTssl7qz6I

[EDIT]

If this is a Lenovo T500, and the optical drive just pulls out (maybe by just pressing a button) without having to undo any screws (as in the video linked above), then it is an "ultrabay" drive .. you can get these pretty cheaply (£12 ish) such as here:
https://www.amazon.co.uk/Lenovo-0A65625-Ultrabay-DVD-Burnner-Internal/dp/B008AZRLMW/ref=sr_1_1?ie=UTF8&qid=1519815161&sr=8-1&keywords=lenovo+ultrabay+dvd&dpID=41cGBkYl5DL&preST=_SY300_QL70_&dpSrc=srch
but it'd probably be a good idea to pull it out and get the part number first.

Hopefully it'll say something like "P/N: 45N7451" or similar.

In which case you could get the above linked item from Amazon, or this (which actually states "45N7451") for £15 on ebay
https://www.ebay.co.uk/itm/45N7451-Lenovo-Ultrabay-Slim-DVD-Burner-II-SATA-FRU-45N7451/302485612031?epid=23012584774&hash=item466d8c25ff:g:hR8AAOSwg89Z334k
that one even accepts offers .. so you could try offering him say £10 - £12 and see if he accepts .. you never know.

But again, it's always best to check the model number first.

In fact if that is the right model, at that price it might be worth getting one anyway .. even if it only turns out to be a "spare" :)
« Last Edit: February 28, 2018, 11:23:03 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #24 on: February 28, 2018, 11:23:55 am »
Thank you Mark. 
Yes, it's a Thinkpad T500.  I did buy a replacement player a year ago and hacksawed the bezel to fit my laptop - but is was a cr*p Chinese job that was useless so the supplier refunded and I chucked it away.
I chased your Amazon link and it looks just right, except that the advert now says: No sellers are currently delivering this item to your selected dispatch location in the UK - Mainland.
Isn't that always the way! 
So far I've tried the one DVD in two Ubuntu and one Peppermint machines and none of them play it no matter what I do.  It was a second-hand one from Amazon, though looks OK.   
Changing the DVD works fine with a bit of persuasion on a DEll Latitude D505 running Peppermint but the Lenovo T500 won't even try unless I click on a *.VOB file in Nemo, when VLC then tries to play it (without sound, of course) but is jerky and very pixelated and the rest of the machine is ~ unresponsive.  In fact the Lenovo won't shut down now - the Ubuntu dots just keep cycling.  Doomsville, as we say in the trade! 
So looks like a new internal or external player is required.
I shall continue playing for a bit to refine the decision - see you later. 

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #25 on: February 28, 2018, 11:26:14 am »
Have you checked the model number, and seen the ebay link above (if it's the right model) ?

The guy/gal has 100% positive feedback.

In fact of the two, I'd likely go for the ebay one (again only if it's the right model) .. if you're unsure, pull it, photo the label, post the pic on
http://imgur.com
then post a link to the pic here.

There's a tutorial for posting images on SMF forums on the Peppermint forum (which will also work on this forum) here:
https://forum.peppermintos.com/index.php/topic,4284.0.html
« Last Edit: February 28, 2018, 11:32:28 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #26 on: February 28, 2018, 11:53:16 am »
The Ebay one is the wrong model - mine is a 42T2543.  I've found a genuine replacement at http://www.itechdevices.co.uk/42t2543-ibm-lenovo-thinkpad-cd-rw-dvd-rom-ultrabay-slim-9-5mm-drive-sata.html but the price is £44 and the picture is for a desktop player!! 
Most of the eBay links say "Not available at present" or similar but I did find: http://www.ebay.co.uk/itm/LENOVO-CD-RW-DVD-Drive-fru-42T2543-USED-/152328979695 although it lists 42T2543 42T2545 42T2611 42T2545 42T2551 USED so goodness knows what one gets and whether it will work.  But the price is £14 so might be worth a punt, as you suggest. 

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #27 on: February 28, 2018, 01:36:38 pm »
Just remembered that I have a virtually new (made to my specs for a friend) desktop with Ubuntu 16.04 installed, so tried a good DVD. 
VLC failed to do anything so I went through the procedure that you outlined earlier.  VLC showed nothing until, as before, clicking on a VOB file in Nero, which showed the very pixelated scenes that I reported before. 
It is beginning to look like the s/w on Ubuntu is not working but that on Peppermint 3 is working fine. 
One more thing that might help:  in VLC..............  clicking on Media/Open-File (for any videos stored on my laptop), the window that opens offers a button/menu to select file type and VOB is not listed
Does that tell us anything?



Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #28 on: February 28, 2018, 05:30:11 pm »
First there's this
https://www.ebay.co.uk/itm/LENOVO-IBM-DVD-CDRW-42T2543-42T2542/263149115647?hash=item3d44e8d8ff:g:ZmYAAOSwz0FZk-40

Secondly, give me a bit and I'll test DVD's in Peppermint 8 which is based on 16.04 and check if there are any problems for me.

I'll post back later.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #29 on: February 28, 2018, 06:25:42 pm »
First see the link above

secondly, is Peppermint 3 on the same PC ?
(otherwise there's no point in my testing Peppermint 8)

and no, Ubuntu not knowing which app to assign the file type to is irrelevant .. you'd just tell it which app to use and it'd open it, but the app itself won't play it.

I personally still think this is a hardware problem .. unless of course you tell me Peppermint 3 was on the SAME PC
« Last Edit: February 28, 2018, 06:46:15 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal