![]() |
|
[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) |
- waver123 - 2011-11-17 21:07 idtjes3, MTori updated his guide yesterday, most likely to switch to 11.11, the driver was released on the 15th, so his original post might have point to 11.10. - MTroi - 2011-11-17 22:27 The original post was written with the 11.10 ATI driver, so everyone who went through this guide before yesterday has this version installed. I'm going to include a driver update tutorial now: ATI Driver Update HowTo 1. Uninstall the old driver Code: sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*2. Get & Install the new driver (for future releases just replace 11.11/11-11 with the current version): Code: cd ~/; mkdir catalyst11.11; cd catalyst11.11/3. Update X11 config (might not be necessary, but I did that): Code: sudo aticonfig --initial -f4. Reboot the system 5. Check your graphics driver Code: fglrxinfo6. Check the vainfo output (My libva was broken after the driver update, so the output said something like 'libva: va_openDriver() returns -1'): Code: vainfoIf your libva is still fine, skip the next steps: 7. Remove the libva (Unfortunately xbmc is also removed, but at least the config is preserved) Code: sudo apt-get remove xvba-va-driver libva-glx1 vainfo8. Reinstall the libva: Code: sudo apt-get install xvba-va-driver libva-glx1 vainfo9. Reinstall xbmc: Code: sudo apt-get install xbmc10. Reboot the system 11. Check vainfo again (some libraries like *h264* should appear now): Code: vainfo12. Start xbmc :-) I've notcied that the tear-free option was eating my CPU for breakfast, so I disabled it under the AMD Control Center ( Code: sudo amdcccleJust to let you know, I still can't test the 24p stuff. - idtjes3 - 2011-11-18 02:16 @ fritsch: Sorry I forgot to run the sudo dpkg -l grep fglrx code before I udated to 11.11 @Waver123: I saw he updated the guide. I remember reading in another thread 11.11 was available, so I thought I remember changing the 11.10 to 11.11 when I followed MTori's guide, must not of. My bad. @MTori: Just did the latest and greatest guide of yours. Everything seems to be back up and ruining under 11.11. I have access to 1080P 2 24hz and 60hz. Over the next couple of days I'm going to run a few tests with different configurations. I will post my results here. For reference, here are a few of my settings: fglrxinfo Code: ms01-john@media-server-01:~$ fglrxinfovainfo Code: ms01-john@media-server-01:~$ vainfoAlso, probably not related to the issue Ive been having but for some reason on the XBMC main page under recently added TV shows, there are no episode thumbs for new shows. The shows play fine, just kind of annoying seeing a blank square. Also every time I launch XBMC I see these lines of code: Code: ms01-john@media-server-01:~$ xbmcNot sure what this all means but never saw it before this weekend. Again I'll post results of my tests. Thanks all. ~ John - fritsch - 2011-11-18 08:54 So, as a first impression, xbmc runs stable with fglrx 11.11? If anybody still has a hang concerning "menu navigation", "press stopped and movie list did not come back", etc. please stand up now as eden is getting final in little more than 5 weeks. In order to get this issue fixed - if fglrx 11.11 did not fix it, i hope it did cause the error was in rather deep in fglrx - we have to get good backtraces and stuff. - waver123 - 2011-11-18 10:07 played around some more with the 11.11 fglrx driver tonight, still has not hung so far, looks pretty solid. - wsnipex - 2011-11-18 11:13 fritsch Wrote:So, as a first impression, xbmc runs stable with fglrx 11.11? I do have those hangs from time to time with catalyst 11.11, but I'm running the XVBA branch. Its quite a lot behind master(and also ahead ), so I dunno if it is representative.
- fritsch - 2011-11-18 12:58 @wsnipex: Fernetmenta and me are very keen to get exactly this issue fixed. We produced a lot of backtraces while searching for the reason of this crash, while running xbmc with xvba on my system. To not mixing up mainline (vaapi and no xvba) it would be good to organize bugs concerning xvba in another thread - you can start one, please. What you can do for us: Start xbmc out of a remote shell within gdb, to do so follow these steps, in order to get them work ssh and gdb must be installed (# are comments): Code: ssh yourXBMCuser@yourHTPChostCode: # make the display acccesibleXBMC should start normal, it could be a bit laggy, but it should work :-). Try to crash it. After this has happened, return to the shell you logged in from remote and do: Code: thread apply all btTo get backtraces from every thread running. You can now quit xbmc by typing: Code: quitNow please pastebin your xbmc.log and the myxvbacrash.txt file into a pastebin near you. Please state the git revision you are using and special settings you did in the playback settings region, about your OS (compiz on, off, tearfree, vsync), everything that could be important and very important what you did leading to this crash - perhaps if you can find a special movie which leads to this, please pastebin mediainfo of this file. Thank you very much. - Robotica - 2011-11-18 14:11 fritsch Wrote:@wsnipex: Hi Fritsch... I know many people are running openelec but some build theirselves using pvr, git, Dharma or your xvba branche. For all branches it is valid to be totally updated but from which builds you can use bugreports? Thnx for your efforts.. - fritsch - 2011-11-18 14:27 As xvba code just lives in FernetMentas and my github for now - we want to get issues with this code fixed separately. If it turns out, that the crashes, hangs we are seeing there is a mainline issue, it will be fixed there as well. I just wanted to make sure, that xvba does not highjack this thread concerning vaapi :-). Cause it already did, i want to make sure that bugs are reported separateley in order to not confuse of "mainline bugs" vs "vaapi" vs "xvba" only. Normal bugs concerning vaapi and mainline xbmc should go into the appropriate bugtracker (trac.xbmc.org). As Eden is going to be stable soon and i think that xvba will defenitely not land in there (feature freeze, etc.) - vaapi bugs are of more priority. As always: Good bug reports, backtraces, how to reproduce are of big value for every developer. And just to be sure: xvba is in very early state, alive since approx 2 weeks and halfway functional for 5 days, far away from any mainline inclusion. - idtjes3 - 2011-11-18 15:21 Ran a few test and things are pretty good so far with desktop resolution set to 1080p@24hz using CCC 11.11. I have XBMC set to auto adjust the display based on video (else 60hz SD stuff goes wonky). So far Ive tested a few SD shows and a few HD shows. SD works fine, however HD I am still not able to fast forward smoothly. Once I stop fast forwarding, the video becomes jerky and I have to stop it. If that's the biggest of my problems I can deal with that for now ( not like there are commercials to fast forward through ). Menu navigation seems pretty solid. I was flying through them pretty rapidly while pressing enter and backspace as well. No crashes so far. I'll keep testing through this weekend.- John |