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: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-04-29

Complete debug log, please. I must see the startup.

Get me: apt-cache policy xbmc | pastebinit

I think you don't run xvba enabled version at all. So I don't wonder that it stutters.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Begall - 2013-04-29

Recently I've had a problem with my DVB-T2 cards drivers breaking (will fail to tune properly until the system is restarted) when trying to tune into a channel in XBMC and/or set/remove an instant timer. I'm using the latest git tested build and I suspect it's caused by XBMC due to the following message in dmesg when it breaks:

Code:
[   18.103390] init: Failed to spawn nmbd main process: unable to execute: No such file or directory
[47682.594826] irq 16: nobody cared (try booting with the "irqpoll" option)
[47682.594831] Pid: 2774, comm: xbmc.bin Tainted: PF          O 3.8.0-19-generic #29-Ubuntu
[47682.594833] Call Trace:
[47682.594834]  <IRQ>  [<ffffffff810ecbcd>] __report_bad_irq+0x3d/0xe0
[47682.594844]  [<ffffffff810ed092>] note_interrupt+0x1c2/0x210
[47682.594847]  [<ffffffff810ea807>] handle_irq_event_percpu+0xa7/0x1f0
[47682.594849]  [<ffffffff810ea99e>] handle_irq_event+0x4e/0x80
[47682.594852]  [<ffffffff810edbda>] handle_fasteoi_irq+0x5a/0x100
[47682.594856]  [<ffffffff810164ce>] handle_irq+0x1e/0x30
[47682.594859]  [<ffffffff816d54aa>] do_IRQ+0x5a/0xe0
[47682.594861]  [<ffffffff816cb4ad>] common_interrupt+0x6d/0x6d
[47682.594862]  <EOI>  [<ffffffff816d379d>] ? system_call_fastpath+0x1a/0x1f
[47682.594867] handlers:
[47682.594877] [<ffffffffa00f56a0>] saa716x_tbs6280_pci_irq [saa716x_tbs_dvb]
[47682.594879] Disabling IRQ #16

Any thoughts?


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-04-29

I found another bug. Since running this git build my coffee machine does not produce black coffee anymore it looks kind of not so black. Could this be a Limited Color issue?

... Come on guys stick to the topic.

Edit: And as I am a nice guy with a helping syndrome. Got to your Bios and disable the firewire port. It uses this IRQ on Fusion Systems and greatly interfers. (If this does not solve your problem open up a bug with your distribution).


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - wsnipex - 2013-04-29

its Xbmcs fault that your TV cards driver sucks? I highly doubt that.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Begall - 2013-04-29

I wonder because of this line:

[47682.594831] Pid: 2774, comm: xbmc.bin Tainted: PF O 3.8.0-19-generic #29-Ubuntu

I don't know why xbmc would pop up in relation to the drivers dying otherwise?


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-04-29

Cause you are watching TV with a pvr addon? and after some time your driver just dies. See my edit above.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Begall - 2013-04-29

I appreciate your help, and I'll give that a go, but you both need to drop the defensive attitude. I was not accusing your XBMC build of anything, just asking a question.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-04-29

We have a 214 pages thread here. It became that big because of questions that did not have anything to do with XVBA/VDPAU or this build at all. So much about defensive ...


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - keynone - 2013-04-30

(2013-04-29, 21:20)fritsch Wrote: Complete debug log, please. I must see the startup.

Get me: apt-cache policy xbmc | pastebinit

I think you don't run xvba enabled version at all. So I don't wonder that it stutters.

So, embarrassingly enough, you were right about me not using xvba enabled version of xbmc. Don't know how that slipped through, maybe because I recently switched from frodo to the git version.

Anyhow, I can watch HD movies now without any stutter; However, whenever I am on a different screen than the home screen (e.g.: System Settings, TV-Shows etc.), CPU usage goes back up to 100%, no matter which skin I use. This surely cannot be the normal behavior.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-04-30

System -> Settings -> System: Vertical Blank Sync: Always enabled.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - keynone - 2013-04-30

(2013-04-30, 09:47)fritsch Wrote: System -> Settings -> System: Vertical Blank Sync: Always enabled.

XBMC Debug Log

advancedsettings.xml

System -> Settings -> System: Vertical Blank Sync: Always enabled.

apt-cache policy xbmc
Code:
Installed: 2:12.1~git20130319.1943-frodo-0quantal
  Candidate: 2:12.1~git20130319.1943-frodo-0quantal
  Version table:
*** 2:12.1~git20130319.1943-frodo-0quantal 0
        500 http://ppa.launchpad.net/wsnipex/xbmc-xvba-frodo/ubuntu/ quantal/main i386 Packages
        100 /var/lib/dpkg/status
     2:11.0~git20120510.82388d5-1ubuntu2 0
        500 http://de.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages

apt-cache policy fglrx
Code:
Installed: 2:9.000-0ubuntu3
  Candidate: 2:9.000-0ubuntu3
  Version table:
*** 2:9.000-0ubuntu3 0
        500 http://de.archive.ubuntu.com/ubuntu/ quantal/restricted i386 Packages
        100 /var/lib/dpkg/status

Works much better now. Stutter free HD Movies. No 100% on home screen or sub menus. Idles around 23% cpu load...

Problems I still have:
  1. 100% cpu when "recently added episodes" widget is activated on home screen
  2. 100% when energie savings turned off monitor/tv



RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-04-30

Set the dirty region algorithm to 3.

apt-cache policy fglrx output not correct.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - keynone - 2013-04-30

Updated apt-cache policy fglrx above.

Set dirty region algorithm to 3. XBMC idles in between 11% and 16% on home screen.

EDIT: Still 100% cpu utilization with "recently added videos" activated on home screen.


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - PerryM - 2013-05-01

Please tell me to go and find another place if this is inappropriate! A link or three would be appreciated.
I am a video engineer and occasional magazine writer. A year+ ago I attempted to build an appliance type PVR based upon an ASUS E35M1-I Deluxe Mobo. I wanted to try Linux (I was a 'noob') and tried all the obvious solutions but basically could not get HD to play smoothly. In this case HD is specifically the H.264 1080 50i as broadcast in UK. I understood at that time that the AMD drivers didn't work well and there was a project within the OpenELEC group to make some better ones. I haven't read all 215 pages of this strand but I have gathered that a standard build based upon Ubuntu 12.10 and its default Catalyst is a good place to start. I have therefore loaded a build of XuBuntu 12.10 on the ASUS and as a first trial, I have attached (via eSATA) a RAID loaded with recorded HD TV (.ts files), loaded a copy of VLC and tried to play a file. It is useless - I get about 1 frame a second! Now I am sure that I should be doing some tweaking so can somebody start me off in the right direction? Should I update the Catalyst driver?
The real question is will it be worth it - will I get smooth play of broadcast (in UK) HD TV?


RE: Howto Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-05-01

If it is 1080i50 yes, without problems - visit us in #xbmc-xvba on irc.freenode.net or follow the howto of the beginning. It should be without a problem starting with a Ubuntu Quantal (64 bit) mini.iso.