Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 74

Thread: Mesa Gallium3D Pipe-Video Has Landed

  1. #31
    Join Date
    Jul 2007
    Posts
    446

    Default VDPAU and r300 - over the first hurdle

    Once I managed to get the libraries to link correctly:

    Code:
    VDPAU_DRIVER=r300 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     2048  2048  NV12 YV12 
    
    Decoder capabilities:
    
    name               level macbs width height
    -------------------------------------------
    MPEG1                16 16384  2048  2048
    MPEG2_SIMPLE         16 16384  2048  2048
    MPEG2_MAIN           16 16384  2048  2048
    
    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                -
    This is with my RV350; the video playback is recognisable but not quite right yet.
    Last edited by chrisr; 07-14-2011 at 07:36 PM.

  2. #32
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    74

    Default

    The bug about not linking r300/r600 targets with libdrm should be fixed by now, please try again.

    Quote Originally Posted by Nille View Post
    Is not an new DDX version required?
    Yes, for the XvMC support you need a new DDX (xf86-video-ati).

    Christian.

  3. #33
    Join Date
    Dec 2009
    Posts
    73

    Default

    Quote Originally Posted by Deathsimple View Post
    The bug about not linking r300/r600 targets with libdrm should be fixed by now, please try again.


    Yes, for the XvMC support you need a new DDX (xf86-video-ati).

    Christian.
    Indeed it is.

    Code:
    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                -
    mplayer keeps crashing here though.

    Code:
    VO: [vdpau] 624x352 => 624x352 Planar YV12 
    [vdpau] Error when calling vdp_presentation_queue_get_time: No backend implementation could be loaded.
    FATAL: Cannot initialize video driver.

  4. #34
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    936

    Default

    Quote Originally Posted by Azpegath View Post
    Thanks, this is great for us Gentoo users. I'll check it out next time I have the chance!
    It's already in the x11 overlay mesa ebuild!
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

  5. #35
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,791

    Default

    Quote Originally Posted by darkbasic View Post
    It's already in the x11 overlay mesa ebuild!
    What exactly does the "g3dvl" USE flag do? I see it's independent of the "vdpau", "vaapi" and "xvmc" flags. The description says:

    "Enable video decode acceleration support for Gallium3D."

    But what exactly does that mean, since it seems I can enable vdpau/vaapi/xvmc without it?

  6. #36
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    74

    Default

    Quote Originally Posted by RealNC View Post
    What exactly does the "g3dvl" USE flag do? I see it's independent of the "vdpau", "vaapi" and "xvmc" flags. The description says:

    "Enable video decode acceleration support for Gallium3D."

    But what exactly does that mean, since it seems I can enable vdpau/vaapi/xvmc without it?
    When you enable vdpau/vaapi/xvmc independly configure will fail if any of the needed development packages aren't found.

    If you just specify "--enable-galium-g3dvl" it looks for the development packages and enables only those installed on the system.

    Christian.

  7. #37
    Join Date
    Dec 2008
    Posts
    988

    Default

    It 'works' for me with the following observations.

    - There are artifacts in the picture
    - CPU usage is quite a bit lower compared to -vo xv and -vo gl
    - Playback is slower compared to -vo xv (a 50 sec clip takes a little over a minute with -vo vdpau)

    Tested with 720p mpeg2 clip on 780G IGP.

    So looks like the GPU is the bottleneck here. I wonder if this can be fixed in code, perhaps IGP has not enough shader processing power to decode HD content, period...
    Last edited by monraaf; 07-15-2011 at 11:14 AM.

  8. #38
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,791

    Default

    Quote Originally Posted by Deathsimple View Post
    When you enable vdpau/vaapi/xvmc independly configure will fail if any of the needed development packages aren't found.

    If you just specify "--enable-galium-g3dvl" it looks for the development packages and enables only those installed on the system.

    Christian.
    Thanks. It looks like this is a bad idea to have it in Gentoo as a USE flag, since "automagic" deps are pretty evil in source-based distros.

  9. #39
    Join Date
    Aug 2009
    Location
    Russe, Bulgaria
    Posts
    513

    Default

    Quote Originally Posted by monraaf View Post
    So looks like the GPU is the bottleneck here. I wonder if this can be fixed in code, perhaps IGP has not enough shader processing power to decode HD content, period...
    Don't be so quick in conclusions. I am sure FOSS vdpau will get some optimizations + r600g doesn't have optimizing shader compiler, yet. Once we get there, you can draw your conclusions.
    Period

  10. #40
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    74

    Default

    Quote Originally Posted by monraaf View Post
    - There are artifacts in the picture
    Could you please post a picture of the artifacts?
    And which mpeg you are trying to play?

    Quote Originally Posted by monraaf View Post
    - Playback is slower compared to -vo xv (a 50 sec clip takes a little over a minute with -vo vdpau)

    Tested with 720p mpeg2 clip on 780G IGP.

    So looks like the GPU is the bottleneck here. I wonder if this can be fixed in code, perhaps IGP has not enough shader processing power to decode HD content, period...
    Try this: export R600_TILING=1

    Without tilling my R710 can play a 1080p roughly over 37fps, with tilling it beats the 50fps mark.

Posting Permissions

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