![]() |
|
[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111) +---- Forum: Linux and Live support (/forumdisplay.php?fid=52) +---- Thread: [LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform (/showthread.php?tid=99154) |
- WytRaven - 2011-06-16 17:04 Hey Robotica I see you updated the first post catalyst install section using the modified instructions I provided. That's great and all except my instructions are for 2.6.39 kernel and I thought your instructions were based on the standard 2.6.38 kernel. That might confuse people as I have no idea if that patch will break the driver if installed on 2.6.38...(you could test I suppose). - Robotica - 2011-06-16 17:10 True, but I also update OP with instructions to upgrade to newer kernel... Also check this out, maybe it is usefull: http://phoronix.com/forums/showthread.php?35840-VAAPI-Segmentation-fault-right-after-va_getDriverName() - Rapoza - 2011-06-16 17:16 Robotica Wrote:Maybe it is easier to build from GIT instead of using 10. 1 since the patch is included. The fact is perhaps that I don't understand well the instructions on the guide. You mean that here you offered two options? I thought the patch was something that wasn't included on CODE @WytRaven: Yes I'm also using that kernel. But I'm really lost on code order execution. I'll post my execution and perhaps we can make some "compositing". I'm more biased to include all orders in the guide, becouse then there's finally the possibility of making a script. My notes, feel free to blame ![]() Code: ##DO A CLEAN INSTALLATION FROM A MINIMAL UBUNTU 11.04- Rapoza - 2011-06-16 17:20 Robotica Wrote:True, but I also update OP with instructions to upgrade to newer kernel... But by now 2.6.39 its the default kernel on natty minimal installations. Thats my objective. Make a minimal running machine with the newer possible os and drivers. Seems that the code post by WytRaven will make my installation finally work. That could be the issue. Now I must see where it goes. I understand that it replaces the entire driver installation section? Tomorrow I'll take the htpc to my desktop and clean-start from what we concret today. If you want me to post the installed kernel, xorg, alsa, mesa, etc versions at some moment, please tell me how to obtain. (Don't make me look at some dist-upgrade text, please) - Robotica - 2011-06-16 17:34 Rapoza Wrote:The fact is perhaps that I don't understand well the instructions on the guide. You mean that here you offered two options? I thought the patch was something that wasn't included on CODE Depends on your source: Not included: 10.0, 10.1 Included: Git Rapoza Wrote:But by now 2.6.39 its the default kernel on natty minimal installations.The source I refer to is based on 2.6.38. Where is your source? - Rapoza - 2011-06-16 17:35 WytRaven Wrote:If you are like me and using the 2.6.39 kernel then the standard method of installation wont work. Here's a revised version based on Robotica's original format which works for us: Quote:Only if you don't have an /etc/X11/xorg.conf already. Well let's just say that I didn't do an aticonfig and already had an /etc/X11/xorg.conf in place and it worked for me. Its needed when you do minimal install. That was the reason of my first insanity, until I realized that doing a complete ubuntu install creates some configuration files that I was missing (prior of installation of xbmc AND live script) I made a maverick complete and all was nice and clean. So I'm now trying the minimal. @Robotica Errr... The minimal downloads all the packages at the moment. I'm getting that kernel from start. I got it before doing any dist-upgrade. In fact, on all of them it said 0 upgrades. YEES! Its GIT! I tought you recommended. Note that ##--adapter=all## is commented. Only required if you have two gfx adapters. I tried becouse I was getting strange resolution issues without using DVI+HDMI. Also look that I took the maximum possible code from before you can do ssh connection, so people can cutri-paste from putty. Also Python could be later. - Rapoza - 2011-06-16 17:50 WytRaven Wrote:But I have not compiled xbmc yet. I'm still playing with mplayer and have no sound and -vo vaapi crashes it every time. I may just go straight for the xbmc build and then start figuring out the issues as I have no idea if the mplayer crash is it's fault or the vaapi libs at this point and I have no intention of using mplayer on this machine beyond this testing I'm doing. Try with XBMC it installs plenty of audio dependencies. I think your scenario would change too much to stay on mplayer first. HAve you already tested disabling composite and unity for the crashes. I saw anything around. - Robotica - 2011-06-16 18:05 WytRaven Wrote:But I have not compiled xbmc yet. I'm still playing with mplayer and have no sound and -vo vaapi crashes it every time. I may just go straight for the xbmc build and then start figuring out the issues as I have no idea if the mplayer crash is it's fault or the vaapi libs at this point and I have no intention of using mplayer on this machine beyond this testing I'm doing. Sound problem in linux: http://forum.xbmc.org/showthread.php?tid=103563 Compilation unnecessary - SDM2011 - 2011-06-16 18:17 I have an Ubuntu minimal install, I have full video acceleration, and I didn't compile a single package. I really don't think it's necessary in fact. I installed two relevant ppas: lars-opdenkamp/xbmc-pvr, and ubuntu-x-swat/x-updates. I have these packages installed:
All the packages should be available from the above ppas and/or the main repos. Note that I did *not* use splitted-desktop's debs, because of a recent conflict with fglrx (IIRC). I did not run aticonfig to generate an xorg, I just let the driver auto-detect the screen's resolution during startup [1]. Be sure to run this command and pick fglrx: Code: sudo update-alternatives --config gl_confBe sure that your user is added to audio, video groups. There may be more groups required depending on your install, ie. whether you use pulseaudio like I do, etc. My vainfo: Code: libva: libva version 0.32.0Others seemed worried that va_openDriver() returning 0 indicated a problem, but that does not seem to be the case for me. I have fully accelerated decoding for 1080p H.264 and VC-1. My installation isn't perfect, but I mainly have to contend with driver bugs, so I imagine the issues are common to every install. [1] The only problem with this is that if the screen is not plugged in or started at boot time, xbmc may start with the wrong resolution. In this case you have to log out and back in. I have the Slim login manager installed, set to auto-login at boot. - Rapoza - 2011-06-16 18:26 In fact "returns 0" means no errors. 1=errors. I tried that way the first time but didn't work on natty. thats the reason of the 2nd option in my notes. Can you please post the commands and more important the execution order? THX. |