Announcement

Collapse
No announcement yet.

Mesa Gallium3D Pipe-Video Has Landed

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

  • #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

      http://files.linuxsystems.it/temp/20..._evergreen.jpg

      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; 07-16-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; 07-16-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


            • #51
              Originally posted by Drago View Post
              Do you have any artifacts?
              The video quality looks really good for an MPEG2.

              On a more general note, I also got playback working with vlc using va-api->vdpau. I just had to build the package from splitted-desktop and create a symlink.
              Code:
              $ ln -s /usr/lib/dri/vdpau_drv_video.so /usr/lib/dri/r600_drv_video.so
              Code:
              $ export VDPAU_DRIVER=r600; vainfo
              libva: libva version 0.32.0
              libva: va_getDriverName() returns 0
              libva: Trying to open /usr/lib/dri/r600_drv_video.so
              libva: va_openDriver() returns 0
              vainfo: VA API version: 0.32
              vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3
              vainfo: Supported profile and entrypoints
                    VAProfileMPEG2Simple            :	VAEntrypointVLD
                    VAProfileMPEG2Main              :	VAEntrypointVLD

              Comment


              • #52
                Originally posted by darkbasic View Post
                vdpau does work on evergreen (HD5870) but it displays only artifacts

                http://files.linuxsystems.it/temp/20..._evergreen.jpg
                My HD5670 also work, but with artifacts, I can't access the URL however, so I'm not sure if it's the same problem?



                http://img196.imageshack.us/img196/2751/vdpau.jpg

                Comment


                • #53
                  Deathsimple: Where do you want bug reports about this filed, in the driver subsection or against Mesa core?

                  Comment


                  • #54
                    Originally posted by whizse View Post
                    My HD5670 also work, but with artifacts, I can't access the URL however, so I'm not sure if it's the same problem?
                    It's the same problem and my evergreen (juniper/hd5770) has the same problem:


                    I think every eg+ hardware has this problem.

                    Comment


                    • #55
                      Originally posted by whizse View Post
                      I can't access the URL however
                      I'm sorry, if you are too far from Italy sometimes there are problems with load balancing.
                      You are not the first one, tomorrow I will disable load balancing for the webserver.
                      Anyway yes, it's the same corruption, with R600_TILING=1 it's somehow better but still horrific.
                      ## VGA ##
                      AMD: X1950XTX, HD3870, HD5870
                      Intel: GMA45, HD3000 (Core i5 2500K)

                      Comment


                      • #56
                        xine and R300 / XvMC appear to be working (with -V xxmc)

                        So I wrote the full path to the libXvMCr300.so library into /etc/X11/XvMCConfig, and this what xine is now saying with the "-V xxmc" video plugin:

                        Code:
                        video_out_xxmc: using Xv port 63 from adaptor Radeon Textured Video for hardware colour space conversion and scaling.
                        video_out_xxmc: bicubic filtering mode = 2
                        video_out_xxmc: port attribute XV_BRIGHTNESS (5) value is -138
                        video_out_xxmc: port attribute XV_CONTRAST (4) value is 310
                        video_out_xxmc: port attribute XV_SATURATION (3) value is 293
                        video_out_xxmc: port attribute XV_HUE (2) value is 34
                        video_out_xxmc: port attribute XV_GAMMA (12) value is 1000
                        video_out_xxmc: XvMC extension present.
                        video_out_xxmc: Found 1 XvMC surface types
                        video_out_xxmc: Surface type 0: Max size: 2048 2048.
                        video_out_xxmc: Surface type 0: Max subpic size: 2048 2048.
                        video_out_xxmc: Surface type 0: Found 3 XvMC subpicture types
                        video_out_xxmc: Surface type 0: Detected and using IA44 subpicture type.
                        video_out_xxmc: this adaptor supports the yuy2 format.
                        video_out_xxmc: this adaptor supports the yv12 format.
                        video_out_xxmc: Unichrome CPU saving is off.
                        The video plays without artifacts - I assume XvMC is doing something :-).

                        The "-V xvmc" video output plugin crashes horribly - but that's a xine bug.

                        Comment


                        • #57
                          No luck with R300 XvMC and mplayer

                          Although xine seems to work with R300's XvMC, mplayer does not:

                          Code:
                          vo_xvmc: X-Video extension 2.2
                          vo_xvmc: X-Video MotionCompensation Extension version 1.1
                          ==========================================================================
                          Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
                          Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3))
                          ==========================================================================
                          ==========================================================================
                          Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
                          AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
                          Selected audio codec: [ffqdm2] afm: ffmpeg (FFmpeg QDM2 audio)
                          ==========================================================================
                          AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
                          Starting playback...
                          Could not find matching colorspace - retrying with -vf scale...
                          Opening video filter: [scale]
                          The selected video_out device is incompatible with this codec.
                          Try appending the scale filter to your filter list,
                          e.g. -vf spp,scale instead of -vf spp.
                          Could not find matching colorspace - retrying with -vf scale...
                          Opening video filter: [scale]
                          The selected video_out device is incompatible with this codec.
                          Try appending the scale filter to your filter list,
                          e.g. -vf spp,scale instead of -vf spp.
                          Could not find matching colorspace - retrying with -vf scale...
                          Opening video filter: [scale]
                          The selected video_out device is incompatible with this codec.
                          Try appending the scale filter to your filter list,
                          e.g. -vf spp,scale instead of -vf spp.
                          ...
                          
                          etc 
                          
                          ...
                          Could not find matching colorspace - retrying with -vf scale...
                          Opening video filter: [scale]
                          The selected video_out device is incompatible with this codec.
                          Try appending the scale filter to your filter list,
                          e.g. -vf spp,scale instead of -vf spp.
                          Too many buffered pts
                          
                          FATAL: Could not initialize video filters (-vf) or video output (-vo).
                          
                          
                          Exiting... (End of file)
                          So something's not quite right.

                          Comment


                          • #58
                            Only MPEG and MPEG2 media are playing for me and they are both terribly distorted

                            That's on an RS780 aka Radeon 4200

                            Comment


                            • #59
                              xine and R300 / XvMC fail with DVB recordings

                              Trying to watch DVB recordings with "xine -V xxmc" results in an almost entirely green video window. So that's a "fail" ;-).

                              Comment


                              • #60
                                For those using xxmc using xine remember that this is the xvmc with a nice fall back to xv where it doesn't work

                                Comment

                                Working...
                                X