Announcement

Collapse
No announcement yet.

How can I build mesa with vdpau support on ubuntu?

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

  • How can I build mesa with vdpau support on ubuntu?

    On the notebook of my mom, I have a radeon 4650 and I want to know how can I build mesa with vdpau support .

    Thanks

  • #2
    You can use oilaf ppa for Ubuntu packages for Mesa 9.2, they have everything enabled for VDPAU.

    If not feasable, just follow RadeonBuildHowTo, and add "--enable-vdpau". And that should be it. (For building mesa)

    Comment


    • #3
      Nothing to do

      franky@franky-desktop:~$ vdpauinfo
      display: :0 screen: 0
      Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
      Error creating VDPAU device: 1


      I use the oibaf ppa and kernel 3.10.4

      Comment


      • #4
        Originally posted by pandev92 View Post
        Nothing to do

        franky@franky-desktop:~$ vdpauinfo
        display: :0 screen: 0
        Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
        Error creating VDPAU device: 1


        I use the oibaf ppa and kernel 3.10.4
        As a general rule, installing mesa and the like requires 2 steps:

        1. build mesa etc
        2. MAKE the system use the built libs.

        You have to find libvdpau_r600.so (where you compiled/installed it), add its directory to /etc/ld.so.conf, then execute "ldconfig" as root. This is done to add the path were the .so file are to the systems lib path (where looks for libs).

        Comment


        • #5
          Finally I installed fedora 19 and it simply works with the installation of the package mesa vdpau.

          [franky@localhost ~]$ vdpauinfo
          display: :0 screen: 0
          API version: 1
          Information string: G3DVL VDPAU Driver Shared Library version 1.0

          Video surface:

          name width height types
          -------------------------------------------
          420 16384 16384 NV12
          422 16384 16384 NV12
          444 16384 16384 NV12

          Decoder capabilities:

          name level macbs width height
          -------------------------------------------
          MPEG1 16 9216 2048 1152
          MPEG2_SIMPLE 16 9216 2048 1152
          MPEG2_MAIN 16 9216 2048 1152
          H264_BASELINE 16 9216 2048 1152
          H264_MAIN 16 9216 2048 1152
          H264_HIGH 16 9216 2048 1152
          VC1_SIMPLE 16 9216 2048 1152
          VC1_MAIN 16 9216 2048 1152
          VC1_ADVANCED 16 9216 2048 1152
          MPEG4_PART2_SP 16 9216 2048 1152
          MPEG4_PART2_ASP 16 9216 2048 1152

          Output surface:

          name width height nat types
          ----------------------------------------------------
          B8G8R8A8 16384 16384 y NV12
          R8G8B8A8 16384 16384 y NV12
          R10G10B10A2 16384 16384 y NV12
          B10G10R10A2 16384 16384 y NV12

          Bitmap surface:

          name width height
          ------------------------------
          B8G8R8A8 16384 16384
          R8G8B8A8 16384 16384
          R10G10B10A2 16384 16384
          B10G10R10A2 16384 16384
          A8 16384 16384

          Video mixer:

          feature name sup
          ------------------------------------
          DEINTERLACE_TEMPORAL -
          DEINTERLACE_TEMPORAL_SPATIAL -
          INVERSE_TELECINE -
          NOISE_REDUCTION y
          SHARPNESS y
          LUMA_KEY -
          HIGH QUALITY SCALING - L1 -
          HIGH QUALITY SCALING - L2 -
          HIGH QUALITY SCALING - L3 -
          HIGH QUALITY SCALING - L4 -
          HIGH QUALITY SCALING - L5 -
          HIGH QUALITY SCALING - L6 -
          HIGH QUALITY SCALING - L7 -
          HIGH QUALITY SCALING - L8 -
          HIGH QUALITY SCALING - L9 -

          parameter name sup min max
          -----------------------------------------------------
          VIDEO_SURFACE_WIDTH y 48 2048
          VIDEO_SURFACE_HEIGHT y 48 1152
          CHROMA_TYPE y
          LAYERS y 0 4

          attribute name sup min max
          -----------------------------------------------------
          BACKGROUND_COLOR y
          CSC_MATRIX y
          NOISE_REDUCTION_LEVEL y 0.00 1.00
          SHARPNESS_LEVEL y -1.00 1.00
          LUMA_KEY_MIN_LUMA y
          LUMA_KEY_MAX_LUMA y

          Comment


          • #6
            My apu crash after8/9 hours..., and suddely restart , kernel 3.10.4

            Comment

            Working...
            X