•   
  • 1
  • 42
  • 43
  • 44(current)
  • 45
  • 46
  • 189
  •   
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs
there is a reason for this line on the first page:

NOTE: Compositing window managers (e.g. compiz, gnome-shell) do not play well with XBMC
If you have issues, please first disable compiz. If you want unity you can try unity-2d.
I had this setup on a 1.8ghz fusion & Hulu Desktop HD playback just wasn't smooth.
Which APU should I get to ensure smooth HD flash playback?
Faster 2core or should I go 4 core to be safe?

Thanks.
@Nitrogen

this is off-topic! this thread only handles xbmc with xvba, like it is written in the first post! the hulu-desktop has nothing to do with xbmc!
Im trying to do a fresh install of 12.04 and successfully install the latest catalyst 12.04 driver. This is actually a mythbuntu install since I like the light nature of mythbuntu and like the default WM.

As a test I just wanted to play something in VLC and cannot for the life of me get smooth playback. My previous version of Mythbuntu is 11.04 and I think catalyst there is 11.7.

I have been reading about problems with 12.04 catalyst but does anyone have any insight as to what might be my problem? Anyone use myth versus regular Ubuntu? Should I use an 11.x catalyst version?

Thanks in advance
(2012-05-10, 17:33)Nitrogen_Widget Wrote: I had this setup on a 1.8ghz fusion & Hulu Desktop HD playback just wasn't smooth.
Which APU should I get to ensure smooth HD flash playback?
Faster 2core or should I go 4 core to be safe?

Thanks.

Well, then your doing something wrong, i'm running 1.6 fusion and everything is smooth play hd.
even when.
1) a download is running at 3.5MB/s ( what you seen in windows )
2) a extract is running of 1 of my series
3) and i was copying 200Gb for pc to mediacenter at 100MB/s+ ( what you seen in windows )

i think your setup is wrong..
(2012-05-09, 19:34)gonesuper Wrote: Anyone know why mine gives a blank video screen when showing accelerated video with xbva on.

I'm on 12.04 with the ubuntu installed amd driver. and the Eden stable build.

When I turn off xvba then everything works.

Hi,

I have ubuntu 12.04 with fglrx version 11.12.
I experimented the same issue. whenever I try to play a video with xvba in use, the video is not shown, but the sound is correct.
xbmc logfile says :" ERROR: XVBA::CreateSession - failed to create decoder session"
dmesg keeps repeating a message from fglrx not able to activate IRQ

With xvba turned off, the playback works fine.

PS :
Whenever I try to use the latest fglrx driver ( either from ubuntu repos, or downloaded from ati ), X crashes with a message about /usr/lib/xorg/modules/extensions/libdri.so.

PS2 : if you want to use the driver from ATI, a patch has to be applied to let dkms compile the fglrx module without error.


Anyone has the same experience?

Other question a little bit off-topic : Did anyone try to use the xvbat from
http://sourceforge.net/apps/mediawiki/xv...=Main_Page


Best Regards
Alex


@alexinthesky
I did not have problems installing 12.4 within ubuntu Precise. No patch had to be applied - I am running the 64 bit Version. Can you provide a complete debug log? Make sure that no compiz is running. But i rather think your installation is fu*** up :-)

xvba-tools are basically of no use, as they are using a third party movie / image framework. So a direct mapping to ffmpeg is very hard. xvba-tools have the same issues, we have in our code. No issue concerning the code, but an issue concerning the capabilities of amdxvba.h and the proprietary driver.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2012-05-15, 11:35)fritsch Wrote: @alexinthesky
I did not have problems installing 12.4 within ubuntu Precise. No patch had to be applied - I am running the 64 bit Version. Can you provide a complete debug log? Make sure that no compiz is running. But i rather think your installation is fu*** up :-)

xvba-tools are basically of no use, as they are using a third party movie / image framework. So a direct mapping to ffmpeg is very hard. xvba-tools have the same issues, we have in our code. No issue concerning the code, but an issue concerning the capabilities of amdxvba.h and the proprietary driver.

Hi,

actually I have no compiz / no gnome. I start xbmc right from lightdm, like in xbmcubuntu.... Main difference is that I have to run the 32bit system... running on a rather old hardware : the CPU I use is VIA C3 800Mhz......so HW video decoding is absolutly needed!
I'm going home and post the logs as soon as I get there...

Alex



(2012-05-14, 15:57)thctlo Wrote:
(2012-05-10, 17:33)Nitrogen_Widget Wrote: I had this setup on a 1.8ghz fusion & Hulu Desktop HD playback just wasn't smooth.
Which APU should I get to ensure smooth HD flash playback?
Faster 2core or should I go 4 core to be safe?

Thanks.

