Announcement

Collapse
No announcement yet.

XBMC Project Implements AMD XvBA Interface

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    I wrote my own script to compile that branch directly with github sources, i do not need packageing (only the dev package).

    http://kanotix.com/files/fix/xbmc-latest-xvba-local.txt

    It did not crash more often than the mainline version but with the defaults enabled i often got only garbage or jumping videos.
    Last edited by Kano; 12-30-2011, 06:39 AM.

    Comment


    • #32
      Originally posted by Kano View Post
      I wrote my own script to compile that branch directly with github sources, i do not need packageing (only the dev package).
      http://kanotix.com/files/fix/xbmc-latest-xvba-local.txt
      @Kano: Will this run on Ubuntu 10.04.3 or do I need to upgrade a test installation to Oneiric?

      Comment


      • #33
        The purpose of the script is to create a dist folder in your home and compile it there. As it requires the xvba headers to be installed and of course the other depends which it installs when it is called as root. I will add a deb download for the headers when it is available as all package from there:

        https://launchpad.net/~wsnipex/+arch...xvba/+packages

        You can use the arch specific package as well, it just should not depend on the arch. Install it manually, then run the script as root. As soon as you run it as user it will dl the code and compile xbmc. I create a desktop icon for KDE 4.4/Gnome 2 but that does not seem to be the position for newer destkop environments - if somebody knows the correct location and how to test for a specific DE running feel free to tell me. I usually only test U once to update my fglrx script (which i did yesterday to support precise) after that i wipe it out. You can create your icon manually as well or copy it at the new position, as user in a new bash shell it can be executed normally by xbmc - path was added to .bashrc. Basically you can compile it on any distro that way, just you have to install the build-depends first, also when you use another default shell feel free to adjust the local path in the correct config file.

        Comment


        • #34
          I did not have any problems with shared surfaces. Also, Compiz and KWin desktop effects were completely fine, aswell. Although I use the "Daniel Van Vugt" Compiz PPA with lots of tearing & performance fixes since Ubuntu 11.10.

          Comment


          • #35
            Originally posted by Kano View Post
            I wrote my own script to compile that branch directly with github sources, i do not need packageing (only the dev package).

            http://kanotix.com/files/fix/xbmc-latest-xvba-local.txt

            It did not crash more often than the mainline version but with the defaults enabled i often got only garbage or jumping videos.
            You probably compile with vaapi support(if you have libva etc installed it will be automatically enabled). Since Vaapi is used before Xvba it would explain your screen garble. Vaapi currently does not really work at all on AMD. Please disable it.

            btw, libxvba-dev is now available as arch independent pkg.

            Comment


            • #36
              Originally posted by Kano View Post
              I wrote my own script to compile that branch directly with github sources, i do not need packageing (only the dev package).

              http://kanotix.com/files/fix/xbmc-latest-xvba-local.txt

              It did not crash more often than the mainline version but with the defaults enabled i often got only garbage or jumping videos.

              You probably compile with vaapi support(if you have libva etc installed it will be automatically enabled). Since Vaapi is used before Xvba it would explain your screen garble. Vaapi currently does not really work at all on AMD. Please disable it.

              btw, libxvba-dev is now available as arch independent pkg.

              Comment


              • #37
                Install for debian?

                Hi. How can I install this library for debian testing or sid? Do I have to use XBMC if I want to use their new implementation or can I use another player? Anything that runs gstreamer backend? VLC?

                Thanks.

                P.S. I am happy to compile and install from source and 'apt-get build-dep' things to acquire the dependencies, but I prefer not to use scripts if possible.

                Comment


                • #38
                  Debian packages: http://forum.xbmc.org/showpost.php?p...&postcount=166
                  Arch packages: http://forum.xbmc.org/showpost.php?p...&postcount=169
                  please note, that those are not made by us.

                  if you prefer to compile from source, you can just download the ubuntu libxvba-dev pkg from my ppa as it really is only a headerfile. It has to go into /usr/include/amd

                  Comment


                  • #39
                    @wsnipex

                    I got a mail response about the package and changed the script to fetch the dev package when not already installed in root mode as soon as it was available. You can be sure i know how to press "o" to check which codec is used, vaapi was not used in my tests. I noticed that the code was updated as the weather plugin bug disappeared but did not retest this with fglrx. I only swap in that card from time to time when i want/need to test something with ati. i mainly use nv, one backupsystem with intel snb (or any other card i want to test).

                    Any idea where to put the icon for newer systems as ~/Desktop is not shown by default anymore?

                    Comment


                    • #40
                      you could put a .desktop file in /usr/share/applications
                      that way it should show up in the menu(at least on ubuntu)

                      Comment


                      • #41
                        Hmm maybe in .local, my script does not compile globally, just in your home, you can erase it easyly when you remove ~/dist and the icon.

                        Comment


                        • #42
                          Updated the script to copy the desktop file to that location. for clean install wipe ~/dist before you build it again. Run as root for depends, as user for real build. If you manage to install depends on other systems than debian/ubuntu it will work there as well (needs wget) as user.

                          http://kanotix.com/files/fix/xbmc-latest-xvba-local.txt

                          With my hd 5670 and fglrx 11-12 it definitely does not show a correct picture with xvba shared surfaces, i would set the default to off. via vaapi and xvba wrapper it decodes only crap, so it is definitely better intel vaapi crashes after one movie, nvidia via vaapi as soon as you playback a movie, only nvidia vdpau is 100% perfect currently when you require video accelleration.

                          Comment


                          • #43
                            As we are waiting now for a really long time for AMD to fix the three things still missing for a perfect htpc experience:

                            - H264 Level 5.1 Support
                            - Mpeg2 bitstream decoding support
                            - Advanced Deinterlacing Support

                            I have opened a bugreport at the catalyst bugtracker: http://ati.cchtml.com/show_bug.cgi?id=448

                            If you can, just give your 5 cents, provide screenshots which show the garbage in case of Level 5.1. Or which show red or purple lines at the bottom / top cause of bad deinterlacing.

                            You can also provide Screenshots with "o" pressed which show huge cpu usage when decoding Mpeg-2 1080p/i content (in the xbmc case).

                            I want AMD to see that there is a community which waits for more support by AMD. That is the reason why i do not provide these files just "alone". They shall see that a lot of people are affected by their linux driver and xvba policy.

                            Important: Please be polite, not shitstorm. End of March there is coming out a new Fusion APU, pretty worth buying it, if the support would be a bit better.
                            Important 2: Do not discuss other bugs concerning xvba implementation in this bugtracker, as AMD would easily say: you did it wrong and close this report.

                            (cross posted at openelec + xbmc forum)

                            Comment


                            • #44
                              12-2 is still broken for hd 5 series, i do not think that will improve. if somebody wants xbmc even ivi bridge will better supported (out of the box) than xvba.

                              Comment


                              • #45
                                @fritsch

                                That h264 l5.1 problem is as old as xvba. When i began testing mplayer-vaapi + xvba-video in 10/2009 or 11/2009 that bug was already there. What happed about it: absolutely NOTHING. I guess it is a waste of time to report it again.

                                Comment

                                Working...
                                X