LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2016, 03:13 PM   #1
RenH
Member
 
Registered: Oct 2015
Posts: 89

Rep: Reputation: Disabled
VLC hangs in linux mint 18 sarah


First a thank-you for the help in solving my previous problem. Linux is now running fine and I have got rid of Windows 10. The problem I have now, and have had with Mint is that VLC hangs. In fact it seems very easy to hang Mint, but my question concerns VLC. There was no problem using VLC on Windows 10. So it can't be the video card, can it? Here is the information I got when I ran lshaw:
*-display
description: VGA compatible controller
product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0c
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:90 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:f080(size=8)
 
Old 09-29-2016, 10:06 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,374
Blog Entries: 6

Rep: Reputation: Disabled
Try launching VLC from the terminal and keep it open.
See if the terminal returns any errors while VLC is up and running.
Post the output.

Post the output of lspci.

The current version of VLC is 2.2. Ensure you have the current version and keep your distribution up to date. Run this to see what version you have-
Quote:
vlc --version
Some graphics cards don't work well with the open-source driver present in Linux Mint.
Look in driver manager and see if there are extra drivers that could be installed for your graphics card.
https://www.linuxmint.com/rel_sarah_cinnamon.php
 
Old 10-01-2016, 12:23 AM   #3
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi Ztcorocat,
Thanks for your advice. Well, I learnt something new -- I can open VLC from the terminal by just typing VLC. What came up was better than when I would open the DVD by clicking on the VLC icon and then selecting play disk. I did the same after opening through the terminal and I had smooth sailing for most of the hour and then it hanged!

I took screen shots of the terminal output but I now realise that I can't post them since they are graphics. So tomorrow I will try again and copy the output and paste it.
Here is what I got for vlc --version:

VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
VLC version 2.2.2 Weatherwax (2.2.2-0-g6259d80)
Compiled by buildd on lgw01-10.buildd (Mar 28 2016 02:49:24)

Here is what I got for lspci:

00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0c)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0c)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0c)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0c)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0c)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0c)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0c)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0c)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0c)
01:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)

When I first started up the DVD, or tried, to I got the following:
re libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
Libdvdnav: Using dvdnav version 5.03
libdvdread: Could not open /dev/sr0 with libdvdcss.
Libdvdread: Can’t open /dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD
libdvdread: Could not open /dvd/sr0 with libdvdcss
libdvdread: Can’t open /dev/sr0 for reading: DVDRead cannot open source: /dev/sr0
l dvdread demux error

In an Errors window:
Playback failure:
DVDRead could not open the disc “/dev/sr0”.
Your inoput can;t be opened:
VLC is unable to open the MRL ‘dvd:///dev/sr0’. Check the log files

However I tried again and it opened. I'll copy the other messages or try again to copy and paste tomorrow.
 
Old 10-01-2016, 12:45 AM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,374
Blog Entries: 6

Rep: Reputation: Disabled
You're Welcome:-

The good news is your running the current version of VLC.
Go into the setting on your VLC Player Tools>Preferences> Video>
and make sure that Accelerated Video Output is checked.

This is your graphic's card-
Code:
VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display
I'll have to do some searching in the Mint Forums and see if there is an issue with this particular gpu card and VLC. I'll let you know tomorrow what I find.

Please put the output that you get from the command-line in code tags. Click on the hash tag symbol where you write your reply messages. It's a few icons over from the smiley face.

Here's why VLC isn't playing nice.
Code:
VLC is unable to open the MRL ‘dvd:///dev/sr0’. Check the log files
Look in your log files (var/log) they should give you good info.

Are you getting any errors about ffmpeg or libavcodec?
----------------------------------------------------------------
Your not the only one with this problem.
https://forums.linuxmint.com/viewtopic.php?t=152673
 
Old 10-01-2016, 09:40 AM   #5
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834
Quote:
Originally Posted by RenH View Post
libdvdread: Could not open /dev/sr0 with libdvdcss.
so you are trying this with a dvd?
have you tried with different dvds?
have you tried with cds?
have you tried with movies on your computer or the internet?

right now my suspicion is that it's a dvd problem.
is libdvdcss actually installed? i guess it should be by default in linux mint.
maybe the dvd is somehow "even more encrypted" or "copy-protected". maybe it's scratched, or the drive is dirty. who knows.

so, first of all let's find out if VLC also "hangs" with other media.
 
Old 10-01-2016, 08:09 PM   #6
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi Ondoho,
Thanks for replying to my request. No, the DVDs worked fine on my laptop which has Xubuntu. I noticed that Linux Mint Sarah hangs when I am doing other things. For example, I was typing out my screen captures as Ztcorocat requested and Linux hung 3 times. It's not the first time, it's been doing so since I first installed it. Perhaps the hanging with VLC and the other hangings are related.
 
