Announcement

Collapse
No announcement yet.

AMD's UVD2-based XvBA Finally Does Something On Linux

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

  • is this suppose to happen? ;-)

    I build everything (mplayer-vaapi, xvba,...) from scratch today, the result is amazingly worse than my tests a few weeks back:




    Linux:
    Ubuntu Lucid

    fglrx:
    10.8

    vainfo:
    libva: libva version 0.31.1-sds1
    Xlib: extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    libva: va_openDriver() returns 0
    vainfo: VA API version: 0.31
    vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.7.3
    vainfo: Supported profile and entrypoints
    VAProfileMPEG2Simple : VAEntrypointIDCT
    VAProfileMPEG2Main : VAEntrypointIDCT
    VAProfileH264High : VAEntrypointVLD
    VAProfileVC1Advanced : VAEntrypointVLD


    What did I wrong?
    Should I supply more info?

    Comment


    • Originally posted by hal2100 View Post
      I build everything (mplayer-vaapi, xvba,...) from scratch today, the result is amazingly worse than my tests a few weeks back:




      Linux:
      Ubuntu Lucid

      fglrx:
      10.8

      vainfo:
      libva: libva version 0.31.1-sds1
      Xlib: extension "XFree86-DRI" missing on display ":0.0".
      libva: va_getDriverName() returns 0
      libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
      libva: va_openDriver() returns 0
      vainfo: VA API version: 0.31
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.7.3
      vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple : VAEntrypointIDCT
      VAProfileMPEG2Main : VAEntrypointIDCT
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD


      What did I wrong?
      Should I supply more info?
      Libva seems to load without any problems; same with fglrx.
      That looks similar to the output of my radeon hd 5000 series card.
      Exactly what type of card are you using there?

      Comment


      • looks exactly like my output as well on the HD5770+ mplayer-vaapi and xbmc
        after re-compiling Mandriva's plf ffmpeg rpm adding mt support.

        One question though is:
        Xlib: extension "XFree86-DRI" missing on display ":0.0". normal or did I miss making a symlink somewhere ?
        Those who would give up Essential Liberty to purchase a little Temporary Safety,deserve neither Liberty nor Safety.
        Ben Franklin 1755

        Comment


        • Originally posted by DivineGrace View Post
          Libva seems to load without any problems; same with fglrx.
          That looks similar to the output of my radeon hd 5000 series card.
          Exactly what type of card are you using there?
          Seems like it cannot work at this time, because I forgot what kind of hardware I bought...

          fglrxinfo
          display: :0.0 screen: 0
          OpenGL vendor string: ATI Technologies Inc.
          OpenGL renderer string: ATI Radeon HD 5700 Series
          OpenGL version string: 4.0.10151 Compatibility Profile Context

          I have two systems running, I will test it with a HD3200 IGP

          Comment


          • Originally posted by DarkFoss View Post
            looks exactly like my output as well on the HD5770+ mplayer-vaapi and xbmc
            after re-compiling Mandriva's plf ffmpeg rpm adding mt support.

            One question though is:
            Xlib: extension "XFree86-DRI" missing on display ":0.0". normal or did I miss making a symlink somewhere ?
            It's normal. I get that with a 5000 series card, 3000 series card or 2000 series card. From what I can tell, it is not an error message but just interrogative.

            Comment


            • Thanks that makes sense..I've seen it in other peeps posts but I just wanted to be sure.
              Those who would give up Essential Liberty to purchase a little Temporary Safety,deserve neither Liberty nor Safety.
              Ben Franklin 1755

              Comment


              • Originally posted by DivineGrace View Post
                It's normal. I get that with a 5000 series card, 3000 series card or 2000 series card. From what I can tell, it is not an error message but just interrogative.
                AMD is no longer using the system DRI/DRM interface, so this message is normal. You will also get this on NVIDIA. This is totally harmless, on those platforms. Since the driver detection code first checks for DRI1/DRI2 drivers, this message can't be suppressed.

                Comment


                • xvba-video 0.7.4

                  A new version of xvba-video, the XvBA backend to VA-API, is now available at:
                  http://www.splitted-desktop.com/~gbe...ne/xvba-video/

                  Version 0.7.4 - 21.Sep.2010
                  * Check UVD is really enabled prior to using it
                  * Add debug info through XVBA_VIDEO_DEBUG=<level>
                  * Fix regression when decoding multiple slices per frame
                  * Fix system crash with H.264 videos encoded over HP @ L4.1

                  The third change particularly fixes decoding of some VC-1 clips.

                  The fourth change makes sure to accept H.264 high-profile @*L5.1 videos, with some visual defects, instead of just crashing the
                  system. It's better than nothing for common users.

                  Note to packagers: another tarball that combines both x86 and x86_64 binaries is now provided: xvba-video-*.bin.tar.gz. I am not
                  totally convinced by the name though. If you have something better, please let me know. Thanks.

                  xvba-video-0.7.4.bin/
                  xvba-video-0.7.4.bin/AUTHORS
                  xvba-video-0.7.4.bin/COPYING
                  xvba-video-0.7.4.bin/NEWS
                  xvba-video-0.7.4.bin/README
                  xvba-video-0.7.4.bin/x86/
                  xvba-video-0.7.4.bin/x86/fglrx_drv_video.so
                  xvba-video-0.7.4.bin/x86/xvba_drv_video.so
                  xvba-video-0.7.4.bin/x64/
                  xvba-video-0.7.4.bin/x64/fglrx_drv_video.so
                  xvba-video-0.7.4.bin/x64/xvba_drv_video.so

                  The VA drivers are to be moved to /usr/lib{,64}/va/drivers with libva -sds packages, or plain /usr/lib{,64}/dri with upstream libva.

                  Comment


                  • Originally posted by gbeauche View Post
                    A new version of xvba-video, the XvBA backend to VA-API, is now available at:
                    http://www.splitted-desktop.com/~gbe...ne/xvba-video/

                    Version 0.7.4 - 21.Sep.2010
                    * Check UVD is really enabled prior to using it
                    * Add debug info through XVBA_VIDEO_DEBUG=<level>
                    * Fix regression when decoding multiple slices per frame
                    * Fix system crash with H.264 videos encoded over HP @ L4.1

                    The third change particularly fixes decoding of some VC-1 clips.

                    The fourth change makes sure to accept H.264 high-profile @*L5.1 videos, with some visual defects, instead of just crashing the
                    system. It's better than nothing for common users.

                    Note to packagers: another tarball that combines both x86 and x86_64 binaries is now provided: xvba-video-*.bin.tar.gz. I am not
                    totally convinced by the name though. If you have something better, please let me know. Thanks.

                    xvba-video-0.7.4.bin/
                    xvba-video-0.7.4.bin/AUTHORS
                    xvba-video-0.7.4.bin/COPYING
                    xvba-video-0.7.4.bin/NEWS
                    xvba-video-0.7.4.bin/README
                    xvba-video-0.7.4.bin/x86/
                    xvba-video-0.7.4.bin/x86/fglrx_drv_video.so
                    xvba-video-0.7.4.bin/x86/xvba_drv_video.so
                    xvba-video-0.7.4.bin/x64/
                    xvba-video-0.7.4.bin/x64/fglrx_drv_video.so
                    xvba-video-0.7.4.bin/x64/xvba_drv_video.so

                    The VA drivers are to be moved to /usr/lib{,64}/va/drivers with libva -sds packages, or plain /usr/lib{,64}/dri with upstream libva.

                    I just tested the newest xvba-video-0.7.4-1 with a mobile HD2600 and it works flawlessly!
                    Thanks for all of your hard work, sir!
                    I'm sure I speak for many of us XvBA users here when I say that we appreciate your programming efforts!
                    Please keep up the good work!

                    Comment


                    • It works better than before as VC1 was broken before and now you get at least a warning, when some content can not be decoded like:
                      Code:
                      VO: [vaapi] 1920x1080 => 1920x1080 H.264 VA-API Acceleration
                      [VD_FFMPEG] XVMC-accelerated MPEG-2.
                      xvba_video: driver does not support H.264 content over [email protected] Please upgrade.
                      It would be better when the app would be able to handle that, maybe with a decode error that will allow a software fallback. vlc mainly works with it. However when you want to watch lots of files in a dir it crashes too (did not search for the combination that crashes always yet). xbmc is completely unuseable with vaapi, that should be fixed... So far the "best" xvba solution but could be still improved.

                      Comment

                      Working...
                      X