[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)
- gaspo100 - 2011-06-20 12:35
Quote:I have tried every combination of every setting I can think of to get 24p blu-ray playback without tearing or extreme judder to no avail. Any chance you could screen shot your video/playback and system/video settings tabs for reference please?settings-videos-playback
- Rapoza - 2011-06-20 13:15
I also experiment some strange things on HD files. On some of them I saw plenty of artifacts whether is movement, don't know if they're 24p:
Here you can also see what was talking about deffects on subtitles loaded from file. That ones the only thing they had where colors for each caracter.
On other HD movies the motion seems on steps. These could be saved as 24p.
Anyone could post a way to dump file info so we can share on the post and take conclussions.
All of them reproduced constant and impolute with vlc on my natty desktop. It has an nvidia, uh!? (but it completely crashed on the last drivers update, even no repair console. :sniffle
*That was before the underscan disabled
ZBOX AD02 - Almost there - Bitruder - 2011-06-20 16:37
I've been getting my ZBOX AD02 up and running by following this thread. I'm running Ubuntu 11.04, the 2.6.39 kernel, Catalyst 11.6 drivers, VAAPI 0.32, XBMC 10.1-Dharma. For a while I would have XBMC and MPlayer crash right away when trying to play anything with VAAPI.
I fixed this by disabling the Composite extension in xorg.conf and now I can play videos on my HDTV fine and I get audio through the HDMI cable without issue.
I do have ONE other problem though that may or may not be a limitation of my hardware. When I'm playing a 1080P MKV file my CPU usage is below 20% on both cores and it seems to play without frames dropping (how do I check this? Is it shown in the XBMC overlay you see by pressing 'o'?). However, as soon as XBMC goes to display something overtop of the video (for example, the menu or playback controls), then it gets choppy and I definitely see frame loss. After I go back, the audio will be out of sync and I have to pause/play it to get it back in sync.
Is it simply that by AD02 (E-350 processor) is too slow to handle playing 1080P video and drawing overlays? A similar thing happens, albeit to a lesser degree, when playing 720P video files.
- SDM2011 - 2011-06-20 18:33
Quote:However, as soon as XBMC goes to display something overtop of the video (for example, the menu or playback controls), then it gets choppy and I definitely see frame loss. After I go back, the audio will be out of sync and I have to pause/play it to get it back in sync.
Funny, I have the exactly opposite problem. I can display overlays just fine even playing 1080p, but resuming from pause causes the video to stutter and audio is out of sync. It takes almost a minute for everything to stabilize again. I'd rather have your troubles! :-)
- peterk2005 - 2011-06-20 18:38
Thanks. So you're not using 24P display refresh rate for bluray material. You're using 60Hz which is OK for all of us.
If your display is capable of 24P, can you please try it? Either set refresh rate directly to 24Hz in settings->system->video output, or check "adjust display refresh rate to match video" in settings->videos->playback. (Of course you can do this only if your display is 24P-capable.)
- SDM2011 - 2011-06-20 18:44
Quote:I also experiment some strange things on HD files. On some of them I saw plenty of artifacts whether is movement, don't know if they're 24p
I've seen those artifacts myself, but it's only happened on one 720p file so far, and it was 24p (although it's not the only 24p file I have).
- Rapoza - 2011-06-20 19:15
I discovered an interesting thing this midday.
As I hadn't luck autostarting xbmc on this install, I always started xbmc with the following command without sudos:
But today, typed by error:
Voilá! I got sound at the interface.
And with the starting script of htpcero I'm having hard times. I commented the program line and replaced for those more friendly but always throws an error indicating that can't access display or xserver.
The standard line also don't work.
- WytRaven - 2011-06-20 23:38
Rapoza Wrote:Voilá! I got sound at the interface.
As SDMC2011 said earlier the standalone script launches pulse audio as well. if your user isn't in the correct group for pulse audio (which is?) then that might be why you lose sound.
Thanks for the settings but as peterk2005 mentioned this is not using 24p. It's only when letting xbmc change the refresh rate to 24p that the problem occurs. Interestingly enough, I know by consulting my xbmc logs that my TV is capable of both true 24Hz and the 23.936Hz variant (which of course my TV will say are both 24Hz when switching so it's hard to tell which is being used) I wonder if this is where the issue is occurring.
I tried SDMC2011's advice of enabling the anti-tearing option in the AMD CCC (which is just forcing vsync in the driver) and the result is the same; the rubber band judder effect at 24p.
Maybe forcing 60Hz is a reasonable compromise in the meantime...I will experiment.
- javum - 2011-06-21 18:22
Robotica Wrote:...Is there any way to turn CPU deinterlacing on for VAAPI-accelerated videos? I'm using the latest xbmc-pvr git.
And another question about showing CPU temp in XBMC.
The output in console:
I also tried
- Rapoza - 2011-06-21 19:09
javum Wrote:I created file /home/xbmc/.xbmc/userdata/advancedsettings.xml
To quote the "unofficial" xbmc instructions:
Quote:#To let XBMC detect your CPU temps provided by lm-sensors, you have to edit your advancedsettings.xml and insert the following: