LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-28-2017, 04:54 PM   #1
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
MPlayer suddenly broken in -current


Is it just me, or is the latest MPlayer broken? It will no longer play any videos. When it opens, the video window flashes briefly and immediately goes away. The audio still plays fine. I first suspected ffmpeg, but Xine plays everything just fine. I even erased my ~/.mplayer folder to try to start fresh, but to no avail.

I even retrieved and built today's (20170828) svn version (using Pat's SB script to retrieve it), but the same result. Any ideas?

UPDATE: I get the video if I run 'mplayer <video name>' in a Konsole shell, but 'gmplayer' is the one that is broken.

Last edited by Lenard Spencer; 08-28-2017 at 05:13 PM.
 
Old 08-28-2017, 05:12 PM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Do you get any useful messages on the terminal you start it from? Mine seems to be working fine.
 
Old 08-28-2017, 05:48 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you tried running gmplayer from the terminal to see what the error is? My first guess is it is using a video out mode that either isn't supported or was recently broken.

Have you considered not using gmplayer? AFAIK, it is relatively unmaintained and extremely limited in features and options. I stopped using gmplayer almost a decade ago. Now I use smplayer, which is an excellent front-end for mplayer. It is relatively simple to use, but if you dive into the options, it really makes a lot of the fancy features of mplayer available.
 
Old 08-28-2017, 06:20 PM   #4
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
Complains about a missing libvdpau_nvidia.so shared library trying to open the video_out device, and this is with a VIRGIN 64-current installation.
 
Old 08-28-2017, 07:25 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
libvdpau_nvidia.so is not a file included with a stock Slackware installation. Do you have the nvidia proprietary driver installed or did you at some point? It looks like your environment variables may be trying to use Nvidia's vdpau implementation, but it's missing the required files.

Can you do something like the following and see if that works? It is temporarily changing the video out driver from vdpau (using your video card to help decode video) to software decoding. It uses more CPU power, but it shouldn't be affected by issues with vdpau.

Code:
gmplayer -vo xv /location/to/video-file.mp4
Can you also try installing vdpauinfo and post the output of vdpauinfo?
 
Old 08-28-2017, 09:12 PM   #6
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
gmplayer works with -vo x11 and sdl, but that's about it. As I said before, this is a fresh VIRGIN install of 64-current. Running vdpauinfo returns the same error:
Code:
root@amd_fx8350:~# vdpauinfo
display: :0   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
BTW, gmplayer on my fully-loaded 64-current installs on both 8-core boxes decided to start working again for some reason.

I guess I'll have to stick with Xine for now...
 
Old 08-28-2017, 09:22 PM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
That is not a fresh virgin install... I suspect you had the proprietary nvidia drivers and uninstalled them unfortunately leaving remnants behind. You should reinstall both xorg-server and mesa. If that does not solve it try running this script, it should find w/e nvidia left behind.

https://notabug.org/orbea/SlackBuild...ipts/brokenpkg

It may take a little bit to complete. You can grep /var/log/packages and search http://packages.slackware.com/ to make sense of the output.
 
Old 08-29-2017, 08:46 AM   #8
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by orbea View Post
That is not a fresh virgin install... I suspect you had the proprietary nvidia drivers and uninstalled them unfortunately leaving remnants behind. You should reinstall both xorg-server and mesa. If that does not solve it try running this script, it should find w/e nvidia left behind.

https://notabug.org/orbea/SlackBuild...ipts/brokenpkg

It may take a little bit to complete. You can grep /var/log/packages and search http://packages.slackware.com/ to make sense of the output.
Yes, it WAS a FRESH VIRGIN INSTALL. NOTHING ADDED! What part of that don't you understand? The only thing your script complains about is wrong NSS versions in the Mozilla packages and missing QTCore4.so in Perl.
 
Old 08-29-2017, 09:33 AM   #9
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Please don't lie to us... Your error message is clear as day, its looking for nvidia libraries which slackware does not ship. The only way that could happen is if nvidia is or was installed at some point.
 
1 members found this post helpful.
Old 08-29-2017, 10:04 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
which is the content of your /etc/profile.d/vdpau.sh file?
 
Old 08-29-2017, 10:33 AM   #11
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Might be the VDPAU_DRIVER environment variable is set to nvidia.

--
SeB

Last edited by phenixia2003; 08-29-2017 at 11:03 AM.
 
Old 08-29-2017, 10:39 AM   #12
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
To all who are following this thread: THIS IS A 'WIPE THE PARTITION AND START FROM SCRATCH' INSTALL! NOTHING ADDED! ZIP! NADA! ZILCH! EXPLAIN THAT!
 
Old 08-29-2017, 10:43 AM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by Lenard Spencer View Post
To all who are following this thread: THIS IS A 'WIPE THE PARTITION AND START FROM SCRATCH' INSTALL! NOTHING ADDED! ZIP! NADA! ZILCH! EXPLAIN THAT!
not to polemize, but are you sure about that? for example, vdpauinfo is *not* in Slackware.
what have you used to install slackware64-current?

also, like SeB suggested, can you please check the status of the VDPAU_DRIVER variable with the command
Code:
set | grep VDPAU_DRIVER
?

Last edited by ponce; 08-29-2017 at 10:58 AM. Reason: specify the no polemic intent of the post
 
Old 08-29-2017, 11:10 AM   #14
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by Lenard Spencer View Post
gmplayer works with -vo x11 and sdl, but that's about it.
[...]
BTW, gmplayer on my fully-loaded 64-current installs on both 8-core boxes decided to start working again for some reason.
That's because you started it with -vo x11/sdl. Now it uses the latest driver you passed in arguments to -vo.

--
SeB
 
Old 08-29-2017, 11:18 AM   #15
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
Ponce, the set command shows nothing. I even did a fresh re-reinstall and got the same result. Something tells me that an X library (maybe xorg itself?) may have gotten accidentally built with a Nvidia driver installed. I had installed vdpauinfo after the last rebuild just to see if anything showed up. and in /etc/profile.d/vdpau.sh, EVERYTHING is commented out except VDPAU_LOG=0.
 
  


Reply



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
[SOLVED] slackpkg suddenly broken lpallard Slackware 11 01-11-2012 10:27 AM
Connection is broken suddenly lucmove Ubuntu 1 04-20-2009 08:26 PM
Mplayer Crashes on Current Video Suddenly on Data DVD Playback mrmike503 Linux - Software 1 11-15-2008 12:22 PM
GCC suddenly broken? UnknownFear Linux - Software 3 09-12-2007 01:44 PM
Harddrake and RPMdrake suddenly broken rpigna Mandriva 13 01-03-2006 10:26 PM

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

All times are GMT -5. The time now is 02:41 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
Open Source Consulting | Domain Registration