| View previous topic :: View next topic |
| Author |
Message |
Arctic Apprentice


Joined: 04 Jul 2011 Posts: 168
|
Posted: Fri Jun 29, 2012 11:43 am Post subject: |
|
|
| Gusar wrote: | Note that you don't actually get hardware decoding with that. Gallium3D VDPAU supports only mpeg2 decoding. And if you want that (you have a mpeg2 video), you need to explicitly specify it: | Code: | | mplayer -vo vdpau -vc ffmpeg12vdpau |
Without specifying the codec, you only get presentation (the "p" of vdpau), which in open source drivers I don't think is any better than using the default -vo xv |
We hope it works with mpeg4 this year but radeon feature page shows WIP status :
| Quote: | | WIP" means that someone has started on the initial implementation. |
otherwise using (Vaapi - Hardware acelerate) or (XV or VDPAU) uses the same CPU in my computer which is the same % that UVD2 in windows , not there are a diference with opensource driver i hanvent tearing with vaapi i need to switch on vsync and the CPU use increase . _________________ ln -s /user/artic /user/arctic |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Fri Jun 29, 2012 12:09 pm Post subject: |
|
|
| Work on supporting other codecs with shaders has halted actually. Christian König is now working on UVD support (proper hardware decoding using the dedicated ASIC instead of shaders), but it's unknown whether that stuff will actually be released, it might not pass legal review. |
|
| Back to top |
|
 |
Arctic Apprentice


Joined: 04 Jul 2011 Posts: 168
|
Posted: Fri Jun 29, 2012 2:37 pm Post subject: |
|
|
| Gusar wrote: | | Work on supporting other codecs with shaders has halted actually. Christian König is now working on UVD support (proper hardware decoding using the dedicated ASIC instead of shaders), but it's unknown whether that stuff will actually be released, it might not pass legal review. |
UDV ???? In developer page is masrked as "TODO" what means nobody is woking on ............ where do you read it???? _________________ ln -s /user/artic /user/arctic |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Fri Jun 29, 2012 6:34 pm Post subject: |
|
|
| At the Phoronix forums. I'm too lazy right now to give you a direct link, but search for posts by bridgman, |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 292
|
Posted: Thu Aug 02, 2012 5:40 pm Post subject: |
|
|
Does anyone know what changed in xorg/liva/intel/??? recently as I can't use vaapi anymore in a non root account ?
| Code: |
vainfo
libva: VA-API version 0.33.0
vainfo: dri2_util.c:176: isDRI2Connected: Assertion `dri_state->fd >= 0' failed.
Aborted
|
But
| Code: |
sudo vainfo
libva: VA-API version 0.33.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva: Found init function __vaDriverInit_0_33
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.0)
vainfo: Driver version: Intel i965 driver - 1.0.18
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
|
|
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 292
|
Posted: Sun Aug 05, 2012 8:37 am Post subject: |
|
|
All works again as non root today  |
|
| Back to top |
|
 |
Xywa l33t


Joined: 23 Jul 2005 Posts: 734 Location: /mnt/Gentoo/
|
Posted: Wed Sep 05, 2012 8:37 pm Post subject: |
|
|
Could any one step by step explain how to install mplayer VAAPI on Gentoo?
I have problem during ./configure as it says it could not find ffmpeg, and then is problem with git:
| Quote: | # ./configure
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort
./configure: line 53: git: command not found
Failed to get a FFmpeg checkout
|
Do I need this git?
| Quote: | dev-vcs/git
Latest version available: 1.7.12-r2
Latest version installed: [ Not Installed ]
Size of files: 4,501 kB
Homepage: http://www.git-scm.com/
Description: GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team
License: GPL-2
|
|
|
| Back to top |
|
 |
LiquidAcid Apprentice

Joined: 11 Sep 2006 Posts: 169
|
Posted: Wed Sep 19, 2012 7:09 pm Post subject: |
|
|
| Xywa wrote: | | Do I need this git? |
Yes, and make sure that libva is also installed. Otherwise configure won't enable vaapi support. |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Thu Oct 18, 2012 8:19 pm Post subject: |
|
|
1. Is it necessary to unmerge mplayer2 if one wants to merge mplayer-vaapi? Will there be any conflicts?
2. Same as Xywa, instructions please...
3. Is it possible to make an ebuild for this? Merging to the portage tree (and keywording or masking it, of course) would be great but the ebuild would be useful for private overlays.
Thanks |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Fri Oct 19, 2012 9:55 am Post subject: |
|
|
I mean, will the following code be enough to install mplayer-vaapi without breaking the existing mplayer2 installation and/or harming the whole system?
| Code: | git clone git://gitorious.org/vaapi/mplayer.git mplayer
cd mplayer
git pull origin hwaccel-vaapi
cd ..
./configure --prefix=/usr/local
make
make install |
Thanks. |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Sun Oct 21, 2012 1:53 pm Post subject: |
|
|
I installed mplayer-vaapi sources pulled in by git in a separate directory in /usr/local then i created a symlink to the mplayer-vaapi executable in /usr/bin .
I followed the following instructions:
| Code: | git clone git://gitorious.org/vaapi/mplayer.git mplayer-vaapi
cd mplayer-vaapi
git pull origin hwaccel-vaapi
./configure --prefix=/usr/local
make |
I had to compile ffmpeg too, i was asked to do so. All the executables went in that directory, /usr/local remained empty.
No make install and also this is false in my experience | Quote: | | You must run autoconf after the git branch is pulled or the vaapi codecs won't get built at all |
All seems to work fine, i'm getting hw video acceleration! I've also run emerge --sync and emerge -avDu world to see if something was messed up but it wasn't.
I run it with | Code: | | mplayer-vaapi -vo vaapi -va vaapi | but what does the -va option do? I can't find it in the manual while instead mplayer-vaapi -vo help shows all the available video output options.
The vaapi implementation is not meged in the mplayer2 project because "the vaapi implementation code sucks" and i guess the mplayer2 aims at good quality of code. The original mplayer project is not that active and vlc implementations is ridicolous, look at the cpu usage in mplayer-vaapi compared to that of vlc with vaapi support.
That said: can we write an ebuild for mplayer-vaapi that pulls the sources from that gitorius site. Anyone willing to do that? I could help but i'm not an expert at all. |
|
| Back to top |
|
 |
LiquidAcid Apprentice

Joined: 11 Sep 2006 Posts: 169
|
Posted: Sat Dec 29, 2012 10:57 pm Post subject: |
|
|
| VAAPI can be used for both presentation and decoding purpose. The VO setting just deals with presentation (how is the picture rendered to the screen). The more interesting part however is to actually use the decoding functionality, and that's what the VA setting deals with. |
|
| Back to top |
|
 |
|