Well, then your doing something wrong, i'm running 1.6 fusion and everything is smooth play hd.
even when.
1) a download is running at 3.5MB/s ( what you seen in windows )
2) a extract is running of 1 of my series
3) and i was copying 200Gb for pc to mediacenter at 100MB/s+ ( what you seen in windows )

i think your setup is wrong..

You are right. I totally jumped the gun. I had used VLC for testing in the past and forgot to use ffmpeg flag. I tried in XBMC and everything works and then remembered that I needed to specify the flag for vlc. I probably should have just tried XBMC first and then would not have run into any confusion.

Sorry for any trouble and thanks.
About the install of xbmc xvba version, this should really be done, it saves problems and questions here..
Or change the xbmc name to xbmc-xvba or add the pinning settings to the howto.

Since xbmc is include in ubuntu and debian, losts people are installing the wrong version.
The howto should have a pinning example and the pinning should be for the complete xvba repo.
i cant give the correct settings since i run debian wheezy.
but this is what i have in my debian setup: in /etc/apt/preferences.d

add the file : extras-xbmc-xvba
add this info in the file, keep an empy line between the sections.

Package: *
Pin: release n=wheezy,o=Debian
Pin-Priority: 990

Package: *
Pin: release n=wheezy,l=Debian-Security
Pin-Priority: 990

Package: *
Pin: release n=wheezy,o=thuis.van-belle.nl
Pin-Priority: 991


the last Pin: release n=wheezy,o=thuis.van-belle.nl
is where i have my own rebuilded xbmc packages, Pin-Priority makes sure this xbmc version is used.
look here for the pinning settings . http://wiki.debian.org/AptPreferences or https://help.ubuntu.com/community/PinningHowto
and http://manpages.ubuntu.com/manpages/karm...ces.5.html
how to get the correct Release info:
cat /var/lib/apt/lists/ppa.launchpad.net_wsnipex_xbmc-xvba_ubuntu_dists_precise_Release | more
in the apt manuals het Origin, Label, Suite, Codename are explained .
I like the codename and originin and label.

this is my policy.

apt-cache policy xbmc
xbmc:
Installed: 2:11.0~git20120326.1649-b6b4562-0wheezy
Candidate: 2:11.0~git20120326.1649-b6b4562-0wheezy
Version table:
3:11.0-0.1 0
900 http://www.debian-multimedia.org/ wheezy/main amd64 Packages
2:12.0~git20120502.1900-e9e0027-0precise 0
500 http://ppa.launchpad.net/wsnipex/xbmc-xvba/ubuntu/ precise/main amd64 Packages
2:11.0~git20120403.ec33f1f+repack1-5 0
990 http://ftp.nl.debian.org/debian/ wheezy/main amd64 Packages
*** 2:11.0~git20120326.1649-b6b4562-0wheezy 0
991 http://thuis.van-belle.nl/debian/ binary/ Packages
100 /var/lib/dpkg/status

the default should be in my case... !! just make sure xbmc xvba has the higest number, and check with apt-cache policy xbmc
990 = the stable default to be installed.
900 = the debian multimedian, if not found in stable or higher exist in multimedia, use the multimedia version
500 = ppa from ubuntu, only used if i use install like apt-get install -t precise xbmc ( but if more packages are needed you must also install these with the -t precise option. )
lower then 500, wil never be installed without my interaction.
( better is <200 and not 500, i need 500 for my rebuilds. )


for the xvba i guess it's something link:
Package: *
Pin: release o=LP-PPA-wsnipex-xbmc-xvba
Pin-Priority: 991

but please check if this is correct.

Louis
renaming the package is an option, but all the people that have the current package installed won't get updates anymore.

pinning is the better way to make sure you don't accidentally overwrite xbmc with an official debian/ubuntu version, but it should not be needed, because I usually make sure that our packages are newer then the official ones.
The downside of pinning is that many users might get confused in case they want to go back to official packages.
(2012-05-15, 17:42)alexinthesky Wrote:
(2012-05-15, 11:35)fritsch Wrote: @alexinthesky
I did not have problems installing 12.4 within ubuntu Precise. No patch had to be applied - I am running the 64 bit Version. Can you provide a complete debug log? Make sure that no compiz is running. But i rather think your installation is fu*** up :-)

xvba-tools are basically of no use, as they are using a third party movie / image framework. So a direct mapping to ffmpeg is very hard. xvba-tools have the same issues, we have in our code. No issue concerning the code, but an issue concerning the capabilities of amdxvba.h and the proprietary driver.

Hi,

actually I have no compiz / no gnome. I start xbmc right from lightdm, like in xbmcubuntu.... Main difference is that I have to run the 32bit system... running on a rather old hardware : the CPU I use is VIA C3 800Mhz......so HW video decoding is absolutly needed!
I'm going home and post the logs as soon as I get there...