Old 10-01-2016, 08:18 PM   #7
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
DVDs work on Xubuntu

Hi Ondoho,
Thanks for replying to my request. No, the DVDs worked fine on my laptop which has Xubuntu. I noticed that Linux Mint Sarah hangs when I am doing other things. For example, I was typing out my screen captures as Ztcorocat requested and Linux hung 3 times. It's not the first time, it's been doing so since I first installed it. Perhaps the hanging with VLC and the other hangings are related.
 
Old 10-01-2016, 08:24 PM   #8
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat,

Here are the copied screen dumps, which I started yesterday. [I have yet to do as you recommended in your reply]. I decided to copy them out rather than run the DVD and then copy the printouts.I will also try to put them in quotes but I am still having trouble negotiating this site. So bear with me.

core libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.

Libdvdnav: Using dvdnav version 5.03
libdvdread: Could not open /dev/sr0 with libdvdcss.
Libdvdread: Can’t open /dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD
libdvdread: Could not open /dvd/sr0 with libdvdcss
libdvdread: Can’t open /dev/sr0 for reading: DVDRead cannot open source: /dev/sr0
libdvdread demux error
 
Old 10-01-2016, 08:41 PM   #9
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat,

Here are the copied screen dumps, which I started yesterday. [I have yet to do as you recommended in your reply. Will do so once I have posted the dumps]. I decided to copy them out rather than run the DVD and then copy the printouts.I will also try to put them in quotes but I am still having trouble negotiating this site. So bear with me.I see 7 sets of smileys but no quote marks. I did click on a quote mark next to "REPORT" "EDIT" and it put everything in quotes. OK it's up on the top line with bold, etc. Hope I got it right.

Code:
core libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.  

Libdvdnav: Using dvdnav version 5.03
libdvdread: Could not open /dev/sr0 with libdvdcss.
Libdvdread: Can’t open /dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD
libdvdread: Could not open /dvd/sr0 with libdvdcss
libdvdread: Can’t open /dev/sr0 for reading: DVDRead cannot open source: /dev/sr0
libdvdread demux error

In an Errors window:
Code:
Playback failure:
DVDRead could not open the disc “/dev/sr0”.
Your input can’t be opened:
VLC is unable to open the MRL ‘dvd:///dev/sr0’. Check the log files
second screen capture:

Code:
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_07_0.VOB at 0x002c63ed
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_07_1.VOB at 0x002c6426
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_08_0.VOB at 0x0039efc0
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_08_1.VOB at 0x0039eff9
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_09_0.VOB at 0x003aa667
libdvdread: Elapsed time 0
bdvdread: Get key for /Video_TS/VTS_09_1.VOB at 0x003aa6a0
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_10_0.VOB at 0x003aelae
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_10_1.VOB at 0x003aele7
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS’s
libdvdread: Elapsed time 0
[00007f38d0005ef8] core input error:  ES_OUT_RESET_PCR  called
[00007f38d0005ef8] core input error:  ES_OUT_RESET_PCR  called
[00007f38d0005ef8] core input error:  ES_OUT_RESET_PCR  called
[00007f38d0005ef8] core input error:  ES_OUT_RESET_PCR  called
third screen capture:

V
Code:
LC media player 2.2.2. Weatherwax (revisions 2.2.2- 0 - g6259d80)
[0000000002476148] core libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
libdvdnav: Using dvdnav version 5.03
libdvdread: Could not open /dev/sr0 with libdvdcss.
Libdvdread: Can’t open /dev/sr0 for reading
libdvdnav: vm: failed to open/read the DVD
libdvdread: Could not open /dvd/sr0 with libdvdcss
libdvdread: Can’t open /dev/sr0 for reading: DVDRead cannot open source: /dev/sr0
[00007f38c0000eb8] dvdread demux error:DVDRead cannot open source: /dev/sr0
[00007f38d00009b8] core input error: open of ‘dvd:///dev/sr0’ failed
libdvdnav: Using dvdnav version 5.03
libdvdread: Attempting to use device /dev/sr0 mounted on /media/reynoldh/LPWC_S_D1 for CSS authentication
libdvdnav: can’t read name block. Probably not a DVD-ROM device.
libdvdnav: vd: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions:1

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 0x0000015b
libdvdread: Elapsed time 0
fourth screen capture

