LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   VLC and flashplayer (http://www.linuxquestions.org/questions/slackware-14/vlc-and-flashplayer-4175470302/)

textillis 07-20-2013 09:31 AM

VLC and flashplayer
 
This morning I had a new installation of SW current with Xfce
purring along. I had Alien Bob's all-in-one VLC package installed
and was happy as an Aussie at a Bar-B-Q.
This afternoon, I arose at 2:30pm, feeling light and joyful and a sense of achievement.
Went to machine, decided I'd "play" with sbopkg.
Got some stuff, mostly xfce trinkets.

Then, around dinner, sat down to watch an episode of House on DVD.
VLC was not working: spaz attack, dinner gets thrown out;
still venting fumes, I go to see if at least I can watch a youtube video;
you guessed it: youtube giving me an error message, flash no longer working.

I know these are sketchy details, but I have isolated a malfunctioning relationship between two commonly used bits of software.

Can someone reading this, having already experienced this heart-ache,
help me by directing my efforts? even in the general direction of the
right ball-park?

thank you kindly

Alien Bob 07-20-2013 02:09 PM

Would be helpful if you mentioned what packages you installed inbetween VLC working and VLC not working.
Also, VLC's error messages may be helpful... start VLC in a terminal using the command "vlc -vvv" and try to grab the relevant errors.

Eric

textillis 07-21-2013 12:05 AM

Quote:

Originally Posted by Alien Bob (Post 4993857)
Would be helpful if you mentioned what packages you installed inbetween VLC working and VLC not working.
Also, VLC's error messages may be helpful... start VLC in a terminal using the command "vlc -vvv" and try to grab the relevant errors.

Eric

Hello Eric and thanks kindly for the response.

1. output to vlc -vvv

Code:

lebec@MudPark:~$ vlc -vvv
VLC media player 2.0.7 Twoflower (revision 2.0.6-54-g7dd7e4d)
[0xda5998] main libvlc debug: VLC media player - 2.0.7 Twoflower
[0xda5998] main libvlc debug: Copyright © 1996-2013 VLC authors and VideoLAN
[0xda5998] main libvlc debug: revision 2.0.6-54-g7dd7e4d
[0xda5998] main libvlc debug: configured with ./configure  '--prefix=/usr' '--libdir=/usr/lib64' '--sysconfdir=/etc' '--mandir=/usr/man' '--docdir=/usr/doc/vlc-2.0.7' '--localstatedir=/var' '--without-contrib' '--disable-rpath' '--disable-debug' '--disable-jack' '--disable-gnomevfs' '--disable-zvbi' '--disable-switcher' '--enable-alsa' '--enable-oss' '--enable-shared' '--enable-optimize-memory=no' '--enable-qt4' '--enable-ncurses' '--enable-lua' '--enable-pvr' '--enable-dc1394' '--enable-dv' '--enable-dvbpsi' '--enable-dvdnav' '--enable-vcdx' '--enable-libcddb' '--enable-projectm' '--enable-svg' '--enable-telx' '--enable-libass' '--enable-caca' '--enable-aa' '--enable-upnp' '--enable-flac' '--enable-shout' '--enable-schroedinger' '--enable-live555' '--enable-real' '--enable-realrtsp' '--enable-speex' '--enable-opus' '--enable-x264' '--enable-a52' '--with-a52-tree=/tmp/build/tmp-vlc/a52dec-0.7.4' '--enable-faad' '--with-faad-tree=/tmp/build/tmp-vlc/faad2-2.7' '--enable-twolame' '--enable-ogg' '--enable-vorbis' '--enable-theora' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-run-as-root' '--program-prefix=' '--program-suffix=' '--build=x86_64-slackware-linux' 'build_alias=x86_64-slackware-linux' 'CFLAGS=-I/tmp/build/tmp-vlc/vlcdeps/usr/include -O2 -fPIC' 'LDFLAGS=-Wl,-Bsymbolic -L/tmp/build/tmp-vlc/vlcdeps/usr/lib64 -L/usr/lib64' 'CPPFLAGS=-I/tmp/build/tmp-vlc/vlcdeps/usr/include' 'CXXFLAGS=-I/tmp/build/tmp-vlc/vlcdeps/usr/include -O2 -fPIC' 'PKG_CONFIG_PATH=/tmp/build/tmp-vlc/vlcdeps/usr/lib64/pkgconfig' 'NCURSES_CFLAGS= -I/usr/include' 'NCURSES_LIBS=-L/usr/lib64 -lncursesw' 'PROJECTM_LIBS=-lprojectM /tmp/build/tmp-vlc/vlcdeps/usr/lib64/libMilkdropPresetFactory.a /tmp/build/tmp-vlc/vlcdeps/usr/lib64/libRenderer.a -lGLU -lGLEW -lGL' 'PROJECTM2_LIBS=-lprojectM /tmp/build/tmp-vlc/vlcdeps/usr/lib64/libMilkdropPresetFactory.a /tmp/build/tmp-vlc/vlcdeps/usr/lib64/libRenderer.a -lGLU -lGLEW -lGL'
[0xda5998] main libvlc debug: searching plug-in modules
[0xda5998] main libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[0xda5998] main libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[0xda5998] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/visualization/libprojectm_plugin.so' (libGLEW.so.1.5: cannot open shared object file: No such file or directory)
[0xda5998] main libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[0xda5998] main libvlc debug: plug-ins loaded: 409 modules
[0xda5998] main libvlc debug: opening config file (/home/lebec/.config/vlc/vlcrc)
[0xda5998] main libvlc debug: translation test: code is "C"
[0xda5998] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[0xda5998] main libvlc debug: looking for memcpy module: 4 candidates
[0xda5998] main libvlc debug: using memcpy module "memcpymmxext"
[0xe82218] main input debug: Creating an input for 'Media Library'
[0xe82218] main input debug: Input is a meta file: disabling unneeded options
[0xe82218] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0xe82218] main input debug: `file/xspf-open:///home/lebec/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/lebec/.local/share/vlc/ml.xspf'
[0xe82218] main input debug: creating demux: access='file' demux='xspf-open' location='/home/lebec/.local/share/vlc/ml.xspf' file='/home/lebec/.local/share/vlc/ml.xspf'
[0xe728f8] main demux debug: looking for access_demux module: 3 candidates
[0xe728f8] main demux debug: no access_demux module matching "file" could be loaded
[0xe728f8] main demux debug: TIMER module_need() : 29.526 ms - Total 29.526 ms / 1 intvls (Avg 29.526 ms)
[0xe82218] main input debug: creating access 'file' location='/home/lebec/.local/share/vlc/ml.xspf', path='/home/lebec/.local/share/vlc/ml.xspf'
[0xe73808] main access debug: looking for access module: 2 candidates
[0xe73808] filesystem access debug: opening file `/home/lebec/.local/share/vlc/ml.xspf'
[0xe73808] main access debug: using access module "filesystem"
[0xe73808] main access debug: TIMER module_need() : 17.180 ms - Total 17.180 ms / 1 intvls (Avg 17.180 ms)
[0xe73958] main stream debug: Using stream method for AStream*
[0xe73958] main stream debug: starting pre-buffering
[0xe73958] main stream debug: received first data after 12 ms
[0xe73958] main stream debug: pre-buffering done 296 bytes in 0s - 22 KiB/s
[0xe73bb8] main stream debug: looking for stream_filter module: 7 candidates
[0xe73bb8] main stream debug: no stream_filter module matching "any" could be loaded
[0xe73bb8] main stream debug: TIMER module_need() : 40.642 ms - Total 40.642 ms / 1 intvls (Avg 40.642 ms)
[0xe73bb8] main stream debug: looking for stream_filter module: 1 candidate
[0xe73bb8] main stream debug: using stream_filter module "stream_filter_record"
[0xe73bb8] main stream debug: TIMER module_need() : 0.602 ms - Total 0.602 ms / 1 intvls (Avg 0.602 ms)
[0xe82218] main input debug: creating demux: access='file' demux='xspf-open' location='/home/lebec/.local/share/vlc/ml.xspf' file='/home/lebec/.local/share/vlc/ml.xspf'
[0xe7c5f8] main demux debug: looking for demux module: 1 candidate
[0xe7c5f8] playlist demux debug: using XSPF playlist reader
[0xe7c5f8] main demux debug: using demux module "playlist"
[0xe7c5f8] main demux debug: TIMER module_need() : 13.961 ms - Total 13.961 ms / 1 intvls (Avg 13.961 ms)
[0xe783d8] main demux meta debug: looking for meta reader module: 2 candidates
[0xe783d8] lua demux meta debug: Trying Lua scripts in /home/lebec/.local/share/vlc/lua/meta/reader
[0xe783d8] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader
[0xe783d8] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac
[0xe783d8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0xe783d8] main demux meta debug: no meta reader module matching "any" could be loaded
[0xe783d8] main demux meta debug: TIMER module_need() : 39.393 ms - Total 39.393 ms / 1 intvls (Avg 39.393 ms)
[0xe82218] main input debug: `file/xspf-open:///home/lebec/.local/share/vlc/ml.xspf' successfully opened
[0xe93118] main xml reader debug: looking for xml reader module: 1 candidate
[0xe93118] main xml reader debug: using xml reader module "xml"
[0xe93118] main xml reader debug: TIMER module_need() : 1.450 ms - Total 1.450 ms / 1 intvls (Avg 1.450 ms)
[0xe7c5f8] playlist demux debug: parsed 0 tracks successfully
[0xe82218] main input debug: EOF reached
[0xe7c5f8] main demux debug: removing module "playlist"
[0xe73bb8] main stream debug: removing module "stream_filter_record"
[0xe73808] main access debug: removing module "filesystem"
[0xe82218] main input debug: TIMER input launching for 'Media Library' : 154.574 ms - Total 154.574 ms / 1 intvls (Avg 154.574 ms)
[0xe72568] main interface debug: looking for interface module: 1 candidate
[0xe72568] main interface debug: using interface module "hotkeys"
[0xe72568] main interface debug: TIMER module_need() : 9.949 ms - Total 9.949 ms / 1 intvls (Avg 9.949 ms)
[0xe7c5d8] main interface debug: looking for interface module: 1 candidate
[0xdb91b8] main playlist debug: playlist threads correctly activated
[0xe7c5d8] main interface debug: using interface module "inhibit"
[0xe7c5d8] main interface debug: TIMER module_need() : 8.294 ms - Total 8.294 ms / 1 intvls (Avg 8.294 ms)
[0xdb91b8] main playlist debug: rebuilding array of current - root Playlist
[0xdb91b8] main playlist debug: rebuild done - 0 items, index -1
[0xe6fbd8] main interface debug: looking for interface module: 1 candidate
[0xe6fbd8] main interface debug: using interface module "globalhotkeys"
[0xe6fbd8] main interface debug: TIMER module_need() : 6.331 ms - Total 6.331 ms / 1 intvls (Avg 6.331 ms)
[0xda5998] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0xe70f78] main interface debug: looking for interface module: 5 candidates
QGtkStyle was unable to detect the current GTK+ theme.
[0x7fb0a80ec248] main generic debug: looking for extension module: 1 candidate
[0x7fb0a80ec248] lua generic debug: Opening Lua Extension module
[0x7fb0a80ec248] lua generic debug: Trying Lua scripts in /home/lebec/.local/share/vlc/lua/extensions
[0x7fb0a80ec248] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions
[0x7fb0a80ec248] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[0x7fb0a80ec248] main generic debug: using extension module "lua"
[0x7fb0a80ec248] main generic debug: TIMER module_need() : 0.155 ms - Total 0.155 ms / 1 intvls (Avg 0.155 ms)
[0xe70f78] main interface debug: using interface module "qt4"
[0xe70f78] main interface debug: TIMER module_need() : 136.626 ms - Total 136.626 ms / 1 intvls (Avg 136.626 ms)
[0xdb91b8] main playlist debug: adding item `dvd' ( dvd:///dev/dvd )
[0xe70f78] qt4 interface debug: Adding a new MRL to recent ones: dvd:///dev/dvd
[0x7fb09c000a28] main input debug: Creating an input for 'dvd'
[0xdb91b8] main playlist debug: rebuilding array of current - root Playlist
[0xdb91b8] main playlist debug: rebuild done - 1 items, index -1
[0xdb91b8] main playlist debug: processing request item: dvd, node: null, skip: 0
[0xdb91b8] main playlist debug: resyncing on dvd
[0xdb91b8] main playlist debug: dvd is at 0
[0xdb91b8] main playlist debug: starting playback of the new playlist item
[0xdb91b8] main playlist debug: resyncing on dvd
[0xdb91b8] main playlist debug: dvd is at 0
[0xdb91b8] main playlist debug: creating new input thread
[0x7fb0b0000b78] main input debug: Creating an input for 'dvd'
[0xdb91b8] main playlist debug: no fetch required for (null) (art currently (null))
[0x7fb0b0000b78] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x7fb0b0000b78] main input debug: `dvd:///dev/dvd' gives access `dvd' demux `' path `/dev/dvd'
[0x7fb0b0000b78] main input debug: creating demux: access='dvd' demux='' location='/dev/dvd' file='/dev/dvd'
[0xe70f78] qt4 interface debug: IM: Setting an input
[0x7fb09c001638] main demux debug: looking for access_demux module: 2 candidates
libdvdnav: Using dvdnav version 4.2.0
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: failed to open/read the DVD
[0x7fb09c001638] dvdnav demux warning: cannot open DVD (/dev/dvd)
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
[0x7fb09c001638] dvdread demux error: DVDRead cannot open source: /dev/dvd
[0x7fb09c001638] main demux debug: no access_demux module matching "dvd" could be loaded
[0x7fb09c001638] main demux debug: TIMER module_need() : 6.823 ms - Total 6.823 ms / 1 intvls (Avg 6.823 ms)
[0x7fb0b0000b78] main input debug: creating access 'dvd' location='/dev/dvd', path='/dev/dvd'
[0x7fb09c001638] main access debug: looking for access module: 0 candidates
[0x7fb09c001638] main access debug: no access module matched "dvd"
[0x7fb09c001638] main access debug: TIMER module_need() : 0.086 ms - Total 0.086 ms / 1 intvls (Avg 0.086 ms)
[0x7fb0b0000b78] main input error: open of `dvd:///dev/dvd' failed
[0xdb91b8] main playlist debug: finished input
[0xdb91b8] main playlist debug: dead input
[0xdb91b8] main playlist debug: changing item without a request (current 0/1)
[0xdb91b8] main playlist debug: nothing to play
[0xe70f78] qt4 interface debug: IM: Deleting the input
[0xda5998] main libvlc debug: exiting
[0xda5998] main libvlc debug: deactivating the playlist
[0xdb91b8] main playlist debug: deactivating the playlist
[0xda5858] main playlist export debug: saving Media Library to file /home/lebec/.local/share/vlc/ml.xspf
[0xda5858] main playlist export debug: looking for playlist export module: 1 candidate
[0xda5858] main playlist export debug: using playlist export module "export"
[0xda5858] main playlist export debug: TIMER module_need() : 14.765 ms - Total 14.765 ms / 1 intvls (Avg 14.765 ms)
[0xda5858] main playlist export debug: removing module "export"
[0xdb91b8] main playlist debug: playlist correctly deactivated
[0xda5998] main libvlc debug: removing all services discovery tasks
[0xda5998] main libvlc debug: removing all interfaces
[0xe70f78] main interface debug: removing module "qt4"
[0xe70f78] qt4 interface debug: requesting exit...
[0xe70f78] qt4 interface debug: waiting for UI thread...
[0xe70f78] qt4 interface debug: QApp exec() finished
[0xe70f78] qt4 interface debug: Video is not needed anymore
[0xe70f78] qt4 interface debug: Killing extension dialog provider
[0xe70f78] qt4 interface debug: ExtensionsDialogProvider is quitting...
[0x7fb0a80ec248] main generic debug: removing module "lua"
[0x7fb0a80ec248] lua generic debug: Deactivating all loaded extensions
[0x7fb0a80ec248] lua generic debug: All extensions are now deactivated
[0xe6fbd8] main interface debug: removing module "globalhotkeys"
[0xe7c5d8] main interface debug: removing module "inhibit"
[0x7fb0b0000b78] main input debug: TIMER input launching for 'dvd' : 14575.604 ms - Total 14575.604 ms / 1 intvls (Avg 14575.604 ms)
[0xe72568] main interface debug: removing module "hotkeys"
[0xdb91b8] main playlist debug: destroying
[0xda5998] main libvlc debug: TIMER ML Load : Total 156.341 ms / 1 intvls (Avg 156.341 ms)
[0xda5998] main libvlc debug: TIMER Items array build : Total 0.065 ms / 2 intvls (Avg 0.032 ms)
[0xda5998] main libvlc debug: TIMER Preparse run : Total 0.112 ms / 1 intvls (Avg 0.112 ms)
[0xda5998] main libvlc debug: TIMER ML Dump : Total 14.960 ms / 1 intvls (Avg 14.960 ms)
[0xda5998] main libvlc debug: removing stats
[0xda5998] main libvlc debug: removing module "memcpymmxext"
[0xda5998] main libvlc debug: opening config file (/home/lebec/.config/vlc/vlcrc)
lebec@MudPark:~$

2. Then the player opens, at which point I try to open a disc, and get this error message:
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 for details.

3. Between running state and breakage, I dloaded & installed via sbopkg the following:
  1. - gst-plugins-ugly-0.10.19-x86_64-1_SBo
  2. - another gstreamer package or two, which I subsequently uninstalled using sbopkg
  3. - gvolwheel-1.0-x86_64-1_SBo
  4. - parole-0.3.0.3-x86_64-1_SBo
  5. - rodent-icon-theme-5.0-narch-1_SBo
  6. - tubo-5.0.6-x86_64-1_SBo
  7. - Xfce-Theme-Manager-1.18 (failed to install; subsequently wrote to Keith about defunct package, edited slackbuild, dloaded 1.20 and successfully installed

Note: the gst packages were a blind-and-drunk-monkey-in-the-dark attempt to fix flashplayer and/or VLC

Thanks again for all your fine work, without which, I would be reading trashy novels all day, probably drunk too.

best,

textillis 07-21-2013 01:08 AM

More packages downloaded, only some installed, from sbo-git:

┌──────────────────────────Viewing Queue─────────────────────────────┐
│ The following packages are currently in the queue. Please note │
│ that when the queue is processed, the packages selected below will │
│ be processed in the order listed from top to bottom. │
│ │
│ Please select or unselect those packages you wish to keep in the │
│ queue and then press <OK> to continue or press <Back> to go back. │
│ ┌────────────────────────────────────────────────────────────────┐ │
│ │[*] pulseaudio New │ │
│ │[*] volti New │ │
│ │[*] AlsaMixer.app New │ │
│ │[*] cairo-dock New │ │
│ │[*] cairo-dock-plugins New │ │
│ │[*] dmenu New │ │
│ │[*] faenza-xfce New │ │
│ │[*] murrine New │ │
│ │[*] quadkonsole4 New │ │
│ │[*] xpenguins New │ │
│ │[*] xplanet New │ │
│ └────────────────────────────────────────────────────────100%────┘ │
├────────────────────────────────────────────────────────────────────┤
│ < OK > <View READMEs> < Back > <Clear inst'd> │
└────────────────────────────────────────────────────────────────────┘
Failed to install:
- quadkonsole4 (md5sum error)
- cairo-dock and c-d plugins (dependency error)
- alsa-app (message suggesting changes to sbo configuration file)

Alien Bob 07-21-2013 05:17 AM

I see you installed pulseaudio. That could lead to audio playback issues in Flashplayer (you never mentioned what issues you are having with the flashplayer).

About VLC, judging from the log files and the error message you saw, I would conclude that your account is not able to access the DVD device (either through /dev/dvd or /dev/sr0). An issue with permissions is usually associated with not being in the proper groups (the 'cdrom' group to be exact):
Code:

$ ll /dev/dvd
lrwxrwxrwx 1 root root 3 Jul 21 11:28 /dev/dvd -> sr0
$ ll /dev/sr0
brw-rw---- 1 root cdrom 11, 0 Jul 21 11:28 /dev/sr0
$

If you feel certain that you used to be in the 'cdrom group' but not anymore, this can be caused when you have been logging in at Runlevel 3 (console login) in the past, but recently switched to Runlevel 4 (graphical login). The console login has a side effect: your account will be automatically added to several local-hardware related groups for the duration of your login: floppy audio cdrom video lp and scanner. This does not happen when you login in Runlevel 4, in that case you have to make sure your account is added to these groups in advance and permanently - using the "gpasswd" command for instance.

Eric

textillis 07-21-2013 05:34 AM

Thanks! that's pretty cool diagnostics
 
Quote:

Originally Posted by Alien Bob (Post 4994080)
I see you installed pulseaudio. That could lead to audio playback issues in Flashplayer (you never mentioned what issues you are having with the flashplayer).

Edit: sound fixed; problem was not Flashplayer: it was the groups/memberships issue again!

Okay, so I remove pulse.
What about alsa? is that part of slackware -current?


Quote:

If you feel certain that you used to be in the 'cdrom group' but not anymore, this can be caused when you have been logging in at Runlevel 3 (console login) in the past, but recently switched to Runlevel 4 (graphical login).
Eric
Not only feel it: am morally, empirically certain of it!
That is exactly what happened: with this fresh install, after about a week of VLC running beautifully, I switched to console login, and this switch co-incides with VLC ceasing to function.

So, thank you Eric: I can only repeat how much I appreciate your patient, unflagging guidance, advice and willingness to share your experience: without it, and without the help from Ponce, Allend, Didier, Tobi, Chris from Brisbane and others, I don't think I would have hung in with SW.

Best,

Alien Bob 07-21-2013 06:23 AM

Quote:

Originally Posted by textillis (Post 4994085)
Okay, so I remove pulse.
What about alsa? is that part of slackware -current?

ALSA is the sound architecture used by Slackware. It should be possible to integrate PulseAudio if you really need it, but you will have to do a lot of reading and possibly some recompiling too. Slackware will not likely adopt PulseAudio.

Glad I was able to help you find the root cause of your issue.

Cheers, Eric


All times are GMT -5. The time now is 07:19 PM.