Announcement

Collapse
No announcement yet.

Mesa Gallium3D Pipe-Video Has Landed

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

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

    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?



    Leave a comment:


  • DanL
    replied
    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

    Leave a comment:


  • Drago
    replied
    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?

    Leave a comment:


  • DanL
    replied
    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.

    Leave a comment:


  • DanL
    replied
    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                -

    Leave a comment:


  • darkbasic
    replied
    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.

    Leave a comment:


  • droste
    replied
    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

    Leave a comment:


  • monraaf
    replied
    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.

    Leave a comment:


  • RealNC
    replied
    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:

    Leave a comment:


  • whizse
    replied
    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:

    Leave a comment:

Working...
X