l
Code:
ibdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions:1

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 0x0000015b
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_01_0.VOB at 0x000001ac
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_01_1.VOB at 0x00000630
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_02_0 VOB at 0x00000e4a
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_02_1 VOB at 0x00000e4a
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_03_0 VOB at 0x00001503
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_03_1VOB at 0x00001547
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_04_0 VOB at 0x0002152a
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_04_1 VOB at 0x00021563
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_05_0 VOB at 0x00107a53
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_05_1 VOB at 0x00107a8c
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_06_0 VOB at 0x001e3e2d
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_06_1 VOB at 0x001e3e66
libdvdread: Elapsed time 0
libdvdread: Get key for /Video_TS/VTS_07_0 VOB at 0x002c63ed
libdvdread: Elapsed time 0
The rest weere similar.
seventh screen capture

Code:
[00000000013eb148] core libvlc: Running vlc with the default interface.Use ‘cvlc’ to use vlc without interface.
Qobject:: ~Qobject: Timers cannot be stopped from another thread.
I hoipe this helps. And thanks again for spending your time on my problem. My next step is to follow your instructions in your reply.
 
Old 10-01-2016, 10:00 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,374
Blog Entries: 6

Rep: Reputation: Disabled
I noticed that you have an Intel Atom processor:-
Code:
Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0c)
I looked up the computer requirements for Linux Mint 18.
You need at least 512 MB of RAM but 1 GB of RAM is recommended. Do you have 1 Gig of RAM?
The Graphics crd requirements are 800 x 600 but 1024 x 768 recommended.
For the HDD 10 GB disk space and 20 G's recommended.

Since you mentioned that other things are hanging I'm wondering if your processor and the RAM can handle your fresh installation of LM 18 Sarah?

Looking at this error-
Code:
 Could not open /dvd/sr0 with libdvdcss
To find out if libdvdcss is install run this cmd:
Code:
dpkg -L libdvdcss
 
Old 10-01-2016, 10:07 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,374
Blog Entries: 6

Rep: Reputation: Disabled
RenH:

Is your machine a mini laptop or netbook?

Depending on the RAM an CPU (Atom Processor) in the specifications on the exact make and model of your machine LM 18 might be to heavy for your laptop:-

A more lightweight distribution like Lubuntu may be a better choice depending on the specs of your machine.
 
Old 10-02-2016, 12:31 AM   #12
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 210

Rep: Reputation: 48
Please post out of:

Code:
id
Then
Code:
ls -l /dev/sr0
Now check if your user belongs to whatever the sr0 group is.
 
Old 10-02-2016, 01:33 PM   #13
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat,
It took me a bit of time to work out how to find out my ram. It looks like I have 7 gigs of ram [if I have read the data properly].

le
Quote:
ss /proc/meminfo

MemTotal: 8060724 kB
MemFree: 6435092 kB
MemAvailable: 7110384 kB
Buffers: 59344 kB
Cached: 791172 kB
SwapCached: 0 kB
Active: 837492 kB
Inactive: 627940 kB
Active(anon): 617404 kB
Inactive(anon): 184632 kB
Active(file): 220088 kB
Inactive(file): 443308 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 8273916 kB
SwapFree: 8273916 kB
Dirty: 48 kB
Writeback: 0 kB
AnonPages: 615036 kB
Mapped: 324816 kB
Shmem: 187040 kB
Slab: 83556 kB
SReclaimable: 54160 Kb
SUnreclaim: 29396 kB
KernelStack: 6480 kB
PageTables: 19280 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 12304276 kB
Committed_AS: 2502508 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 219136 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 104972 kB
DirectMap2M: 8169472 kB
...
free -m
total used free shared buff/cache available
Mem: 7871 683 6275 182 912 6935
Swap: 8079 0 8079
 
Old 10-02-2016, 01:40 PM   #14
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi C0wb0y,
Here's what I got:
i
Quote:
d
uid=1000(reynoldh) gid=1000(reynoldh) groups=1000(reynoldh),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),130(sambashare)


ls -l /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Oct 2 10:25 /dev/sr0
I see cdrom in both but I'm at a loss here. Does it tell you what you need to know?
 
Old 10-02-2016, 02:35 PM   #15
RenH
Member
 
Registered: Oct 2015
Posts: 89

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat,
MY machine is a desktop Acer, fairly new. Sorry, I was catching up with your suggestions and missed this one about my computer. Now I want to turn on Accelerated Video Output as recommended.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Mint 18 Sarah does not automount devices jojopara Linux - Software 11 08-27-2016 03:23 AM
LXer: Linux Mint 18 "Sarah" Xfce Officially Released, Linux Mint 18 KDE Coming Soon LXer Syndicated Linux News 0 08-02-2016 09:21 PM
LXer: Linux Mint Devs Showcase the First Two X-Apps for Linux Mint 18 "Sarah" LXer Syndicated Linux News 1 02-05-2016 01:59 PM
LXer: Linux Mint 18 codenamed “Sarah” LXer Syndicated Linux News 0 01-10-2016 07:11 AM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration