[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)
- chemical - 2011-11-10 21:08
kobik Wrote:What FernetMenta patches you referring to?
I'm referring to the patches mentioned in post #492
One of them is already applied to Opdenkamp git, I think it is the first one. The other three still apply.
- kobik - 2011-11-10 23:21
Something isn't right for me here.
I'm watching a Californication episode and I can see tearing when objects are moving on screen. The episode isn't fluid and once I noticed this, I can't ignore it.
Checked also on 2012 and it seems the same more or less.
This isn't the same on Windows 7.
My CPU usage is ~13% using VAAPI and display 1280X720@50Hz.
1080p issue - GamblerAN - 2011-11-11 00:50
I have an issue with playing back some of 1080p clips and movies. But no problem with 720p or lower.
For example using YouTube plugin in XBMC and playing 1080p clips, something goes wrong,
picture starting ti shake and shiver, sometimes showing extra large pixels
The issue can be seen in this screenshots:
Motherboard: MSI E350IA-E45
OS: Ubuntu 11.10
I am using unity 2D, so compiz should be turned off.
xbmc-dharma-pvr from ppa:alexandr-surkov/dharma-pvr
latest ati drivers (11.10)
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6300 series Graphics
OpenGL version string: 4.1.11161 Compatibility Profile Context
libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/va/drivers/xvba_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
- tjones - 2011-11-11 16:48
Cont. from http://forum.xbmc.org/showpost.php?p=932593&postcount=650
In hindsight the fix I'm trying to achieve also requires the line Option "ExactModeTimingsDVI" in the monitor section. I've already tried this with my fglrx/x and the option was ignored according the log. I could not find any reference to this in aticonfig --help, man xorg.conf, or man xrandr. crtc = cathode ray tube controller.
I've tried the crtc 1 toggle to use manual settings when I discovered a crtc reference with vesa to use manual settings. But in regards to xrandr crtc I can't figure out where to do manual settings. With the amdcccle toggle the crtc remains at 0 and not 1 (manual settings) I have no clue what is going on there.
For a CLI no desktop install any modifications could be included in the rc.local, X startup script, or a custom bash script if something needs to be set before/after starting X/xrandr. If I could figure them out that is.
Final info's since I'm trying really hard to leave this topic alone.
sudo xrandr --verbose (without amdcccle 24Hz line relevant section)
sudo xrandr --verbose (with amdcccle 24Hz line, relevant section)
I'm left to assume the amdcccle 24Hz line is an internal driver option (crtc =0 in both situations). I was unable to use custom modelines with fglrx via xorg.conf. If I can't ignore the EDID modeline validation with fglrx the only option left for custom modelines would be to create a custom EDID itself. Go to the source so to speak. Xorg has an option for a custom EDID that should be independent of the video driver.
I did find this in aticonfig --help but there is no reference to specific frequencies or timings.
Edit: Ah ha!! **rsync is a backup/archive utility.
Just did a fresh rsync backup before the amdcccle toggle and discovered this after toggling and doing a dryrun delete restore.
My excludes were.
cat /usr/lib/fglrx/etc/ati/amdpcsdb produced, along with a bunch of other stuff.
I guess this is where the internal variables are stored.
Edit: further poking around the amdpcsdb file reveals multiple hidden modes in the R* format. The R* proprietary format they're using does not seem to refer to pixel clocks only resolution and Hz. A diff file1 file2 between 24Hz enabled fglrx and standard only shows that DAL2 change I've already quoted. I believe this is in reference to a standard set included with the driver. If anybody cares the reason I keep pursing a toggleable custom 24Hz mode is because if the custom mode had a higher pixel clock it could perhaps eliminate the stuttering (as hinted by my framebuffer observation, pixel clock = video bandwidth). There is only one way to find out. A custom 24Hz mode with a higher pixel clock than the one provided by amd.
What this also suggests is if you have a TV that does not declare a 1080p 24Hz mode in it's edid and you have no desktop environment installed if you changed the DAL2_DATA__2_0\EDID_2D4C_7C3\UserForceModeSupport_DVI_Conn*=R0000000000000000 line to DAL2_DATA__2_0\EDID_2D4C_7C3\UserForceModeSupport_DVI_Conn*=R0000000000040000 it could perhaps enable the 1080p24Hz mode without using amdcccle.
- kobik - 2011-11-11 21:12
chemical Wrote:I'm referring to the patches mentioned in post #492
- Ason - 2011-11-12 12:43
Thanks for answer, i have running Linux on some server along time ago (stop using it about 10 years ago)
So i have little basic knowledge.
Should i take 11.04 that first post says, or go for 11.10?
- wsnipex - 2011-11-12 18:19
go for 11.10 directly as there is everything you need in the official repos.
- tjones - 2011-11-12 19:24
Go for 11.10 if they now have official support. When I was trying it I had to use natty (11.04) references. This is probably why it failed for me.
The 3.0 kernel in 11.10 should be worth the effort if it is now officially supported.
- kobik - 2011-11-13 10:49
How do I get this kind of Modeline information for my TV?
- wsnipex - 2011-11-13 11:21
tjones Wrote:Go for 11.10 if they now have official support. When I was trying it I had to use natty (11.04) references. This is probably why it failed for me.
if you use the unstable ppa, you still need to change oneiric to natty in the apt sources file.
But all dependencies incl libva and xvba-va-driver are in the ubuntu repos.