![]() |
|
|||||||
| AMD/ATI Linux Technical support and discussion of the ATI/AMD proprietary Linux driver. |
![]() |
|
|
Thread Tools | Display Modes |
|
#191
|
|||
|
|||
|
Also even if you don't use the vaapi feature, my script gives you a current svn mplayer (with some extra m2ts soundfix). There is a version with extra patches, thats with 2 instead of 1 and includes mplayer vaapi hotfixes. Of course if you run the script on nvidia hardware you get vdpau AND vaapi support to compare.
|
|
#192
|
|||
|
|||
|
Quote:
Quote:
![]() @Kano If you could alter the mplayer script to: 1) only ask/demand for root *after* commandline options are parsed 2) have an option to build all the software but to put the created packages into a dir of the users choosing (or ./ as default) 3) have an option to dump the created mplayer into a dir (like --prefix would do I think) then I would be happy to use the script. It would mean root wouldn't be required to build it. Compiling as a normal user is just a lot safer ![]() It would totally rock if you could show a "I'm going to do *this*" screen before actually doing it, with a continue prompt. Like apt-get normally does, so you can double check you gave the right options. To put it simple, I'm most interested in 3 while building it as a normal user. If it's too much trouble, forget about it. It's not like vainfo even works for me at the moment. |
|
#193
|
|||
|
|||
|
Maybe you did not fully understand the scripts, all scripts create Debian packages and install em. The mplayer script does not delete the debs, you can fetch em from the /tmp dir. It is impossible to install the apps in a better way on Debian/Ubuntu. You can remove em easyly too with your favorite package manager. It does not use /usr/local or so just when a noob would use checkinstall or so. As the packages depend on each other you could of course use sudo for each dpkg -i command (and the apt-get) and run the rest as user. Feel free to do that mod, i won't do this as the target distro (Kanotix) does not use sudo.
Last edited by Kano; 11-06-2009 at 02:15 PM. |
|
#194
|
|||
|
|||
|
I have the very same issue RemcoL is having. I'm running Fedora 11. Here's the lazy way to get your mplayer with vaapi support and libva:
- Install them from http://www.happyassassin.net/video-e...tal/11/x86_64/ mplayer-vaapi is named mplayer-accelerated there. - Then unpack the xvba-video package to /usr/lib64/ The video card is HD3450 with Catalyst 9.10. Here's what vainfo gives with latest xvba-video: Code:
$ vainfo libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib64/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.5.1 vainfo: Supported profile and entrypoints xvba_video: XVBA_CreateContext(): status 11 X Error of failed request: BadIDChoice (invalid resource ID chosen for this connection) Major opcode of failed request: 1 (X_CreateWindow) Resource id in failed request: 0x0 Serial number of failed request: 14 Current serial number in output stream: 14 Code:
$ vainfo
libva: libva version 0.31.0-sds3
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.4.3
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointIDCT
VAProfileMPEG2Main : VAEntrypointIDCT
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
|
|
#195
|
|||
|
|||
|
Why don't you use 0.5.1? In order to use 0.4.x you would need older mplayer snapshots.
|
|
#196
|
|||
|
|||
|
@Kano
I'll spell it out for you: IT DOES NOT WORK WITH 0.5.1! Check the quoted output. Yes, really, just read it and it will all be clear. That we might need older mplayer snapshots is constructive. What's missing there is which ones would work in combination with it. The last versions are alpha at best I'd say, so the previous ones are probably worse. For all I know we'd need an older version of libva too. Three packages, all with several different versions. That's a lot of combinations to try out... |
|
#197
|
|||
|
|||
|
Basically it is useless to try all those things. If you want something working now you just buy something from another vendor
|
|
#198
|
|||
|
|||
|
I have HD4850 card here
Code:
non7top@m ~/soft/vaapi/hwdecode-demos-0.7.5/src $ ./vaapi_h264 Display type 'x11' Hardware accelerator 'vaapi' [hwdecode_demos] VA display 0x80644b0 libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 [hwdecode_demos] VA API version 0.31 [hwdecode_demos] 1 display attributes available [hwdecode_demos] VADisplayAttribDirectSurface (get/---) min 0 max 0 value 0x0 [hwdecode_demos] 4 profiles available [hwdecode_demos] VAProfileMPEG2Simple [hwdecode_demos] VAProfileMPEG2Main [hwdecode_demos] VAProfileH264High [hwdecode_demos] VAProfileVC1Advanced [hwdecode_demos] 1 entrypoints available for VAProfileH264High [hwdecode_demos] VAEntrypointVLD [hwdecode_demos] vaPutSurface(): the requested function is not implemented ERROR: display failed non7top@m ~/soft/vaapi/hwdecode-demos-0.7.5/src $ ./vaapi_mpeg2 Display type 'x11' Hardware accelerator 'vaapi' [hwdecode_demos] VA display 0x80664b0 libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 [hwdecode_demos] VA API version 0.31 [hwdecode_demos] 1 display attributes available [hwdecode_demos] VADisplayAttribDirectSurface (get/---) min 0 max 0 value 0x0 [hwdecode_demos] 4 profiles available [hwdecode_demos] VAProfileMPEG2Simple [hwdecode_demos] VAProfileMPEG2Main [hwdecode_demos] VAProfileH264High [hwdecode_demos] VAProfileVC1Advanced [hwdecode_demos] 1 entrypoints available for VAProfileMPEG2Main [hwdecode_demos] VAEntrypointIDCT ERROR: decode failed non7top@m ~/soft/vaapi/hwdecode-demos-0.7.5/src $ ./vaapi_mpeg4 Display type 'x11' Hardware accelerator 'vaapi' [hwdecode_demos] VA display 0x80664b0 libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 [hwdecode_demos] VA API version 0.31 [hwdecode_demos] 1 display attributes available [hwdecode_demos] VADisplayAttribDirectSurface (get/---) min 0 max 0 value 0x0 [hwdecode_demos] 4 profiles available [hwdecode_demos] VAProfileMPEG2Simple [hwdecode_demos] VAProfileMPEG2Main [hwdecode_demos] VAProfileH264High [hwdecode_demos] VAProfileVC1Advanced ERROR: decode failed non7top@m ~/soft/vaapi/hwdecode-demos-0.7.5/src $ ./vaapi_vc1 Display type 'x11' Hardware accelerator 'vaapi' [hwdecode_demos] VA display 0x80664b0 libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 [hwdecode_demos] VA API version 0.31 [hwdecode_demos] 1 display attributes available [hwdecode_demos] VADisplayAttribDirectSurface (get/---) min 0 max 0 value 0x0 [hwdecode_demos] 4 profiles available [hwdecode_demos] VAProfileMPEG2Simple [hwdecode_demos] VAProfileMPEG2Main [hwdecode_demos] VAProfileH264High [hwdecode_demos] VAProfileVC1Advanced [hwdecode_demos] 1 entrypoints available for VAProfileVC1Advanced [hwdecode_demos] VAEntrypointVLD [hwdecode_demos] vaPutSurface(): the requested function is not implemented ERROR: display failed ok, I've fixed the manifests and will probably add hwdecode demos in overlay soon |
|
#199
|
|||
|
|||
|
It would only work with the -glx option.
|
|
#200
|
|||
|
|||
|
2Kano
thanks, with glx vaapi_x264 and vaapi_vc1 do work just fine, but mplayer still crashes with [VD_FFMPEG] Trying pixfmt=0. Unsupported PixelFormat -1 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|