LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-02-2013, 09:04 AM   #1
slackd
Member
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Debian, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
MPlayer vaapi on Slackware-current


Hello All,

I have re-compiled the default MPlayer that comes with Slackware. I've added vaapi support for new intel chips. If you want to try it out. Feel free to use the package with the 2 additional dependencies [Required].

The MPlayer package will replace the one that comes by default on a full Slackware install.
It does not have the gui enabled and does not have support for vdpau.

#MPlayer
#libva
#libva-intel-driver


After you are done. Just choose "vaapi" from SMPlayer video driver option.

Just for reference: My laptop Specs:

Quote:
Intel Core i5 3210M (Ivy Bridge)
Intel HD4000 (Inbuilt)
8GB Ram
SNA Accel enabled in /etc/X11/xorg.conf.d/20-intel.conf
Kernel: Linux SamBox 3.10.0 #1 SMP PREEMPT Mon Jul 1 18:06:03 IST 2013 x86_64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz GenuineIntel GNU/Linux

Good Luck~
Do leave your feedback!

Last edited by slackd; 07-02-2013 at 10:23 AM.
 
Old 07-02-2013, 11:48 AM   #2
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 467

Rep: Reputation: 155Reputation: 155
With all due respect good sir, I think most of us would be happier if you provided the Slackbuilds. Downloading binaries from someone you don't know is almost as bad as having sex with someone who's history you also don't know - it just ain't safe !
 
Old 07-02-2013, 12:30 PM   #3
slackd
Member
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Debian, Arch Linux
Posts: 260
Blog Entries: 1

Original Poster
Rep: Reputation: 60
Quote:
Originally Posted by Mark Pettit View Post
With all due respect good sir, I think most of us would be happier if you provided the Slackbuilds. Downloading binaries from someone you don't know is almost as bad as having sex with someone who's history you also don't know - it just ain't safe !
Mark,

I understand. I am uploading the files to my dropbox account. I am including the MPlayer source xz archive, as it's modified. I have a slow connection at home, so it will take a while to upload. Will update the post as soon as it is finished!
 
Old 07-02-2013, 12:45 PM   #4
slackd
Member
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Debian, Arch Linux
Posts: 260
Blog Entries: 1

Original Poster
Rep: Reputation: 60
Here are the slackbuilds with the source files.


libva>
libva-intel-driver>
MPlayer>

Arranged according to the build order.

Make sure you read the slack-required file inside the MPlayer Slackbuild archive.

Good Luck
 
Old 07-02-2013, 01:11 PM   #5
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 467

Rep: Reputation: 155Reputation: 155
Well done. Your reputation rises ... a bit :-)
 
Old Yesterday, 08:39 AM   #6
tano70
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Rep: Reputation: Disabled
news about mplayer-vaapi with slackware64 current? this version not work
 
Old Yesterday, 09:56 AM   #7
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Why not just use mpv?
 
Old Yesterday, 10:37 AM   #8
tano70
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
Why not just use mpv?
what is mpv?? link please
 
Old Yesterday, 10:43 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebJessie, + 50+ other Linux OS, for test only.
Posts: 15,434

Rep: Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959Reputation: 2959
*

'mpv' http://slackbuilds.org/repository/14...pv/?search=mpv
 
Old Yesterday, 11:10 AM   #10
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Quote:
Originally Posted by tano70 View Post
what is mpv?? link please
In more words than knudfl's helpful link it is the continuation of the ideas presented in mplayer and mplayer2. I find it to be a much welcome replacement given its rather active development cycle, the dev's generally good taste and its ability to stream links supported by youtube-dl makes it quite invaluable. The only issue is that its advised to keep up with updating ffmpeg, mpv and youtube-dl where the scripts on SBo tend to lag behind the upstream releases. Though updating them yourself with the provided scripts should be really easy.
 
Old Today, 11:39 AM   #11
bassmadrigal
Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 985

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by tano70 View Post
news about mplayer-vaapi with slackware64 current? this version not work
You really should not reply to 2 year old threads. VAAPI is supported in -current without any additional packages for many configurations. You can use mpv if desired, but the mplayer included with -current should be capable of handling video acceleration since it is compiled with "--enable-vdpau".

You can also install Eric's (Alien Bob) vlc package on non-current machines, since he includes hardware acceleration software with it.
 
Old Today, 12:23 PM   #12
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
You really should not reply to 2 year old threads. VAAPI is supported in -current without any additional packages for many configurations. You can use mpv if desired, but the mplayer included with -current should be capable of handling video acceleration since it is compiled with "--enable-vdpau".

You can also install Eric's (Alien Bob) vlc package on non-current machines, since he includes hardware acceleration software with it.
Video acceleration works with both, mpv auto-detects libva and vdpau when compiled. (I also didn't realize how old this thread is...)
 
Old Today, 12:42 PM   #13
bassmadrigal
Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 985

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by orbea View Post
Video acceleration works with both, mpv auto-detects libva and vdpau when compiled. (I also didn't realize how old this thread is...)
Oh, I agree that mpv is a great video player, however, mplayer comes with Slackware and has video acceleration included on -current. tano70, who necro'd this thread asked about mplayer in -current, which now no additional packages should be needed (except for possibly nvidia cards, since I can't remember if the open source driver support video acceleration).
 
Old Today, 06:03 PM   #14
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
I'm not sure about other free drivers, but the nouveau drivers do not work with video acceleration out of the box. You need the firmware provided by the nvidia installer, some distros package the firmware with the nouveau drivers or its pretty easy to install the firmware manually.

Code:
$ mkdir /tmp/nouveau
$ cd /tmp/nouveau
$ wget https://raw.github.com/imirkin/re-vp2/master/extract_firmware.py
$ wget http://us.download.nvidia.com/XFree86/Linux-x86/325.15/NVIDIA-Linux-x86-325.15.run
$ sh NVIDIA-Linux-x86-325.15.run --extract-only
$ python2 extract_firmware.py  # this script is for python 2 only
# mkdir /lib/firmware/nouveau
# cp -d nv* vuc-* /lib/firmware/nouveau/
https://wiki.freedesktop.org/nouveau/VideoAcceleration/

However even then video acceleration with nouveau doesn't yet work on all models of nvidia cards, the G92 cards are not supported for instance.
 
  


Reply

Tags
intel, libva, mplayer, mpv, slackware, vaapi


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
Play Video using mplayer-vaapi with out X VerrNum Linux - Newbie 2 09-13-2012 03:42 PM
How to enable libvdpau, libva (vaapi) and MPlayer with Nvidia driver? linuxs64 Slackware 3 01-11-2011 11:47 AM
LXer: XBMC with VAAPI on Poulsbo (Intel GMA500) or other VAAPI Systems LXer Syndicated Linux News 0 01-01-2011 09:42 PM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
mplayer your system is too slow after updating slackware current matters Slackware 10 07-15-2009 02:04 PM


All times are GMT -5. The time now is 07:42 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