Announcement

Collapse
No announcement yet.

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

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

  • Originally posted by gbeauche View Post
    I have just tried on Ubuntu 9.10 (amd64) + fglrx 8.70.3 (10.2-RC) and it works. Are you sure you have downloaded 0.31.0-1+sds10 and not 0.31.0-1+sds1?
    Hm, I have the same issue as DivineGrace with libva 0.31.0-1+sds10. sds9 works ok though. I'm also on Ubuntu 9.10 amd64.
    Code:
    $ vainfo 
    libva: libva version 0.31.0
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit

    Comment


    • [QUOTE=xipu;115053]Hm, I have the same issue as DivineGrace with libva 0.31.0-1+sds10. sds9 works ok though. I'm also on Ubuntu 9.10 amd64.

      EDIT: It appears that the sds10 source tarball's configure script is missing all references to glx - is this intentional? (the amd64 .deb contains the glx driver, so I'm a bit surprised)

      Comment


      • Originally posted by DivineGrace View Post
        Yes, I'm positive about what I downloaded, Gwenole.
        I used Cat 9.10, amd64 on both Squeeze and Jaunty and received error messages when I attempted to open both 720p and 1080p videos.
        I reverted back to libva1_0.31.0-1+sds9_amd64.deb but kept xvba-video_0.6.9-1_amd64.deb and the error messages vanished. This was with the mobile HD 2600 on my notebook.
        Hmm, this is weird because libva 0.31.0-sds9 + xvba-video 0.6.9 is not a combination that can work. i.e. that libva won't be able to load the new module, so mplayer won't work. Please report `vainfo' in your current configuration + ldd /usr/lib/va/drivers/fglrx_drv_video.so + md5sum your debs.

        Comment


        • [QUOTE=xipu;115054]
          Originally posted by xipu View Post
          Hm, I have the same issue as DivineGrace with libva 0.31.0-1+sds10. sds9 works ok though. I'm also on Ubuntu 9.10 amd64.

          EDIT: It appears that the sds10 source tarball's configure script is missing all references to glx - is this intentional? (the amd64 .deb contains the glx driver, so I'm a bit surprised)
          This is available in patches/

          Comment


          • Here is what I get on Ubuntu amd64:
            Code:
            $vainfo
            libva: libva version 0.31.0-sds5
            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.6.9
            vainfo: Supported profile and entrypoints
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            xvba_video: XVBA_CreateContext(): status 11
            FGLRX driver - 10.1 (8.690)

            Some time ago I could get profiles with earlier versions of libva, xvba-video and fglrx driver, however, I can't exactly say which versions they were. mplayer, however, was unable to play video even with those versions.

            Comment


            • Originally posted by zhenya_k View Post
              Here is what I get on Ubuntu amd64:
              Code:
              $vainfo
              libva: libva version 0.31.0-sds5
              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.6.9
              vainfo: Supported profile and entrypoints
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              xvba_video: XVBA_CreateContext(): status 11
              FGLRX driver - 10.1 (8.690)

              Some time ago I could get profiles with earlier versions of libva, xvba-video and fglrx driver, however, I can't exactly say which versions they were. mplayer, however, was unable to play video even with those versions.
              AFAICT, this is independent from libva or xvba-video. What chipset is this? If this is RS780 and the like, the PCS key changed and you probably haven't upgraded the driver correctly.

              $ grep Gating /etc/ati/amdpcsdb
              ?

              Comment


              • Originally posted by gbeauche View Post
                AFAICT, this is independent from libva or xvba-video. What chipset is this? If this is RS780 and the like, the PCS key changed and you probably haven't upgraded the driver correctly.

                $ grep Gating /etc/ati/amdpcsdb
                ?
                I had feeling it stopped to report about profiles after I updated fglrx driver, but I wasn't quite sure.
                Code:
                $ grep Gating /etc/ati/amdpcsdb
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                PP_GFXClockGatingEnabled=V0
                Code:
                $ lspci | grep VGA
                05:00.0 VGA compatible controller: ATI Technologies Inc RV730XT [Radeon HD 4670]
                I will try to update driver up to 10.2 (8.702), but slightly later.

                Comment


                • As I understand in my case to update a driver I need to do the following:
                  1) Obtain ati-driver-installer...run
                  2) Setting it to be executable chmod +x ati-...
                  3) Install it by issuing ./ati-...run --buildandinstallpkg Ubuntu/karmic
                  No additional steps are required? Do I have to uninstall previous version of the driver?

                  Comment


                  • Uninstalling the previous driver is probably a good idea. Frequently you can get away without it but we recommend always uninstalling first.

                    You need to run "aticonfig --initial" after installation (either as root or sudo depending on distro) with parameters that depend a bit on your installation. I don't know if this command is built into every packaging script.

                    As an example, with a 2 screen you should run something like "aticonfig --initial=dual-head"
                    Test signature

                    Comment


                    • Originally posted by zhenya_k View Post
                      As I understand in my case to update a driver I need to do the following:
                      1) Obtain ati-driver-installer...run
                      2) Setting it to be executable chmod +x ati-...
                      3) Install it by issuing ./ati-...run --buildandinstallpkg Ubuntu/karmic
                      No additional steps are required? Do I have to uninstall previous version of the driver?
                      Uninstall the previous driver *after* having shutdown X and rmmod fglrx. That's because PCS are cached and the old ones would be written again to the file. Also remove the /etc/ati/amdpcsdb file. The defaults will be restored from amdpcsdb.default.

                      BTW, you can omit step (2) with sh ati-XXX.run --buildXX.

                      + possibly aticonfig --initial -f. "The `-f' ensures that amdpcsdb is wiped and replaced with the package supplied defaults (which may be different from release to release)"

                      + reboot is recommended as UVD generally fails otherwise.

                      Comment

                      Working...
                      X