![]() |
|
[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) |
- dermute - 2011-11-08 11:22 @wsnipex Oh thanks... I searched for that problem you discribed and it seems to be serious and I am not the only one... lets hope they can fix it soon (Fermet said, fix is not expected for Eden )
- wsnipex - 2011-11-08 12:12 I don't care about Eden stable, since I compile from GIT. If it does not get enabled in the official nightlies(as it is with vaapi), I bet someone will provide a ppa. - tjones - 2011-11-08 18:09 @Ason Starting at the beginning of the thread is usually the best point, then use all relevant references near the end of the thread since these typically will pertain to current issues. If you are having trouble understanding installing minimal Ubuntu I suggest you install Oracle Virtual Box in your desktop pc and play around installing minimal Ubuntu in virtual machines first. Once you're confident with your minimal Ubuntu installation use it on the real system and move onto installing xbmc. This will save you a lot of headaches. - tjones - 2011-11-09 00:00 Removed potentially confusing/damaging information. I don't want ppl chasing their tails or blowing up their displays/systems. Good news I think I almost have 24fps working. - Hack_kid - 2011-11-09 02:00 looks like hes making progress https://github.com/FernetMenta/xbmc/commits/xvba white screen - Boyz - 2011-11-09 03:13 Hello, my system is debian squeeze amd64, i compiled xbmc from the git followed the instruction on first page, everything was working fine. Yesterday i upgraded ati driver to ati-driver-installer-11-10-x86.x86_64.run, with that driver xbmc was also working until a REBOOT. After reboot when i try to play a mkv file with vaapi enabled i get white screen! I reinstalled also the ati driver and used older version of xbmc, but still the white screen only for mkv, avi is working fine. I hope somebody can help me. Thanks regards Nitha edit: white screen but sound is working! - Boyz - 2011-11-10 00:28 fixed! I deleted whole xbmc configuration and restarted xbmc. Now its working fine. Boyz Wrote:Hello, - chemical - 2011-11-10 12:18 Long time reader, first time poster. I just want to say Thank you! to all involved. Based on this thread I decided to get a Zotac Fusion (AMD Zacate) and built a nice HTPC around it.It is replacing my DVD Player, dbox2, Popcorn Hour and Creative DTS Decoder - quite nice progress at the moment, last step is to switch from optical out to 5.1 analog output and do the right thing (upmixing 2.0 -> 2.1, 5.1 mapping .. and stuff) in software - don't have an A/V receiver, it is directly connected to a 5.1 set with integrated amp (Teufel Concept Magnum E). (TBS 6981, Scythe Slim 120mm, Silverstone ML02, Atric IR Empfaenger (Receiver)). Runs with 20W idle, and 30W loaded (TV, HDTV, ..). Programmed my favourite "custom" IR remote to the computer (other way around, was interesting to learn how irrecord,lirc,xbmc, Lircmap.xml,keymap.xml all fit together). TV is mostly SD (DVB-S, MPEG2) and thus decoded by CPU (missing profile for HWaccel). I guess this is by design, so sometimes there is some "stutter" when fading in/out of menus during watching. I'm running on git (Opdenkamp) with 3 patches earlier in this thread (FernetMenta). It runs great so far, using the machine mainly for TV (PVR + XVDR). Looking forward to continued development regarding VAAPI / XvBA. Just want to say that I'm here, following closely. :-) Thanks guys! Roland - kobik - 2011-11-10 13:52 What FernetMenta patches you referring to? - tjones - 2011-11-10 18:03 24Hz/fps I was able to achieve it even though a 24Hz modeline is not in my TV's edid. I used amdcccle Display > DTV > HDTV Enable 1080p 24hz HD profile. The 1080p24Hz modeline provided by amdcccle was. Code: "1920x1080" 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsyncI gathered from my Xorg.0.log after enabling the profile and rebooting/restarting x Code: cat /var/log/Xorg.0.log | grep 1920x1080The 24Hz modeline was not present without this toggle. It shows up in xrandr -q and can be switched to via xrandr --rate 24. In xbmc I used Adjust display refresh rate to match video it originally looks like dermute's video. However after a minute or two it sync's up and stops stuttering. If 24hz is enabled as the desktop fresh rate and xbmc sync video to display is enabled (opposite scenario at 24Hz) it does not sync at all. When I enabled Composite in my xorg.conf and used Code: sudo aticonfig --xv-pixmap-buffer-type=lfbto use the local framebuffer it apparently decreased the sync time to 15-45s. For the life of me I cannot figure out how to disable EDID/DCC probing and modevalidation in xorg.conf with fglrx. Apparently by doing this and explicitly stating your desktop(60Hz for me) and 24Hz modes you can get rid of the stuttering. It's a workaround reported with nvidia cards. All the classic options I've tried are ignored with my current fglrx/xorg. xrandr really doesn't like the 24Hz modeline. With the amdcccle toggle it will use it. If the same modeline is added via xorg.conf it refuses to switch to it. I'm missing something here. This fix works as of feb this year. I just need to turn off the probing and get xrandr to play nice with my freaking modlines. My last attempt was the following: Code: Section "ServerLayout"All values besides the 24Hz modeline gathered from my edid., 24Hz from amdcccle. This creates a combined mode under xrandr. 1920x1080_a 60 24 The amdcccle toggle creates a combined mode as well 1920x1080 60 30 24 I'm trying to recreate the functionality of the amdcccle toggle with xorg.conf. If I can get this working I'd then create an explicit 60Hz and 24Hz modes eg 1920x1080_60 1920x1080_24. This is what the traditional fix is. Right now I'm stuck messing with xrandr and some sort of mode validation somewhere. Note all modes I'm using have been established as working. I just having trouble switching modes for some reason. |