Kodi Community Forum
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs (/showthread.php?tid=116996)



RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-06-11

Quote:Seg fault every time when video finishes without fail

This is not a driver problem. Please provide logfiles.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - handleunknown - 2013-06-11

(2013-06-11, 13:24)fritsch Wrote:
Quote:Seg fault every time when video finishes without fail

This is not a driver problem. Please provide logfiles.

Crashlog:
http://pastebin.com/aB3i8Es8

Full log:
http://pastebin.com/RBcTxztT

XBMC version: 13.0-ALPHA5 Git:20130603-a7f8c08 (checked out from the "frodo" branch)


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-06-11

Please let it crash again after you did:
Code:
sudo apt-get install gdb

Many thanks

Quote:XBMC version: 13.0-ALPHA5 Git:20130603-a7f8c08 (checked out from the "frodo" branch)

Huh


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - handleunknown - 2013-06-11

(2013-06-11, 15:15)fritsch Wrote: Please let it crash again after you did:
Code:
sudo apt-get install gdb

Many thanks

gdb installed, I hope these are more useful then the last set:

Crashlog:
http://pastebin.com/6dhmv1uV

Full log:
http://pastebin.com/KV6yeHHE

Sorry I should have explained, the version of xbmc I run is cloned from FernetMenta's source and that I've cloned from the "frodo" branch rather then from the master


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-06-11

From the log, you did not clone from the frodo branch -as your version states to be 13.0 ALPHA - frodo would be 12.2

I think you did forget to do: git checkout frodo

But you have found something interesting there :-)

Thanks for getting the backtrace.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - FernetMenta - 2013-06-11

(2013-06-09, 08:52)ezechiel1917 Wrote: there is nothing indicating skipped frames in debug log only in codec screen, scaler doesn't affect this isue.
only other difference I noticed between mainline which works ok is that mainline displays (pc: 1 - pattern correction?) in codec screen for affected deinterlacers
whereas xvba-testing displays pc: 2...

I guess it's related to:
(2013-06-08, 13:40)FernetMenta Wrote: Note that mainline vdpau only uses the minimum of 2 past and 1 future frames. This version uses 4 past and 2 futures for the advanced deinterlacing methods.

Should be fixed in my master now.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - handleunknown - 2013-06-12

(2013-06-11, 18:01)fritsch Wrote: From the log, you did not clone from the frodo branch -as your version states to be 13.0 ALPHA - frodo would be 12.2

I think you did forget to do: git checkout frodo

But you have found something interesting there :-)

Thanks for getting the backtrace.

You're right, I best go back to the school of git Blush

Glad you have found some use of the dump, need any more info you're welcome to ask Smile


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-06-12

Yeah, the dump was in deed useful. You could fast forward your git checkout and rebuild latest testing and see if something got better :-) If you still hit the fence bug. Please open an issue at fernetmentas github. He is currently working on using fences, to be able to tell when all surfaces have been processed, so this is wip.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - gradinaruvasile - 2013-06-12

I just compiled from git and xbmc crashes at startup. The older version i compiled a while back works.

Crash log:

http://pastebin.com/T6b4wpBT

I did a

Code:
git clone https://github.com/FernetMenta/xbmc.git

then ./bootstrap, configure, make.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - FernetMenta - 2013-06-12

Please reset your clone to my current master. A change of today (some minutes before you posted) might fix this.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-06-12

Remove or move away your ~/.xbmc Directory and try to start it again. It seems the settings transition does not want so smooth :-)

Edit: I was too late, see post of fernet.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - gradinaruvasile - 2013-06-12

(2013-06-12, 17:30)FernetMenta Wrote: Please reset your clone to my current master. A change of today (some minutes before you posted) might fix this.

OK, its working now.
But i have no advanced video/audio options in the menus - see the screenshots.

Image
Image


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-06-12

Press "left" and choose "Advanced" -> new Settings Categories :-)


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - gradinaruvasile - 2013-06-12

Well. Turns out the settings were re-set to basic in the auto hidden left panel. But the rest of the settings seem to be the same as i set them in the previous installation.


RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - ezechiel1917 - 2013-06-13

yup, 50hz deinterlacing fixed! thanks

I'm still experimenting with different vertical blank sync settings.
It seems that there is a "guaranteed" frame drop when first CPullupCorrection happens when Enabled During Video Playback or Always Enabled (tested with several 23.976 videos)

Code:
23:21:16 T:2160077632   DEBUG: CPullupCorrection: detected pattern of length 1: 41708.38, frameduration: 41708.333333
23:21:17 T:2160077632   DEBUG: CDVDPlayerVideo::CalcDropRequirement - dropped in decoder, Sleeptime: -0.021016, Bufferlevel: 4, Gain: 0.041708

But what got my attention is that when I disable vertical blank sync setting and play a 23.976 video there is no frame drop, playback is now MUCH smoother and without tearing, is that expected? I never tried turning vsync off, because I always expected video tearing like xbmc gui have when you have vsync disabled (at least that's something I've experienced with xbmc on other systems), so I'm really surprised I didn't encounter any tearing yet and the smoothness of 23.976 fps video.

Does it have something to do with Sync playback to display is enabled/VDPAU or nvidia drivers? It's perfect! Laugh. Display refresh rate 1080p23.976 is used for 23.976 fps videos as always. With vsync enabled I have "usual" smooth 23.976 playback, but with vsync off it is now few levels smoother...


(2013-06-11, 18:40)FernetMenta Wrote:
(2013-06-09, 08:52)ezechiel1917 Wrote: there is nothing indicating skipped frames in debug log only in codec screen, scaler doesn't affect this isue.
only other difference I noticed between mainline which works ok is that mainline displays (pc: 1 - pattern correction?) in codec screen for affected deinterlacers
whereas xvba-testing displays pc: 2...

I guess it's related to:
(2013-06-08, 13:40)FernetMenta Wrote: Note that mainline vdpau only uses the minimum of 2 past and 1 future frames. This version uses 4 past and 2 futures for the advanced deinterlacing methods.

Should be fixed in my master now.