Alex




Sorry, log time not at home. Here is an extract of the logs ( loglevel 2 ) when playing a file with xvba activated :
( full log here : http://pastebin.com/eb7ksKPu )


22:25:26 T:9860544 DEBUG: CGUIInfoManager::SetCurrentMovie(/home/xbmc/media/tv/mentalist-4x21.flv)
22:25:26 T:2922326848 ERROR: XVBA::CreateSession - failed to create decoder session, line 648
22:25:26 T:2922326848 ERROR: Decoder failed with following stats: m_surfaceWidth 432, m_surfaceHeight 240, m_vidWidth 424, m_vidHeight 240, coded_width 432, coded_height 240
22:25:26 T:2922326848 ERROR: ffmpeg[AE2F2B40]: [h264] get_buffer() failed (-1 0 0 (nil))
22:25:26 T:2922326848 ERROR: ffmpeg[AE2F2B40]: [h264] decode_slice_header error
22:25:26 T:2922326848 ERROR: ffmpeg[AE2F2B40]: [h264] no frame!
22:25:26 T:2922326848 ERROR: Decode - avcodec_decode_video returned failure
22:25:26 T:2922326848 DEBUG: CDVDPlayerVideo - video decoder returned error
22:25:26 T:2922326848 DEBUG: --------------------- hurry: 0
22:25:26 T:2922326848 NOTICE: XVBA::Check - Attempting recovery
22:25:26 T:2922326848 DEBUG: CDVDPlayerVideo - video decoder returned error
22:25:26 T:2922326848 DEBUG: --------------------- hurry: 0
22:25:26 T:2922326848 ERROR: XVBA::CreateSession - failed to create decoder session, line 648
22:25:26 T:2922326848 ERROR: Decoder failed with following stats: m_surfaceWidth 432, m_surfaceHeight 240, m_vidWidth 424, m_vidHeight 240, coded_width 432, coded_height 240



and here is what happens in the kernel log at the same time :
full kern.log is here: http://pastebin.com/tp9gYHV6

May 21 22:25:31 tv kernel: [ 221.878847] [fglrx:fireglAsyncioIntEnableMsgHandler] *ERROR* IRQMGR returned error 8 when trying to enable interrupt source ff000006
May 21 22:25:31 tv kernel: [ 221.902285] [fglrx:fireglAsyncioIntEnableMsgHandler] *ERROR* IRQMGR returned error 8 when trying to enable interrupt source ff00000f
May 21 22:25:31 tv kernel: [ 221.902383] [fglrx:fireglAsyncioIntEnableMsgHandler] *ERROR* IRQMGR returned error 8 when trying to enable interrupt source ff000006
May 21 22:25:31 tv kernel: [ 221.931500] [fglrx:fireglAsyncioIntEnableMsgHandler] *ERROR* IRQMGR returned error 8 when trying to enable interrupt source ff00000f
May 21 22:25:31 tv kernel: [ 221.931611] [fglrx:fireglAsyncioIntEnableMsgHandler] *ERROR* IRQMGR returned error 8 when trying to enable interrupt source ff000006
May 21 22:25:32 tv kernel: [ 222.581297] [fglrx:IRQMGR_enable_hifreq_interrupt] *ERROR* IRQMGR returned error 8 when trying to enable interrupt source 0xa0000001!


Do you have any idea how I can go further in debugging this issue?


Best Regards
Alex

is there a plan to rebase with the current (frodo) git repo ? I I guess, yes, but when ? Smile

i tried to merge two git repositories in the past (AE-repo (before the merge with master) and xvba), but i was not able to resolve the confilcts.
@alexinthesky:

It already fails while creating the surface, that makes me wonder. Can you try with another clip? Here is a sample for you that should work: http://dl.dropbox.com/u/55728161/LE-GRAN...01-19-1.ts. IIRC your graphics Card was one of the 3XXX Series? We do not have that many users running on this hardware.

@mystefix:
Rebase is planned, but AE was broken on AMD hardware until yesterday. Fernetmenta was in contact with the AE dev and they got it fixed. So the plans are actively worked on.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
@fritsch,

the gfx card is a HD4350 ( RV710). Yes it seems that the call to XVBA::CreateSession ( XVBACreateDecodeProc from the libXvBAW.so.1 libtrary ) is not successfull.... If I understand correctly, libXvBAW.so.1 is coming together with the fglrx package.

I'll try the provided video as soon as I am home.

thanks for your expertise.

Alex
  •   
  • 1
  • 42
  • 43
  • 44(current)
  • 45
  • 46
  • 189
  •   



Logout Mark Read Team Forum Stats Members Help
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs23
This forum uses Lukasz Tkacz MyBB addons.