Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 74

Thread: Mesa Gallium3D Pipe-Video Has Landed

  1. #41
    Join Date
    Aug 2009
    Location
    Russe, Bulgaria
    Posts
    507

    Default

    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; 07-15-2011 at 12:28 PM.

  2. #42
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,788

    Default

    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.

  3. #43
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    983

    Default

    Quote 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?

    Quote 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:
    https://bugs.freedesktop.org/show_bug.cgi?id=39222#c12

  4. #44
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,788

    Default

    Quote 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:

    http://http.download.nvidia.com/XFre...ion_queue.html

  5. #45
    Join Date
    Dec 2008
    Posts
    985

    Default

    Quote 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:

    http://samples.mplayerhq.hu/MPEG2/dvd.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.

  6. #46
    Join Date
    Jul 2009
    Location
    Germany
    Posts
    486

    Default

    Quote 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

  7. #47
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    918

    Default

    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 at 10:39 AM.
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

  8. #48
    Join Date
    Oct 2007
    Posts
    1,269

    Default

    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                -

  9. #49
    Join Date
    Oct 2007
    Posts
    1,269

    Default

    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 at 12:12 PM.

  10. #50
    Join Date
    Aug 2009
    Location
    Russe, Bulgaria
    Posts
    507

    Default

    Quote 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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •