LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2016, 11:18 AM   #1
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Rep: Reputation: Disabled
Media playback issues with Willys Cinnamon SlackBuild


This is all being done on a separate identical to my daily driver test rig.

So, first things first. This was my (un)install order;

1. Fresh clean install of Slackware-current, full install nothing left out.
2. Set it up, logged into KDE and set up wicd and slackpkg, extract csb-development.zip in home directory.
(I only use wicd temporarily and uninstall it after Cinnamon is up and running.)
3. Dropped to runlevel 3
4. # slackpkg remove kde
5. cd to csb directory, run build-cinnamon.sh

Cinnamon builds and installs fine, and I login and start the Cinnamon desktop from the shell.

I remove a few more things like Firefox & Thunderbird, nothing media related.

Now when I try to play any type of video file, none of the media players will play them. The media player will open but no video and no audio, then the media player will not close.

I installed Alien BOBs VLC package (that I prefer) and it will play it, but once it gets to the end of the file or I try to close VLC the entire system hangs and I have to do a hard reset.

I have not tried it yet while leaving KDE installed, I don't really want KDE, but that is the only thing that I could think that is creating this issue, is that something from KDE is needed.


Any ideas are very appreciated.......

I don't really want to go through another fresh install, but I guess that if I have to just to see if it is something from KDE I suppose that I'll have to.
 
Old 01-23-2016, 08:54 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,848

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
i haven't tried the latest build since PulseAudio got included in -current, but i don't think it requires KDE libraries
just wondering, did you download the latest development branch?
 
Old 01-23-2016, 09:03 PM   #3
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
I downloaded csb-development on 01-21-2016. I think that I had this issue before PA. I have just gotten back around to trying to build it.

I just tried to install it on a fresh Slackware install with KDE still in, but I used the packages that I built from when I removed KDE. So I am close to finished rebuilding it from a clean Slackware-current install, and I'm building inside KDE to see if that makes any difference.

I would grab an error log if I knew which one and where to grab it from.

Last edited by Skaendo; 01-23-2016 at 09:30 PM.
 
Old 01-23-2016, 09:24 PM   #4
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
Still no difference. I did a fresh full -current (update 01-17-2016) install, built csb-development (01-21-2016) inside KDE and installed VLC.

Once I get to the end of the file or I try to close VLC, VLC almost closes but hangs the system with a faint image on the desktop and I have to do a hard reboot.

*If I log into a KDE 4 session VLC works normal.

Last edited by Skaendo; 01-23-2016 at 09:50 PM.
 
Old 01-24-2016, 12:14 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,848

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
is it the same as this bug? https://github.com/linuxmint/Cinnamon/issues/719
 
Old 01-24-2016, 12:25 AM   #6
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
No, the video plays fine. Only when I try to close the media player or when it comes to the end of the file does it hang.

I also have a pc that is running Linux Mint 17.3, Cinnamon 2.8.6, kernel 4.4 and VLC 2.1.6 video playback is normal.

*Edit
Video & audio will play through VLC (still hangs at the end or upon close), nothing plays through the other media players. So it could be similar to the bug you linked to.

Last edited by Skaendo; 01-24-2016 at 04:08 AM.
 
Old 01-24-2016, 10:50 PM   #7
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
I hope that this can help....

Code:
(polkit-gnome-authentication-agent-1:1351): polkit-gnome-1-WARNING **: Unable to get a pixbuf for GTK_STOCK_DIALOG_AUTHENTICATION (gtk-dialog-authentication) at size 48
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1800003 (Authentica)
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1800003 (Authentica)

(nemo:1455): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManagerwas not provided by any .service files

** (nemo:1455): WARNING **: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist

** (nemo:1455): WARNING **: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist

** (nemo:1455): WARNING **: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist

** (nemo:1455): WARNING **: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist

VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000000dc89a8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2e00003 specified for 0x2e0000e (Privacy an).
Window manager warning: Log level 16: STACK_OP_ADD: window 0x2e0001e already in stack
Window manager warning: Log level 16: STACK_OP_ADD: window 0x2e0001e already in stack
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
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
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory

** (cinnamon-settings-daemon:1182): WARNING **: Name taken or bus went away - shutting down

** (cinnamon-settings-daemon:1182): WARNING **: Name taken or bus went away - shutting down
ICE default IO error handler doing an exit(), pid = 1364, errno = 11
xinit: connection to X server lost

waiting for X server to shut down .(II) Server terminated successfully (0). Closing log file.
 
Old 01-30-2016, 11:19 AM   #8
saxa
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 441

Rep: Reputation: 45
As you see you removed something:

Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory

Rgds
Sasa
 
Old 01-30-2016, 11:23 AM   #9
saxa
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 441

Rep: Reputation: 45
http://davidrosca.blogspot.com.br/20...for-vdpau.html <- this will probably help you.
 
Old 01-30-2016, 11:30 AM   #10
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by saxa View Post
As you see you removed something:

Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory

Rgds
Sasa
I installed Willys csb on a fresh full install of -current (01-17-2016) as I mentioned in post #4 and didn't remove anything, still the issue persists.

I will read the article you linked to, hopefully I can figure something out from it. Thanks.

Some more info:

Code:
$ vainfo
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva error: /usr/lib64/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Code:
$ grep -i vdpau /var/log/Xorg.0.log
[    30.923] (II) intel(0): [DRI2]  VDPAU driver: va_gl
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
Update:

I have upgraded libva to 1.6.2 (SBo) and installed libvdpau-va-gl 0.3.4 (SBo), now I am getting:

Code:
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000001fc59a8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Window manager warning: Log level 16: STACK_OP_ADD: window 0x2e00003 already in stack
Window manager warning: Log level 16: STACK_OP_ADD: window 0x2e00003 already in stack
libva info: VA_API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007fc93c000998] vaapi_x11 generic error: Failed to initialize the VAAPI device
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva error: /usr/lib64/dri/i965_dri_video.so init failed
libva info: va_openDriver() returns -1
[00007fc934001268] vdpau_display vout display error: video mixer surface width capabilities query failure: VDP_STATUS_NO_IMPLEMENTATION
and the results are the same, when VLC gets to the end of the file or I try to close it, VLC hangs the system and I have to Ctrl+Alt+Backspace and restart X.

Also like I mentioned, I can use the same VLC player in KDE (before updating libva & installing libvdpau-va-gl) and it worked just as it is supposed to.

Last edited by Skaendo; 01-30-2016 at 01:18 PM.
 
Old 01-30-2016, 01:15 PM   #11
saxa
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 441

Rep: Reputation: 45
Something is still missing, there are 2 options IMHO , or you build VLC by yourself so it relinks things on what you have installed or you probably should install KDE.
I think that installing KDE doesn not hurt at all, this will not make you use KDE but it will give you the correct deps to run the VLC you want. It is just a guess, but worth trying it IMHO.
 
Old 01-30-2016, 01:24 PM   #12
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by saxa View Post
Something is still missing, there are 2 options IMHO , or you build VLC by yourself so it relinks things on what you have installed or you probably should install KDE.
I think that installing KDE doesn not hurt at all, this will not make you use KDE but it will give you the correct deps to run the VLC you want. It is just a guess, but worth trying it IMHO.
Sorry, I updated my last post before I seen your reply.

I did a complete full reinstall, and KDE is installed. I removed nothing and built CSB inside KDE and installed VLC. I can use VLC in KDE and it works normally, only when I switch to Cinnamon does it hang the system.

I will do a complete fresh install, build CSB, and then build VLC from source. It's worth a shot I guess.

* Come to think about it, it might not help that much since I am having issues with all the media players, not just VLC. But I am going to try just the same.

Last edited by Skaendo; 01-30-2016 at 01:31 PM.
 
Old 01-31-2016, 09:47 AM   #13
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
Well, since Willy has upgraded libgusb (0.2.8) and downgraded colord (1.2.12), Xine and KPlayer are working normal. Which is funny because Mplayer is not and neither is AlienBobs VLC. But, a step in the right direction.

The two common reoccurring errors that I can see are:
Code:
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2e00003 specified for 0x2e0000e (Privacy an).
Window manager warning: Log level 16: STACK_OP_ADD: window 0x2e0001e already in stack
 
Old 01-31-2016, 10:18 AM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,848

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
i never thought it would solve your problem, but hey, that's good news :-)
 
Old 01-31-2016, 11:05 AM   #15
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 773

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
i never thought it would solve your problem, but hey, that's good news :-)
It surprised me as well.

I also tried it on another laptop and getting the same results.

1. Dell Inspiron 1520 (My primary test rig)
2. ASUS K54C (Spare that I have laying around)
 
  


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
OpenSuse media playback problem joboy SUSE / openSUSE 5 06-16-2014 06:30 AM
xine playback issues, google earth issues AdamBath Slackware 8 08-22-2008 10:28 AM
No media playback after codec-fix! mtravis SUSE / openSUSE 1 02-03-2008 11:00 AM
Controlling playback speed of media files mikemrh9 Linux - Desktop 1 12-21-2007 02:29 PM
Slack 10 and media playback hydroxy Slackware 3 07-15-2004 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 AM.

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