Announcement

Collapse
No announcement yet.

Vaapi and Mobility Radeon HD 4330 not working

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

  • Vaapi and Mobility Radeon HD 4330 not working

    Setup:
    • Ubuntu 10.04 64-bit
    • Catalyst 10.7 64-bit
    • libva1_0.31.1-1+sds4_amd64.deb
    • libva-dev_0.31.1-1+sds4_amd64.deb
    • libva1-dbg_0.31.1-1+sds4_amd64.deb
    • xvba-video_0.7.2-1_amd64.deb


    fglrxinfo:
    Code:
    audun@mediabox:~/downloads/hwdecode-demos-0.9.3/src$ fglrxinfo 
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: ATI Mobility Radeon HD 4300 Series
    OpenGL version string: 3.3.10057 Compatibility Profile Context
    vainfo:
    Code:
    audun@mediabox:~/downloads/hwdecode-demos-0.9.3/src$ 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.2
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            : VAEntrypointIDCT
          VAProfileMPEG2Main              : VAEntrypointIDCT
          VAProfileH264High               : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
    When trying to run vaapi_h264 from hwdecode-demos from http://www.splitted-desktop.com/~gbeauchesne/, I get the following result:
    Code:
    audun@mediabox:~/downloads/hwdecode-demos-0.9.3/src$./vaapi_h264 
    Display type 'x11'
    Hardware accelerator 'vaapi'
    [hwdecode_demos] VA display 0x1b0b7b0
    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
    [hwdecode_demos] VA API version 0.31
    [hwdecode_demos] 6 display attributes available
    [hwdecode_demos]   VADisplayAttribDirectSurface     (get/---) min 1 max 1 value 0x1
    [hwdecode_demos]   VADisplayAttribBackgroundColor   (get/set) min 0 max 16777215 value 0xffffff
    [hwdecode_demos]   VADisplayAttribBrightness        (get/set) min -100 max 100 value 0x0
    [hwdecode_demos]   VADisplayAttribContrast          (get/set) min -100 max 100 value 0x0
    [hwdecode_demos]   VADisplayAttribHue               (get/set) min -100 max 100 value 0x0
    [hwdecode_demos]   VADisplayAttribSaturation        (get/set) min -100 max 100 value 0x0
    [hwdecode_demos] Decoded surface size: 320x240
    [hwdecode_demos] 4 profiles available
    [hwdecode_demos]   VAProfileMPEG2Simple
    [hwdecode_demos]   VAProfileMPEG2Main
    [hwdecode_demos]   VAProfileH264High
    [hwdecode_demos]   VAProfileVC1Advanced
    [hwdecode_demos] 1 entrypoints available for VAProfileH264High
    [hwdecode_demos]   VAEntrypointVLD
    xvba_video: XVBA_CreateDecode(): status 2
    [hwdecode_demos] vaCreateContext(): unknown libva error
    ERROR: decode failed
    audun@mediabox:~/downloads/hwdecode-demos-0.9.3/src$
    Does anyone how a clue what could be wrong?

  • #2
    Originally posted by audune View Post
    Setup:
    • Ubuntu 10.04 64-bit
    • Catalyst 10.7 64-bit
    • libva1_0.31.1-1+sds4_amd64.deb
    • libva-dev_0.31.1-1+sds4_amd64.deb
    • libva1-dbg_0.31.1-1+sds4_amd64.deb
    • xvba-video_0.7.2-1_amd64.deb


    Does anyone how a clue what could be wrong?
    Did it work before?

    Try this:
    $ sudo service gdm stop
    (+ make sure Xorg server is no longer running)
    $ sudo rmmod fglrx
    (+ make sure the fglrx module is unloaded)
    $ sudo rm /etc/ati/amdpcsdb
    $ sudo aticonfig -f --initial
    (this makes sure the amdpcsdb is regenerated from defaults)
    $ sudo reboot
    (yes, reboot, don't try to restart X server...)

    If it still doesn't work, this is unfortunate and we can't do anything with it. All XvBA errors return "2" on error, and this is not useful at all...

    Comment


    • #3
      Originally posted by gbeauche View Post
      Did it work before?

      Try this:
      $ sudo service gdm stop
      (+ make sure Xorg server is no longer running)
      $ sudo rmmod fglrx
      (+ make sure the fglrx module is unloaded)
      $ sudo rm /etc/ati/amdpcsdb
      $ sudo aticonfig -f --initial
      (this makes sure the amdpcsdb is regenerated from defaults)
      $ sudo reboot
      (yes, reboot, don't try to restart X server...)

      If it still doesn't work, this is unfortunate and we can't do anything with it. All XvBA errors return "2" on error, and this is not useful at all...
      No, it didn't work before, this is the first time I try.
      It didn't help to regenerate amdpcsdb either...

      Comment


      • #4
        How did you install 10-7? Via the run installer or with my script or...? Using the run installer it will definitely NOT copy 64 bit xvba libs.

        Comment


        • #5
          Originally posted by Kano View Post
          How did you install 10-7? Via the run installer or with my script or...? Using the run installer it will definitely NOT copy 64 bit xvba libs.
          I followed this guide: http://wiki.cchtml.com/index.php/Ubu...allation_Guide
          The run installer made deb-packages which I installed...

          Comment


          • #6
            Originally posted by Kano View Post
            How did you install 10-7? Via the run installer or with my script or...? Using the run installer it will definitely NOT copy 64 bit xvba libs.
            Never noticed this problem on Ubuntu. Anyway, check you have an libAMDXvBA.cap file installed too.

            Comment


            • #7
              Originally posted by gbeauche View Post
              Never noticed this problem on Ubuntu. Anyway, check you have an libAMDXvBA.cap file installed too.

              Code:
              audun@mediabox:~$ locate XvBA
              /etc/alternatives/libAMDXvBA_cap
              /usr/lib/libAMDXvBA.cap
              /usr/lib/fglrx/libAMDXvBA.cap
              /usr/lib/fglrx/libAMDXvBA.so.1
              /usr/lib/fglrx/libAMDXvBA.so.1.0
              /usr/lib/fglrx/libXvBAW.so.1
              /usr/lib/fglrx/libXvBAW.so.1.0
              The files are there.

              Comment


              • #8
                Did you use my script? Would be best. Also for mplayer+co:

                Comment


                • #9
                  Originally posted by Kano View Post
                  Did you use my script? Would be best. Also for mplayer+co:

                  http://kanotix.com/files/fix/mplayer-vaapi-latest.txt
                  I'll try with the scripts later in the evening. Thanks!

                  Comment


                  • #10
                    Originally posted by Kano View Post
                    Did you use my script? Would be best. Also for mplayer+co:

                    http://kanotix.com/files/fix/mplayer-vaapi-latest.txt
                    No luck, xvba_video still returns status 2...

                    Comment

                    Working...
                    X