Posts: 5
Joined: Mar 2012
Reputation:
0
2012-03-08, 20:43
(This post was last modified: 2012-03-08, 20:46 by tomtor.)
I noticed a strange inconsistency in the XVBA branch. I have two XBMC installations: A Foxcon E350 on a Philips 100Hz LCD TV and an MSI Windbox DC100 E450 on a older Pioneer plasma without higher refresh rates (main modes 24, 50, 60). The E350 on the Philips works ok with VA-API but I could not get smooth movies on the MSI E450, so I tried the XVBA branch.
The problem is that I only get a smooth display on the E450 if I have used VA-API first and than switch to XVBA. Just as if some hardware is not initialised on a fresh boot of XBMC and that using VA-API (from XBMC or by using mplayer -vo vaapi) initialises the GPU in the correct way.
I mainly play 720P 23.978 fps and 720P 25 fps X264 mkvs.
Any suggestions what could be the cause?
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
Intersting finding:
Could you do the following:
Reboot; enable debug; Play specific movie with xvba (should stutter);
Play the same movie with vaapi over xvba-va-driver (should work okay);
Play the movie again with xvba (should also play okay).
And paste the xbmc.log?
Do you use the xvba packages provided in the howto? If not: remove the xvba-va-driver and disable vaapi in the menu. As vaapi get initialized first.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
Okay.
The vaapi enabled version has the problem that at startup the xvba-va-driver is queried, loaded or something. Because of this we disabled it completely. Are you totally sure that this behaviour did also happen with the xvba-only version?
I looked through the xvba-va-driver source and could not find anything they do different to us - more encrypted, yes.
I think the debug.log would help, cause the stuttering can be seen when surfaces failed to transfer.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 7,648
Joined: Jun 2011
Reputation:
287
Only things that comes to mind is pulseaudio, its know to not work well with XBMC.
Did you try without refresh overrides and without "Sync audio to video" option?
Posts: 520
Joined: Jun 2011
Reputation:
2
I have an existing install of xbmcbuntu. Is it possible to update to this version of xbmc from here by just running set 2 installing correct driver, and step 3 installing your version of xbmc over the top?
I have an ati 5770 and would like to see this in action before I switch to nvidia, hoping it can correct the 24p sync issue?
Thank you
Posts: 29
Joined: Aug 2011
Reputation:
0
2012-03-09, 19:18
(This post was last modified: 2012-03-09, 19:21 by anXieTyPB.)
Works like a charm i guess.
How can i really verify that XVBA is used by XBMC?
I followed your guide almost completely and my test .mkv H264 encoded file works like a charm (28.1% and 20%) CPU loads.
Edit: While watching a movie for a longer time, I'm experiencing some edges in the picture from time to time. You could also call it a short flickering centered on the screen for like 1 second.
Posts: 520
Joined: Jun 2011
Reputation:
2
sudo apt-get install -y ia32-libs
I could not get this to work at all, installed multiarch ver, does that matter?
I did download manually but no idea how to install it.
Currently installing xbmc.......