Announcement

Collapse
No announcement yet.

Mesa Gallium3D Pipe-Video Has Landed

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

  • #41
    Christian, are you continue your work with H.264 decoder?
    Also in this commit ot master you have a typo: 8619aa5683eb16c12a1b2eaeab2378855791ec8c

    #PKG_CHECK_EXISTS([libva], [enable_vdpau=yes], [enable_vdpau=no])

    should read

    #PKG_CHECK_EXISTS([libva], [enable_va=yes], [enable_va=no])
    Last edited by Drago; 15 July 2011, 12:28 PM.

    Comment


    • #42
      I wanted to try this VDPAU thing, but I don't seem to have even a single MPEG1 or MPEG2 video here, lol. Everything these days is something MPEG4-based. Which is probably why I get this error:

      Code:
      Starting playback...
      A:   0.0 V:   0.0 A-V:  0.000 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 
      Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
      VO: [vdpau] 640x480 => 640x480 Planar YV12 
      [vdpau] Error when calling vdp_presentation_queue_get_time: No backend implementation could be loaded.
      FATAL: Cannot initialize video driver.

      Comment


      • #43
        Originally posted by RealNC View Post
        I wanted to try this VDPAU thing, but I don't seem to have even a single MPEG1 or MPEG2 video here, lol. Everything these days is something MPEG4-based. Which is probably why I get this error:
        Try a DVD?

        Originally posted by RealNC View Post
        Code:
        Starting playback...
        A:   0.0 V:   0.0 A-V:  0.000 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 
        Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
        VO: [vdpau] 640x480 => 640x480 Planar YV12 
        [vdpau] Error when calling vdp_presentation_queue_get_time: No backend implementation could be loaded.
        FATAL: Cannot initialize video driver.
        Seems to be an mplayer2 problem:

        Comment


        • #44
          Originally posted by whizse View Post
          Try a DVD?
          If I had one...


          Well, doesn't look like a "problem", since that function is part of the VDPAU API:

          Comment


          • #45
            Originally posted by Deathsimple View Post
            Could you please post a picture of the artifacts?
            And which mpeg you are trying to play?
            It happens with any mpeg I throw at it. The picture with artifacts below is from the following mpeg:





            Try this: export R600_TILING=1

            Without tilling my R710 can play a 1080p roughly over 37fps, with tilling it beats the 50fps mark.
            I'll probably try experimenting a bit with this over the weekend. Not much time right now.

            Comment


            • #46
              Originally posted by ChrisXY View Post
              Oh, thanks. Maybe I will try it. But according to the git log there are already people working on the makefiles so I think I can wait a few more days. Judging from the comments here it isn't working too well yet anyway.
              Yeah, that's why it doesn't work anymore :-D
              The real fix: http://lists.freedesktop.org/archive...ly/009508.html

              Comment


              • #47
                vdpau does work on evergreen (HD5870) but it displays only artifacts



                With mplayer2 it didn't work at all.

                Also, it is slow as hell:
                $ mplayer -benchmark -nosound 1080p25.ts [single threaded]
                BENCHMARKs: VC: 32.852s VO: 1.510s A: 0.000s Sys: 1.625s = 35.988s
                BENCHMARK%: VC: 91.2866% VO: 4.1968% A: 0.0000% Sys: 4.5166% = 100.0000%

                $ R600_TILING=1 LD_LIBRARY_PATH=/usr/lib64/vdpau VDPAU_DRIVER=r600 mplayer -benchmark -vo vdpau -vc ffmpeg12vdpau -nosound 1080p25.ts
                BENCHMARKs: VC: 39.786s VO: 68.859s A: 0.000s Sys: 1.532s = 110.177s
                BENCHMARK%: VC: 36.1113% VO: 62.4985% A: 0.0000% Sys: 1.3902% = 100.0000%

                Edit: oops, I forgot to put the card into 'high' power state, at least it's faster than software decoding

                $ R600_TILING=1 LD_LIBRARY_PATH=/usr/lib64/vdpau VDPAU_DRIVER=r600 mplayer -benchmark -vo vdpau -vc ffmpeg12vdpau -nosound 1080p25.ts
                BENCHMARKs: VC: 12.994s VO: 6.047s A: 0.000s Sys: 1.705s = 20.746s
                BENCHMARK%: VC: 62.6324% VO: 29.1484% A: 0.0000% Sys: 8.2192% = 100.0000%

                Xvmc didn't work at all. Full logs: http://files.linuxsystems.it/temp/20..._xvmc_logs.txt

                Edit2: if someone doesn't have any mpeg2 movie: http://www.avsforum.com/avs-vb/showthread.php?t=804947
                Last edited by darkbasic; 16 July 2011, 10:39 AM.
                ## VGA ##
                AMD: X1950XTX, HD3870, HD5870
                Intel: GMA45, HD3000 (Core i5 2500K)

                Comment


                • #48
                  I get this:
                  Code:
                  $ export VDPAU_DRIVER=r600; vdpauinfo 
                  display: :0.0   screen: 0
                  API version: 1
                  Information string: G3DVL VDPAU Driver Shared Library version 1.0
                  
                  Video surface:
                  
                  name   width height types
                  -------------------------------------------
                  420     8192  8192  NV12 YV12 
                  
                  Decoder capabilities:
                  
                  name               level macbs width height
                  -------------------------------------------
                  MPEG1                16 262144  8192  8192
                  MPEG2_SIMPLE         16 262144  8192  8192
                  MPEG2_MAIN           16 262144  8192  8192
                  
                  Output surface:
                  
                  name              width height nat types
                  ----------------------------------------------------
                  
                  Bitmap surface:
                  
                  name              width height
                  ------------------------------
                  
                  Video mixer:
                  
                  feature name                    sup
                  ------------------------------------
                  DEINTERLACE_TEMPORAL             -
                  DEINTERLACE_TEMPORAL_SPATIAL     -
                  INVERSE_TELECINE                 -
                  NOISE_REDUCTION                  -
                  SHARPNESS                        -
                  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              -  
                  VIDEO_SURFACE_HEIGHT             -  
                  CHROMA_TYPE                      -  
                  LAYERS                           -  
                  
                  attribute name                  sup      min      max
                  -----------------------------------------------------
                  BACKGROUND_COLOR                 -  
                  CSC_MATRIX                       -  
                  NOISE_REDUCTION_LEVEL            -  
                  SHARPNESS_LEVEL                  -  
                  LUMA_KEY_MIN_LUMA                -  
                  LUMA_KEY_MAX_LUMA                -

                  Comment


                  • #49
                    And here's the result of that mplayer benchmark (RV710) using the aforementioned sample MPEG2:
                    Code:
                    BENCHMARKs: VC:  23.367s VO:  60.183s A:   0.000s Sys:   2.566s =   86.116s
                    BENCHMARK%: VC: 27.1345% VO: 69.8861% A:  0.0000% Sys:  2.9794% = 100.0000%
                    Last edited by DanL; 16 July 2011, 12:12 PM.

                    Comment


                    • #50
                      Originally posted by DanL View Post
                      And here's the result of that mplayer benchmark (RV710) using the aforementioned sample MPEG2:
                      Code:
                      BENCHMARKs: VC:  23.367s VO:  60.183s A:   0.000s Sys:   2.566s =   86.116s
                      BENCHMARK%: VC: 27.1345% VO: 69.8861% A:  0.0000% Sys:  2.9794% = 100.0000%
                      Do you have any artifacts?

                      Comment

                      Working...
                      X